neverland 307e9d3c7b
fix(GoodsAction): incorrect border radius (#4653)
* feat(GoodsAction): add some less vars

* fix: border radius
2019-10-06 18:41:56 +08:00

35 lines
735 B
Plaintext

@import '../style/var';
.van-goods-action-button {
flex: 1;
height: @goods-action-button-height;
font-weight: @font-weight-bold;
font-size: @font-size-md;
line-height: normal;
border: none;
&--first {
margin-left: 5px;
border-top-left-radius: @goods-action-button-height / 2;
border-bottom-left-radius: @goods-action-button-height / 2;
}
&--last {
margin-right: 5px;
border-top-right-radius: @goods-action-button-height / 2;
border-bottom-right-radius: @goods-action-button-height / 2;
}
&--warning {
background: @goods-action-button-warning-color;
}
&--danger {
background: @goods-action-button-danger-color;
}
@media (max-width: 321px) {
font-size: 13px;
}
}