neverland 1a7889590f
perf: remove CSS variables polyfill (#4487)
* perf: remove CSS variables polyfill

* style: fix missing calc value

* perf: reduce some useless css vars
2021-09-23 17:31:28 +08:00

30 lines
750 B
Plaintext

@import '../common/style/var.less';
.van-cell-group {
&--inset {
margin: var(--cell-group-inset-padding, @cell-group-inset-padding);
border-radius: var(
--cell-group-inset-border-radius,
@cell-group-inset-border-radius
);
overflow: hidden;
}
&__title {
padding: var(--cell-group-title-padding, @cell-group-title-padding);
font-size: var(--cell-group-title-font-size, @cell-group-title-font-size);
line-height: var(
--cell-group-title-line-height,
@cell-group-title-line-height
);
color: var(--cell-group-title-color, @cell-group-title-color);
&--inset {
padding: var(
--cell-group-inset-title-padding,
@cell-group-inset-title-padding
);
}
}
}