Removed commented-out CSS, simplified dropdown menu to one bg color

This commit is contained in:
str4d
2014-02-18 03:08:25 +00:00
parent 45388422a4
commit 7df8b2ae2d

View File

@@ -41,17 +41,7 @@ menu ul,
position: relative; position: relative;
} }
#cssmenu { #cssmenu {
/*height: 49px;*/
height: 40px; height: 40px;
/*background: #141414;
background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
background: linear-gradient(to bottom, #32323a 0%, #141414 100%);*/
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#32323a', EndColorStr='#141414', GradientType=0);
/*border-bottom: 2px solid #0fa1e0;*/
} }
#cssmenu:after, #cssmenu:after,
#cssmenu ul:after { #cssmenu ul:after {
@@ -60,25 +50,13 @@ menu ul,
clear: both; clear: both;
} }
#cssmenu div.menuitem { #cssmenu div.menuitem {
/*background: #141414;
background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
background: linear-gradient(to bottom, #32323a 0%, #141414 100%);*/
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#32323a', EndColorStr='#141414', GradientType=0);
/*color: #ffffff;*/
color: #d00e0e; color: #d00e0e;
display: inline-block; display: inline-block;
font-family: "URW Gothic L", "Century Gothic", sans-serif; font-family: "URW Gothic L", "Century Gothic", sans-serif;
/*font-size: 11pt;*/
font-size: 2em; font-size: 2em;
font-weight: bold; font-weight: bold;
text-shadow: 1px 1px 1px rgba(100,20,20,.2); text-shadow: 1px 1px 1px rgba(100,20,20,.2);
/*line-height: 49px;*/
line-height: 40px; line-height: 40px;
/*padding: 0 20px;*/
padding: 0 10px; padding: 0 10px;
text-decoration: none; text-decoration: none;
} }
@@ -106,20 +84,9 @@ menu ul,
bottom: 0; bottom: 0;
border-left: 10px solid transparent; border-left: 10px solid transparent;
border-right: 10px solid transparent; border-right: 10px solid transparent;
/*border-bottom: 10px solid #0fa1e0;*/
border-bottom: 10px solid #abcc71; border-bottom: 10px solid #abcc71;
margin-left: -10px; margin-left: -10px;
} }
/*#cssmenu > ul > li:first-child > div.menuitem {
border-radius: 5px 0 0 0;
-moz-border-radius: 5px 0 0 0;
-webkit-border-radius: 5px 0 0 0;
}
#cssmenu > ul > li:last-child > div.menuitem {
border-radius: 0 5px 0 0;
-moz-border-radius: 0 5px 0 0;
-webkit-border-radius: 0 5px 0 0;
}*/
#cssmenu > ul > li > div.menuitem { #cssmenu > ul > li > div.menuitem {
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0;
@@ -138,21 +105,6 @@ menu ul,
background: linear-gradient(to bottom, #26262c 0%, #070707 100%); background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0); filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0);
} }
/*
#cssmenu > ul > li:hover > div.menuitem {
/*background: #070707;
background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
background: linear-gradient(to bottom, #26262c 0%, #070707 100%);*//*
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0);
box-shadow: inset 0 0 3px #000000;
-moz-box-shadow: inset 0 0 3px #000000;
-webkit-box-shadow: inset 0 0 3px #000000;
}
*/
#cssmenu .has-sub { #cssmenu .has-sub {
z-index: 1; z-index: 1;
} }
@@ -168,7 +120,6 @@ menu ul,
} }
#cssmenu .has-sub ul li { #cssmenu .has-sub ul li {
border-left: 1px solid #ffffcc; border-left: 1px solid #ffffcc;
/*margin-bottom: -1px;*/
} }
#cssmenu .has-sub ul li.has-sub > div.menuitem:after { #cssmenu .has-sub ul li.has-sub > div.menuitem:after {
content: "►"; content: "►";
@@ -176,8 +127,6 @@ menu ul,
float: right; float: right;
} }
#cssmenu .has-sub ul li div.menuitem { #cssmenu .has-sub ul li div.menuitem {
/*background: #0fa1e0;*/
/*border-bottom: 1px dotted #6fc7ec;*/
background: #abcc71; background: #abcc71;
border-bottom: 1px dotted #ffffcc; border-bottom: 1px dotted #ffffcc;
filter: none; filter: none;
@@ -186,8 +135,8 @@ menu ul,
line-height: 120%; line-height: 120%;
padding: 10px; padding: 10px;
} }
#cssmenu .has-sub ul li:hover div.menuitem { #cssmenu .has-sub ul li:hover > div.menuitem,
/*background: #0c7fb0;*/ #cssmenu .has-sub ul li:hover > a > div.menuitem {
background: #8bbc51; background: #8bbc51;
} }
#cssmenu .has-sub .has-sub:hover > ul { #cssmenu .has-sub .has-sub:hover > ul {
@@ -202,16 +151,6 @@ menu ul,
#cssmenu .has-sub .has-sub ul li:first-child { #cssmenu .has-sub .has-sub ul li:first-child {
border-left: none; border-left: none;
} }
#cssmenu .has-sub .has-sub ul li div.menuitem {
/*background: #0c7fb0;
border-bottom: 1px dotted #6db2d0;*/
background: #8bbc51;
border-bottom: 1px dotted #ffffcc;
}
#cssmenu .has-sub .has-sub ul li div.menuitem:hover {
/*background: #095c80;*/
background: #6bac31;
}
/* End of dropdown menu CSS */ /* End of dropdown menu CSS */