Team:Edinburgh/defaultcss
From 2009.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
- | /* | + | /*-------------------------------------------------/ |
- | + | * @section Base Drop-Down Styling | |
- | + | * @structure ul (unordered list) | |
- | + | * ul li (list item) | |
- | + | * ul li a (links) | |
- | + | * /*\.class|(li|a):hover/ | |
- | + | * @level sep ul | |
- | + | */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Line 93: | Line 55: | ||
- | /* | + | /*-------------------------------------------------/ |
+ | * @section Support Class `dir` | ||
+ | * @level sep ul, .class | ||
+ | */ | ||
+ | |||
- | |||
ul.dropdown *.dir { | ul.dropdown *.dir { | ||
- | + | padding-right: 20px; | |
- | + | background-image: url(images/nav-arrow-down.png); | |
- | + | background-position: 100% 50%; | |
+ | background-repeat: no-repeat; | ||
} | } | ||
- | |||
- | |||
- | + | /* -- Components override -- */ | |
- | + | ||
- | ul.dropdown | + | ul.dropdown-horizontal ul *.dir { |
- | + | padding-right: 15px; | |
+ | background-image: url(images/nav-arrow-right.png); | ||
+ | background-position: 100% 50%; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | ul.dropdown-upward *.dir { | ||
+ | background-image: url(images/nav-arrow-top.png); | ||
+ | } | ||
+ | ul.dropdown-vertical *.dir, | ||
+ | ul.dropdown-upward ul *.dir { | ||
+ | background-image: url(images/nav-arrow-right.png); | ||
+ | } | ||
- | + | ul.dropdown-vertical-rtl *.dir { | |
- | + | padding-right: 10px; | |
- | + | padding-left: 15px; | |
- | + | background-image: url(images/nav-arrow-left.png); | |
- | + | background-position: 0 50%; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 13:58, 17 August 2009