/* Table of Contents ================================================== # Header # Colors # Styles # Media Queries */ /* # Header ================================================== */ .header-fixed { left: 0; position: fixed; right: 0; top: 0; z-index: 1030; } .header { background: $color-white; border-bottom: 2px solid $color-haze-light; box-sizing: border-box; height: 65px; padding: 15px 0; width: 100%; } .header-app { width: calc(100% - 280px); } .header-brand { float: left; } .header-brand > a { color: $color-primary; font-size: 30px; line-height: 40px; text-decoration: none; } .header-brand > a > img { border-radius: 0; height: 30px; } .header-search { float: left; margin: -3px 0 0 20px; width: 280px; } .header-search > input { margin: 0; } .header-nav, .header-nav-alt, .header-toolchain { color: $color-black; list-style-type: none; padding: 0; } .header-nav-alt, .header-toolchain { float: right; } .header-nav { float: left; margin: 5px 0 0 20px; } .header-nav-alt { margin: 12px 0 0 0; } .header-toolchain { margin: 2px 25px 0 0; } .header-nav > li, .header-nav-alt > li, .header-toolchain > li { float: left; } .header-nav > li, .header-nav-alt > li { color: $color-black; font-size: 12px; font-weight: 500; letter-spacing: 1px; line-height: 12px; margin-left: 15px; text-transform: uppercase; } .header-nav > li { margin-right: 20px; } .header-toolchain > li { margin-left: 15px; } .header-nav > li:last-child, .header-toolchain > li:first-child { margin: 0; } .header-nav > li.btn-group + li.btn-group, .header-nav-alt > li:first-child, .header-nav-alt > li.btn-group + li.btn-group, .header-toolchain > li.btn-group + li.btn-group { margin-left: 0; } .header-nav > li { margin-top: 7px; } .header-nav > li.btn-group { margin-top: 6px; } .header-nav-alt > li.btn-group { margin-top: -1px; } .header-nav > li > a, .header-nav-alt > li > a, .header-toolchain > li > a { color: $color-black; text-decoration: none; } .header-nav-alt > li > a { padding: 15px 0 14px 0; } .header-toolchain > li > a { font-size: 30px; line-height: 30px; } .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: 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: $color-primary; color: $color-white; } .header-user { float: right; font-size: 13px; margin: 0 0 0 20px; } .header-user > a { color: $color-black; text-decoration: none; } .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-dark; 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 > a { color: $color-primary; float: right; font-size: 40px; padding: 4px 0px 3px 14px; text-decoration: none; } /* # Colors ================================================== */ .header-dark, .header-primary { border-color: rgba(0,0,0,0.2); } .header-dark { background: $color-black; } .header-primary { background: $color-primary; } .header-dark .header-nav > li > a, .header-dark .header-nav-alt > li > a, .header-dark .header-nav-alt > li.inverse > a:hover, .header-dark .header-nav-alt > li.inverse > a.active, .header-dark .header-nav-alt > li.inverse > a:active, .header-dark .header-nav-alt > li.inverse > a:focus, .header-dark .header-toolchain > li > a, .header-dark .header-user > a { color: $color-gray; } .header-primary .header-nav > li > a, .header-primary .header-nav-alt > li > a, .header-primary .header-nav-alt > li.inverse > a:hover, .header-primary .header-nav-alt > li.inverse > a.active, .header-primary .header-nav-alt > li.inverse > a:active, .header-primary .header-nav-alt > li.inverse > a:focus, .header-primary .header-toolchain > li > a, .header-primary .header-user > a { color: $color-white; } .header-dark .header-brand > a, .header-primary .header-brand > a, .header-dark .header-nav > li > a:hover, .header-dark .header-nav > li > a.active, .header-dark .header-nav > li > a:active, .header-dark .header-nav > li > a:focus, .header-dark .header-nav-alt > li > a:hover, .header-dark .header-nav-alt > li > a.active, .header-dark .header-nav-alt > li > a:active, .header-dark .header-nav-alt > li > a:focus, .header-dark .header-nav-alt > li.inverse > a, .header-dark .header-toolchain > li > a:hover, .header-dark .header-toolchain > li > a.active, .header-dark .header-toolchain > li > a:active, .header-dark .header-toolchain > li > a:focus, .header-dark .header-user > a:hover, .header-dark .header-user > a.active, .header-dark .header-user > a:active, .header-dark .header-user > a:focus, .header-dark .header-user > img, .header-dark .header-user-placeholder, .header-dark .header-toggle > a, .header-primary .header-toggle > a { color: $color-white } .header-primary .header-nav > li > a:hover, .header-primary .header-nav > li > a.active, .header-primary .header-nav > li > a:active, .header-primary .header-nav > li > a:focus, .header-primary .header-nav-alt > li > a:hover, .header-primary .header-nav-alt > li > a.active, .header-primary .header-nav-alt > li > a:active, .header-primary .header-nav-alt > li > a:focus, .header-primary .header-nav-alt > li.inverse > a, .header-primary .header-toolchain > li > a:hover, .header-primary .header-toolchain > li > a.active, .header-primary .header-toolchain > li > a:active, .header-primary .header-toolchain > li > a:focus, .header-primary .header-user > a:hover, .header-primary .header-user > a.active, .header-primary .header-user > a:active, .header-primary .header-user > a:focus, .header-primary .header-user > img, .header-primary .header-user-placeholder { color: $color-black } .header-dark .header-nav-alt > li.inverse > a, .header-primary .header-nav-alt > li.inverse > a { background: transparent; border-color: $color-white; } .header-primary .header-nav-alt > li.inverse > a { color:$color-white; } .header-dark .header-nav-alt > li.inverse > a:hover, .header-dark .header-nav-alt > li.inverse > a.active, .header-dark .header-nav-alt > li.inverse > a:active, .header-dark .header-nav-alt > li.inverse > a:focus { border-color: $color-gray; } .header-primary .header-nav-alt > li.inverse > a:hover, .header-primary .header-nav-alt > li.inverse > a.active, .header-primary .header-nav-alt > li.inverse > a:active, .header-primary .header-nav-alt > li.inverse > a:focus { border-color: $color-black; color: $color-black; } .header-dark .header-user > img, .header-dark .header-user-placeholder { background: $color-gray; } .header-light { background: $color-haze-light; border-color: $color-haze-dark; } /* # Styles ================================================== */ .header-borderless { border-bottom-color: transparent !important; } .header-border-alt { border-bottom-color: $color-primary !important; } /* # Media Queries ================================================== */ @media only screen and (max-width: 1365px) { .header-app { width: calc(100% - 250px); } } @media only screen and (max-width: 1199px) { .header-app { width: calc(100% - 220px); } } @media only screen and (max-width: 959px) { .header-app { width: 100%; } } @media only screen and (max-width: 767px) { .header { border-color: $color-haze; height: 50px; padding: 0; } .header-brand > a { font-size: 36px; line-height: 57px; } .header-brand > a > img { height: 50px; } .header-dark, .header-primary, .header-primary-phone { border-color: rgba(0,0,0,0.2); } .header-light { border-color: $color-haze-dark; } .header-primary-phone { background: $color-primary; } .header-primary-phone .header-brand > a, .header-primary-phone .header-toggle > a { color: $color-white; } }