feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit
This commit is contained in:
Salavat Gizatov 2019-04-09 12:08:17 +03:00 committed by zombieJ
parent 30a0011a1b
commit 574313d2d8
2 changed files with 2 additions and 0 deletions

View File

@ -391,6 +391,7 @@
@table-header-sort-bg: @background-color-base;
@table-body-sort-bg: rgba(0, 0, 0, 0.01);
@table-row-hover-bg: @primary-1;
@table-selected-row-color: inherit;
@table-selected-row-bg: #fafafa;
@table-expanded-row-bg: #fbfbfb;
@table-padding-vertical: 16px;

View File

@ -291,6 +291,7 @@
}
&-tbody > tr.@{table-prefix-cls}-row-selected td {
color: @table-selected-row-color;
background: @table-selected-row-bg;
}