mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
60 lines
1.9 KiB
SCSS
60 lines
1.9 KiB
SCSS
@import "~perfect-scrollbar/css/perfect-scrollbar.css";
|
|
|
|
.ps__rail-x:hover,
|
|
.ps__rail-y:hover,
|
|
.ps__rail-x:focus,
|
|
.ps__rail-y:focus {
|
|
background-color: transparent;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.ps__thumb-y {
|
|
@include gradient-vertical($blue, lighten($blue, 20%));
|
|
}
|
|
|
|
.ps__rail-y:hover > .ps__thumb-y,
|
|
.ps__rail-y:focus > .ps__thumb-y {
|
|
background-color: #999;
|
|
width: 6px;
|
|
}
|
|
|
|
// Srollbars
|
|
//
|
|
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar:hover {
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:start:decrement,
|
|
::-webkit-scrollbar-button:end:increment { display: none; }
|
|
::-webkit-scrollbar-button:horizontal:decrement { display: none; }
|
|
::-webkit-scrollbar-button:horizontal:increment { display: none; }
|
|
::-webkit-scrollbar-button:vertical:decrement { display: none; }
|
|
::-webkit-scrollbar-button:vertical:increment { display: none; }
|
|
::-webkit-scrollbar-button:horizontal:decrement:active { background-image: none; }
|
|
::-webkit-scrollbar-button:horizontal:increment:active { background-image: none; }
|
|
::-webkit-scrollbar-button:vertical:decrement:active { background-image: none; }
|
|
::-webkit-scrollbar-button:vertical:increment:active {background-image: none; }
|
|
::-webkit-scrollbar-track-piece { background-color: transparent; }
|
|
|
|
::-webkit-scrollbar-thumb:vertical {
|
|
height: 50px;
|
|
background: -webkit-gradient(linear, left top, right top, color-stop(0%, $scrollbarBackground), color-stop(100%, $scrollbarBackground2));
|
|
border: 1px solid $scrollbarBorder;
|
|
border-top: 1px solid $scrollbarBorder;
|
|
border-left: 1px solid $scrollbarBorder;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:horizontal {
|
|
width: 50px;
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, $scrollbarBackground), color-stop(100%, $scrollbarBackground2));
|
|
border: 1px solid $scrollbarBorder;
|
|
border-top: 1px solid $scrollbarBorder;
|
|
border-left: 1px solid $scrollbarBorder;
|
|
}
|