You are here

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

/* 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: #29d;
  -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 {
    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-rotation 3s linear infinite;
    animation: pace-rotation 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-rotation 1s linear infinite;
    animation: pace-rotation 1s linear infinite;
}

@-webkit-keyframes pace-rotation {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(359deg); }
}
@keyframes pace-rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(359deg); }
}

File

css/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: #29d;
  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. position: absolute;
  31. bottom: 30px;
  32. left: 50%;
  33. display: block;
  34. border: 5px solid #fff;
  35. border-radius: 50%;
  36. content: '';
  37. }
  38. .pace .pace-activity::before {
  39. margin-left: -40px;
  40. width: 80px;
  41. height: 80px;
  42. border-right-color: rgba(0, 0, 0, .2);
  43. border-left-color: rgba(0, 0, 0, .2);
  44. -webkit-animation: pace-rotation 3s linear infinite;
  45. animation: pace-rotation 3s linear infinite;
  46. }
  47. .pace .pace-activity::after {
  48. bottom: 50px;
  49. margin-left: -20px;
  50. width: 40px;
  51. height: 40px;
  52. border-top-color: rgba(0, 0, 0, .2);
  53. border-bottom-color: rgba(0, 0, 0, .2);
  54. -webkit-animation: pace-rotation 1s linear infinite;
  55. animation: pace-rotation 1s linear infinite;
  56. }
  57. @-webkit-keyframes pace-rotation {
  58. 0% { -webkit-transform: rotate(0deg); }
  59. 100% { -webkit-transform: rotate(359deg); }
  60. }
  61. @keyframes pace-rotation {
  62. 0% { transform: rotate(0deg); }
  63. 100% { transform: rotate(359deg); }
  64. }