Team:Edinburgh/defaultcss

From 2009.igem.org

(Difference between revisions)
Line 54: Line 54:
@section Base Drop-Down Styling  */
@section Base Drop-Down Styling  */
-
 
-
/* ----- ALL LEVELS (incl. first) */
 
ul.dropdown {
ul.dropdown {
-
  font: bold 12px Arial, Helvetica, sans-serif;
+
  font-weight: bold;
}
}
ul.dropdown li {
ul.dropdown li {
-
padding: 7px 12px;
+
padding: 7px 10px;
-
background-color: #000;
+
border-style: solid;
-
color: #fff;
+
border-width: 1px 1px 1px 0;
 +
border-color: #fff #d9d9d9 #d9d9d9;
 +
background-color: #f6f6f6;
 +
color: #000;
}
}
ul.dropdown li.hover,
ul.dropdown li.hover,
ul.dropdown li:hover {
ul.dropdown li:hover {
-
background-color: #222;
+
background-color: #eee;
 +
color: #000;
}
}
ul.dropdown a:link,
ul.dropdown a:link,
-
ul.dropdown a:visited { color: #fff; text-decoration: none; }
+
ul.dropdown a:visited { color: #000; text-decoration: none; }
-
ul.dropdown a:hover { color: #fff; text-decoration: underline; }
+
ul.dropdown a:hover { color: #000; }
-
ul.dropdown a:active { color: #fff; }
+
ul.dropdown a:active { color: #ffa500; }
-
/* ----- END LEVEL */
+
/* -- level mark -- */
-
 
+
-
 
+
-
/* ----- NON-FIRST LEVEL */
+
ul.dropdown ul {
ul.dropdown ul {
-
margin-left: -6px;
+
width: 150px;
-
width: 170px;
+
margin-top: 1px;
-
padding-bottom: 9px;
+
-
background: url(images/dropdown_pane.png) 0 100% no-repeat;
+
-
color: #000;
+
-
font-size: 11px;
+
-
font-weight: normal;
+
}
}
ul.dropdown ul li {
ul.dropdown ul li {
-
background-color: transparent;
+
font-weight: normal;
-
color: #000;
+
}
}
-
 
-
ul.dropdown ul li.hover,
 
-
ul.dropdown ul li:hover {
 
-
background-color: transparent;
 
-
}
 
-
 
-
ul.dropdown ul li.empty {
 
-
padding: 12px 12px 7px !important;
 
-
font-weight: bold;
 
-
}
 
-
 
-
ul.dropdown ul a:link,
 
-
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 li {}
 
-
 
-
/* ----- END LEVEL */
 

Revision as of 13:57, 17 August 2009