[freeside-commits] freeside/httemplate/elements xmenu.css, 1.8, 1.9 xmenu.top.css, 1.6, 1.7

Ivan,,, ivan at wavetail.420.am
Thu May 20 01:17:53 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv18030

Modified Files:
	xmenu.css xmenu.top.css 
Log Message:
nicer styling for the menus

Index: xmenu.css
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/xmenu.css,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- xmenu.css	23 Mar 2010 01:04:45 -0000	1.8
+++ xmenu.css	20 May 2010 08:17:51 -0000	1.9
@@ -22,17 +22,20 @@
 	position:		absolute;
 	z-index:		100;
 	visibility:		hidden;
-	border:			1px solid black;
+	border:			1px solid #7e0079;
+	 -moz-border-radius: 4px;
+	 -webkit-border-radius: 4px;
+	 border-radius: 4px;
 	padding:		1px;
 	background:		white;
-	filter:			progid:DXImageTransform.Microsoft.Shadow(color="#777777", Direction=135, Strength=4)
-				alpha(Opacity=95);
-	-moz-opacity:		0.95;
-	/* a drop shadow would be nice in moz/others too... */
+        -moz-box-shadow: #000000 1px 1px 4px;
+        -webkit-box-shadow: #000000 1px 1px 4px;
+        box-shadow: #000000 1px 1px 4px;
 }
 
 .webfx-menu-empty {
 	display:		block;
+        border:                 1px solid white;
 	padding:		2px 5px 2px 5px;
 	font-size:		11px;
 	/* font-family:		Tahoma, Verdan, Helvetica, Sans-Serif; */
@@ -52,18 +55,25 @@
 	text-decoration:	none;
 	vertical-align:		center;
 	color:			black;
+        border:                 1px solid white;
 }	
 
 .webfx-menu a:visited {
 	color:			black;
+        border:                 1px solid white;
 }
 
 .webfx-menu a:hover {
-	color:			black;
+        border:                 1px solid #7e0079;
+	 -moz-border-radius: 4px;
+	 -webkit-border-radius: 4px;
+	 border-radius: 4px;
+         background:             #fff8fe;
 }
 
-.webfx-menu a:hover {
+.webfx-menu a[href]:hover {
 	color:			black;
+        text-decoration: none;
 }	
 
 .webfx-menu a .arrow {
@@ -151,19 +161,6 @@
 }
 
 .webfx-menu-title  {
-	color:			black;
-	/* background:		#faf7fa; #f5ebf4; #efdfef; white; #BC79B8; */
-	background:		#7e0079;
-/*	border:			1px solid #7e0079; /*rgb(120,172,255);#ff8800;*/
-	/* padding:		3px 1px 3px 6px; */
-	padding:		3px 1px 3px 5px;
 	display:		block;
-	font-size:		16px;
-/*        font-family:            Verdana, Arial, Helvetica, sans-serif; */
-        font-weight:            bold;
-	text-decoration:	none;
-	color:			white;
-        border-bottom:          1px solid white;
         width:			expression(constExpression(ie ? "98%": "auto"));	/* should be ignored by mz and op */
 }	
-

Index: xmenu.top.css
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/xmenu.top.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- xmenu.top.css	23 Mar 2010 01:04:45 -0000	1.6
+++ xmenu.top.css	20 May 2010 08:17:51 -0000	1.7
@@ -22,17 +22,20 @@
 	position:		absolute;
 	z-index:		100;
 	visibility:		hidden;
-	border:			1px solid black;
+	border:			1px solid #7e0079;
+	 -moz-border-radius: 4px;
+	 -webkit-border-radius: 4px;
+	 border-radius: 4px;
 	padding:		1px;
 	background:		white;
-	filter:			progid:DXImageTransform.Microsoft.Shadow(color="#777777", Direction=135, Strength=4)
-				alpha(Opacity=95);
-	-moz-opacity:		0.95;
-	/* a drop shadow would be nice in moz/others too... */
+        -moz-box-shadow: #000000 1px 1px 4px;
+        -webkit-box-shadow: #000000 1px 1px 4px;
+        box-shadow: #000000 1px 1px 4px;
 }
 
 .webfx-menu-empty {
 	display:		block;
+        border:                 1px solid white;
 	padding:		2px 5px 2px 5px;
 	font-size:		11px;
 	/* font-family:		Tahoma, Verdan, Helvetica, Sans-Serif; */
@@ -52,18 +55,25 @@
 	text-decoration:	none;
 	vertical-align:		center;
 	color:			black;
+        border:                 1px solid white;
 }	
 
 .webfx-menu a:visited {
 	color:			black;
+        border:                 1px solid white;
 }
 
 .webfx-menu a:hover {
-	color:			black;
+        border:                 1px solid #7e0079;
+	 -moz-border-radius: 4px;
+	 -webkit-border-radius: 4px;
+	 border-radius: 4px;
+         background:             #fff8fe;
 }
 
-.webfx-menu a:hover {
+.webfx-menu a[href]:hover {
 	color:			black;
+        text-decoration: none;
 }	
 
 .webfx-menu a .arrow {
@@ -130,7 +140,6 @@
 .webfx-menu-bar a:hover {
         text-decoration: underline;
         color: #7e0079;
-
 }
 
 .webfx-menu-bar a .arrow {
@@ -154,19 +163,6 @@
 }
 
 .webfx-menu-title  {
-	color:			black;
-	/* background:		#faf7fa; #f5ebf4; #efdfef; white; #BC79B8; */
-	background:		#7e0079;
-/*	border:			1px solid #7e0079; /*rgb(120,172,255);#ff8800;*/
-	/* padding:		3px 1px 3px 6px; */
-	padding:		3px 1px 3px 5px;
 	display:		block;
-	font-size:		16px;
-/*        font-family:            Verdana, Arial, Helvetica, sans-serif; */
-        font-weight:            bold;
-	text-decoration:	none;
-	color:			white;
-        border-bottom:          1px solid white;
         width:			expression(constExpression(ie ? "98%": "auto"));	/* should be ignored by mz and op */
 }	
-



More information about the freeside-commits mailing list