|
1 |
| -@import "~antd/dist/antd.compact.css"; |
2 |
| -.logo { |
3 |
| - height: 32px; |
4 |
| - margin: 16px; |
| 1 | +@import '~antd/dist/antd.compact.min.css'; |
| 2 | + |
| 3 | +@media (prefers-color-scheme: light) { |
| 4 | + .logo { |
| 5 | + height: 32px; |
| 6 | + margin: 16px; |
| 7 | + } |
| 8 | + |
| 9 | + .site-layout .site-layout-background { |
| 10 | + background: #fff; |
| 11 | + } |
5 | 12 | }
|
6 | 13 |
|
7 |
| -.site-layout .site-layout-background { |
8 |
| - background: #fff; |
| 14 | +@media (prefers-color-scheme: dark) { |
| 15 | + .logo { |
| 16 | + height: 32px; |
| 17 | + margin: 16px; |
| 18 | + } |
| 19 | + |
| 20 | + .site-layout .site-layout-background { |
| 21 | + background: #141414 !important; |
| 22 | + } |
| 23 | + |
| 24 | + .ant-layout .site-layout { |
| 25 | + background-color: #000 !important; |
| 26 | + } |
| 27 | + |
| 28 | + .ant-menu.ant-menu-dark, |
| 29 | + .ant-menu.ant-menu-dark .ant-menu-sub { |
| 30 | + background: #202020 !important; |
| 31 | + } |
| 32 | + |
| 33 | + .ant-layout-footer { |
| 34 | + background-color: #000 !important; |
| 35 | + } |
| 36 | + |
| 37 | + .ant-page-header-heading-sub-title { |
| 38 | + color: rgba(255, 255, 255, 0.65) !important; |
| 39 | + } |
| 40 | + |
| 41 | + .ant-page-header-heading-title { |
| 42 | + color: rgba(255, 255, 255, 0.65) !important; |
| 43 | + } |
| 44 | + |
| 45 | + .anticon-arrow-left { |
| 46 | + color: rgba(255, 255, 255, 0.65) !important; |
| 47 | + } |
| 48 | + |
| 49 | + .ant-descriptions-item-label { |
| 50 | + color: rgb(255 255 255 / 85%) !important; |
| 51 | + } |
| 52 | + |
| 53 | + .ant-descriptions-title { |
| 54 | + color: rgb(255 255 255 / 85%) !important; |
| 55 | + } |
| 56 | + |
| 57 | + .ant-descriptions-item-content { |
| 58 | + color: rgb(255 255 255 / 65%) !important; |
| 59 | + } |
| 60 | + |
| 61 | + .ant-tag-error { |
| 62 | + color: #d32029 !important; |
| 63 | + background: #2a1215 !important; |
| 64 | + border-color: #58181c !important; |
| 65 | + } |
| 66 | + |
| 67 | + .ant-tag-purple { |
| 68 | + color: #642ab5 !important; |
| 69 | + background: #1a1325 !important; |
| 70 | + border-color: #301c4d !important; |
| 71 | + } |
| 72 | + |
| 73 | + .ant-result-title { |
| 74 | + color: rgba(255, 255, 255, 0.85) !important; |
| 75 | + font-size: 24px !important; |
| 76 | + line-height: 1.8 !important; |
| 77 | + text-align: center !important; |
| 78 | + } |
| 79 | + |
| 80 | + .ant-result-subtitle { |
| 81 | + color: rgba(255, 255, 255, 0.45) !important; |
| 82 | + font-size: 14px !important; |
| 83 | + line-height: 1.6 !important; |
| 84 | + text-align: center !important; |
| 85 | + } |
| 86 | + |
| 87 | + .ant-result-content { |
| 88 | + margin-top: 24px !important; |
| 89 | + padding: 24px 40px !important; |
| 90 | + background-color: rgba(255, 255, 255, 0.04) !important; |
| 91 | + } |
| 92 | + |
| 93 | + .ant-layout-sider { |
| 94 | + background: #1f1f1f !important; |
| 95 | + } |
| 96 | + |
| 97 | + .ant-list-split .ant-list-item { |
| 98 | + border-bottom: 1px solid rgba(255, 255, 255, 0.65) !important; |
| 99 | + } |
| 100 | + |
| 101 | + .ant-card-bordered { |
| 102 | + border: 1px solid #303030 !important; |
| 103 | + } |
| 104 | + |
| 105 | + .ant-card { |
| 106 | + color: rgba(255, 255, 255, 0.65) !important; |
| 107 | + background: #141414 !important; |
| 108 | + border-radius: 5px !important; |
| 109 | + } |
| 110 | + |
| 111 | + .ant-tag-blue { |
| 112 | + color: #177ddc !important; |
| 113 | + background: #111d2c !important; |
| 114 | + border-color: #15395b !important; |
| 115 | + } |
| 116 | + |
| 117 | + .ant-card-meta-title { |
| 118 | + color: rgb(255 255 255 / 85%) !important; |
| 119 | + } |
| 120 | + |
| 121 | + .ant-card-actions { |
| 122 | + background: #141414; |
| 123 | + border-top: 1px solid #303030; |
| 124 | + } |
| 125 | + |
| 126 | + .ant-card-meta-description { |
| 127 | + color: rgb(255 255 255 / 45%) !important; |
| 128 | + } |
| 129 | + |
| 130 | + .ant-tag-processing { |
| 131 | + color: #177ddc !important; |
| 132 | + background: #111d2c !important; |
| 133 | + border-color: #15395b !important; |
| 134 | + } |
| 135 | + |
| 136 | + .ant-tag-magenta { |
| 137 | + color: #cb2b83; |
| 138 | + background: #291321; |
| 139 | + border-color: #551c3b; |
| 140 | + } |
| 141 | + |
| 142 | + .ant-tag-red { |
| 143 | + color: #d32029 !important; |
| 144 | + background: #2a1215 !important; |
| 145 | + border-color: #58181c !important; |
| 146 | + } |
| 147 | + |
| 148 | + .ant-tag-green { |
| 149 | + color: #49aa19 !important; |
| 150 | + background: #162312 !important; |
| 151 | + border-color: #274916 !important; |
| 152 | + } |
| 153 | + |
| 154 | + .ant-card-actions > li:not(:last-child) { |
| 155 | + border-right: 1px solid #ffffff3d !important; |
| 156 | + } |
| 157 | + |
| 158 | + .ant-input { |
| 159 | + color: rgba(255, 255, 255, 0.65) !important; |
| 160 | + background-color: transparent !important; |
| 161 | + background-image: none !important; |
| 162 | + } |
| 163 | + |
| 164 | + .ant-btn-dashed { |
| 165 | + color: rgba(255, 255, 255, 0.65) !important; |
| 166 | + background: transparent !important; |
| 167 | + border-color: #434343 !important; |
| 168 | + border-style: dashed !important; |
| 169 | + } |
| 170 | + |
| 171 | + .ant-btn-primary { |
| 172 | + color: #fff !important; |
| 173 | + background: #177ddc !important; |
| 174 | + border-color: #177ddc !important; |
| 175 | + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12) !important; |
| 176 | + box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045) !important; |
| 177 | + } |
| 178 | + |
| 179 | + .ant-collapse { |
| 180 | + color: rgba(255, 255, 255, 0.65) !important; |
| 181 | + background-color: rgba(255, 255, 255, 0.04) !important; |
| 182 | + border: 1px solid #434343 !important; |
| 183 | + } |
| 184 | + |
| 185 | + .ant-collapse-content { |
| 186 | + color: rgba(255, 255, 255, 0.65) !important; |
| 187 | + background-color: #141414 !important; |
| 188 | + border-top: 1px solid #434343 !important; |
| 189 | + } |
| 190 | + |
| 191 | + .ant-collapse > .ant-collapse-item { |
| 192 | + border-bottom: none !important; |
| 193 | + } |
| 194 | + |
| 195 | + .ant-collapse > .ant-collapse-item > .ant-collapse-header { |
| 196 | + color: rgba(255, 255, 255, 0.85) !important; |
| 197 | + } |
| 198 | + |
| 199 | + .ant-card-actions > li > span > .anticon, |
| 200 | + .ant-card-actions > li > span a:not(.ant-btn) { |
| 201 | + color: rgba(255, 255, 255, 0.45) !important; |
| 202 | + } |
| 203 | + |
| 204 | + .ant-input-affix-wrapper { |
| 205 | + color: rgba(255, 255, 255, 0.65) !important; |
| 206 | + background-color: transparent !important; |
| 207 | + border: 1px solid #434343 !important; |
| 208 | + background-image: none !important; |
| 209 | + } |
| 210 | + |
| 211 | + .ant-divider-dashed { |
| 212 | + background: none !important; |
| 213 | + border: dashed #f0f0f04a !important; |
| 214 | + border-width: 1px 0 0 !important; |
| 215 | + } |
| 216 | + |
| 217 | + .ant-tag-orange { |
| 218 | + color: #d87a16 !important; |
| 219 | + background: #2b1d11 !important; |
| 220 | + border-color: #593815 !important; |
| 221 | + } |
| 222 | + |
| 223 | + .ant-tag-geekblue { |
| 224 | + color: #2b4acb !important; |
| 225 | + background: #131629 !important; |
| 226 | + border-color: #1c2755 !important; |
| 227 | + } |
| 228 | + |
| 229 | + .ant-typography { |
| 230 | + color: rgba(255, 255, 255, 0.65) !important; |
| 231 | + } |
| 232 | + |
| 233 | + .ant-layout-footer { |
| 234 | + color: rgba(255, 255, 255, 0.65) !important; |
| 235 | + } |
| 236 | + |
| 237 | + .ant-input:hover { |
| 238 | + border-color: #165996; |
| 239 | + border-right-width: 1px !important; |
| 240 | + } |
| 241 | + |
| 242 | + .ant-empty-description { |
| 243 | + color: rgba(255, 255, 255, 0.3) !important; |
| 244 | + } |
| 245 | + |
| 246 | + .ant-btn-dangerous { |
| 247 | + color: #a61d24 !important; |
| 248 | + background: transparent !important; |
| 249 | + border-color: #a61d24 !important; |
| 250 | + } |
| 251 | + |
| 252 | + .ant-btn-dangerous.ant-btn-primary:hover, |
| 253 | + .ant-btn-dangerous.ant-btn-primary:focus { |
| 254 | + color: #fff !important; |
| 255 | + background: #800f19 !important; |
| 256 | + border-color: #800f19 !important; |
| 257 | + } |
| 258 | + |
| 259 | + .dark-mode-text-error { |
| 260 | + color: rgba(255, 255, 255, 0.3) !important; |
| 261 | + } |
9 | 262 | }
|
10 | 263 |
|
11 | 264 | .iconfont {
|
12 |
| - font-family: "iconfont" !important; |
13 |
| - font-size: 16px; |
14 |
| - font-style: normal; |
15 |
| - -webkit-font-smoothing: antialiased; |
16 |
| - -moz-osx-font-smoothing: grayscale; |
| 265 | + font-family: "iconfont" !important; |
| 266 | + font-size: 16px; |
| 267 | + font-style: normal; |
| 268 | + -webkit-font-smoothing: antialiased; |
| 269 | + -moz-osx-font-smoothing: grayscale; |
17 | 270 | }
|
18 | 271 |
|
19 | 272 | body {
|
20 |
| - min-width: 750px; |
21 |
| - min-height: auto; |
| 273 | + min-width: 750px; |
| 274 | + min-height: auto; |
22 | 275 | }
|
0 commit comments