mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] CellGroup: add less vars (#3094)
This commit is contained in:
parent
19f5ec81ba
commit
ce862b5656
@ -1,12 +1,12 @@
|
|||||||
@import '../style/var';
|
@import '../style/var';
|
||||||
|
|
||||||
.van-cell-group {
|
.van-cell-group {
|
||||||
background-color: @white;
|
background-color: @cell-group-background-color;
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
font-size: 14px;
|
color: @cell-group-title-color;
|
||||||
padding: 15px 15px 5px;
|
padding: @cell-group-title-padding;
|
||||||
color: @gray-dark;
|
font-size: @cell-group-title-font-size;
|
||||||
line-height: 16px;
|
line-height: @cell-group-title-line-height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -72,6 +72,13 @@
|
|||||||
@button-plain-background-color: @white;
|
@button-plain-background-color: @white;
|
||||||
@button-disabled-opacity: .5;
|
@button-disabled-opacity: .5;
|
||||||
|
|
||||||
|
// CellGroup
|
||||||
|
@cell-group-background-color: @white;
|
||||||
|
@cell-group-title-color: @gray-dark;
|
||||||
|
@cell-group-title-padding: 15px 15px 5px;
|
||||||
|
@cell-group-title-font-size: 14px;
|
||||||
|
@cell-group-title-line-height: 16px;
|
||||||
|
|
||||||
// Checkbox
|
// Checkbox
|
||||||
@checkbox-size: 20px;
|
@checkbox-size: 20px;
|
||||||
@checkbox-border-color: @gray-light;
|
@checkbox-border-color: @gray-light;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user