Team:St Andrews/defaulttemplate
From 2010.igem.org
(Difference between revisions)
Line 146: | Line 146: | ||
padding:15px; | padding:15px; | ||
} | } | ||
+ | |||
+ | ul.dropdown li, | ||
+ | ul.dropdown, | ||
+ | ul.dropdown ul { | ||
+ | padding: 0px 50px; | ||
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | ul.dropdown li { | ||
+ | float: left; | ||
+ | vertical-align: middle; | ||
+ | } | ||
+ | |||
+ | ul.dropdown li.hover, | ||
+ | ul.dropdown li:hover { | ||
+ | position: relative; | ||
+ | cursor: default; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul { | ||
+ | margin:10; | ||
+ | padding:10; | ||
+ | visibility: hidden; | ||
+ | position: absolute; | ||
+ | |||
+ | } | ||
+ | |||
+ | ul.dropdown ul li { | ||
+ | top: 100%; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | ul.dropdown li:hover > ul { | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | ul.dropdown li.rtl ul { | ||
+ | top: 100%; | ||
+ | right: 0; | ||
+ | left: auto; | ||
+ | } | ||
+ | |||
+ | ul.dropdown { | ||
+ | float:right; | ||
+ | position:relative; | ||
+ | right:50%; | ||
+ | } | ||
+ | |||
+ | ul.dropdown li { | ||
+ | padding: 2px 4px; | ||
+ | background-color: #FFFFFF; | ||
+ | color: 000000; | ||
+ | float:left; | ||
+ | position:relative; | ||
+ | left:50%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ul.dropdown ul { | ||
+ | color: #00539B; | ||
+ | font-weight: normal; | ||
+ | right: auto; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li { | ||
+ | background-color: #FFFFFF; | ||
+ | left: auto; | ||
+ | } | ||
+ | |||
+ | ul.dropdown ul li:hover { | ||
+ | color: #FFFFFF; | ||
+ | background-color: #00539B; | ||
+ | } | ||
+ | |||
ul.dropdown li { | ul.dropdown li { |
Revision as of 20:45, 27 October 2010