mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-07 21:19:45 +08:00
fix(GoodsAction): incorrect border radius (#4653)
* feat(GoodsAction): add some less vars * fix: border radius
This commit is contained in:
parent
5ce9c28e0c
commit
307e9d3c7b
@ -16,16 +16,16 @@
|
||||
|
||||
&--last {
|
||||
margin-right: 5px;
|
||||
border-top-right-radius: 18px;
|
||||
border-bottom-right-radius: 18px;
|
||||
border-top-right-radius: @goods-action-button-height / 2;
|
||||
border-bottom-right-radius: @goods-action-button-height / 2;
|
||||
}
|
||||
|
||||
&--warning {
|
||||
background: linear-gradient(to right, #ffd01e, #ff8917);
|
||||
background: @goods-action-button-warning-color;
|
||||
}
|
||||
|
||||
&--danger {
|
||||
background: linear-gradient(to right, #ff6034, #ee0a24);
|
||||
background: @goods-action-button-danger-color;
|
||||
}
|
||||
|
||||
@media (max-width: 321px) {
|
||||
|
@ -307,6 +307,8 @@
|
||||
@goods-action-icon-active-color: @active-color;
|
||||
@goods-action-icon-text-color: @gray-darker;
|
||||
@goods-action-button-height: 40px;
|
||||
@goods-action-button-warning-color: linear-gradient(to right, #ffd01e, #ff8917);
|
||||
@goods-action-button-danger-color: linear-gradient(to right, #ff6034, #ee0a24);
|
||||
|
||||
// IndexAnchor
|
||||
@index-anchor-padding: 0 @padding-md;
|
||||
|
Loading…
x
Reference in New Issue
Block a user