|
14 | 14 | color: var(--mars-alert-title-color) !important;
|
15 | 15 | background: var(--mars-msg-title-bg);
|
16 | 16 | background-size: 10px 44px;
|
| 17 | + |
17 | 18 | &::before {
|
18 | 19 | content: "";
|
19 | 20 | display: block;
|
|
25 | 26 | border-top: 1px solid var(--mars-primary-color);
|
26 | 27 | border-left: 1px solid var(--mars-primary-color);
|
27 | 28 | }
|
| 29 | + |
28 | 30 | &::after {
|
29 | 31 | content: "";
|
30 | 32 | display: block;
|
|
125 | 127 | margin-bottom: 10px !important;
|
126 | 128 | color: var(--mars-text-color);
|
127 | 129 |
|
128 |
| - .ant-form-item-label > label { |
| 130 | + .ant-form-item-label>label { |
129 | 131 | font-size: 16px;
|
130 | 132 | color: var(--mars-sub-title-color);
|
131 | 133 | }
|
|
206 | 208 |
|
207 | 209 | // 表格
|
208 | 210 | .ant-table,
|
209 |
| - .ant-table-thead > tr > th { |
| 211 | + .ant-table-thead>tr>th { |
210 | 212 | color: var(--mars-sub-title-color);
|
211 | 213 | background: none !important;
|
212 | 214 | }
|
|
218 | 220 | .ant-table-row:nth-of-type(even) {
|
219 | 221 | background-color: var(--mars-bg-base);
|
220 | 222 | }
|
| 223 | + |
221 | 224 | .ant-table-row:nth-of-type(odd) {
|
222 | 225 | background-color: var(--mars-odd-table-bg);
|
223 | 226 | }
|
|
226 | 229 | background-color: var(--mars-select-bg);
|
227 | 230 | }
|
228 | 231 |
|
229 |
| - .ant-table-tbody > tr.ant-table-placeholder > td { |
| 232 | + .ant-table-tbody>tr.ant-table-placeholder>td { |
230 | 233 | background: #141414;
|
231 | 234 | }
|
232 | 235 |
|
233 |
| - .ant-table-row:hover > td, |
234 |
| - .ant-table-row-selected > td { |
| 236 | + .ant-table-row:hover>td, |
| 237 | + .ant-table-row-selected>td { |
235 | 238 | background-color: transparent !important;
|
236 | 239 | }
|
237 | 240 |
|
|
251 | 254 | color: var(--mars-text-color);
|
252 | 255 | }
|
253 | 256 |
|
254 |
| - .ant-table-placeholder > td { |
| 257 | + .ant-table-placeholder>td { |
255 | 258 | background: var(--mars-bg-base) !important;
|
256 | 259 | }
|
257 | 260 |
|
| 261 | + .ant-empty-description { |
| 262 | + color: var(--mars-text-color); |
| 263 | + } |
| 264 | + |
258 | 265 | .ant-table-row:nth-last-child(1) .ant-table-cell {
|
259 | 266 | border-bottom: none;
|
260 | 267 | }
|
|
265 | 272 |
|
266 | 273 | .ant-cascader-menu-item {
|
267 | 274 | color: var(--mars-text-color);
|
| 275 | + |
268 | 276 | &:hover {
|
269 | 277 | background: var(--mars-list-active);
|
270 | 278 | }
|
|
378 | 386 |
|
379 | 387 | .ant-tabs {
|
380 | 388 | width: 100%;
|
| 389 | + |
381 | 390 | .ant-tabs-nav {
|
382 | 391 | margin-top: 0;
|
| 392 | + |
383 | 393 | &::before {
|
384 | 394 | border-color: var(--mars-base-border-color);
|
385 | 395 | }
|
386 | 396 | }
|
| 397 | + |
387 | 398 | .ant-tabs-tab {
|
388 | 399 | color: var(--mars-base-color) !important;
|
389 | 400 | }
|
390 | 401 |
|
391 | 402 | .ant-tabs-nav-wrap {
|
392 | 403 | line-height: 1;
|
393 | 404 | }
|
| 405 | + |
394 | 406 | &.ant-tabs-card {
|
395 | 407 | .ant-tabs-nav .ant-tabs-tab-active {
|
396 | 408 | background: #20a0ff33;
|
397 | 409 | }
|
| 410 | + |
398 | 411 | .ant-tabs-tab {
|
399 | 412 | background: #20a0ff33 !important;
|
400 | 413 | border-color: var(--mars-base-border-color);
|
401 | 414 | }
|
402 | 415 | }
|
| 416 | + |
403 | 417 | .ant-tabs-tab-active {
|
404 | 418 | border-top: none !important;
|
405 | 419 | }
|
|
413 | 427 |
|
414 | 428 | .ant-cascader-menu-item {
|
415 | 429 | color: var(--mars-text-color);
|
| 430 | + |
416 | 431 | &:hover {
|
417 | 432 | background: var(--mars-list-active);
|
418 | 433 | }
|
|
436 | 451 | .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
437 | 452 | background: var(--mars-list-active);
|
438 | 453 | }
|
| 454 | + |
439 | 455 | .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
440 | 456 | font-weight: 700;
|
441 | 457 | background: var(--mars-list-active);
|
442 | 458 | }
|
| 459 | + |
443 | 460 | .ant-select-item {
|
444 | 461 | transition: none;
|
445 | 462 | color: var(--mars-text-color) !important;
|
|
448 | 465 |
|
449 | 466 | .ant-cascader-menu-item {
|
450 | 467 | color: var(--mars-text-color);
|
| 468 | + |
451 | 469 | &:hover {
|
452 | 470 | background: var(--mars-list-active);
|
453 | 471 | }
|
|
0 commit comments