Adwaita: Leave fg color of hovered emoji alone
authorDaniel Boles <dboles@src.gnome.org>
Tue, 5 Sep 2017 00:38:35 +0000 (01:38 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 5 Sep 2017 00:38:35 +0000 (01:38 +0100)
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.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 676e951d9840c5f39f3e4699dfd48d3a217a78a4..bbe63c2bf9bbabca294bccf93f62e4a43ee49fce 100644 (file)
@@ -4468,6 +4468,5 @@ button.emoji-section {
 
   :hover {
     background: $selected_bg_color;
-    color: $selected_fg_color;
   }
 }
index eb266d9c629c2e596014eaa2513444e481019ba5..77dc6fad7524856e14894fea776c71dcf941f28c 100644 (file)
@@ -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! */
 /*
index 6791c1aaf4f8aa16c6684e8b069c47a338ff5669..653e931f052e23a07094e71ee79d90f82a09f4c2 100644 (file)
@@ -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! */
 /*