31 lines
532 B
SCSS
Raw Normal View History

2016-04-14 21:54:38 -04:00
/***********
* Spinner *
***********/
2016-04-18 18:39:13 -04:00
menu spinner {
2016-04-14 21:54:38 -04:00
color: $selected_bg_color;
}
/*********************
* Spinner Animation *
*********************/
@keyframes spin {
to { -gtk-icon-transform: rotate(1turn); }
}
.spinner,
spinner {
background-image: none;
background: none;
opacity: 0; // non spinning spinner makes no sense
-gtk-icon-source: -gtk-icontheme('process-working-symbolic');
&:active,
&:checked {
opacity: 1;
animation: spin 1s linear infinite;
2016-04-18 18:39:13 -04:00
&:disabled { opacity: 0.5; }
2016-04-14 21:54:38 -04:00
}
}