From 87c410d420538e6ecc83f6925930c23e71001775 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Tue, 15 Mar 2016 15:49:25 +0100 Subject: [PATCH] High Contrast: checkboxes and radios inside treeviews - fixes hover state of checkboxes and radios inside treeviews --- gtk/theme/HighContrast/_common.scss | 6 ++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 7 +++++++ gtk/theme/HighContrast/gtk-contained.css | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index fb5ee726d0..5b9779aba6 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -1653,6 +1653,12 @@ checkbutton check { } } +treeview.view check, +treeview.view radio { + color: $fg_color; + &:hover { color: $fg_color; } +} + /************ * GtkScale * ************/ diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css index e97f99d9ab..c1e3c37eb5 100644 --- a/gtk/theme/HighContrast/gtk-contained-inverse.css +++ b/gtk/theme/HighContrast/gtk-contained-inverse.css @@ -1810,6 +1810,13 @@ checkbutton check { checkbutton check:only-child { margin: 0; } +treeview.view check, +treeview.view radio { + color: #fff; } + treeview.view check:hover, + treeview.view radio:hover { + color: #fff; } + /************ * GtkScale * ************/ diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css index 9ce13602a2..3b07abb281 100644 --- a/gtk/theme/HighContrast/gtk-contained.css +++ b/gtk/theme/HighContrast/gtk-contained.css @@ -1810,6 +1810,13 @@ checkbutton check { checkbutton check:only-child { margin: 0; } +treeview.view check, +treeview.view radio { + color: #000; } + treeview.view check:hover, + treeview.view radio:hover { + color: #000; } + /************ * GtkScale * ************/