mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
Merge branch 'theme-icon-filter-fixes' into 'master'
theme: Use -gtk-icon-filter for full-color icons See merge request GNOME/gtk!1990
This commit is contained in:
commit
eb3df6a2e8
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user