/* Table of Contents ================================================== # Header # Styles # Colors # Stripes # Media Queries */ /* # Header ================================================== */ .header { background: $color-white; border-bottom: 1px solid $color-haze; box-sizing: border-box; color: $color-black; height: 60px; padding-top: 15px; min-width: 100%; width: 100%; } .header-brand { float: left; margin-top: -4px; } .header-brand > a { color: $color-primary; font-size: 36px; } .header-brand > a > img { border-radius: 0; padding-top: 7px; height: 22px; } .header-search { float: left; margin: -6px 0 0 20px; width: 280px; } .header-search button, .header-search input, .header-search select { margin: 0; } .header-btn-group, .header-nav, .header-nav-alt, .header-toolchain { float: right; list-style: none; margin: 9px 0 0 0; padding: 0; } .header-btn-group, .header-nav { float: left; } .header-btn-group { box-sizing: border-box; display: inline-block; margin: -15px 0 0 0; } .header-toolchain { margin: 1px 25px 0 0; } .header-btn-group > li, .header-nav > li, .header-nav-alt > li, .header-toolchain > li { float: left; line-height: 1; } .header-btn-group > li, .header-nav > li, .header-nav-alt > li { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; } .header-btn-group > li { box-sizing: border-box; float: left; } .header-btn-group > li > a { border-bottom: 3px solid $color-transparent; box-sizing: border-box; display: block; height: 60px; padding-top: 24px; text-align: center; vertical-align: middle; } .header-btn-group > li > a:hover, .header-btn-group > li > a.active, .header-btn-group > li > a:active, .header-btn-group > li > a:focus { color: $color-primary; } .header-btn-group > li > a.active, .header-btn-group > li > a:active { border-color: $color-primary; } .header-btn-group-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; padding: 4px 5px 3px 5px; text-align: center; } .header-toolchain > li { font-size: 26px; } .header-btn-group > li, .header-btn-group > li.btn-group, .header-btn-group > li.btn-group + li.btn-group, .header-nav > li, .header-nav > li.btn-group, .header-nav > li.btn-group + li.btn-group, .header-nav-alt > li, .header-nav-alt > li.btn-group, .header-nav-alt > li.btn-group + li.btn-group { margin: 0 0 0 20px; } .header-toolchain > li, .header-toolchain > li.btn-group, .header-toolchain > li.btn-group + li.btn-group { margin-left: 15px; } .header-nav-alt > li:first-child, .header-toolchain > li:first-child { margin-left: 0; } .header-nav > li.lined > a { border-radius: 0 !important; border-bottom: 3px solid $color-transparent; padding-bottom: 21px; } .header-nav > li.lined > a:hover, .header-nav > li.lined > a.active, .header-nav > li.lined > a:active, .header-nav > li.lined > a:focus, .header-nav > li.lined.active > a { border-color: $color-primary; } .header-nav-alt > li > a { padding: 10px 0; } .header-nav > li > a:hover, .header-nav > li > a.active, .header-nav > li > a:active, .header-nav > li > a:focus, .header-nav-alt > li > a:hover, .header-nav-alt > li > a.active, .header-nav-alt > li > a:active, .header-nav-alt > li > a:focus, .header-toolchain > li > a:hover, .header-toolchain > li > a.active, .header-toolchain > li > a:active, .header-toolchain > li > a:focus { color: $color-primary; } .header-nav-alt > li.inverse > a { background: $color-primary; border: 1px solid $color-primary; border-radius: 3px; box-sizing: border-box; color: $color-white; padding-left: 20px; padding-right: 20px; } .header-nav-alt > li.inverse.outline > a { background: $color-transparent; color: $color-primary; } .header-nav-alt > li.inverse > a:hover, .header-nav-alt > li.inverse > a.active, .header-nav-alt > li.inverse > a:active, .header-nav-alt > li.inverse > a:focus { background: darken($color-primary, 2%); border-color: darken($color-primary, 2%); color: $color-white; } .header-user { float: right; font-size: 13px; margin: -3px 0 0 20px; } .header-user > a:hover, .header-user > a.active, .header-user > a:active, .header-user > a:focus { color: $color-primary; } .header-user > a > img, .header-user-placeholder { background: $color-gray; border-radius: 500px; color: $color-white; display: inline-block; height: 36px; margin: 0; padding: 0; text-align: center; width: 36px; vertical-align: middle; } .header-user-placeholder > i { font-size: 20px; line-height: 36px; } .header-user > ul.dropdown-menu { margin: -5px 10px 0 0; } .header-toggle { display: none; } .header-toggle > a { color: $color-primary; float: right; font-size: 40px; margin-top: 3px; } /* # Styles ================================================== */ .header-borderless { border-bottom-color: $color-transparent; } .header-fixed { position: fixed; top: 0; min-width: inherit; width: inherit; z-index: 1030; } /* # Colors ================================================== */ .header-dark { background: $color-black; border-color: $color-dark-black; color: $color-white; } .header-invisible { background: $color-transparent; border-color: $color-transparent; color: $color-white; } .header-light { background: $color-light-haze; border-color: $color-dark-haze; } /* # Stripes ================================================== */ .header-stripe { background: $color-primary; height: 2px; position: fixed; top: 0; min-width: inherit; width: inherit; z-index: 1050; } .header-stripe-secondary { background: $color-secondary; } .header-stripe-tertiary { background: $color-tertiary; } .header-stripe-dark { background: $color-black; } .header-stripe-light { background: $color-light-haze; } .header-stripe-white { background: $color-white; } .header-stripe-primary-and-secondary { background: -webkit-linear-gradient(45deg, $color-primary 0%, $color-secondary 100%); background: -ms-linear-gradient(45deg, $color-primary 0%, $color-secondary 100%); background: linear-gradient(45deg, $color-primary 0%, $color-secondary 100%); } .header-stripe-primary-and-tertiary { background: -webkit-linear-gradient(45deg, $color-primary 0%, $color-tertiary 100%); background: -ms-linear-gradient(45deg, $color-primary 0%, $color-tertiary 100%); background: linear-gradient(45deg, $color-primary 0%, $color-tertiary 100%); } .header-stripe-secondary-and-tertiary { background: -webkit-linear-gradient(45deg, $color-secondary 0%, $color-tertiary 100%); background: -ms-linear-gradient(45deg, $color-secondary 0%, $color-tertiary 100%); background: linear-gradient(45deg, $color-secondary 0%, $color-tertiary 100%); } .header-stripe-primary-secondary-and-tertiary { background: -webkit-linear-gradient(45deg, $color-tertiary 0%, $color-primary 50%, $color-secondary 100%); background: -ms-linear-gradient(45deg, $color-tertiary 0%, $color-primary 50%, $color-secondary 100%); background: linear-gradient(45deg, $color-tertiary 0%, $color-primary 50%, $color-secondary 100%); } /* # Media Queries ================================================== */ @media only screen and (max-width: 767px) { .header { height: 50px; padding: 0; } .header-brand { margin-top: 8px; } .header-brand > a { font-size: 30px; } .header-brand > a > img { padding-top: 5px; } .header-toggle { display: block; } } @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) { .header { border-width: 0.5px; } .header-nav > li, .header-nav-alt > li, .header-btn-group > li { letter-spacing: 0.5px; } }