Template:DropdownMenu
From eqqon
(Difference between revisions)
m |
m |
||
Line 8: | Line 8: | ||
position: absolute; | position: absolute; | ||
left: 0; | left: 0; | ||
- | top: - | + | top: -29px; |
} | } | ||
.nav2, | .nav2, | ||
Line 25: | Line 25: | ||
color: #ccc; | color: #ccc; | ||
padding: 0 16px; | padding: 0 16px; | ||
- | height: | + | height: 27px; |
- | line-height: | + | line-height: 27px; |
+ | font-weight: bold; | ||
} | } | ||
- | .nav2 ul li ul { | + | #bodyContent .nav2 ul li a:hover { |
- | + | background-color: rgba(255,255,255,0.5); | |
+ | color: #000; | ||
+ | } | ||
+ | .nav2 ul li:hover ul { | ||
+ | top: 26px; | ||
+ | } | ||
+ | #bodyContent .nav2 ul li:hover a { | ||
+ | background-color: transparent; | ||
+ | text-decoration: none; | ||
+ | color: orange; | ||
+ | } | ||
+ | #bodyContent .nav2 ul li:hover ul li a { | ||
+ | background-color: #000; | ||
+ | border-bottom: 1px solid #555; | ||
+ | border-left: 1px solid #555; | ||
+ | color: #ccc; | ||
+ | display: block; | ||
+ | font-weight: normal; | ||
+ | height: auto; | ||
+ | line-height: 20px; | ||
+ | margin-left: -1px; | ||
+ | padding: 4px 16px; | ||
+ | } | ||
+ | #bodyContent .nav2 ul li:hover ul li:hover a { | ||
+ | background-color: #000; | ||
+ | text-decoration: none; | ||
+ | color: orange; | ||
} | } | ||
- | |||
</css> | </css> | ||
Revision as of 21:25, 23 March 2011