User:Avdmeers/StyleSheets/dropmenu.css
From 2008.igem.org
< User:Avdmeers(Difference between revisions)
m |
m |
||
(One intermediate revision not shown) | |||
Line 61: | Line 61: | ||
height: 8px; | height: 8px; | ||
line-height: 8px; | line-height: 8px; | ||
- | background: | + | background: black |
border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/ | border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/ | ||
} | } | ||
Line 70: | Line 70: | ||
position:absolute; | position:absolute; | ||
top: 0; | top: 0; | ||
- | border: 1px solid | + | border: 1px solid #003E81; /*THEME CHANGE HERE*/ |
border-top-width: 8px; /*Top border width. Should match height of .ddcolortabsline above*/ | border-top-width: 8px; /*Top border width. Should match height of .ddcolortabsline above*/ | ||
border-bottom-width: 0; | border-bottom-width: 0; |
Latest revision as of 09:22, 21 May 2008
.ddcolortabs{ padding: 0; width: 100%; background: transparant voice-family: "\"}\""; voice-family: inherit; } .ddcolortabs ul{ font: normal 11px Arial, Verdana, sans-serif; margin:0; padding:0; list-style:none; } .ddcolortabs li{ display:inline; margin:0 2px 0 0; padding:0; text-transform:uppercase; } .ddcolortabs a{ float:left; color: white; background-color: #003E81; /*ORIGINAL: background: black url(media/color_tabs_left.gif) no-repeat left top;*/ margin:0 2px 0 0; padding:0 0 1px 3px; text-decoration:none; letter-spacing: 1px; } .ddcolortabs a span{ float:left; display:block; background: transparent url(media/color_tabs_right.gif) no-repeat right top; padding: 4px 8px 2px 7px; } .ddcolortabs a span{ float:none; } .ddcolortabs a:hover{ background-color: #506b9f; /*#591f20;*/ } .ddcolortabs a:hover span{ background-color: #506b9f; /*#591f20;*/ } /*.ddcolortabs .selected a, #ddcolortabs .selected a span{ /*currently selected tab*/ background-color: #506b9f; /*#591f20;*/ }*/ .ddcolortabsline{ clear: both; padding: 0; width: 100%; height: 8px; line-height: 8px; background: black border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/ } /* ######### Style for Drop Down Menu ######### */ .dropmenudiv_a{ position:absolute; top: 0; border: 1px solid #003E81; /*THEME CHANGE HERE*/ border-top-width: 8px; /*Top border width. Should match height of .ddcolortabsline above*/ border-bottom-width: 0; font:normal 12px Arial; line-height:18px; z-index:100; background-color: white; width: 200px; visibility: hidden; } .dropmenudiv_a a{ width: auto; display: block; text-indent: 5px; border-top: 0 solid #678b3f; border-bottom: 1px solid #678b3f; /*THEME CHANGE HERE*/ padding: 2px 0; text-decoration: none; color: black } * html .dropmenudiv_a a{ /*IE only hack*/ width: 100%; } .dropmenudiv_a a:hover{ /*THEME CHANGE HERE*/ background-color: #506b9f; /*#8a3c3d;*/ color: white; }