You are here

pace-theme-center-circle.css in PACE - Page load progress bar 2.0.x

/* 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;

  -webkit-perspective: 12rem;
  -moz-perspective: 12rem;
  -ms-perspective: 12rem;
  -o-perspective: 12rem;
  perspective: 12rem;

  z-index: 2000;
  position: fixed;
  height: 6rem;
  width: 6rem;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.pace.pace-inactive .pace-progress {
  display: none;
}

.pace .pace-progress {
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 6rem;
  width: 6rem !important;
  line-height: 6rem;
  font-size: 2rem;
  border-radius: 50%;
  background: rgba(238, 49, 72, 0.8);
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 100;
  text-align: center;

  -webkit-animation: pace-theme-center-circle-spin linear infinite 2s;
  -moz-animation: pace-theme-center-circle-spin linear infinite 2s;
  -ms-animation: pace-theme-center-circle-spin linear infinite 2s;
  -o-animation: pace-theme-center-circle-spin linear infinite 2s;
  animation: pace-theme-center-circle-spin linear infinite 2s;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.pace .pace-progress:after {
  content: attr(data-progress-text);
  display: block;
}

@-webkit-keyframes pace-theme-center-circle-spin {
  from { -webkit-transform: rotateY(0deg) }
  to { -webkit-transform: rotateY(360deg) }
}

@-moz-keyframes pace-theme-center-circle-spin {
  from { -moz-transform: rotateY(0deg) }
  to { -moz-transform: rotateY(360deg) }
}

@-ms-keyframes pace-theme-center-circle-spin {
  from { -ms-transform: rotateY(0deg) }
  to { -ms-transform: rotateY(360deg) }
}

@-o-keyframes pace-theme-center-circle-spin {
  from { -o-transform: rotateY(0deg) }
  to { -o-transform: rotateY(360deg) }
}

@keyframes pace-theme-center-circle-spin {
  from { transform: rotateY(0deg) }
  to { transform: rotateY(360deg) }
}

File

css/red/pace-theme-center-circle.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. -webkit-perspective: 12rem;
  9. -moz-perspective: 12rem;
  10. -ms-perspective: 12rem;
  11. -o-perspective: 12rem;
  12. perspective: 12rem;
  13. z-index: 2000;
  14. position: fixed;
  15. height: 6rem;
  16. width: 6rem;
  17. margin: auto;
  18. top: 0;
  19. left: 0;
  20. right: 0;
  21. bottom: 0;
  22. }
  23. .pace.pace-inactive .pace-progress {
  24. display: none;
  25. }
  26. .pace .pace-progress {
  27. position: fixed;
  28. z-index: 2000;
  29. display: block;
  30. position: absolute;
  31. left: 0;
  32. top: 0;
  33. height: 6rem;
  34. width: 6rem !important;
  35. line-height: 6rem;
  36. font-size: 2rem;
  37. border-radius: 50%;
  38. background: rgba(238, 49, 72, 0.8);
  39. color: #fff;
  40. font-family: "Helvetica Neue", sans-serif;
  41. font-weight: 100;
  42. text-align: center;
  43. -webkit-animation: pace-theme-center-circle-spin linear infinite 2s;
  44. -moz-animation: pace-theme-center-circle-spin linear infinite 2s;
  45. -ms-animation: pace-theme-center-circle-spin linear infinite 2s;
  46. -o-animation: pace-theme-center-circle-spin linear infinite 2s;
  47. animation: pace-theme-center-circle-spin linear infinite 2s;
  48. -webkit-transform-style: preserve-3d;
  49. -moz-transform-style: preserve-3d;
  50. -ms-transform-style: preserve-3d;
  51. -o-transform-style: preserve-3d;
  52. transform-style: preserve-3d;
  53. }
  54. .pace .pace-progress:after {
  55. content: attr(data-progress-text);
  56. display: block;
  57. }
  58. @-webkit-keyframes pace-theme-center-circle-spin {
  59. from { -webkit-transform: rotateY(0deg) }
  60. to { -webkit-transform: rotateY(360deg) }
  61. }
  62. @-moz-keyframes pace-theme-center-circle-spin {
  63. from { -moz-transform: rotateY(0deg) }
  64. to { -moz-transform: rotateY(360deg) }
  65. }
  66. @-ms-keyframes pace-theme-center-circle-spin {
  67. from { -ms-transform: rotateY(0deg) }
  68. to { -ms-transform: rotateY(360deg) }
  69. }
  70. @-o-keyframes pace-theme-center-circle-spin {
  71. from { -o-transform: rotateY(0deg) }
  72. to { -o-transform: rotateY(360deg) }
  73. }
  74. @keyframes pace-theme-center-circle-spin {
  75. from { transform: rotateY(0deg) }
  76. to { transform: rotateY(360deg) }
  77. }