app.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*nprogress*/
  2. #nprogress {
  3. pointer-events: none;
  4. }
  5. #nprogress .bar {
  6. background: rgba(115, 103, 240, 0.8);
  7. position: fixed;
  8. z-index: 1031;
  9. top: 0;
  10. left: 0;
  11. width: 100%;
  12. height: 2.5px;
  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 #7367f0, 0 0 5px #7367f0;
  21. opacity: 1;
  22. transform: rotate(3deg) translate(0, -4px);
  23. }
  24. #nprogress .spinner {
  25. display: block;
  26. position: fixed;
  27. z-index: 1031;
  28. top: 25px;
  29. right: 15px;
  30. }
  31. #nprogress .spinner-icon {
  32. width: 18px;
  33. height: 18px;
  34. box-sizing: border-box;
  35. border: solid 2px transparent;
  36. border-top-color: #7367f0;
  37. border-left-color: #7367f0;
  38. border-radius: 50%;
  39. -webkit-animation: nprogress-spinner 0.4s linear infinite;
  40. animation: nprogress-spinner 0.4s linear infinite;
  41. }
  42. .nprogress-custom-parent {
  43. overflow: hidden;
  44. position: relative;
  45. }
  46. .nprogress-custom-parent #nprogress .bar,
  47. .nprogress-custom-parent #nprogress .spinner {
  48. position: absolute;
  49. }
  50. @-webkit-keyframes nprogress-spinner {
  51. 0% {
  52. -webkit-transform: rotate(0);
  53. }
  54. 100% {
  55. -webkit-transform: rotate(360deg);
  56. }
  57. }
  58. @keyframes nprogress-spinner {
  59. 0% {
  60. transform: rotate(0);
  61. }
  62. 100% {
  63. transform: rotate(360deg);
  64. }
  65. }
  66. /*nprogress*/
  67. html body {
  68. background-color: ecf0f5;
  69. }