Team:Imperial College London/dddropdownpanel
From 2011.igem.org
(6 intermediate revisions not shown) | |||
Line 13: | Line 13: | ||
float: right; | float: right; | ||
color: white; | color: white; | ||
- | background: | + | background: #215322 url(https://static.igem.org/mediawiki/2011/7/7f/ICL_toggleleft.gif) no-repeat left bottom; /*background of toggle tab*/ |
text-decoration: none; | text-decoration: none; | ||
letter-spacing: 1px; | letter-spacing: 1px; |
Latest revision as of 17:55, 23 October 2011
.ddpanel .ddpanelcontent{ /*CSS for "content" DIV of Drop Down Panel*/ color: white; background: black; /*background of Drop Down Panel*/ /*Do NOT add any "padding" or "margin" properties here! Any padding/margin should be added to your content's container within this DIV instead */ }
.ddpanel .ddpaneltab{ /*CSS for "toggle" tab DIV of Drop Down Panel*/ margin-right: 20px; font: normal 12px Arial; }
.ddpanel .ddpaneltab a{ /*"toggle" tab related CSS*/ float: right; color: white; background: #215322 url() no-repeat left bottom; /*background of toggle tab*/ text-decoration: none; letter-spacing: 1px; }
.ddpanel .ddpaneltab a span{ /*"toggle" tab related CSS*/ float: left; display: block; background: transparent url() no-repeat right bottom; padding: 1px 12px 4px 13px; cursor: pointer; }
.ddpanel .ddpaneltab a span img.pointerimage{ /*CSS for pointer image within toggle tab*/ margin-top: 2px; margin-left: 5px; }
.ddpanel .ddpaneltab a:hover{ /*"toggle" tab related CSS*/ background-color: #215322; /*background of toggle tab onMouseover*/ }
.ddpanel .ddpaneltab a:active, .ddpanel .ddpaneltab a:focus{ /*"toggle" tab related CSS*/ outline: 0; }
.ddpanel .ddpaneltab a:hover span{ /*"toggle" tab related CSS*/ background-color: transparent; }