Template:Georgia State/dropdown css
From 2010.igem.org
(Difference between revisions)
(New page: <html> <style type="text/css"> @charset "UTF-8"; /** * Horizontal CSS Drop-Down Menu Module * * @file dropdown.css * @package Dropdown * @version 0.7.1 * @type Transitional * ...) |
|||
Line 2: | Line 2: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
ul.dropdown { | ul.dropdown { | ||
- | + | font: normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif; | |
- | + | text-transform: uppercase; | |
- | + | ||
} | } | ||
- | ul.dropdown li { | + | ul.dropdown li { |
- | + | padding: 7px 0; | |
- | + | background-color: #000; | |
- | + | color: #fff; | |
- | + | line-height: normal; | |
- | } | + | } |
- | ul.dropdown li.hover, | + | ul.dropdown li.hover, |
- | ul.dropdown li:hover { | + | ul.dropdown li:hover { |
- | + | ||
- | + | } | |
- | + | ||
- | } | + | |
- | ul.dropdown ul { | + | ul.dropdown a:link, |
- | + | ul.dropdown a:visited { color: #fff; text-decoration: none; } | |
- | + | ul.dropdown a:hover { color: #76b900; text-decoration: none; } | |
- | + | ul.dropdown a:active { color: #fff; } | |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | |||
- | |||
- | |||
- | + | /* ----- END LEVEL */ | |
- | + | ||
- | + | ||
- | + | ||
- | ul.dropdown li:hover | + | /* ----- NON-FIRST LEVEL */ |
- | + | ||
- | } | + | ul.dropdown ul { |
+ | width: 170px; | ||
+ | background-color: #333; | ||
+ | color: #fff; | ||
+ | font-size: 11px; | ||
+ | text-transform: none; | ||
+ | filter: alpha(opacity=90); | ||
+ | -moz-opacity: .9; | ||
+ | KhtmlOpacity: .9; | ||
+ | opacity: .9; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li { | ||
+ | background-color: transparent; | ||
+ | color: #000; | ||
+ | filter: none; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li.hover, | ||
+ | ul.dropdown ul li:hover { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul a:link, | ||
+ | ul.dropdown ul a:visited { color: #fff; } | ||
+ | ul.dropdown ul a:hover { color: #fff; text-decoration: none; } | ||
+ | ul.dropdown ul a:active { color: #fff; } | ||
</html> | </html> |
Revision as of 04:52, 27 October 2010