[gtk+] HighContrast: Stop hovered emoji from disappearing



commit 9699a954cdb3dd89cba3b1b93f059df76866f790
Author: Daniel Boles <dboles src gnome org>
Date:   Tue Sep 5 01:42:31 2017 +0100

    HighContrast: Stop hovered emoji from disappearing
    
    Otherwise emoji are invisible in the normal variant & nearly in Inverse.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787279

 gtk/theme/HighContrast/_common.scss              |    1 +
 gtk/theme/HighContrast/gtk-contained-inverse.css |    2 +-
 gtk/theme/HighContrast/gtk-contained.css         |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 46a953a..ff64bda 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -3443,5 +3443,6 @@ button.emoji-section:backdrop { /* Dodge stuff inherited from backdrop button */
 
   :hover {
     background: $selected_bg_color;
+    color: $selected_fg_color;
   }
 }
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css 
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index be87a53..2aae8bd 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -1598,4 +1598,4 @@ button.emoji-section:checked label, button.emoji-section:backdrop:checked label
 
 .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
 
-.emoji :hover { background: #ddd; }
+.emoji :hover { background: #ddd; color: #000; }
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 79374a8..5dc11e5 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -1604,4 +1604,4 @@ button.emoji-section:checked label, button.emoji-section:backdrop:checked label
 
 .emoji { font-size: x-large; padding: 6px; border-radius: 6px; }
 
-.emoji :hover { background: #000; }
+.emoji :hover { background: #000; color: #fff; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]