aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRik Mills <[email protected]>2017-05-12 17:03:30 +0100
committerRik Mills <[email protected]>2017-05-12 17:03:30 +0100
commit6ac39e82ff069f6ca4037617d906a695060f5261 (patch)
treee06b4d8f0c6feae22c8cff1c83ff8d9e59abc065
parent4fb5bd4b018971c9b9505b6ba978b1b45f56c03e (diff)
Set no stepper button for GTK3 scrollbars on gtk >=3.20
Review: https://phabricator.kde.org/D5128 This is a workaround to mitigate broken (huge wide) scrollbars in mozilla/Gecko based applications for GTK3 >= 3.20 in versions 52 onwards. Ref: https://bugs.kde.org/show_bug.cgi?id=377008 and https://bugzilla.mozilla.org/show_bug.cgi?id=1343802 The mozilla bug is now 'fixed' and landing in nightlies v55, but may continue to affect earlier releases if not brought forward upstream. Regardless of any other concern, applying this brings the appearance of newer breeze and breeze-gtk scrollars into closer accord. BUG: 377008 Differential Revision: D5128
-rw-r--r--Breeze-dark-gtk/gtk-3.20/gtk.css10
-rw-r--r--Breeze-gtk/gtk-3.20/gtk.css10
2 files changed, 10 insertions, 10 deletions
diff --git a/Breeze-dark-gtk/gtk-3.20/gtk.css b/Breeze-dark-gtk/gtk-3.20/gtk.css
index f521ca6..0e0fb2d 100644
--- a/Breeze-dark-gtk/gtk-3.20/gtk.css
+++ b/Breeze-dark-gtk/gtk-3.20/gtk.css
@@ -3123,8 +3123,8 @@ scale highlight {
* Scrollbars *
**************/
scrollbar {
- -GtkScrollbar-has-backward-stepper: true;
- -GtkScrollbar-has-forward-stepper: true;
+ -GtkScrollbar-has-backward-stepper: false;
+ -GtkScrollbar-has-forward-stepper: false;
background-color: #31363b;
border-width: 3px 0px;
border-color: #31363b;
@@ -3184,12 +3184,12 @@ scrollbar {
scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
min-height: 4px; }
scrollbar trough {
- min-width: 16px;
- min-height: 16px;
+ min-width: 14px;
+ min-height: 14px;
border: 0px solid transparent;
border-radius: 8px;
background-color: #6a6e72;
- box-shadow: inset 0px 0px 0px 3px #31363b; }
+ box-shadow: inset 0px 0px 0px 2px #31363b; }
scrollbar slider {
min-width: 10px;
min-height: 30px;
diff --git a/Breeze-gtk/gtk-3.20/gtk.css b/Breeze-gtk/gtk-3.20/gtk.css
index d7486e2..76c83fd 100644
--- a/Breeze-gtk/gtk-3.20/gtk.css
+++ b/Breeze-gtk/gtk-3.20/gtk.css
@@ -3123,8 +3123,8 @@ scale highlight {
* Scrollbars *
**************/
scrollbar {
- -GtkScrollbar-has-backward-stepper: true;
- -GtkScrollbar-has-forward-stepper: true;
+ -GtkScrollbar-has-backward-stepper: false;
+ -GtkScrollbar-has-forward-stepper: false;
background-color: #eff0f1;
border-width: 3px 0px;
border-color: #eff0f1;
@@ -3184,12 +3184,12 @@ scrollbar {
scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
min-height: 4px; }
scrollbar trough {
- min-width: 16px;
- min-height: 16px;
+ min-width: 14px;
+ min-height: 14px;
border: 0px solid transparent;
border-radius: 8px;
background-color: #b6b8ba;
- box-shadow: inset 0px 0px 0px 3px #eff0f1; }
+ box-shadow: inset 0px 0px 0px 2px #eff0f1; }
scrollbar slider {
min-width: 10px;
min-height: 30px;