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

27 lines
766 B
Plaintext

@import '../common/style/var.less';
.van-goods-action-icon {
display: flex !important;
flex-direction: column;
justify-content: center !important;
line-height: 1 !important;
border: none !important;
font-size: var(
--goods-action-icon-font-size,
@goods-action-icon-font-size
) !important;
color: var(
--goods-action-icon-text-color,
@goods-action-icon-text-color
) !important;
min-width: var(--goods-action-icon-width, @goods-action-icon-width);
height: var(--goods-action-icon-height, @goods-action-icon-height) !important;
&__icon {
display: flex;
margin: 0 auto 5px;
color: var(--goods-action-icon-color, @goods-action-icon-color);
font-size: var(--goods-action-icon-size, @goods-action-icon-size);
}
}