mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] DropdownMenu: add less vars
This commit is contained in:
parent
ed4d0aa656
commit
8558c931c8
@ -2,8 +2,8 @@
|
||||
|
||||
.van-dropdown-menu {
|
||||
display: flex;
|
||||
height: 50px;
|
||||
background-color: @white;
|
||||
height: @dropdown-menu-height;
|
||||
background-color: @dropdown-menu-background-color;
|
||||
user-select: none;
|
||||
|
||||
&__item {
|
||||
@ -19,7 +19,7 @@
|
||||
|
||||
&__title {
|
||||
position: relative;
|
||||
font-size: 15px;
|
||||
font-size: @dropdown-menu-title-font-size;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
|
@ -149,6 +149,11 @@
|
||||
@dialog-has-title-message-padding-top: 12px;
|
||||
@dialog-confirm-button-text-color: @blue;
|
||||
|
||||
// DropdownMenu
|
||||
@dropdown-menu-height: 50px;
|
||||
@dropdown-menu-background-color: @white;
|
||||
@dropdown-menu-title-font-size: 15px;
|
||||
|
||||
// Field
|
||||
@field-label-width: 90px;
|
||||
@field-input-text-color: @text-color;
|
||||
|
Loading…
x
Reference in New Issue
Block a user