/* Table of Contents ================================================== # Toolbar # Colors # Styles # 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; 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; 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; } /* # 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; } /* # Styles ================================================== */ .toolbar-bordered > a { border-right-width: 3px !important; border-right-style: solid; border-right-color: $color-transparent; } .toolbar-bordered > a:hover, .toolbar-bordered > a.active, .toolbar-bordered > a:active, .toolbar-bordered > a:focus { border-right-color: $color-primary; } .toolbar-bordered.toolbar-alt > a { border-left-width: 3px !important; border-left-style: solid; border-left-color: $color-transparent; border-right: 0 !important; } .toolbar-bordered.toolbar-alt > a:hover, .toolbar-bordered.toolbar-alt > a.active, .toolbar-bordered.toolbar-alt > a:active, .toolbar-bordered.toolbar-alt > a:focus { border-left-color: $color-primary; } /* # 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; } }