Team:Edinburgh/defaultcss

From 2009.igem.org

(Difference between revisions)
Line 55: Line 55:
 +
/* ----- ALL LEVELS (incl. first) */
-
/* ALL LEVELS (incl. first) */
+
ul.dropdown {
 +
font: bold 12px Arial, Helvetica, sans-serif;
 +
}
-
ul.dropdown {
+
ul.dropdown li {
-
font: bold 17px/normal Arial, Helvetica, sans-serif;
+
padding: 7px 12px;
 +
background-color: #000;
 +
color: #fff;
}
}
-
ul.dropdown li {
+
ul.dropdown li.hover,
-
background-color: #333;
+
ul.dropdown li:hover {
-
color: #fff;
+
background-color: #222;
-
}
+
}
-
ul.dropdown li.hover,
+
ul.dropdown a:link,
-
ul.dropdown li:hover {
+
ul.dropdown a:visited { color: #fff; text-decoration: none; }
-
}
+
ul.dropdown a:hover { color: #fff; text-decoration: underline; }
 +
ul.dropdown a:active { color: #fff; }
-
/* Links */
 
-
ul.dropdown a:link,
+
/* ----- END LEVEL */
-
ul.dropdown a:visited { color: #fff; text-decoration: none;}
+
-
ul.dropdown a:hover {
+
-
border-top-color: #5db1e0 !important;
+
-
border-left-color: #5db1e0;
+
-
background-color: #4498c7;
+
-
color: #fff;
+
-
}
+
-
ul.dropdown ul a.dir:hover { /* proposal */
 
-
background-color: #4698ca;
 
-
background-image: url(images/comnav-arrowon.png);
 
-
color: #fff;
 
-
}
 
-
ul.dropdown a:active {
+
/* ----- NON-FIRST LEVEL */
-
background: #058acf url(images/nav-sub-press.png) 0 0 repeat-x !important;
+
-
color: #fff;
+
-
}
+
 +
ul.dropdown ul {
 +
margin-left: -6px;
 +
width: 170px;
 +
padding-bottom: 9px;
 +
background: url(images/dropdown_pane.png) 0 100% no-repeat;
 +
color: #000;
 +
font-size: 11px;
 +
font-weight: normal;
 +
}
-
/* NON-FIRST LEVEL */
+
ul.dropdown ul li {
 +
background-color: transparent;
 +
color: #000;
 +
}
-
ul.dropdown ul {
+
ul.dropdown ul li.hover,
-
left: auto;
+
ul.dropdown ul li:hover {
-
right: 0;
+
background-color: transparent;
-
width: 150px;
+
-
margin-top: -1px;
+
-
border-top: 1px solid #1a1a1a;
+
-
border-left: solid 1px #4c4c4c;
+
-
font: bold 11px/1em Tahoma, Geneva, Verdana, sans-serif;
+
}
}
-
ul.dropdown ul li {
+
ul.dropdown ul li.empty {
-
background-color: #3a3a3a;
+
padding: 12px 12px 7px !important;
-
}
+
font-weight: bold;
-
 
+
-
ul.dropdown ul ul {
+
-
top: 0;
+
-
right: auto;
+
-
left: 100%;
+
-
margin-top: 0;
+
-
border-top: none;
+
-
border-left: none;
+
-
font-weight: normal;
+
}
}
-
ul.dropdown ul ul li {
+
ul.dropdown ul a:link,
-
background-color: #4c4c4c;
+
ul.dropdown ul a:visited { color: #000; }
 +
ul.dropdown ul a:hover { color: #000; text-decoration: none; }
 +
ul.dropdown ul a:active { color: #000; }
 +
 
 +
ul.dropdown ul ul {
 +
display: none;
}
}
-
ul.dropdown ul ul ul li {
+
ul.dropdown ul ul li {}
-
background-color: #595959;
+
 
-
}
+
/* ----- END LEVEL */

Revision as of 13:56, 17 August 2009