Add a new less variable to override the list header background (#14519)

* Add a new less variable to override the list header background

* Add a new less variable to override the list footer background
This commit is contained in:
Gautier 2019-01-24 12:52:47 +01:00 committed by zombieJ
parent 47e23d4137
commit 8bb3b10c01
2 changed files with 10 additions and 0 deletions

View File

@ -108,6 +108,14 @@
}
}
&-header {
background: @list-header-background;
}
&-footer {
background: @list-footer-background;
}
&-header,
&-footer {
padding-top: 12px;

View File

@ -563,6 +563,8 @@
// List
// ---
@list-header-background: transparent;
@list-footer-background: transparent;
@list-empty-text-padding: @padding-md;
@list-item-padding: @padding-sm 0;
@list-item-content-margin: 0 0 @padding-md 0;