Merge pull request #17976 from Yangzhedi/table-footer-less

feat(default.less): add table-footer-bg and table-footer-color variable
This commit is contained in:
偏右 2019-07-30 19:04:22 +08:00 committed by GitHub
commit 8479a7d878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -416,6 +416,8 @@
@table-padding-vertical: 16px;
@table-padding-horizontal: 16px;
@table-border-radius-base: @border-radius-base;
@table-footer-bg: @background-color-light;
@table-footer-color: @heading-color;
// Tag
// --

View File

@ -255,7 +255,8 @@
&-footer {
position: relative;
padding: @table-padding-vertical @table-padding-horizontal;
background: @table-header-bg;
color: @table-footer-color;
background: @table-footer-bg;
border-top: @border-width-base @border-style-base @border-color-split;
border-radius: 0 0 @table-border-radius-base @table-border-radius-base;
&::before {
@ -264,7 +265,7 @@
left: 0;
width: 100%;
height: 1px;
background: @table-header-bg;
background: @table-footer-bg;
content: '';
}
}