/* Table of Contents ================================================== # Trunk # Colors # Media Queries */ /* # Trunk ================================================== */ .trunk { background: $color-white; border-bottom: 1px solid; border-color: $color-haze; box-sizing: border-box; color: $color-gray; position: fixed; top: 50px; min-width: 100%; width: 100%; z-index: 1040; } .trunk-buffer { border-color: inherit !important; padding: 30px 0; } .trunk-search { padding: 0 5px; margin-bottom: 20px; } .trunk-nav, .trunk-user { border-color: inherit !important; list-style: none; margin: 0; padding: 0; } .trunk-user { margin: 10px auto 0 auto; padding-top: 10px; text-align: center; } .trunk-nav > li, .trunk-user > li { font-size: 11px; font-weight: bold; line-height: 1; margin: 5px; } .trunk-nav > li { border-color: inherit; float: left; width: calc(33.333333% - 10px); } .trunk-nav > li.title, .trunk-nav > li.divider { border-top: 1px solid; border-color: inherit; box-sizing: border-box; display: block; float: none; margin: 0 0 0 5px; overflow: hidden; width: calc(100% - 10px); } .trunk-nav > li.title { border-bottom: 1px solid; border-color: inherit; font-size: 14px; font-weight: bold; padding: 8px 10px 7px 10px; } .trunk-nav > li.divider { height: 0; } .trunk-user > li { display: inline-block; margin-bottom: 0; width: calc(45% - 30px); } .trunk-nav > li > a, .trunk-user > li > a { @include appearance(none); border-radius: 2px; cursor: pointer; display: block; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 12px; font-weight: bold; padding: 10px 0; text-align: center; text-decoration: none; text-rendering: geometricPrecision; @include transition(all 0.3s linear); vertical-align: middle; white-space: nowrap; } .trunk-nav > li > a { border: 2px solid; border-color: inherit; } .trunk-nav > li > a:hover, .trunk-nav > li > a:active, .trunk-nav > li > a.active, .trunk-nav > li > a:focus, .trunk-user > li > a:hover, .trunk-user > li > a:active, .trunk-user > li > a.active, .trunk-user > li > a:focus { border-color: $color-primary; color: $color-primary; } .trunk-user > li.trunk-user-placeholder, .trunk-user > li.trunk-user-placeholder > img, { background: $color-gray; border-radius: 500px; color: $color-white; display: inline-block; height: 40px; margin: 0; text-align: center; width: 40px; vertical-align: middle; } /* # Colors ================================================== */ .trunk-dark { background: $color-black; border-color: $color-dark-black; color: $color-white; } .trunk-light { background: lighten($color-light-haze, 2%); border-color: $color-dark-haze; } /* # Media Queries ================================================== */ @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) { .trunk, .trunk-nav > li.title, .trunk-nav > li.divider { border-width: 0.5px; } }