Add some overlay scrollbar theming to Adwaita

This commit is contained in:
Matthias Clasen 2014-10-08 23:37:29 -04:00
parent 4455266c5b
commit 47ce01116b
3 changed files with 56 additions and 0 deletions

View File

@ -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;
}

View File

@ -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! */

View File

@ -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! */