Merge pull request #5711 from kappa-gooner/master

Adding less variables for table head background color and table row h…
This commit is contained in:
偏右 2017-04-11 17:54:13 +08:00 committed by GitHub
commit 0745f8b231
2 changed files with 6 additions and 2 deletions

View File

@ -252,6 +252,11 @@
@spin-dot-size: 20px; @spin-dot-size: 20px;
@spin-dot-size-lg: 32px; @spin-dot-size-lg: 32px;
// Table
// --
@table-head-background-color: @background-color-base;
@table-row-background-hover : @primary-1;
// TimePicker // TimePicker
// --- // ---
@time-picker-panel-column-width: 56px; @time-picker-panel-column-width: 56px;

View File

@ -2,7 +2,6 @@
@import "../../style/mixins/index"; @import "../../style/mixins/index";
@table-prefix-cls: ~"@{ant-prefix}-table"; @table-prefix-cls: ~"@{ant-prefix}-table";
@table-head-background-color: @background-color-base;
.@{table-prefix-cls}-wrapper { .@{table-prefix-cls}-wrapper {
.clearfix; .clearfix;
@ -66,7 +65,7 @@
&.@{table-prefix-cls}-row-hover, &.@{table-prefix-cls}-row-hover,
&:hover { &:hover {
& > td { & > td {
background: @primary-1; background: @table-row-background-hover;
} }
} }
} }