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 {
|
||||
@include gradient-vertical($scrollbarBackground, $scrollbarBackground2);
|
||||
border-radius: 6px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.thumb-horizontal {
|
||||
@include gradient-horizontal($scrollbarBackground, $scrollbarBackground2);
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user