// Table of Contents // ================================================== // Header // Media Queries // scss-lint:disable NestingDepth // Header // ================================================== .header { background: color(white); border-bottom: 1px solid color(dark-haze); box-sizing: border-box; height: 76px; line-height: 1; padding: 18px 0; &.absolute, &.fixed { z-index: 1040; } &.absolute { position: absolute; width: inherit; } &.fixed { left: 0; position: fixed; right: 0; top: 0; } } .header-brand, .header-search, .header-nav, .header-user, .header-toggle { box-sizing: border-box; float: left; height: 40px; } .header-brand { font-size: 35px; img { border-radius: border-radius(n); display: inline-block; height: 40px; margin: 0 auto; } + .header-search, + .header-nav { margin-left: 20px; &.pull-right { margin-left: 0; margin-right: 20px; } } } .header-search { margin-top: -3px; width: 260px; input { margin-bottom: 0; } + .header-nav { margin-left: 20px; &.pull-right { margin-left: 0; margin-right: 20px; } } } .header-nav { list-style: none; margin-top: 11px; padding: 0; > li { float: left; margin-right: 20px; &:last-child { margin-right: 0; } &.btn-group + .btn-group { margin-left: 0; } &.header-nav-icon { font-size: text-size(l); margin-top: -3px; .indicator { background: color(red); border-radius: border-radius(xl); height: 5px; margin-left: 17px; position: absolute; width: 5px; } } .btn { margin-top: -12px; } } } .header-user { float: right; img { height: 40px; display: inline-block; + i { margin-left: -2px; } } .img-avatar { margin-top: -4px; } } // Media Queries // ================================================== @media only screen and (min-width: 768px) and (max-width: 959px) { .header-search { width: 220px; } } @media only screen and (max-width: 767px) { .header { height: 50px; padding: 10px 0; } .header-brand { font-size: 26px; padding-top: 1px; img { height: 32px; } } .header-nav { margin-top: 4px; > li { &.header-nav-icon { font-size: 26px; } } } }