Ariefpm13597 (Talk | contribs) |
Ariefpm13597 (Talk | contribs) |
||
Line 8: | Line 8: | ||
<style type="text/css"> | <style type="text/css"> | ||
@charset "UTF-8"; | @charset "UTF-8"; | ||
− | #cssmenu { | + | #cssmenu {padding: 0; margin: 0; border: 0;} |
#cssmenu ul, #cssmenu li {list-style: none; margin: 0; padding: 0;} | #cssmenu ul, #cssmenu li {list-style: none; margin: 0; padding: 0;} | ||
#cssmenu ul {position: relative; z-index: 597; } | #cssmenu ul {position: relative; z-index: 597; } | ||
Line 24: | Line 24: | ||
#cssmenu { | #cssmenu { | ||
− | + | background: #333; | |
− | + | border-bottom: 4px solid #1b9bff; | |
− | + | font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif; | |
− | + | font-size: 12px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | #cssmenu > ul { *display: inline-block; } | |
− | + | #cssmenu:after, #cssmenu ul:after { | |
− | + | content: ''; | |
− | + | display: block; | |
− | + | clear: both; | |
} | } | ||
#cssmenu a { | #cssmenu a { | ||
− | + | background: #333; | |
− | + | color: #CBCBCB; | |
− | + | padding: 0 20px; | |
} | } | ||
− | #cssmenu ul { text-transform: uppercase | + | #cssmenu ul { text-transform: uppercase; } |
− | + | #cssmenu ul ul { | |
− | + | border-top: 4px solid #1b9bff; | |
− | + | text-transform: none; | |
− | + | min-width: 190px; | |
} | } | ||
− | + | #cssmenu ul ul a { | |
− | + | background: #1b9bff; | |
− | + | color: #FFF; | |
− | + | border: 1px solid #0082e7; | |
− | + | border-top: 0 none; | |
− | + | line-height: 150%; | |
− | + | padding: 16px 20px; | |
} | } | ||
− | + | #cssmenu ul ul ul { border-top: 0 none; } | |
− | + | #cssmenu ul ul li { position: relative } | |
− | #cssmenu > ul > li > a { line-height: 48px; | + | #cssmenu > ul > li > a { line-height: 48px; } |
− | #cssmenu ul ul li:first-child > a { border-top: 1px solid # | + | #cssmenu ul ul li:first-child > a { border-top: 1px solid #0082e7; } |
− | + | #cssmenu ul ul li:hover > a { background: #35a6ff; } | |
− | + | #cssmenu ul ul li:last-child > a { | |
− | + | border-radius: 0 0 3px 3px; | |
− | + | box-shadow: 0 1px 0 #1b9bff; | |
} | } | ||
− | + | #cssmenu ul ul li:last-child:hover > a { border-radius: 0 0 0 3px; } | |
− | + | #cssmenu ul ul li.has-sub > a:after { | |
− | + | content: '+'; | |
− | + | position: absolute; | |
− | + | top: 50%; | |
− | + | right: 15px; | |
− | + | margin-top: -8px; | |
} | } | ||
− | + | ||
− | + | #cssmenu ul li:hover > a, #cssmenu ul li.active > a { | |
− | + | background: #1b9bff; | |
− | + | color: #FFF; | |
} | } | ||
− | + | #cssmenu ul li.has-sub > a:after { | |
− | + | content: '+'; | |
− | + | margin-left: 5px; | |
} | } | ||
− | + | #cssmenu ul li.last ul { | |
− | + | left: auto; | |
− | + | right: 0; | |
} | } | ||
− | + | #cssmenu ul li.last ul ul { | |
− | + | left: auto; | |
− | + | right: 99.5%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
</style> | </style> |
Revision as of 00:55, 14 October 2016