/* 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-dark-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-bottom: 1px solid; border-color: inherit; border-radius: 0; box-sizing: border-box; color: inherit; display: block; font-size: 21px; 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-light-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 > .tooltip { min-width: 80px; width: 80px; } /* # 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; } .toolbar-light { background: $color-light-haze; border-color: $color-dark-haze !important; } .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, .toolbar > a { border-width: 0.5px; } .toolbar-bordered > a { text-indent: 2px; } .toolbar-bordered.toolbar-alt > a { text-indent: -2px; } }