[gtk+] HC: insensitive styling for views.
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HC: insensitive styling for views.
- Date: Thu, 9 Feb 2017 02:33:02 +0000 (UTC)
commit c4524623a9846a19bbfcb190ae1bd30c6b1e2300
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Feb 8 16:53:10 2017 +0100
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(+), 0 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index d36cb42..4e7d236 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 5f4e55f..b291b77 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 b580a3d..1196800 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]