dark.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. button,
  27. input,
  28. select,
  29. figure,
  30. figcaption {
  31. padding: 0;
  32. margin: 0;
  33. list-style-type: none;
  34. font-style: normal;
  35. text-decoration: none;
  36. border: none;
  37. background: none;
  38. font-weight: normal;
  39. font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei,
  40. Source Han Sans SC, Noto Sans CJK SC, sans-serif;
  41. box-sizing: border-box;
  42. -webkit-tap-highlight-color: transparent;
  43. -webkit-font-smoothing: antialiased;
  44. }
  45. a:link {
  46. color: var(--el-color-primary);
  47. }
  48. a:visited {
  49. color: var(--t-btn-focus);
  50. }
  51. a:hover {
  52. color: var(--t-btn-hover);
  53. }
  54. a:active {
  55. color: var(--t-btn-active);
  56. }
  57. [v-cloak] {
  58. display: none
  59. }
  60. label {
  61. font-weight: normal;
  62. margin-bottom: 0;
  63. }
  64. /* fast open样式重置 */
  65. .is-dialog .content {
  66. padding: 0;
  67. padding-left: 0;
  68. padding-right: 0;
  69. }
  70. .is-dialog .content .panel-block {
  71. height: 100vh;
  72. }
  73. body.darktheme {
  74. /* color-scheme: dark; */
  75. --sa-title: #d6d6d6;
  76. --sa-subtitle: #c2c2c2;
  77. --sa-font: #adadad;
  78. --sa-subfont: #7e7e7e;
  79. --sa-place: #525252;
  80. --sa-border: #464646;
  81. --sa-border-secondary: #3e3e3e;
  82. --sa-space: #363636;
  83. --sa-table-header-bg: #323232;
  84. --sa-table-striped: #303030;
  85. --sa-page-background: #121212;
  86. --sa-card-background: #2c2c2c;
  87. --sa-background-assist: #2c2c2c;
  88. --sa-bg-assist-1: #404040;
  89. --sa-box-shadow: rgba(0, 0, 0, 0.24);
  90. --sa-mask-background: rgba(46, 46, 46, 0.8);
  91. --sa-footer-bg: #2c2c2c;
  92. --sa-footer-color: #c2c2c2;
  93. --sa-footer-color-1: #525252;
  94. --t-bg-hover: #33313c;
  95. --t-bg-focus: #363344;
  96. --t-bg-active: #39364c;
  97. --t-bg-disabled: #313038;
  98. --t-btn-hover: #6d60c7;
  99. --t-btn-focus: #7560e2;
  100. --t-btn-active: #806af6;
  101. --sa-background-hex-hover: #33313c;
  102. --sa-background-hex-active: #403b5c;
  103. /* --el-color-primary: #409eff;
  104. --el-color-primary-light-3: #3375b9;
  105. --el-color-primary-light-5: #2a598a;
  106. --el-color-primary-light-7: #213d5b;
  107. --el-color-primary-light-8: #1d3043;
  108. --el-color-primary-light-9: #18222c;
  109. --el-color-primary-dark-2: #66b1ff; */
  110. --el-color-success: #67c23a;
  111. --el-color-success-light-3: #4e8e2f;
  112. --el-color-success-light-5: #3e6b27;
  113. --el-color-success-light-7: #2d481f;
  114. --el-color-success-light-8: #25371c;
  115. --el-color-success-light-9: #1c2518;
  116. --el-color-success-dark-2: #85ce61;
  117. --el-color-warning: #e6a23c;
  118. --el-color-warning-light-3: #a77730;
  119. --el-color-warning-light-5: #7d5b28;
  120. --el-color-warning-light-7: #533f20;
  121. --el-color-warning-light-8: #3e301c;
  122. --el-color-warning-light-9: #292218;
  123. --el-color-warning-dark-2: #ebb563;
  124. --el-color-danger: #f56c6c;
  125. --el-color-danger-light-3: #b25252;
  126. --el-color-danger-light-5: #854040;
  127. --el-color-danger-light-7: #582e2e;
  128. --el-color-danger-light-8: #412626;
  129. --el-color-danger-light-9: #2b1d1d;
  130. --el-color-danger-dark-2: #f78989;
  131. --el-color-error: #f56c6c;
  132. --el-color-error-light-3: #b25252;
  133. --el-color-error-light-5: #854040;
  134. --el-color-error-light-7: #582e2e;
  135. --el-color-error-light-8: #412626;
  136. --el-color-error-light-9: #2b1d1d;
  137. --el-color-error-dark-2: #f78989;
  138. --el-color-info: #909399;
  139. --el-color-info-light-3: #6b6d71;
  140. --el-color-info-light-5: #525457;
  141. --el-color-info-light-7: #393a3c;
  142. --el-color-info-light-8: #2d2d2f;
  143. --el-color-info-light-9: #202121;
  144. --el-color-info-dark-2: #a6a9ad;
  145. --el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, 0.36), 0px 8px 20px rgba(0, 0, 0, 0.72);
  146. --el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, 0.72);
  147. --el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, 0.72);
  148. --el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, 0.72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;
  149. --el-bg-color-page: #0a0a0a;
  150. --el-bg-color: #141414;
  151. --el-bg-color-overlay: #1d1e1f;
  152. --el-text-color-primary: #E5EAF3;
  153. --el-text-color-regular: #CFD3DC;
  154. --el-text-color-secondary: #A3A6AD;
  155. --el-text-color-placeholder: #8D9095;
  156. --el-text-color-disabled: #6C6E72;
  157. --el-border-color-darker: #636466;
  158. --el-border-color-dark: #58585B;
  159. --el-border-color: #4C4D4F;
  160. --el-border-color-light: #414243;
  161. --el-border-color-lighter: #363637;
  162. --el-border-color-extra-light: #2B2B2C;
  163. --el-fill-color-darker: #424243;
  164. --el-fill-color-dark: #39393A;
  165. --el-fill-color: #303030;
  166. --el-fill-color-light: #262727;
  167. --el-fill-color-lighter: #1D1D1D;
  168. --el-fill-color-extra-light: #191919;
  169. --el-fill-color-blank: transparent;
  170. --el-mask-color: rgba(0, 0, 0, 0.8);
  171. --el-mask-color-extra-light: rgba(0, 0, 0, 0.3);
  172. --el-disabled-bg-color: var(--sa-background-hex-hover);
  173. --el-disabled-text-color: var(--sa-place);
  174. --el-disabled-border-color: var(--el-border-color-light);
  175. }
  176. body.darktheme .el-button {
  177. --el-button-disabled-text-color: rgba(255, 255, 255, 0.5)
  178. }
  179. body.darktheme .el-card {
  180. --el-card-bg-color: var(--el-bg-color-overlay)
  181. }
  182. body.darktheme .el-empty {
  183. --el-empty-fill-color-0: var(--el-color-black);
  184. --el-empty-fill-color-1: #4b4b52;
  185. --el-empty-fill-color-2: #36383d;
  186. --el-empty-fill-color-3: #1e1e20;
  187. --el-empty-fill-color-4: #262629;
  188. --el-empty-fill-color-5: #202124;
  189. --el-empty-fill-color-6: #212224;
  190. --el-empty-fill-color-7: #1b1c1f;
  191. --el-empty-fill-color-8: #1c1d1f;
  192. --el-empty-fill-color-9: #18181a
  193. }