Team:Edinburgh/defaultcss
From 2009.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
*/ | */ | ||
+ | |||
+ | /* ----- ALL LEVELS (incl. first) */ | ||
ul.dropdown { | ul.dropdown { | ||
- | font | + | font: bold 12px Arial, Helvetica, sans-serif; |
} | } | ||
ul.dropdown li { | ul.dropdown li { | ||
- | padding: 7px | + | padding: 7px 12px; |
- | + | background-color: #000; | |
- | + | color: #fff; | |
- | + | ||
- | background-color: # | + | |
- | color: # | + | |
} | } | ||
ul.dropdown li.hover, | ul.dropdown li.hover, | ||
ul.dropdown li:hover { | ul.dropdown li:hover { | ||
- | background-color: # | + | background-color: #222; |
- | + | ||
} | } | ||
ul.dropdown a:link, | ul.dropdown a:link, | ||
- | ul.dropdown a:visited { color: # | + | ul.dropdown a:visited { color: #fff; text-decoration: none; } |
- | ul.dropdown a:hover | + | ul.dropdown a:hover { color: #fff; text-decoration: underline; } |
- | ul.dropdown a:active { color: # | + | ul.dropdown a:active { color: #fff; } |
- | /* -- | + | /* ----- END LEVEL */ |
+ | |||
+ | |||
+ | /* ----- NON-FIRST LEVEL */ | ||
ul.dropdown ul { | ul.dropdown ul { | ||
- | width: | + | 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; | ||
} | } | ||
ul.dropdown ul li { | ul.dropdown ul li { | ||
- | + | background-color: transparent; | |
+ | 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 14:00, 17 August 2009