reset.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. /* Reset style sheet */
  2. /* 目前项目中使用富文本编辑器需要注释,如果你项目中没有使用富文本编辑器,可以取消注释 */
  3. // html,
  4. // body,
  5. // div,
  6. // span,
  7. // applet,
  8. // object,
  9. // iframe,
  10. // h1,
  11. // h2,
  12. // h3,
  13. // h4,
  14. // h5,
  15. // h6,
  16. // p,
  17. // blockquote,
  18. // pre,
  19. // a,
  20. // abbr,
  21. // acronym,
  22. // address,
  23. // big,
  24. // cite,
  25. // code,
  26. // del,
  27. // dfn,
  28. // em,
  29. // img,
  30. // ins,
  31. // kbd,
  32. // q,
  33. // s,
  34. // samp,
  35. // small,
  36. // strike,
  37. // strong,
  38. // sub,
  39. // sup,
  40. // tt,
  41. // var,
  42. // b,
  43. // u,
  44. // i,
  45. // center,
  46. // dl,
  47. // dt,
  48. // dd,
  49. // ol,
  50. // ul,
  51. // li,
  52. // fieldset,
  53. // form,
  54. // label,
  55. // legend,
  56. // table,
  57. // caption,
  58. // tbody,
  59. // tfoot,
  60. // thead,
  61. // tr,
  62. // th,
  63. // td,
  64. // article,
  65. // aside,
  66. // canvas,
  67. // details,
  68. // embed,
  69. // figure,
  70. // figcaption,
  71. // footer,
  72. // header,
  73. // hgroup,
  74. // menu,
  75. // nav,
  76. // output,
  77. // ruby,
  78. // section,
  79. // summary,
  80. // time,
  81. // mark,
  82. // audio,
  83. // video {
  84. // padding: 0;
  85. // margin: 0;
  86. // font: inherit;
  87. // font-size: 100%;
  88. // vertical-align: baseline;
  89. // border: 0;
  90. // }
  91. // /* HTML5 display-role reset for older browsers */
  92. // article,
  93. // aside,
  94. // details,
  95. // figcaption,
  96. // figure,
  97. // footer,
  98. // header,
  99. // hgroup,
  100. // menu,
  101. // nav,
  102. // section {
  103. // display: block;
  104. // }
  105. // body {
  106. // padding: 0;
  107. // margin: 0;
  108. // }
  109. // ol,
  110. // ul {
  111. // list-style: none;
  112. // }
  113. // blockquote,
  114. // q {
  115. // quotes: none;
  116. // }
  117. // blockquote::before,
  118. // blockquote::after,
  119. // q::before,
  120. // q::after {
  121. // content: "";
  122. // content: none;
  123. // }
  124. // table {
  125. // border-spacing: 0;
  126. // border-collapse: collapse;
  127. // }
  128. /* 解决 h1 标签在 webkit 内核浏览器中文字大小失效问题 */
  129. :-webkit-any(article, aside, nav, section) h1 {
  130. font-size: 2em;
  131. }
  132. :root {
  133. --lj-menu-bg-color-inverted: #141414;
  134. }
  135. .vxe-table--context-menu-wrapper {
  136. border-radius: $br-sm;
  137. .vxe-context-menu--option-wrapper {
  138. border-color: $color-gray-4;
  139. &:last-child {
  140. border: none;
  141. }
  142. }
  143. .vxe-context-menu--option-wrapper li.link--active,
  144. .vxe-table--context-menu-clild-wrapper li.link--active {
  145. background-color: $color-gray-3 !important;
  146. border-color: $color-gray-3 !important;
  147. & > .vxe-context-menu--link {
  148. color: $color-text-title;
  149. }
  150. }
  151. .vxe-context-menu--link .vxe-context-menu--link-prefix.iconfont,
  152. .vxe-context-menu--link .vxe-context-menu--link-suffix.iconfont {
  153. top: 0;
  154. bottom: 0;
  155. margin: auto;
  156. }
  157. .vxe-context-menu--link .vxe-context-menu--link-suffix.iconfont {
  158. &:hover {
  159. color: $color-primary-600;
  160. }
  161. }
  162. }
  163. .el-overlay {
  164. background-color: $color-bg-overlay !important;
  165. // backdrop-filter: blur(2px);
  166. }
  167. .vxe-table--tooltip-wrapper {
  168. z-index: 3000 !important;
  169. }
  170. .vxe-table--body-wrapper.fixed-left--wrapper {
  171. overflow-x: hidden !important;
  172. padding-bottom: 13px;
  173. }
  174. .el-select__selected-item {
  175. -webkit-user-select: auto !important;
  176. user-select: auto !important;
  177. }