You are here

pace-theme-flat-top.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-progress {
  display: block;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 12px;
  background: #29d;

  -webkit-transition: -webkit-transform .3s, width 1s;
  -moz-transition: width 1s;
  -o-transform: width 1s;
  transition: transform .3s, width 1s;

  -webkit-transform: translateY(-50px);
  transform: translateY(-50px);

  pointer-events: none;
}

.pace.pace-active .pace-progress {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

File

css/pace-theme-flat-top.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-progress {
  10. display: block;
  11. position: fixed;
  12. z-index: 2000;
  13. top: 0;
  14. left: 0;
  15. height: 12px;
  16. background: #29d;
  17. -webkit-transition: -webkit-transform .3s, width 1s;
  18. -moz-transition: width 1s;
  19. -o-transform: width 1s;
  20. transition: transform .3s, width 1s;
  21. -webkit-transform: translateY(-50px);
  22. transform: translateY(-50px);
  23. pointer-events: none;
  24. }
  25. .pace.pace-active .pace-progress {
  26. -webkit-transform: translateY(0);
  27. transform: translateY(0);
  28. }