Browse Source

fix: table site dark style

pull/20281/head
ycjcl868 5 years ago
parent
commit
839ed3ed05
  1. 3
      components/style/themes/dark.less
  2. 4
      components/table/demo/summary.md
  3. 6
      components/table/demo/virtual-list.md

3
components/style/themes/dark.less

@ -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
// ---

4
components/table/demo/summary.md

@ -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>

6
components/table/demo/virtual-list.md

@ -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…
Cancel
Save