dotfiles

config files for my linux setup
git clone git://edryd.org/dotfiles
Log | Files | Refs | README

_spinner.scss (552B)


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