_spinner.scss 484 B

123456789101112131415161718192021222324252627
  1. /***********
  2. * Spinner *
  3. ***********/
  4. menu spinner {
  5. color: $selected_bg_color;
  6. }
  7. /*********************
  8. * Spinner Animation *
  9. *********************/
  10. @keyframes spin {
  11. to { -gtk-icon-transform: rotate(1turn); }
  12. }
  13. spinner {
  14. background: none;
  15. opacity: 0; // non spinning spinner makes no sense
  16. -gtk-icon-source: -gtk-icontheme('process-working-symbolic');
  17. &:checked {
  18. opacity: 1;
  19. animation: spin 1s linear infinite;
  20. &:disabled { opacity: 0.5; }
  21. }
  22. }