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 {
|
.van-dropdown-menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 50px;
|
height: @dropdown-menu-height;
|
||||||
background-color: @white;
|
background-color: @dropdown-menu-background-color;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
&__item {
|
&__item {
|
||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 15px;
|
font-size: @dropdown-menu-title-font-size;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -149,6 +149,11 @@
|
|||||||
@dialog-has-title-message-padding-top: 12px;
|
@dialog-has-title-message-padding-top: 12px;
|
||||||
@dialog-confirm-button-text-color: @blue;
|
@dialog-confirm-button-text-color: @blue;
|
||||||
|
|
||||||
|
// DropdownMenu
|
||||||
|
@dropdown-menu-height: 50px;
|
||||||
|
@dropdown-menu-background-color: @white;
|
||||||
|
@dropdown-menu-title-font-size: 15px;
|
||||||
|
|
||||||
// Field
|
// Field
|
||||||
@field-label-width: 90px;
|
@field-label-width: 90px;
|
||||||
@field-input-text-color: @text-color;
|
@field-input-text-color: @text-color;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user