/* Table of Contents ================================================== # Toolbar # Styles # Colors # Media Queries */ /* # Toolbar ================================================== */ .toolbar { background: $color-white; border-right: 1px solid; border-color: $color-haze !important; box-sizing: border-box; color: $color-black; display: block; max-height: 100%; height: 100%; @include overflow-scrolling(touch); max-width: 55px; width: 55px; z-index: 1030; } .toolbar-alt { border-left: 1px solid; border-color: inherit; border-right: 0; } .toolbar > a { background: $color-transparent; border: 0; border-radius: 0; box-sizing: border-box; color: inherit; display: block; font-size: 20px; height: 55px; line-height: 60px; padding: 0; text-align: center; width: 55px; } .toolbar > a.btn { line-height: 55px; } .toolbar > a:hover, .toolbar > a.active, .toolbar > a:active, .toolbar > a:focus { background: $color-haze; } .toolbar > a.active, .toolbar > a:active { color: $color-primary; } .toolbar > a[disabled] { background: $color-transparent; color: $color-gray; cursor: not-allowed; pointer-events: none; } .toolbar > a > .label { border-radius: 2px; font-size: 10px; font-style: normal; letter-spacing: 0; line-height: 1; margin: 5px 0 0 -5px; min-width: 19px; padding: 5px 5px 4px 5px; position: absolute; text-indent: 0 !important; vertical-align: middle; } .toolbar-alt > a > .label { margin-left: 5px; } /* # Styles ================================================== */ .toolbar-bordered > a { background: $color-transparent !important; border-right: 4px solid $color-transparent !important; text-indent: 1.5px; } .toolbar-bordered.toolbar-alt > a { border-left: 4px solid $color-transparent !important; border-right: 0 !important; text-indent: -1.5px; } .toolbar-bordered > a:hover, .toolbar-bordered > a:focus { border-left-color: inherit !important; border-right-color: inherit !important; } .toolbar-bordered > a.active, .toolbar-bordered > a:active { border-left-color: $color-primary !important; border-right-color: $color-primary !important; } /* # Colors ================================================== */ .toolbar-dark { background: $color-black; border-color: $color-dark-black !important; color: $color-white; } .toolbar-dark > a:hover, .toolbar-dark > a.active, .toolbar-dark > a:active, .toolbar-dark > a:focus { background: $color-light-black; border-bottom-color: $color-dark-black !important; } .toolbar-light { background: lighten($color-light-haze, 2%); } .toolbar-light > a:hover, .toolbar-light > a.active, .toolbar-light > a:active, .toolbar-light > a:focus { background: $color-haze; } /* # Media Queries ================================================== */ @media only screen and (max-width: 767px) { .toolbar { 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) { .toolbar, .toolbar-alt { border-width: 0.5px; } .toolbar-bordered > a { text-indent: 2px; } .toolbar-bordered.toolbar-alt > a { text-indent: -2px; } }