[improvement] DropdownMenu: add more less vars (#4071)

This commit is contained in:
neverland 2019-08-08 20:09:11 +08:00 committed by GitHub
parent c74d90c561
commit b004ae11c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -23,7 +23,7 @@
}
.van-dropdown-menu__title {
color: @gray-dark;
color: @dropdown-menu-title-disabled-text-color;
}
}
}
@ -32,7 +32,8 @@
position: relative;
box-sizing: border-box;
max-width: 100%;
padding: 0 @padding-xs;
padding: @dropdown-menu-title-padding;
color: @dropdown-menu-title-text-color;
font-size: @dropdown-menu-title-font-size;
&::after {

View File

@ -255,6 +255,9 @@
@dropdown-menu-height: 50px;
@dropdown-menu-background-color: @white;
@dropdown-menu-title-font-size: 15px;
@dropdown-menu-title-text-color: @text-color;
@dropdown-menu-title-disabled-text-color: @gray-dark;
@dropdown-menu-title-padding: 0 @padding-xs;
// Field
@field-label-width: 90px;