[gtk+/wip/overlay-scrollbar] Theme improvements
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/overlay-scrollbar] Theme improvements
- Date: Thu, 9 Oct 2014 21:19:31 +0000 (UTC)
commit a031ff5fb77df34f2e2d1262c866ed2339ffc4e9
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 9 17:18:41 2014 -0400
Theme improvements
Make scrollbars in sidebars show up - this what broke the gtk3-demo
scrollbar.
gtk/resources/theme/Adwaita/_common.scss | 2 ++
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index fb226ad..60eee37 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -2970,10 +2970,12 @@ GtkVolumeButton.button { padding: 8px; }
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;
}
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 288b0ad..0549f34 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -4294,9 +4294,11 @@ GtkCalendar.header .menuitem.titlebutton.button:selected, .list-row:selected {
.scrollbar.overlay-indicator.locked.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; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index cd4f8eb..130aac0 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -4456,9 +4456,11 @@ GtkCalendar.header .menuitem.titlebutton.button:selected, .list-row:selected {
.scrollbar.overlay-indicator.locked.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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]