[gtk+] High Contrast: disabled scales more subtle



commit 3e567b49002845415f280a1bcacaf9162154aeb0
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Mar 15 18:27:41 2016 +0100

    High Contrast: disabled scales more subtle
    
    Make even the tough border subtle to make it distinct from
    normal state.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763613

 gtk/theme/HighContrast/_common.scss              |    3 ++-
 gtk/theme/HighContrast/gtk-contained-inverse.css |    4 +++-
 gtk/theme/HighContrast/gtk-contained.css         |    4 +++-
 3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 5b9779a..54d533c 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1669,6 +1669,7 @@ treeview.view radio {
   box-shadow: none;
 
   &:disabled {
+    border-color: $insensitive_borders_color;
     background-color: $insensitive_bg_color;
   }
 
@@ -1676,7 +1677,7 @@ treeview.view radio {
     background-color: $backdrop_dark_fill;
     border-color: $backdrop_borders_color;
 
-    &:disabled { background-color: $insensitive_bg_color; }
+    &:disabled { background-color: $insensitive_bg_color; border-color: $insensitive_borders_color; }
   }
 
   // ...on selected list rows
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css 
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index c1e3c37..0aca791 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -1826,12 +1826,14 @@ scale trough, scale fill {
   background-color: gray;
   box-shadow: none; }
   scale trough:disabled, scale fill:disabled {
+    border-color: #494949;
     background-color: #070707; }
   scale trough:backdrop, scale fill:backdrop {
     background-color: #4d4d4d;
     border-color: #737373; }
     scale trough:backdrop:disabled, scale fill:backdrop:disabled {
-      background-color: #070707; }
+      background-color: #070707;
+      border-color: #494949; }
   row:selected scale trough, scale row:selected trough, row:selected scale fill, scale row:selected fill, 
row:selected scale trough:disabled, scale row:selected trough:disabled, row:selected scale fill:disabled, 
scale row:selected fill:disabled {
     border-color: #aaa; }
   .osd scale trough, scale .osd trough, .osd scale fill, scale .osd fill {
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 3b07abb..f6081e7 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -1826,12 +1826,14 @@ scale trough, scale fill {
   background-color: gray;
   box-shadow: none; }
   scale trough:disabled, scale fill:disabled {
+    border-color: silver;
     background-color: white; }
   scale trough:backdrop, scale fill:backdrop {
     background-color: #b3b3b3;
     border-color: #8d8d8d; }
     scale trough:backdrop:disabled, scale fill:backdrop:disabled {
-      background-color: white; }
+      background-color: white;
+      border-color: silver; }
   row:selected scale trough, scale row:selected trough, row:selected scale fill, scale row:selected fill, 
row:selected scale trough:disabled, scale row:selected trough:disabled, row:selected scale fill:disabled, 
scale row:selected fill:disabled {
     border-color: #000; }
   .osd scale trough, scale .osd trough, .osd scale fill, scale .osd fill {


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