Browse Source

Use background-color-active for table sort and selected backgrounds

pull/6599/head
Graeme Yeates 8 years ago
parent
commit
5d8a3f6f66
  1. 2
      components/style/themes/default.less
  2. 4
      components/table/style/index.less

2
components/style/themes/default.less

@ -290,7 +290,9 @@
// Table // Table
// -- // --
@table-header-bg: @background-color-base; @table-header-bg: @background-color-base;
@table-header-sort-bg: @background-color-active;
@table-row-hover-bg: @primary-1; @table-row-hover-bg: @primary-1;
@table-selected-row-bg: #fafafa;
@table-padding-vertical: 16px; @table-padding-vertical: 16px;
@table-padding-horizontal: 8px; @table-padding-horizontal: 8px;

4
components/table/style/index.less

@ -126,11 +126,11 @@
} }
&-tbody > tr.@{table-prefix-cls}-row-selected { &-tbody > tr.@{table-prefix-cls}-row-selected {
background: #fafafa; background: @table-selected-row-bg;
} }
&-thead > tr > th.@{table-prefix-cls}-column-sort { &-thead > tr > th.@{table-prefix-cls}-column-sort {
background: #eaeaea; background: @table-header-sort-bg;
} }
&-thead > tr > th, &-thead > tr > th,

Loading…
Cancel
Save