1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| @import '../style/var';
|
| .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;
| }
| }
|
|