From 9699a954cdb3dd89cba3b1b93f059df76866f790 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 5 Sep 2017 01:42:31 +0100 Subject: [PATCH] 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 46a953aaef..ff64bda862 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 be87a53f6e..2aae8bd12c 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 79374a85a2..5dc11e541c 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; }