Browse Source

💄 tweak Table selected row hover background (#23313)

pull/23448/head
偏右 5 years ago
committed by GitHub
parent
commit
02faa4bcf1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/style/themes/default.less
  2. 1
      components/table/style/index.less

2
components/style/themes/default.less

@ -546,7 +546,7 @@
@table-selected-row-color: inherit;
@table-selected-row-bg: @primary-1;
@table-body-selected-sort-bg: @table-selected-row-bg;
@table-selected-row-hover-bg: @table-selected-row-bg;
@table-selected-row-hover-bg: darken(@table-selected-row-bg, 2%);
@table-expanded-row-bg: #fbfbfb;
@table-padding-vertical: 16px;
@table-padding-horizontal: 16px;

1
components/table/style/index.less

@ -114,6 +114,7 @@
&.@{table-prefix-cls}-row-selected {
> td {
background: @table-selected-row-bg;
border-color: rgba(0, 0, 0, 0.03);
}
&:hover {

Loading…
Cancel
Save