mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
refactor(xray): drop stale --ant-primary-color fallbacks and hex literals
- RoutingTab .drop-before/.drop-after box-shadow: #1677ff → var(--ant-color-primary) - OutboundFormModal .random-icon: drop the --ant-primary-color/#1890ff pair (the old AntD v4 token name with stale fallback) for the v6 --ant-color-primary; .danger-icon hex #ff4d4f → var(--ant-color-error). - XrayPage .restart-icon: same drop of the --ant-primary-color fallback. These were all leftovers from the AntD v4 → v6 rename — the v6 --ant-color-primary is already populated by ConfigProvider, so the fallback hex was dead code that would only trigger if AntD wasn't mounted.
This commit is contained in:
parent
bb69cad361
commit
08caf53ba6
3 changed files with 5 additions and 5 deletions
|
|
@ -1,12 +1,12 @@
|
||||||
.random-icon {
|
.random-icon {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: var(--ant-primary-color, #1890ff);
|
color: var(--ant-color-primary);
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.danger-icon {
|
.danger-icon {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #ff4d4f;
|
color: var(--ant-color-error);
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,11 +27,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.drop-before > td {
|
.drop-before > td {
|
||||||
box-shadow: inset 0 2px 0 0 #1677ff;
|
box-shadow: inset 0 2px 0 0 var(--ant-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.drop-after > td {
|
.drop-after > td {
|
||||||
box-shadow: inset 0 -2px 0 0 #1677ff;
|
box-shadow: inset 0 -2px 0 0 var(--ant-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.row-index {
|
.row-index {
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
.xray-page .restart-icon {
|
.xray-page .restart-icon {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: var(--ant-primary-color, #1890ff);
|
color: var(--ant-color-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.xray-page .restart-result {
|
.xray-page .restart-result {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue