mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-25 15:59:16 +08:00
35 lines
735 B
Plaintext
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;
|
|
}
|
|
}
|