Commit eb3df6a2 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Merge branch 'theme-icon-filter-fixes' into 'master'

theme: Use -gtk-icon-filter for full-color icons

See merge request !1990
parents d1d009b4 c6483d43
Pipeline #274875 passed with stages
in 24 minutes and 51 seconds
......@@ -39,19 +39,9 @@ dnd {
-gtk-icon-size: 32px;
}
/*
These wildcard seems unavoidable, need to investigate.
Wildcards are bad and troublesome, use them with care,
or better, just don't.
Every time a wildcard is used a kitten dies, painfully.
*/
spinner:disabled,
arrow:disabled,
scrollbar:disabled,
check:disabled,
radio:disabled,
treeview.expander:disabled { -gtk-icon-filter: opacity(0.5); }
image:disabled {
-gtk-icon-filter: opacity(0.5);
}
.view,
%view {
......@@ -509,7 +499,8 @@ button {
@include button(backdrop);
transition: $backdrop_transition;
-gtk-icon-filter: none;
&:not(:disabled) { -gtk-icon-filter: none; }
&:active,
&:checked { @include button(backdrop-active); }
......@@ -525,6 +516,7 @@ button {
&:disabled {
@include button(insensitive);
-gtk-icon-filter: opacity(0.5);
&:active,
&:checked { @include button(insensitive-active); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment