Template:Team:HokkaidoU Japan/CSS
From 2014.igem.org
(Difference between revisions)
Line 845: | Line 845: | ||
} | } | ||
+ | /* | ||
+ | jQuery MegaMenu Plugin | ||
+ | Author: GeekTantra | ||
+ | Author URI: http://www.geektantra.com | ||
+ | */ | ||
+ | ul.megamenu { | ||
+ | background-color: transparent; | ||
+ | border-top: 1px solid transparent; | ||
+ | border-bottom: 1px solid transparent; | ||
+ | margin: 0px auto; | ||
+ | padding: 5px 10px; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | ul.megamenu li.mm-item { | ||
+ | } | ||
+ | |||
+ | ul.megamenu li { | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | |||
+ | ul.megamenu li.clear-fix { | ||
+ | float: none; | ||
+ | clear: both; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | height: 0px; | ||
+ | font-size: 0px; | ||
+ | line-height: 0px; | ||
+ | } | ||
+ | |||
+ | ul.megamenu a.mm-item-link:link, ul.megamenu a.mm-item-link:visited { | ||
+ | position: relative; | ||
+ | display: inline-block; | ||
+ | color: #FFF; | ||
+ | padding: 8px 15px; | ||
+ | margin: 0px 3px 0px 0px; | ||
+ | text-decoration: none; | ||
+ | z-index: 10; | ||
+ | font-size: 14px; | ||
+ | border-top: 1px solid transparent; | ||
+ | border-left: 1px solid transparent; | ||
+ | border-right: 1px solid transparent; | ||
+ | } | ||
+ | *html ul.megamenu a.mm-item-link:link, *html ul.megamenu a.mm-item-link:visited { | ||
+ | border-color: pink; | ||
+ | filter: chroma(color=pink); | ||
+ | } | ||
+ | |||
+ | ul.megamenu a.mm-item-link-hover:link, ul.megamenu a.mm-item-link-hover:visited { | ||
+ | color: #444; | ||
+ | background: #transparent; | ||
+ | border-top: 1px solid #transparent; | ||
+ | border-left: 1px solid #transparent; | ||
+ | border-right: 1px solid #transparent; | ||
+ | -moz-border-radius: 3px 3px 0px 0px; | ||
+ | border-radius: 3px 3px 0px 0px; | ||
+ | } | ||
+ | |||
+ | ul.megamenu div.mm-item-content { | ||
+ | background: #000; | ||
+ | padding: 0px; | ||
+ | position: fixed; | ||
+ | right: 0px; | ||
+ | border: 1px solid #777; | ||
+ | z-index: 9; | ||
+ | } | ||
+ | |||
+ | .mm-content-base { | ||
+ | background: white; | ||
+ | position: relative; | ||
+ | z-index: 11; | ||
+ | padding: 10px; | ||
+ | } | ||
+ | |||
+ | .mm-js-shadow { | ||
+ | background: black; | ||
+ | position: absolute; | ||
+ | z-index: 10; | ||
+ | } | ||
+ | |||
+ | /* Mega menu end */ | ||
Revision as of 07:09, 12 September 2014