fix(GoodsAction): incorrect border radius (#4653)

* feat(GoodsAction): add some less vars

* fix: border radius
This commit is contained in:
neverland 2019-10-06 18:41:56 +08:00 committed by GitHub
parent 5ce9c28e0c
commit 307e9d3c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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) {

View File

@ -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;