pace-theme-corner-indicator.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* This is a compiled file, you should be editing the file in the templates directory */
  2. .pace {
  3. -webkit-pointer-events: none;
  4. pointer-events: none;
  5. -webkit-user-select: none;
  6. -moz-user-select: none;
  7. user-select: none;
  8. }
  9. .pace .pace-activity {
  10. display: block;
  11. position: fixed;
  12. z-index: 2000;
  13. top: 0;
  14. right: 0;
  15. width: 300px;
  16. height: 300px;
  17. background: #2299dd;
  18. -webkit-transition: -webkit-transform 0.3s;
  19. transition: transform 0.3s;
  20. -webkit-transform: translateX(100%) translateY(-100%) rotate(45deg);
  21. transform: translateX(100%) translateY(-100%) rotate(45deg);
  22. pointer-events: none;
  23. }
  24. .pace.pace-active .pace-activity {
  25. -webkit-transform: translateX(50%) translateY(-50%) rotate(45deg);
  26. transform: translateX(50%) translateY(-50%) rotate(45deg);
  27. }
  28. .pace .pace-activity::before,
  29. .pace .pace-activity::after {
  30. -moz-box-sizing: border-box;
  31. box-sizing: border-box;
  32. position: absolute;
  33. bottom: 30px;
  34. left: 50%;
  35. display: block;
  36. border: 5px solid #fff;
  37. border-radius: 50%;
  38. content: '';
  39. }
  40. .pace .pace-activity::before {
  41. margin-left: -40px;
  42. width: 80px;
  43. height: 80px;
  44. border-right-color: rgba(0, 0, 0, .2);
  45. border-left-color: rgba(0, 0, 0, .2);
  46. -webkit-animation: pace-theme-corner-indicator-spin 3s linear infinite;
  47. animation: pace-theme-corner-indicator-spin 3s linear infinite;
  48. }
  49. .pace .pace-activity::after {
  50. bottom: 50px;
  51. margin-left: -20px;
  52. width: 40px;
  53. height: 40px;
  54. border-top-color: rgba(0, 0, 0, .2);
  55. border-bottom-color: rgba(0, 0, 0, .2);
  56. -webkit-animation: pace-theme-corner-indicator-spin 1s linear infinite;
  57. animation: pace-theme-corner-indicator-spin 1s linear infinite;
  58. }
  59. @-webkit-keyframes pace-theme-corner-indicator-spin {
  60. 0% { -webkit-transform: rotate(0deg); }
  61. 100% { -webkit-transform: rotate(359deg); }
  62. }
  63. @keyframes pace-theme-corner-indicator-spin {
  64. 0% { transform: rotate(0deg); }
  65. 100% { transform: rotate(359deg); }
  66. }