mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 13:49:20 +08:00
fix(workbench): 修复深色模式下选择器文字颜色不匹配问题
This commit is contained in:
@@ -606,24 +606,7 @@ onUnmounted(() => {
|
|||||||
color: rgb(15 23 42) !important;
|
color: rgb(15 23 42) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark
|
|
||||||
:deep(
|
|
||||||
.workbench-header-select.ant-select-single
|
|
||||||
.ant-select-selector
|
|
||||||
.ant-select-selection-item
|
|
||||||
),
|
|
||||||
html.dark
|
|
||||||
:deep(
|
|
||||||
.workbench-header-select.ant-select-single
|
|
||||||
.ant-select-selector
|
|
||||||
.ant-select-selection-placeholder
|
|
||||||
) {
|
|
||||||
color: hsl(0deg 0% 95%) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html.dark :deep(.workbench-header-select .ant-select-selector) {
|
|
||||||
background-color: hsl(240deg 3.7% 15.9% / 55%) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 店铺:在通用样式之后覆盖,选中项可换行以显示完整店名 */
|
/* 店铺:在通用样式之后覆盖,选中项可换行以显示完整店名 */
|
||||||
:deep(.workbench-header-select.workbench-shop-select.ant-select) {
|
:deep(.workbench-header-select.workbench-shop-select.ant-select) {
|
||||||
@@ -657,21 +640,6 @@ html.dark :deep(.workbench-header-select .ant-select-selector) {
|
|||||||
line-height: 1.35 !important;
|
line-height: 1.35 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark
|
|
||||||
:deep(
|
|
||||||
.workbench-header-select.workbench-shop-select.ant-select-single
|
|
||||||
.ant-select-selector
|
|
||||||
.ant-select-selection-item
|
|
||||||
),
|
|
||||||
html.dark
|
|
||||||
:deep(
|
|
||||||
.workbench-header-select.workbench-shop-select.ant-select-single
|
|
||||||
.ant-select-selector
|
|
||||||
.ant-select-selection-placeholder
|
|
||||||
) {
|
|
||||||
color: hsl(0deg 0% 95%) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
:deep(.tax-rate-input .ant-input-number-input) {
|
:deep(.tax-rate-input .ant-input-number-input) {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
@@ -685,4 +653,14 @@ html.dark .workbench-tabs.ant-tabs .ant-tabs-nav {
|
|||||||
background-color: hsl(222.34deg 10.43% 12.27%);
|
background-color: hsl(222.34deg 10.43% 12.27%);
|
||||||
border-bottom-color: hsl(240deg 3.7% 22%);
|
border-bottom-color: hsl(240deg 3.7% 22%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.dark .workbench-header-select .ant-select-selector {
|
||||||
|
background-color: hsl(240deg 3.7% 18%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html.dark .workbench-header-select.ant-select-single .ant-select-selector .ant-select-selection-item,
|
||||||
|
html.dark .workbench-header-select.ant-select-single .ant-select-selector .ant-select-selection-placeholder,
|
||||||
|
html.dark .workbench-header-select .ant-select-selection-search-input {
|
||||||
|
color: hsl(0deg 0% 95%) !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user