HC: insensitive styling for views.
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 8 Feb 2017 15:53:10 +0000 (16:53 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 8 Feb 2017 15:53:10 +0000 (16:53 +0100)
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index 5cfa168f594e6dc978cbb621e529bf0d3aadb85b..77889227f0b78750e81f0ec869e6d302aff65038 100644 (file)
@@ -95,6 +95,10 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
     color: $backdrop_fg_color;
     background-color: $backdrop_base_color;
   }
+  &:disabled {
+    color: $insensitive_fg_color;
+    background-color: $insensitive_bg_color;
+  }
   &:selected,
   &:selected:focus,
   &:selected:hover { @extend %selected_items; }
index 32742060fa9c7aba4d505f41d8efbfe87a426995..da9ab5bc243343f1ee451307b267578773241ce7 100644 (file)
@@ -92,6 +92,9 @@
   .view:backdrop, textview text:backdrop, iconview:backdrop {
     color: #fff;
     background-color: #111; }
+  .view:disabled, textview text:disabled, iconview:disabled {
+    color: gray;
+    background-color: #070707; }
 
 .rubberband,
 rubberband,
index 93c7bfc1a8bc01e169d24d85f6767d591b0022ca..045cc08885d110c000edae979907f1eafe6bf048 100644 (file)
@@ -92,6 +92,9 @@
   .view:backdrop, textview text:backdrop, iconview:backdrop {
     color: #000;
     background-color: #fff; }
+  .view:disabled, textview text:disabled, iconview:disabled {
+    color: gray;
+    background-color: white; }
 
 .rubberband,
 rubberband,