[kde-doc-english] www/sites/www-devel/media/styles

Elena M Ramírez eramirez at ximdex.com
Mon Apr 4 19:03:20 CEST 2011


SVN commit 1227084 by elenamramirez:

GUI: Simplifying cascade selectors in plasmamenu.css

 M  +25 -24    plasmaMenuEdu.css  


--- trunk/www/sites/www-devel/media/styles/plasmaMenuEdu.css #1227083:1227084
@@ -1,5 +1,7 @@
 .header {
-	height: 60px;
+	height: 136px;
+	width: 920px;
+	margin: 0px auto;
 }
 
 .header .plasmamenu_box {
@@ -22,11 +24,11 @@
 
 .header .plasmamenu_box a {
 	text-decoration: none; 
-	margin:0px 11px 0px 2px;
+	margin:0px 11px 0px 0px;
 	padding: 17px 10px 12px 25px;
 }
 
-.header .plasmamenu_box a:hover {
+.header .plasmamenu_box ul li.index a:hover, .header .plasmamenu_box ul li.noindex a:hover {
 	background: url('../images/plasmaMenuEdu/menubox_a-over.png') repeat-x left top;
 	/*background: #dedede;*/
 	text-shadow: 1px 1px 1px #57697F;
@@ -83,47 +85,46 @@
 		top: 40px !important;
 }
 
-.header .plasmamenu_box  div div div div ul li { 
+.header .plasmamenu_box  ul li.index, .header .plasmamenu_box ul li.noindex { 
 	width: inherit;
 	line-height: normal;
-	/*background: url('../images/plasmaMenuEdu/menubox-sep.png') no-repeat -2px top;*/
 	padding-left: 0px;
 	display: block;
-	/*padding-top: 1px;*/
+	border-top: 1px solid #ced1db; 
+	margin-right: 10px;
+	margin-left: 1px;
 }
 
-/*.header .plasmamenu_box  div div div div ul li:first-child, .header .plasmamenu_box  div div div div ul li:first-child:hover  {
-	background: none;	
-}*/
 
-.header .plasmamenu_box  div div div div ul:first-child li.index {
+.header .plasmamenu_box  ul:first-child li.index {
 	display:none	
 }
-
-.header .plasmamenu_box  div div div div ul li div div ul li { 
-	display: block;
-	width: 205px;
-}
-
 .header .plasmamenu_box  div div div div ul li:hover { 
 	background: url('../images/plasmaMenuEdu/menubox-sep.png') no-repeat -2px top;
 }
 
-.header .plasmamenu_box  div div div div ul li:first-child a,
-.header .plasmamenu_box  div div div div ul li div div ul li:first-child a { 
-	border-top: none;
+.header .plasmamenu_box ul li.noindex { 
+	padding-left: 0px;
+	margin-left: 17px;
+	margin-right: 5px;
 }
 
-.header .plasmamenu_box  div div div div ul li a,
-.header .plasmamenu_box  div div div div ul li div div ul li a { 
+.header .plasmamenu_box ul li:first-child{
+		border: none;
+	}
+
+
+.header .plasmamenu_box ul li.index a, .header .plasmamenu_box ul li.noindex a { 
 	color: #444;
 	text-shadow: #ffffff 1px 1px 1px;
 	font-size: .9em;
 	vertical-align: top;
 	display: block;
-	border-top: 1px solid #ced1db; 
+/*	border-top: 1px solid #ced1db;*/
+	margin-right: 1px;
 }
 
+
 .header .plasmamenu_box  div div div div ul li h3 { 
 	color: #444;
 	text-shadow: #ffffff 1px 1px 1px;
@@ -213,9 +214,9 @@
 	background: url('../images/plasmaMenuEdu/submenubox_bottom.png') no-repeat left bottom;
 }
 
-.menubox_subparent .menubox_body ul li{
+/*.menubox_subparent .menubox_body ul li{
 	margin: 0px 26px 0px 15px;
-}
+}*/
 
 /*.menubox_subparent .menubox_body ul li a:hover{
 	background: none;


More information about the kde-doc-english mailing list