diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2014-06-12 00:56:12 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2014-06-12 00:56:12 +0200 |
commit | 353316c41753d81d89c3186ef7f9032b5bedaa7e (patch) | |
tree | 88901127bb200cc319f39e22cb8b85ea382e1536 | |
parent | 217d18801d8e8f0d252510aa19be8442a1ecab54 (diff) | |
download | gnome-themes-standard-wip/sass.tar.gz |
button shrinking issue workaround addedwip/sass
-rw-r--r-- | themes/Adwaita/gtk-3.0/_common.scss | 5 | ||||
-rw-r--r-- | themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 2 | ||||
-rw-r--r-- | themes/Adwaita/gtk-3.0/gtk-contained.css | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss index 2b1541fa..3cd6fc84 100644 --- a/themes/Adwaita/gtk-3.0/_common.scss +++ b/themes/Adwaita/gtk-3.0/_common.scss @@ -35,6 +35,11 @@ -GtkDialog-button-spacing: 0; -GtkDialog-action-area-border: 0; + + // Those two are to fix buttons shrinking issue, remove them if things + // gets properly fixed in the code + -GtkButton-default-outside-border: 1; + -GtkButton-default-border: 1; // We use the outline properties to signal the focus properties // to the adwaita engine: using real CSS properties is faster, diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css index 740cb22a..8b9fcb1a 100644 --- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css +++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css @@ -22,6 +22,8 @@ -GtkWindow-resize-grip-height: 0; -GtkDialog-button-spacing: 0; -GtkDialog-action-area-border: 0; + -GtkButton-default-outside-border: 1; + -GtkButton-default-border: 1; outline-color: rgba(238, 238, 236, 0.3); outline-style: dashed; outline-offset: -3px; diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css index c3801bd8..9f93210c 100644 --- a/themes/Adwaita/gtk-3.0/gtk-contained.css +++ b/themes/Adwaita/gtk-3.0/gtk-contained.css @@ -22,6 +22,8 @@ -GtkWindow-resize-grip-height: 0; -GtkDialog-button-spacing: 0; -GtkDialog-action-area-border: 0; + -GtkButton-default-outside-border: 1; + -GtkButton-default-border: 1; outline-color: rgba(46, 52, 54, 0.3); outline-style: dashed; outline-offset: -3px; |