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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
| @import "../../base/fn";
|
| .weui-picker {
| position: fixed;
| width: 100%;
| left: 0;
| bottom: 0;
| z-index: 5000;
| backface-visibility: hidden;
| }
|
| .weui-picker__hd {
| display: flex;
| padding: 10px 15px;
| background-color: #fbf9fe;
| position: relative;
| text-align: center;
| &:after {
| .setBottomLine(@weuiLineColorLight);
| }
| }
|
| .weui-picker__action {
| display: block;
| flex: 1;
| color: @weuiLinkColorDefault;
|
| &:first-child {
| text-align: left;
| }
| &:last-child {
| text-align: right;
| }
| }
|
| .weui-picker__bd {
| display: flex;
| position: relative;
| background-color: #fff;
| height: 238px;
| overflow: hidden;
| }
|
| .weui-picker__group {
| flex: 1;
| position: relative;
| height: 100%;
| //-webkit-mask-box-image: -webkit-linear-gradient(bottom,transparent,transparent 5%,#fff 50%,#fff 50%,transparent 95%,transparent);
| }
|
| .weui-picker__mask {
| position: absolute;
| top: 0;
| left: 0;
| width: 100%;
| height: 100%;
| margin: 0 auto;
| z-index: 3;
| background: linear-gradient(180deg, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6)), linear-gradient(0deg, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6));
| background-position: top, bottom;
| background-size: 100% 102px;
| background-repeat: no-repeat;
| }
|
| .weui-picker__indicator {
| width: 100%;
| height: 34px;
| position: absolute;
| left: 0;
| top: 102px;
| z-index: 3;
| &:before {
| .setTopLine(@weuiLineColorLight);
| }
| &:after {
| .setBottomLine(@weuiLineColorLight);
| }
| }
|
| .weui-picker__content {
| position: absolute;
| top: 0;
| left: 0;
| width: 100%;
| }
|
| .weui-picker__item {
| padding: 5px 0 4px;
| text-align: center;
| color: #000;
| text-overflow: ellipsis;
| white-space: nowrap;
| overflow: hidden;
| }
|
| .weui-picker__item_disabled {
| color: @weuiTextColorGray;
| }
|
|