incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r534175 - /incubator/xap/trunk/codebase/src/xap/bridges/dojo/cssOverrides/Menu2.css
Date Tue, 01 May 2007 18:06:17 GMT
Author: mturyn
Date: Tue May  1 11:06:16 2007
New Revision: 534175

URL: http://svn.apache.org/viewvc?view=rev&rev=534175
Log:
1.) Tweaked it for IE.
2.) Found a way to remove the dotted line that showed
	up around the menu bar when the first or last menu
	item has been selected.

Modified:
    incubator/xap/trunk/codebase/src/xap/bridges/dojo/cssOverrides/Menu2.css

Modified: incubator/xap/trunk/codebase/src/xap/bridges/dojo/cssOverrides/Menu2.css
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/dojo/cssOverrides/Menu2.css?view=diff&rev=534175&r1=534174&r2=534175
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/dojo/cssOverrides/Menu2.css (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/dojo/cssOverrides/Menu2.css Tue May  1 11:06:16
2007
@@ -2,10 +2,7 @@
 
 .dojoPopupMenu2 {
 	position: absolute;
-	border-left: 3px ridge white ;	
-	border-top: 3px ridge white;
-	border-right: 3px groove darkgray ;	
-	border-bottom: 3px groove darkgray ;		
+	border: 2px outset white ;		
 	background:#b9b9b9 ;
 	padding: 0px;
 	margin-top: 1px;
@@ -21,7 +18,8 @@
 }
 
 .dojoMenuItem2Hover {
-	background-color: #0a246a ;
+	background-color: white ;
+	                  /*#0a246a ;*/
 	color: white ;
 	cursor:pointer;
 	cursor:hand;
@@ -77,23 +75,22 @@
 }
 
 .dojoMenuSeparator2 {
-	font-size: 1px;
+	font-size: 2px;
 	margin: 0;
-
-	height: 1px ;
+	height: 2px ;
 	background-color: #e5e5e5 ;
 }
 
 .dojoMenuSeparator2Top {
 	height: 50%;
-	border-bottom: 0px solid #e5e5e5;
+	border-bottom: 1px solid darkgray;
 	margin: 0px 2px;
 	font-size: 1px;
 }
 
 .dojoMenuSeparator2Bottom {
 	height: 50%;
-	border-top: 0px solid #e5e5e5;
+	border-top: 1px solid white;
 	margin: 0px 2px;
 	font-size: 1px;
 }
@@ -101,8 +98,18 @@
 .dojoMenuBar2 {
 	/*position: relative;*/
 	background:#f0f0f0;
-	border-bottom: 0px solid #afafaf;
-	
+	/* Avoids a blue line under Firefox */
+	border-bottom: 0px solid #f0f0f0 ;
+	/*
+		Avoids drawing a dotted outline around
+		the menu-bar when the left-most or
+		rightmost menu item has been moused-over 
+		(under Firefox). 
+		
+		Note: using "outline-width" actually
+		_creates_ the same problem under IE7.
+	*/
+	-moz-outline-width:0px;
 }
 
 .dojoMenuBar2Client {



Mime
View raw message