public.less 876 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #app {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. // =================================
  6. // ==============scrollbar==========
  7. // =================================
  8. ::-webkit-scrollbar {
  9. width: 7px;
  10. height: 8px;
  11. }
  12. // ::-webkit-scrollbar-track {
  13. // background: transparent;
  14. // }
  15. ::-webkit-scrollbar-track {
  16. background-color: rgb(0 0 0 / 5%);
  17. }
  18. ::-webkit-scrollbar-thumb {
  19. background: rgb(0 0 0 60%);
  20. background-color: rgb(144 147 153 / 30%);
  21. border-radius: 2px;
  22. box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
  23. }
  24. ::-webkit-scrollbar-thumb:hover {
  25. background-color: var(--border-color);
  26. }
  27. // =================================
  28. // ==============nprogress==========
  29. // =================================
  30. #nprogress {
  31. pointer-events: none;
  32. .bar {
  33. position: fixed;
  34. top: 0;
  35. left: 0;
  36. z-index: 99999;
  37. width: 100%;
  38. height: 2px;
  39. opacity: 0.75;
  40. }
  41. }