nprogress.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /** kit_admin-v1.0.5 MIT License By http://kit/zhengjinfan.cn e-mail:zheng_jinfan@126.com */
  2. #nprogress {
  3. pointer-events: none
  4. }
  5. #nprogress .bar {
  6. background: #29d;
  7. position: fixed;
  8. z-index: 1031;
  9. top: 0;
  10. left: 0;
  11. width: 100%;
  12. height: 2px
  13. }
  14. #nprogress .peg {
  15. display: block;
  16. position: absolute;
  17. right: 0;
  18. width: 100px;
  19. height: 100%;
  20. box-shadow: 0 0 10px #29d,0 0 5px #29d;
  21. opacity: 1;
  22. -webkit-transform: rotate(3deg) translate(0,-4px);
  23. -ms-transform: rotate(3deg) translate(0,-4px);
  24. transform: rotate(3deg) translate(0,-4px)
  25. }
  26. #nprogress .spinner {
  27. display: block;
  28. position: fixed;
  29. z-index: 1031;
  30. top: 15px;
  31. right: 15px
  32. }
  33. #nprogress .spinner-icon {
  34. width: 18px;
  35. height: 18px;
  36. box-sizing: border-box;
  37. border: 2px solid transparent;
  38. border-top-color: #29d;
  39. border-left-color: #29d;
  40. border-radius: 50%;
  41. -webkit-animation: nprogress-spinner .4s linear infinite;
  42. animation: nprogress-spinner .4s linear infinite
  43. }
  44. .nprogress-custom-parent {
  45. overflow: hidden;
  46. position: relative
  47. }
  48. .nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner {
  49. position: absolute
  50. }
  51. @-webkit-keyframes nprogress-spinner {
  52. 0% {
  53. -webkit-transform: rotate(0)
  54. }
  55. 100% {
  56. -webkit-transform: rotate(360deg)
  57. }
  58. }
  59. @keyframes nprogress-spinner {
  60. 0% {
  61. transform: rotate(0)
  62. }
  63. 100% {
  64. transform: rotate(360deg)
  65. }
  66. }