You are here

pace-theme-corner-indicator.css in PACE - Page load progress bar 8

/* This is a compiled file, you should be editing the file in the templates directory */
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace .pace-activity {
  display: block;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: #eb7a55;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transform: translateX(100%) translateY(-100%) rotate(45deg);
  transform: translateX(100%) translateY(-100%) rotate(45deg);
  pointer-events: none;
}

.pace.pace-active .pace-activity {
  -webkit-transform: translateX(50%) translateY(-50%) rotate(45deg);
  transform: translateX(50%) translateY(-50%) rotate(45deg);
}

.pace .pace-activity::before,
.pace .pace-activity::after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    bottom: 30px;
    left: 50%;
    display: block;
    border: 5px solid #fff;
    border-radius: 50%;
    content: '';
}

.pace .pace-activity::before {
    margin-left: -40px;
    width: 80px;
    height: 80px;
    border-right-color: rgba(0, 0, 0, .2);
    border-left-color: rgba(0, 0, 0, .2);
    -webkit-animation: pace-theme-corner-indicator-spin 3s linear infinite;
    animation: pace-theme-corner-indicator-spin 3s linear infinite;
}

.pace .pace-activity::after {
    bottom: 50px;
    margin-left: -20px;
    width: 40px;
    height: 40px;
    border-top-color: rgba(0, 0, 0, .2);
    border-bottom-color: rgba(0, 0, 0, .2);
    -webkit-animation: pace-theme-corner-indicator-spin 1s linear infinite;
    animation: pace-theme-corner-indicator-spin 1s linear infinite;
}

@-webkit-keyframes pace-theme-corner-indicator-spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(359deg); }
}
@keyframes pace-theme-corner-indicator-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(359deg); }
}

File

css/orange/pace-theme-corner-indicator.css
View source
  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: #eb7a55;
  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. }