public.less 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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: rgba(0, 0, 0, 0.05);
  17. }
  18. ::-webkit-scrollbar-thumb {
  19. // background: rgba(0, 0, 0, 0.6);
  20. background-color: rgba(144, 147, 153, 0.3);
  21. // background-color: rgba(144, 147, 153, 0.3);
  22. border-radius: 2px;
  23. box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  24. }
  25. ::-webkit-scrollbar-thumb:hover {
  26. background-color: @border-color-dark;
  27. }
  28. // =================================
  29. // ==============nprogress==========
  30. // =================================
  31. #nprogress {
  32. pointer-events: none;
  33. .bar {
  34. position: fixed;
  35. top: 0;
  36. left: 0;
  37. z-index: 99999;
  38. width: 100%;
  39. height: 2px;
  40. background-color: @primary-color;
  41. opacity: 0.75;
  42. }
  43. }