index.module.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. :global {
  2. :local(.wrapper) {
  3. //hardcode
  4. //滚动条背景
  5. &::-webkit-scrollbar {
  6. height: 5px;
  7. width: 5px;
  8. }
  9. // //滚动条前景
  10. &::-webkit-scrollbar-thumb {
  11. background-color: var(--dt-line-color3) !important;
  12. border-radius: 10px;
  13. }
  14. &::-webkit-scrollbar-track {
  15. background-color: transparent;
  16. // border-radius: 5px;
  17. }
  18. // firefox
  19. scrollbar-color: rgba(144, 147, 153, 0.3) transparent;
  20. scrollbar-width: thin;
  21. }
  22. :local(.inner) {
  23. .ant-table-body,
  24. .ant-table-tbody,
  25. .ant-table-content,
  26. .scroll_bar_restyle {
  27. //hardcode
  28. //滚动条背景
  29. &::-webkit-scrollbar {
  30. height: 5px;
  31. width: 5px;
  32. // border-radius: 5px;
  33. }
  34. // //滚动条前景
  35. &::-webkit-scrollbar-thumb {
  36. background-color: var(--dt-line-color2);
  37. border-radius: 10px;
  38. }
  39. &::-webkit-scrollbar-track {
  40. background-color: transparent;
  41. // border-radius: 5px;
  42. }
  43. // firefox
  44. scrollbar-color: rgba(144, 147, 153, 0.3) transparent;
  45. scrollbar-width: thin;
  46. }
  47. }
  48. }