fix(GoodsAction): incorrect border radius (#4653)
* feat(GoodsAction): add some less vars * fix: border radius
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user