[gtk+] High Contrast: checkboxes and radios inside treeviews



commit 87c410d420538e6ecc83f6925930c23e71001775
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Mar 15 15:49:25 2016 +0100

    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(+), 0 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index fb5ee72..5b9779a 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 e97f99d..c1e3c37 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 9ce1360..3b07abb 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 *
  ************/


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