spinner.css 870 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* ***************************************
  2. FIXED POSITION AJAX INDICATOR
  3. *************************************** */
  4. .elgg-spinner {
  5. /* general spinner styles */
  6. background: #fff;
  7. padding: 10px;
  8. border: 1px solid #CCC;
  9. border-top: 0;
  10. border-radius: 0 0 15px 15px;
  11. /* negative half the width for proper centering */
  12. margin-left: -25.5px;
  13. position: fixed;
  14. top: 0;
  15. z-index: 10000;
  16. /* transitioned values */
  17. left: -10000px;
  18. opacity: 0;
  19. /* fade out over 300ms, then jump offscreen */
  20. -webkit-transition: opacity 300ms ease-in-out, left 0s linear 300ms;
  21. transition: opacity 300ms ease-in-out, left 0s linear 300ms;
  22. }
  23. .elgg-spinner-active .elgg-spinner {
  24. left: 50%;
  25. opacity: 1;
  26. /* set values immediately */
  27. -webkit-transition: opacity 0s, left 0s;
  28. transition: opacity 0s, left 0s;
  29. }