Adwaita: GtkTreeView insensitive state style.

See https://bugzilla.gnome.org/show_bug.cgi?id=740770.
This commit is contained in:
Lapo Calamandrei 2014-11-28 17:03:53 +01:00
parent d3c96f9f17
commit 6962dcffac
3 changed files with 27 additions and 0 deletions

View File

@ -1360,10 +1360,21 @@ GtkTreeView.view {
border-left-color: mix($selected_fg_color, $selected_bg_color, 0.5);
border-top-color: transparentize($fg_color, 0.9); // doesn't work unfortunatelly
}
&:insensitive {
color: $insensitive_fg_color;
&:selected {
color: mix($selected_fg_color, $selected_bg_color, 40%);
&:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 30%); }
}
&:backdrop { color: $backdrop_insensitive_color; }
}
&:backdrop {
border-left-color: mix($backdrop_fg_color, $backdrop_bg_color, 0.5);
border-top: $backdrop_bg_color;
}
&.expander {
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }

View File

@ -1968,6 +1968,14 @@ GtkTreeView.view {
GtkTreeView.view:selected, GtkTreeView.view:backdrop:selected {
border-left-color: #225d9c;
border-top-color: rgba(238, 238, 236, 0.1); }
GtkTreeView.view:insensitive {
color: #939695; }
GtkTreeView.view:insensitive:selected {
color: #799dc3; }
GtkTreeView.view:insensitive:selected:backdrop {
color: #638db9; }
GtkTreeView.view:insensitive:backdrop {
color: #5d6767; }
GtkTreeView.view:backdrop {
border-left-color: #393f3f;
border-top: #393f3f; }

View File

@ -1968,6 +1968,14 @@ GtkTreeView.view {
GtkTreeView.view:selected, GtkTreeView.view:backdrop:selected {
border-left-color: #4a90d9;
border-top-color: rgba(46, 52, 54, 0.1); }
GtkTreeView.view:insensitive {
color: #8d9091; }
GtkTreeView.view:insensitive:selected {
color: #92bce8; }
GtkTreeView.view:insensitive:selected:backdrop {
color: #80b1e4; }
GtkTreeView.view:insensitive:backdrop {
color: #c7c7c7; }
GtkTreeView.view:backdrop {
border-left-color: #ececec;
border-top: #ededed; }