[gtk+/gtk-3-22] HC: insensitive styling for views.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] HC: insensitive styling for views.
- Date: Wed, 8 Feb 2017 15:56:32 +0000 (UTC)
commit 8f01d6c5f4fa626c40426b253131bbcb1352562e
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 5cfa168..7788922 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 3274206..da9ab5b 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 93c7bfc..045cc08 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]