/* Table of Contents ================================================== # Subheader # Styles # Colors # Media Queries */ /* # Subheader ================================================== */ .subheader { background: $color-white; border-bottom: 1px solid; border-color: $color-haze; box-sizing: border-box; color: inherit; height: 36px; min-width: 100%; width: 100%; } .subheader-nav { border-color: inherit; list-style: none; margin: 0; padding: 0; } .subheader-nav > li { border-color: inherit; float: left; font-size: 11px; font-weight: bold; line-height: 1; margin: 0 20px 0 0 !important; } .subheader-nav > li:last-child { margin: 0 !important; } .subheader-nav > li > a { border-bottom: 4px solid $color-transparent; display: block; padding: 11px 0 9px 0; } .subheader-nav > li > a:hover, .subheader-nav > li > a:focus { border-color: inherit; } .subheader-nav > li > a.active, .subheader-nav > li > a:active { border-color: $color-primary; } .subheader-nav-label { background: $color-primary; border-radius: 2px; color: $color-white; display: inline-block; font-size: 9px; font-style: normal; letter-spacing: 0; line-height: 1; margin: -5.5px 0 -5px 0; padding: 4px 5px 3px 5px; text-align: center; vertical-align: middle; } /* # Styles ================================================== */ .subheader-fixed { position: fixed; top: 60px; min-width: inherit; width: inherit; z-index: 1040; } .subheader-shadow { box-shadow: 0 1px 2px lighten($color-light-gray, 25%); } .subheader-shadowless { box-shadow: 0; } /* # Styles ================================================== */ .subheader-dark, .subheader-dark .subheader-nav > li > a:hover, .subheader-dark .subheader-nav > li > a:focus { background: $color-black; border-color: $color-dark-black; color: $color-white; } .subheader-dark.subheader-shadow { box-shadow: 0 1px 2px $color-dark-black; } .subheader-light, .subheader-light .subheader-nav > li > a:hover, .subheader-light .subheader-nav > li > a:focus { background: $color-light-haze; border-color: $color-dark-haze; } .subheader-light.subheader-shadow { box-shadow: 0 1px 2px lighten($color-light-gray, 15%); } /* # Media Queries ================================================== */ @media only screen and (max-width: 767px) { .subheader { display: none; } } @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and ( min--moz-device-pixel-ratio: 2), only screen and ( -o-min-device-pixel-ratio: 2/1), only screen and ( min-device-pixel-ratio: 2), only screen and ( min-resolution: 192dpi), only screen and ( min-resolution: 2dppx) { .subheader { border-width: 0.5px; } .subheader-nav > li { font-weight: 500; } }