User:Avdmeers/wiki/dropdown.css
From 2008.igem.org
(Difference between revisions)
m |
m |
||
Line 3: | Line 3: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
- | background-color: | + | background-color: transparent; |
} | } | ||
#header ul#ddNav li { | #header ul#ddNav li { |
Revision as of 00:45, 29 October 2008
#header ul#ddNav { list-style: none; margin: 0; padding: 0; background-color: transparent; } #header ul#ddNav li { padding: 0; } #ddNav li { position: relative; float: left; margin: 0 2px 0 0; width: auto; height: auto; } #ddNav li:last-child {margin: 0;} #ddNav li a { display: block; margin: 0; padding: 5px 20px; color: #fff; font: bold small "Trebuchet MS", Arial, Sans-serif; background: #45a2b5 url(https://static.igem.org/mediawiki/2008/9/99/Round-chamfer-10px.png) no-repeat right top; text-decoration: none; } #ddNav li a:active {outline: none;} #ddNav li a:focus {-moz-outline-style: none;} #ddNav li a:hover { background-color: #075a90; } #ddNav li div { display: none; position: absolute; width: 12em; border: 1px solid #45a2b5; opacity: 0.94; filter: alpha(opacity=94); } #ddNav li div a { display: block; padding: 5px 10px; background: #fff; color: #333; font: normal 11px Arial, Helvetica, Sans-serif; text-align: left; border-bottom: 1px solid #f5f5f0; } #ddNav li div a:hover { color: #000; background-color: #f5f5f0; } #ddNav li span div { position: relative; border: none; border-bottom: 2px solid #99aaff; opacity: 1.0; filter: alpha(opacity=100); } #ddNav li span div a {padding-left: 15px;} #ddNav li span div span div a {padding-left: 25px;} #ddNav a.expand { background-image: url('https://static.igem.org/mediawiki/2008/e/ef/Icon-expand.png'); background-repeat: no-repeat; background-position: 95% 50%; } #ddNav a.collapse { background-image: url('https://static.igem.org/mediawiki/2008/c/cd/Icon-collapse.png'); background-repeat: no-repeat; background-position: 95% 50%; }