From: Daniel Boles Date: Tue, 5 Sep 2017 00:38:35 +0000 (+0100) Subject: Adwaita: Leave fg color of hovered emoji alone X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~208 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a6393e1a47cb57d0baae7d15034ab7a12c16d07b;p=gtk%2B3.0.git Adwaita: Leave fg color of hovered emoji alone Only HighContrast has a clear problem, and this avoids some probably unwanted changes of certain colours in the weird greyscale emoji I have available to test here. --- diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 676e951d98..bbe63c2bf9 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -4468,6 +4468,5 @@ button.emoji-section { :hover { background: $selected_bg_color; - color: $selected_fg_color; } } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index eb266d9c62..77dc6fad75 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -1916,7 +1916,7 @@ button.emoji-section:checked label { opacity: 1; } .emoji { font-size: x-large; padding: 6px; border-radius: 6px; } -.emoji :hover { background: #215d9c; color: #ffffff; } +.emoji :hover { background: #215d9c; } /* GTK NAMED COLORS ---------------- use responsibly! */ /* diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 6791c1aaf4..653e931f05 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -1936,7 +1936,7 @@ button.emoji-section:checked label { opacity: 1; } .emoji { font-size: x-large; padding: 6px; border-radius: 6px; } -.emoji :hover { background: #4a90d9; color: #ffffff; } +.emoji :hover { background: #4a90d9; } /* GTK NAMED COLORS ---------------- use responsibly! */ /*