mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
feat(default.less): add table-footer-bg and table-footer-color variable
This commit is contained in:
parent
81d8eb8afe
commit
6c8c42c3e3
@ -416,6 +416,8 @@
|
|||||||
@table-padding-vertical: 16px;
|
@table-padding-vertical: 16px;
|
||||||
@table-padding-horizontal: 16px;
|
@table-padding-horizontal: 16px;
|
||||||
@table-border-radius-base: @border-radius-base;
|
@table-border-radius-base: @border-radius-base;
|
||||||
|
@table-footer-bg: @background-color-light;
|
||||||
|
@table-footer-color: @heading-color;
|
||||||
|
|
||||||
// Tag
|
// Tag
|
||||||
// --
|
// --
|
||||||
|
@ -255,7 +255,8 @@
|
|||||||
&-footer {
|
&-footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: @table-padding-vertical @table-padding-horizontal;
|
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-top: @border-width-base @border-style-base @border-color-split;
|
||||||
border-radius: 0 0 @table-border-radius-base @table-border-radius-base;
|
border-radius: 0 0 @table-border-radius-base @table-border-radius-base;
|
||||||
&::before {
|
&::before {
|
||||||
@ -264,7 +265,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background: @table-header-bg;
|
background: @table-footer-bg;
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user