fix: table dark theme style

This commit is contained in:
ycjcl868 2019-12-25 15:59:16 +08:00
parent cc2b5ddca7
commit c100b892ba
4 changed files with 7 additions and 1 deletions

View File

@ -309,6 +309,7 @@
@table-header-sort-active-bg: #262626; @table-header-sort-active-bg: #262626;
@table-filter-btns-bg: @popover-background; @table-filter-btns-bg: @popover-background;
@table-expanded-row-bg: @table-header-bg; @table-expanded-row-bg: @table-header-bg;
@table-filter-dropdown-bg: @popover-background;
// TimePicker // TimePicker
// --- // ---

View File

@ -494,6 +494,7 @@
// Filter // Filter
@table-header-filter-active-bg: darken(@table-header-sort-active-bg, 5%); @table-header-filter-active-bg: darken(@table-header-sort-active-bg, 5%);
@table-filter-btns-bg: inherit; @table-filter-btns-bg: inherit;
@table-filter-dropdown-bg: @component-background;
// Tag // Tag
// -- // --

View File

@ -247,4 +247,8 @@ ReactDOM.render(<EditableTable />, mountNode);
border-radius: 4px; border-radius: 4px;
padding: 4px 11px; padding: 4px 11px;
} }
[data-theme='dark'] .editable-row:hover .editable-cell-value-wrap {
border: 1px solid #434343;
}
``` ```

View File

@ -281,7 +281,7 @@
} }
} }
min-width: 96px; min-width: 96px;
background-color: @component-background; background-color: @table-filter-dropdown-bg;
border-radius: @border-radius-base; border-radius: @border-radius-base;
box-shadow: @box-shadow-base; box-shadow: @box-shadow-base;