From c4524623a9846a19bbfcb190ae1bd30c6b1e2300 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 8 Feb 2017 16:53:10 +0100 Subject: [PATCH] HC: insensitive styling for views. --- gtk/theme/HighContrast/_common.scss | 4 ++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +++ gtk/theme/HighContrast/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index d36cb42c02..4e7d2365cd 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -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; } diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css b/gtk/theme/HighContrast/gtk-contained-inverse.css index 5f4e55f3ac..b291b77a25 100644 --- a/gtk/theme/HighContrast/gtk-contained-inverse.css +++ b/gtk/theme/HighContrast/gtk-contained-inverse.css @@ -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, diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css index b580a3d863..1196800dda 100644 --- a/gtk/theme/HighContrast/gtk-contained.css +++ b/gtk/theme/HighContrast/gtk-contained.css @@ -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,