Browse Source

Merge pull request #6599 from megawac/table-sort-select-bg

Use background-color-active for table sort and selected backgrounds
pull/6646/merge
偏右 8 years ago
committed by GitHub
parent
commit
0ce61df3da
  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-header-bg: @background-color-base;
@table-header-sort-bg: @background-color-active;
@table-row-hover-bg: @primary-1;
@table-selected-row-bg: #fafafa;
@table-padding-vertical: 16px;
@table-padding-horizontal: 8px;

4
components/table/style/index.less

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

Loading…
Cancel
Save