* Expander code converted. Base code: https://github.com/GNOME/gtk/blob/master/gtk/theme/Adwaita/_common.scss#L3507 (#329)
parent
b62e6eb0d4
commit
77877e9d53
|
@ -76,23 +76,16 @@
|
||||||
|
|
||||||
@include exports("expander") {
|
@include exports("expander") {
|
||||||
expander {
|
expander {
|
||||||
padding: $spacing;
|
arrow {
|
||||||
outline-offset: 1px;
|
min-width: 16px;
|
||||||
min-width: 8px;
|
min-height: 16px;
|
||||||
}
|
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
|
||||||
|
|
||||||
.expander {
|
&:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-end-symbolic-rtl'); }
|
||||||
color: alpha(currentColor, .7);
|
|
||||||
border: alpha(currentColor, .7);
|
|
||||||
|
|
||||||
&:hover {
|
&:hover { color: alpha(currentColor, .8); } //only lightens the arrow
|
||||||
color: alpha(currentColor, .8);
|
|
||||||
border-color: alpha(currentColor, .8);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:active {
|
&:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
|
||||||
color: alpha(currentColor, .9);
|
|
||||||
border-color: alpha(currentColor, .9);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue