forked from AuroraMiddleware/gtk
Add some overlay scrollbar theming to Adwaita
This commit is contained in:
parent
4455266c5b
commit
47ce01116b
@ -3022,3 +3022,25 @@ GtkVolumeButton.button { padding: 8px; }
|
||||
.monospace {
|
||||
font: Monospace;
|
||||
}
|
||||
|
||||
/* Overlay scrollbars */
|
||||
|
||||
.scrollbar.overlay-indicator.dragging,
|
||||
.scrollbar.overlay-indicator.hovering {
|
||||
-GtkRange-slider-width: 15;
|
||||
}
|
||||
|
||||
.scrollbar.overlay-indicator.dragging.trough,
|
||||
.scrollbar.overlay-indicator.hovering.trough {
|
||||
background-color: transparentize(black, 0.9);
|
||||
}
|
||||
|
||||
.sidebar .scrollbar.overlay-indicator,
|
||||
.scrollbar.overlay-indicator {
|
||||
-GtkRange-slider-width: 10;
|
||||
}
|
||||
|
||||
.sidebar .scrollbar.overlay-indicator .trough,
|
||||
.scrollbar.overlay-indicator.trough {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
@ -4372,6 +4372,23 @@ GtkCalendar.header .menuitem.titlebutton.button:selected, .list-row:selected {
|
||||
.monospace {
|
||||
font: Monospace; }
|
||||
|
||||
/* Overlay scrollbars */
|
||||
.scrollbar.overlay-indicator.dragging,
|
||||
.scrollbar.overlay-indicator.hovering {
|
||||
-GtkRange-slider-width: 15; }
|
||||
|
||||
.scrollbar.overlay-indicator.dragging.trough,
|
||||
.scrollbar.overlay-indicator.hovering.trough {
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
|
||||
.sidebar .scrollbar.overlay-indicator,
|
||||
.scrollbar.overlay-indicator {
|
||||
-GtkRange-slider-width: 10; }
|
||||
|
||||
.sidebar .scrollbar.overlay-indicator .trough,
|
||||
.scrollbar.overlay-indicator.trough {
|
||||
background-color: transparent; }
|
||||
|
||||
/* GTK NAMED COLORS
|
||||
----------------
|
||||
use responsibly! */
|
||||
|
@ -4534,6 +4534,23 @@ GtkCalendar.header .menuitem.titlebutton.button:selected, .list-row:selected {
|
||||
.monospace {
|
||||
font: Monospace; }
|
||||
|
||||
/* Overlay scrollbars */
|
||||
.scrollbar.overlay-indicator.dragging,
|
||||
.scrollbar.overlay-indicator.hovering {
|
||||
-GtkRange-slider-width: 15; }
|
||||
|
||||
.scrollbar.overlay-indicator.dragging.trough,
|
||||
.scrollbar.overlay-indicator.hovering.trough {
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
|
||||
.sidebar .scrollbar.overlay-indicator,
|
||||
.scrollbar.overlay-indicator {
|
||||
-GtkRange-slider-width: 10; }
|
||||
|
||||
.sidebar .scrollbar.overlay-indicator .trough,
|
||||
.scrollbar.overlay-indicator.trough {
|
||||
background-color: transparent; }
|
||||
|
||||
/* GTK NAMED COLORS
|
||||
----------------
|
||||
use responsibly! */
|
||||
|
Loading…
Reference in New Issue
Block a user