diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2014-06-11 03:36:19 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2014-06-11 03:36:19 +0200 |
commit | 35809a1116f33e69f3f19ac1e2285c238650bb74 (patch) | |
tree | 155241acb110bdc65c7389bc9dc168084f8aa8f5 | |
parent | d399bd42f86f0a8efbcc3b43c81caaa606a56ded (diff) | |
download | gnome-themes-standard-35809a1116f33e69f3f19ac1e2285c238650bb74.tar.gz |
fix GtkLinkButton blinking borders on hover in backdrop
- shouldn't be needed, but explicitelly setting no borders and background
for backdrop state fixes the weird transition
-rw-r--r-- | themes/Adwaita/gtk-3.0/_common.scss | 3 | ||||
-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, 5 insertions, 2 deletions
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss index 799c8e6d..864b2bd3 100644 --- a/themes/Adwaita/gtk-3.0/_common.scss +++ b/themes/Adwaita/gtk-3.0/_common.scss @@ -379,6 +379,9 @@ GtkLinkButton.button { } &:backdrop { color: $selected_bg_color; + @extend %undecorated_button; //This shouldn't be needed but avoids + //a weird transition which for some reason + //makes borders blink on hover } } diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css index d37a1a30..222a9500 100644 --- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css +++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css @@ -419,7 +419,7 @@ border-radius: 3px; border-style: solid; } -GtkLinkButton.button, GtkLinkButton.button:hover, GtkLinkButton.button:active { +GtkLinkButton.button, GtkLinkButton.button:hover, GtkLinkButton.button:active, GtkLinkButton.button:backdrop { border-color: transparent; background-color: transparent; background-image: none; diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css index 195d98e4..687b27ad 100644 --- a/themes/Adwaita/gtk-3.0/gtk-contained.css +++ b/themes/Adwaita/gtk-3.0/gtk-contained.css @@ -419,7 +419,7 @@ border-radius: 3px; border-style: solid; } -GtkLinkButton.button, GtkLinkButton.button:hover, GtkLinkButton.button:active { +GtkLinkButton.button, GtkLinkButton.button:hover, GtkLinkButton.button:active, GtkLinkButton.button:backdrop { border-color: transparent; background-color: transparent; background-image: none; |