Created
December 11, 2014 06:39
-
-
Save amite/b95b192abf6e8a913ddb to your computer and use it in GitHub Desktop.
sub-menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* B:Secondary Navigation ---------------------------------------*/ | |
.secondary-nav, .secondary-nav ul.dropdown { | |
background-color:#d2315d; | |
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.82, #d2315d), color-stop(0.96, #a7274a)); | |
background-image: -webkit-linear-gradient(bottom, #d2315d 82%, #a7274a 96%); | |
background-image: -moz-linear-gradient(bottom, #d2315d 82%, #a7274a 96%); | |
background-image: -ms-linear-gradient(bottom, #d2315d 82%, #a7274a 96%); | |
background-image: -o-linear-gradient(bottom, #d2315d 82%, #a7274a 96%); | |
background-image: linear-gradient(bottom, #d2315d 82%, #a7274a 96%); | |
min-height:26px; | |
font: 16px/1.2 'Share', Sans-serif; | |
letter-spacing:-0.1px; | |
-webkit-transition: all 300ms linear; | |
-moz-transition: all 300ms linear; | |
-o-transition: all 300ms linear; | |
-ms-transition: all 300ms linear; | |
transition: all 300ms linear; | |
} | |
.no-cssgradients .secondary-nav{ /* For Browsers with No CSS Gradient Support */ | |
background:url('../_images/back-secondary-nav.png') repeat-x; } | |
.secondary-nav ul { | |
margin:0; padding:0; float:left; margin-top:10px; height:26px; list-style:none; } | |
.secondary-nav ul li { | |
margin:0; padding:0; list-style:none; float:left; } | |
.secondary-nav ul li a { | |
padding:9px 10px; color:#ffffff; text-decoration:none; text-transform:uppercase; } | |
.secondary-nav ul li a:hover { | |
background-color:#595c5f; | |
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.82, #595c5f), color-stop(0.96, #3d3f42)); | |
background-image: -webkit-linear-gradient(bottom, #595c5f 82%, #3d3f42 96%); | |
background-image: -moz-linear-gradient(bottom, #595c5f 82%, #3d3f42 96%); | |
background-image: -ms-linear-gradient(bottom, #595c5f 82%, #3d3f42 96%); | |
background-image: -o-linear-gradient(bottom, #595c5f 82%, #3d3f42 96%); | |
background-image: linear-gradient(bottom, #595c5f 82%, #3d3f42 96%); | |
color:#f0f0f0; | |
position: relative; left:0; | |
} | |
/* Dropdown for sub-menu within secondary sub-nav */ | |
.secondary-nav ul.dropdown { position:absolute; left:-9999px; height: auto; -webkit-transition: none; -moz-transition: none; -o-transition: none; -ms-transition: none;transition: none;} | |
.secondary-nav .dropdown li { float: none; width:150px; padding-top: 10px; padding-bottom: 10px; } | |
.secondary-nav ul li:hover > ul.dropdown { left:800px; } | |
.secondary-nav .dropdown li:hover { background: #8E2844; } | |
.secondary-nav .dropdown li a:hover { background: none; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment