mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix: table site dark style
This commit is contained in:
parent
957b1ac7d0
commit
839ed3ed05
@ -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
|
||||
// ---
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user