Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #menu
- {
- background: #222; /* Show a solid color for older browsers */
- background: -moz-linear-gradient(#252525, #0a0a0a);
- background: -o-linear-gradient(#252525, #0a0a0a);
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
- background: -webkit-linear-gradient(#252525, #0a0a0a);
- -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
- -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
- box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
- clear: both;
- display: block;
- float: left;
- margin: auto;
- width: 100%;
- }
- #menu ul
- {
- font-size: 13px;
- list-style: none;
- margin: 0 0 0 30px;
- padding-left: 0;
- }
- #menu li
- {
- float: left;
- position: relative;
- }
- #menu a
- {
- color: #eee;
- display: block;
- line-height: 3.333em;
- padding: 0 55px;
- text-decoration: none;
- }
- #menu ul ul
- {
- -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
- -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
- box-shadow: 0 3px 3px rgba(0,0,0,0.2);
- display: none;
- float: left;
- margin: 0;
- position: absolute;
- top: 3.333em;
- left: 0;
- width: 188px;
- z-index: 99999;
- }
- #menu ul ul ul
- {
- left: 100%;
- top: 0;
- }
- #menu ul ul a
- {
- background: #f9f9f9;
- border-bottom: 1px dotted #ddd;
- color: #444;
- font-size: 13px;
- font-weight: normal;
- height: auto;
- line-height: 1.4em;
- padding: 10px 10px;
- width: 168px;}
- #menu li:hover > a{background: #efefef;}
- #menu ul ul :hover > a {background: #efefef;}
- #menu a:focus {background: #efefef;}
- #menu li:hover > a,#menu a:focus
- {
- background: #f9f9f9; /* Show a solid color for older browsers */
- background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
- background: -o-linear-gradient(#f9f9f9, #e5e5e5);
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
- background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);color: #373737;
- }
- #menu ul li:hover > ul {display: block;}
- #menu .current-menu-item > a,#menu .current-menu-ancestor > a,#menu .current_page_item > a,#menu .current_page_ancestor > a, #menu .active > a
- {
- background: #f9f9f9; /* Show a solid color for older browsers */
- background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
- background: -o-linear-gradient(#f9f9f9, #e5e5e5);
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
- background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
- color: #373737;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement