fix: stabilize admin ui and agent chat model fallback
This commit is contained in:
@@ -2,6 +2,70 @@
|
||||
--el-card-border-radius: var(--radius) !important;
|
||||
}
|
||||
|
||||
html.dark {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
html.dark .el-card,
|
||||
html.dark .el-dialog,
|
||||
html.dark .el-message-box,
|
||||
html.dark .el-popover,
|
||||
html.dark .el-table,
|
||||
html.dark .el-table__expanded-cell {
|
||||
color: hsl(var(--foreground));
|
||||
background-color: hsl(var(--card));
|
||||
}
|
||||
|
||||
html.dark .el-table {
|
||||
--el-table-bg-color: hsl(var(--card));
|
||||
--el-table-tr-bg-color: hsl(var(--card));
|
||||
--el-table-header-bg-color: hsl(var(--background-deep));
|
||||
--el-table-row-hover-bg-color: hsl(var(--accent));
|
||||
--el-table-current-row-bg-color: hsl(var(--accent));
|
||||
--el-table-border-color: hsl(var(--border));
|
||||
--el-table-text-color: hsl(var(--foreground));
|
||||
--el-table-header-text-color: hsl(var(--muted-foreground));
|
||||
}
|
||||
|
||||
html.dark .el-table__body tr,
|
||||
html.dark .el-table__body td.el-table__cell,
|
||||
html.dark .el-table__fixed-right,
|
||||
html.dark .el-table__fixed-left {
|
||||
color: hsl(var(--foreground));
|
||||
background-color: hsl(var(--card));
|
||||
}
|
||||
|
||||
html.dark .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
|
||||
background-color: hsl(var(--accent) / 0.45);
|
||||
}
|
||||
|
||||
html.dark .el-table__body tr.hover-row > td.el-table__cell,
|
||||
html.dark .el-table__body tr:hover > td.el-table__cell {
|
||||
background-color: hsl(var(--accent));
|
||||
}
|
||||
|
||||
html.dark .el-input__wrapper,
|
||||
html.dark .el-select__wrapper,
|
||||
html.dark .el-textarea__inner,
|
||||
html.dark .el-input-number .el-input__wrapper {
|
||||
color: hsl(var(--foreground));
|
||||
background-color: hsl(var(--background));
|
||||
box-shadow: 0 0 0 1px hsl(var(--border)) inset;
|
||||
}
|
||||
|
||||
html.dark .el-input__inner,
|
||||
html.dark .el-select__placeholder,
|
||||
html.dark .el-textarea__inner {
|
||||
color: hsl(var(--foreground));
|
||||
}
|
||||
|
||||
.el-table .hidden-columns {
|
||||
position: absolute !important;
|
||||
z-index: -1 !important;
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
.el-dialog {
|
||||
--el-dialog-border-radius: var(--radius) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user