[gtk+/gtk-3-14] Adwaita: insensitive GtkTreeView styling
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] Adwaita: insensitive GtkTreeView styling
- Date: Fri, 28 Nov 2014 16:51:20 +0000 (UTC)
commit af3efad0995c75123372a18e830c798121defd2f
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Nov 28 17:49:20 2014 +0100
Adwaita: insensitive GtkTreeView styling
See https://bugzilla.gnome.org/show_bug.cgi?id=740770
gtk/resources/theme/Adwaita/_common.scss | 4 ++++
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++
gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 5d12b43..f3e0c97 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1223,6 +1223,10 @@ GtkTreeView.view { // treeview grid lines and expanders, unfortunatelly
-GtkTreeView-expander-size: 16;
border-color: $bg_color; // this is actually the line color
// :selected is ignored hence no style for it
+ &:insensitive {
+ color: $insensitive_fg_color;
+ &:selected { color: mix($selected_fg_color, $selected_bg_color, 40%); }
+ }
&:backdrop {
border-color: $backdrop_bg_color;
}
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 5c02917..17faef3 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1961,6 +1961,10 @@ GtkTreeView.view {
-GtkTreeView-tree-line-pattern: '';
-GtkTreeView-expander-size: 16;
border-color: #393f3f; }
+ GtkTreeView.view:insensitive {
+ color: #939695; }
+ GtkTreeView.view:insensitive:selected {
+ color: #799dc3; }
GtkTreeView.view:backdrop {
border-color: #393f3f; }
GtkTreeView.view.expander {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index eed1932..b57c742 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1953,6 +1953,10 @@ GtkTreeView.view {
-GtkTreeView-tree-line-pattern: '';
-GtkTreeView-expander-size: 16;
border-color: #ededed; }
+ GtkTreeView.view:insensitive {
+ color: #8d9091; }
+ GtkTreeView.view:insensitive:selected {
+ color: #92bce8; }
GtkTreeView.view:backdrop {
border-color: #ededed; }
GtkTreeView.view.expander {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]