[gtk+] High Contrast Inverse: scale trough fix



commit adb2b5c758450ce504f12fa83935d54a71e0adf0
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Mar 24 16:32:01 2016 +0100

    High Contrast Inverse: scale trough fix
    
    - make the trough more visible for HCI
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763805

 gtk/theme/HighContrast/_colors.scss              |    2 +-
 gtk/theme/HighContrast/gtk-contained-inverse.css |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_colors.scss b/gtk/theme/HighContrast/_colors.scss
index d3d3b44..6b82b73 100644
--- a/gtk/theme/HighContrast/_colors.scss
+++ b/gtk/theme/HighContrast/_colors.scss
@@ -26,7 +26,7 @@ $warning_color: #f57900;
 $error_color: #cc0000;
 $success_color: #73d216;
 $destructive_color: #ef2929;
-$dark_fill: mix($fg_color, $bg_color, 50%);
+$dark_fill: if($variant == 'light', mix($fg_color, $bg_color, 50%), mix($fg_color, $bg_color, 10%));
 
 $osd_fg_color: #fff;
 $osd_bg_color: transparentize(#000,0.2);
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css 
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index adf2404..243c5a4 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -2293,7 +2293,7 @@ treeview.view radio:selected:disabled {
 scale trough, scale fill {
   border: 2px solid gray;
   border-radius: 4px;
-  background-color: gray;
+  background-color: #1a1a1a;
   box-shadow: none; }
   scale trough:disabled, scale fill:disabled {
     border-color: #494949;


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