sa-reset.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. body,
  2. div,
  3. span,
  4. header,
  5. footer,
  6. nav,
  7. section,
  8. aside,
  9. article,
  10. ul,
  11. dl,
  12. dt,
  13. dd,
  14. li,
  15. a,
  16. p,
  17. h1,
  18. h2,
  19. h3,
  20. h4,
  21. h5,
  22. h6,
  23. em,
  24. i,
  25. b,
  26. textarea,
  27. button,
  28. input,
  29. select,
  30. figure,
  31. figcaption {
  32. padding: 0;
  33. margin: 0;
  34. list-style-type: none;
  35. font-style: normal;
  36. text-decoration: none;
  37. border: none;
  38. background: none;
  39. font-weight: normal;
  40. font-family:
  41. avenir,
  42. -apple-system,
  43. BlinkMacSystemFont,
  44. Helvetica Neue,
  45. PingFang SC,
  46. Microsoft YaHei,
  47. Source Han Sans SC,
  48. Noto Sans CJK SC,
  49. sans-serif;
  50. box-sizing: border-box;
  51. -webkit-tap-highlight-color: transparent;
  52. -webkit-font-smoothing: antialiased;
  53. &:hover {
  54. outline: none;
  55. }
  56. }
  57. a:link {
  58. color: var(--el-color-primary);
  59. }
  60. a:visited {
  61. color: var(--t-btn-focus);
  62. }
  63. a:hover {
  64. color: var(--t-btn-hover);
  65. }
  66. a:active {
  67. color: var(--t-btn-active);
  68. }
  69. ::-webkit-scrollbar {
  70. width: 7px;
  71. height: 8px;
  72. }
  73. ::-webkit-scrollbar-track {
  74. background: transparent;
  75. }
  76. ::-webkit-scrollbar-track {
  77. background-color: inherit;
  78. }
  79. ::-webkit-scrollbar-thumb {
  80. background-color: rgba(144, 147, 153, 0.3);
  81. border-radius: 3px;
  82. box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  83. }
  84. .el-button:focus {
  85. outline: none !important;
  86. }