chore: vxe-table的头部颜色和antd保持一致
This commit is contained in:
parent
f2692d4a85
commit
07325d4c5e
@ -30,7 +30,7 @@
|
||||
--vxe-ui-loading-background-color: hsl(var(--overlay-content));
|
||||
|
||||
/* table */
|
||||
--vxe-ui-table-header-background-color: hsl(var(--accent));
|
||||
--vxe-ui-table-header-background-color: hsl(0deg 0% 98%);
|
||||
--vxe-ui-table-border-color: hsl(var(--border));
|
||||
--vxe-ui-table-row-hover-background-color: hsl(var(--accent-hover));
|
||||
--vxe-ui-table-row-striped-background-color: hsl(var(--accent) / 60%);
|
||||
@ -49,6 +49,10 @@
|
||||
/* --vxe-ui-table-fixed-scrolling-box-shadow-color: rgb(0 0 0 / 80%); */
|
||||
}
|
||||
|
||||
html[data-vxe-ui-theme='dark'] .vxe-grid {
|
||||
--vxe-ui-table-header-background-color: hsl(var(--accent) / 50%);
|
||||
}
|
||||
|
||||
.vxe-pager {
|
||||
.vxe-pager--prev-btn:not(.is--disabled):active,
|
||||
.vxe-pager--next-btn:not(.is--disabled):active,
|
||||
|
@ -78,14 +78,6 @@ html {
|
||||
--vxe-ui-border-radius: 8px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
vxe表格头部背景色 与antd保持一致 只需要处理light模式 夜间模式用vxe默认的
|
||||
*/
|
||||
html[data-vxe-ui-theme='light'] {
|
||||
/** 只支持hsl格式 */
|
||||
--vxe-ui-table-header-background-color: hsl(0deg 0% 98%) !important;
|
||||
}
|
||||
|
||||
/**
|
||||
vxe表格loading 只加载表格 不加载上面的表单
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user