mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 20:54:14 +00:00
refactor(xray): collapse RoutingTab dark forks into AntD CSS variables
- .criterion-more bg light/dark fork → var(--ant-color-fill-tertiary) - .xray-page.is-dark .rule-card and .criterion-chip overrides removed; the rules already use --bg-card and --ant-color-fill-tertiary that adapt to the theme on their own.
This commit is contained in:
parent
5b10e9141f
commit
a654c7c199
1 changed files with 1 additions and 13 deletions
|
|
@ -78,11 +78,7 @@
|
|||
font-size: 11px;
|
||||
padding: 0 5px;
|
||||
border-radius: 8px;
|
||||
background: rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.xray-page.is-dark .criterion-more {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
background: var(--ant-color-fill-tertiary);
|
||||
}
|
||||
|
||||
.criterion-empty {
|
||||
|
|
@ -222,11 +218,3 @@
|
|||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.xray-page.is-dark .rule-card {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.xray-page.is-dark .criterion-chip {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue