Skip to content

Commit

Permalink
Make disabled Expander arrow look disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattias committed Apr 1, 2018
1 parent ecd28d5 commit 30d1249
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Zukitre/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3127,6 +3127,8 @@ expander {
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }

&:hover { color: lighten($fg_color, 30%); } //only lightens the arrow
&:disabled { color: $insensitive_fg_color; }
&:disabled:backdrop { color: $backdrop_insensitive_color; }

&:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
}
Expand Down
4 changes: 4 additions & 0 deletions Zukitre/gtk-3.0/gtk-contained-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,10 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb

expander title > arrow:hover { color: white; }

expander title > arrow:disabled { color: #838a8f; }

expander title > arrow:disabled:backdrop { color: #465a65; }

expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

/************ Calendar * */
Expand Down
4 changes: 4 additions & 0 deletions Zukitre/gtk-3.0/gtk-contained.css
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,10 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb

expander title > arrow:hover { color: #797979; }

expander title > arrow:disabled { color: #818181; }

expander title > arrow:disabled:backdrop { color: #b0b0b0; }

expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

/************ Calendar * */
Expand Down
2 changes: 2 additions & 0 deletions Zukitwo/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3178,6 +3178,8 @@ expander {
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }

&:hover { color: lighten($fg_color, 30%); } //only lightens the arrow
&:disabled { color: $insensitive_fg_color; }
&:disabled:backdrop { color: $backdrop_insensitive_color; }

&:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
}
Expand Down
4 changes: 4 additions & 0 deletions Zukitwo/gtk-3.0/gtk-contained-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,10 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb

expander title > arrow:hover { color: white; }

expander title > arrow:disabled { color: #8d9093; }

expander title > arrow:disabled:backdrop { color: #4d5762; }

expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

/************ Calendar * */
Expand Down
4 changes: 4 additions & 0 deletions Zukitwo/gtk-3.0/gtk-contained.css
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,10 @@ expander title > arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symb

expander title > arrow:hover { color: #797979; }

expander title > arrow:disabled { color: #818181; }

expander title > arrow:disabled:backdrop { color: #b0b0b0; }

expander title > arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }

/************ Calendar * */
Expand Down

0 comments on commit 30d1249

Please sign in to comment.