mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Scrollbar: Show scrollbar on only on hover (#22386)
This commit is contained in:
parent
1f4a04436c
commit
22eb558d80
@ -31,11 +31,21 @@
|
|||||||
.thumb-vertical {
|
.thumb-vertical {
|
||||||
@include gradient-vertical($scrollbarBackground, $scrollbarBackground2);
|
@include gradient-vertical($scrollbarBackground, $scrollbarBackground2);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumb-horizontal {
|
.thumb-horizontal {
|
||||||
@include gradient-horizontal($scrollbarBackground, $scrollbarBackground2);
|
@include gradient-horizontal($scrollbarBackground, $scrollbarBackground2);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.thumb-vertical,
|
||||||
|
.thumb-horizontal {
|
||||||
|
opacity: 0.8;
|
||||||
|
transition: opacity 0.3s ease-in-out;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// page scrollbar should stick to left side to aid hitting it
|
// page scrollbar should stick to left side to aid hitting it
|
||||||
|
Loading…
Reference in New Issue
Block a user