mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
Use background-color-active for table sort and selected backgrounds
This commit is contained in:
parent
a4bf6cd90b
commit
5d8a3f6f66
@ -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;
|
||||
|
||||
|
@ -126,11 +126,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…
Reference in New Issue
Block a user