You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2007/04/23 18:06:49 UTC
svn commit: r531548 - in /incubator/xap/trunk/codebase: css/xapDefault.css
src/xap/widgets/dojo/TreeTable.js
Author: mturyn
Date: Mon Apr 23 11:06:48 2007
New Revision: 531548
URL: http://svn.apache.org/viewvc?view=rev&rev=531548
Log:
1.) Limited "transparent" column sizer divs to IE6; in IE7 it was making
the divs unselectable (opacity=0.0/filter(alpha=0)) work for Firefox and IE7).
2.) Restored random styles that were changed in earlier attempts at hiding the size bars.
Modified:
incubator/xap/trunk/codebase/css/xapDefault.css
incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js
Modified: incubator/xap/trunk/codebase/css/xapDefault.css
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/css/xapDefault.css?view=diff&rev=531548&r1=531547&r2=531548
==============================================================================
--- incubator/xap/trunk/codebase/css/xapDefault.css (original)
+++ incubator/xap/trunk/codebase/css/xapDefault.css Mon Apr 23 11:06:48 2007
@@ -194,21 +194,15 @@
.xapHeader{
font-size: 8pt;
- padding: 1px;
+ padding: 3px;
padding-right: 4px;
cursor: default;
background-image: url(./xap_header.gif);
background-position: bottom left;
background-repeat: repeat-x;
- border-left:1px solid rgb(222,222,222);
- border-right:1px solid rgb(222,222,222);
- margin: 0px
}
-.xapHeaderTable{
- padding-left: 1px ;
-}
.xapHeaderMouseOver{
background-image: url(./xap_header_hover.gif);
@@ -234,7 +228,7 @@
}
.xapHeaderWrapper{
- border-right: 1px solid rgb(80,80,80);
+ border-right: 1px solid #999;
}
.xapHeaderContents{
@@ -246,11 +240,18 @@
cursor: move;
cursor: w-resize;
width: 3px ;
- background-color: transparent;
+ /* Can't set it to "transparent" because
+ that removes selectability under IE7;
+ Instead, apply it in code to IE6,
+ which is the only place it's needed;
+ the opacity/filter stuff works fine
+ in Firefox and IE7
+ */
+ background-color: white ;
border-right:0px solid white;
border-left: 0px solid white;
- -moz-opacity: 0.01;
- opacity: 0.01;
+ -moz-opacity: 0.91;
+ opacity: 0.91;
filter: alpha(opacity=1);
}
@@ -260,7 +261,8 @@
cursor: move;
cursor: w-resize;
background-color: white ;
- border-left:1px double white;
+ border: 0px ;
+ border-left:1px solid black;
-moz-opacity: 0.8;
opacity: 0.8;
filter: Alpha(Opacity=80);
Modified: incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js?view=diff&rev=531548&r1=531547&r2=531548
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js Mon Apr 23 11:06:48 2007
@@ -1057,9 +1057,14 @@
childStyle.visibility = "visible" ;
childStyle.zIndex = 100 ;
if(dojo.render.html.ie60){
- // Useless:
- // childStyle.filter = "alpha(opacity=1)";
- //childStyle.backgroundColor="transparent" ;
+ /* Can't set it to "transparent" in CSS because
+ because that removes selectability under IE7;
+ ---instead, apply it in code to IE6, which is
+ the only place it's needed,as the stylesheet's
+ 0 opacity/alpha-filter stuff works fine in Fire-
+ fox and IE7, respectably.
+ */
+ childStyle.backgroundColor="transparent" ;
}
}
for(var kk=nSizers; kk < sizerHandles.length ; ++kk){