fix: table site dark style

This commit is contained in:
ycjcl868 2019-12-25 15:14:34 +08:00
parent 957b1ac7d0
commit 839ed3ed05
3 changed files with 12 additions and 1 deletions

View File

@ -300,7 +300,7 @@
// Table
// --
@table-header-bg: @background-color-light;
@table-header-bg: #1d1d1d;
@table-header-bg-sm: @table-header-bg;
@table-body-sort-bg: fade(@white, 1%);
@table-row-hover-bg: #262626;
@ -308,6 +308,7 @@
@table-header-filter-active-bg: #434343;
@table-header-sort-active-bg: #262626;
@table-filter-btns-bg: @popover-background;
@table-expanded-row-bg: @table-header-bg;
// TimePicker
// ---

View File

@ -105,4 +105,8 @@ ReactDOM.render(
#components-table-demo-summary tfoot td {
background: #fafafa;
}
[data-theme="dark"] #components-table-demo-summary tfoot th,
#components-table-demo-summary tfoot td {
background: #1d1d1d;
}
</style>

View File

@ -148,5 +148,11 @@ ReactDOM.render(
border-bottom: 1px solid #e8e8e8;
background: #FFF;
}
[data-theme="dark"] .virtual-table-cell {
box-sizing: border-box;
padding: 16px;
border-bottom: 1px solid #303030;
background: #141414;
}
</style>