mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
[improvement] ActionSheet: add less vars (#3908)
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
@active-color: #f2f3f5;
|
||||
@background-color: #f8f8f8;
|
||||
@background-color-light: #fafafa;
|
||||
@padding-lg: 24px;
|
||||
@padding-md: 16px;
|
||||
@padding-sm: 12px;
|
||||
@padding-xs: 8px;
|
||||
|
||||
// ActionSheet
|
||||
@action-sheet-max-height: 90%;
|
||||
@@ -27,10 +31,14 @@
|
||||
@action-sheet-item-background: @white;
|
||||
@action-sheet-item-font-size: 16px;
|
||||
@action-sheet-item-text-color: @text-color;
|
||||
@action-sheet-item-disabled-text-color: @gray;
|
||||
@action-sheet-subname-color: @gray-darker;
|
||||
@action-sheet-subname-font-size: 12px;
|
||||
@action-sheet-close-icon-size: 18px;
|
||||
@action-sheet-close-icon-color: @gray-dark;
|
||||
@action-sheet-close-icon-padding: 0 @padding-md;
|
||||
@action-sheet-cancel-padding-top: @padding-xs;
|
||||
@action-sheet-cancel-padding-color: @background-color;
|
||||
|
||||
// AddressEdit
|
||||
@address-edit-buttons-padding: 30px 15px;
|
||||
|
||||
Reference in New Issue
Block a user