vant/src/dropdown-item/index.less
neverland b3146b9108
style: decentralized less var (#8369)
* style: decentralized less var

* chore: remove emtpy var file
2021-03-17 16:14:18 +08:00

41 lines
603 B
Plaintext

@import './var.less';
@import '../dropdown-menu/var.less';
.van-dropdown-item {
position: fixed;
right: 0;
left: 0;
z-index: @dropdown-item-z-index;
overflow: hidden;
&__icon {
display: block;
line-height: inherit;
}
&__option {
text-align: left;
&--active {
color: @dropdown-menu-option-active-color;
.van-dropdown-item__icon {
color: @dropdown-menu-option-active-color;
}
}
}
&--up {
top: 0;
}
&--down {
bottom: 0;
}
&__content {
position: absolute;
max-height: @dropdown-menu-content-max-height;
}
}