c4d780c0
梁灏
init Drawer compo...
|
1
2
3
|
@drawer-prefix-cls: ~"@{css-prefix}drawer";
.@{drawer-prefix-cls} {
|
ab58648e
梁灏
update Drawer
|
4
5
6
7
|
width: auto;
height: 100%;
position: fixed;
top: 0;
|
c4d780c0
梁灏
init Drawer compo...
|
8
|
|
8a3c7282
梁灏
add inner prop
|
9
10
11
12
|
&-inner{
position: absolute;
}
|
ab58648e
梁灏
update Drawer
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
&-left{
left: 0;
}
&-right{
right: 0;
}
&-hidden {
display: none !important;
}
&-wrap {
position: fixed;
overflow: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: @zindex-drawer;
-webkit-overflow-scrolling: touch;
outline: 0;
|
8a3c7282
梁灏
add inner prop
|
34
35
36
|
&-inner{
position: absolute;
|
9272fc51
hoythan
fix #5076 drawer ...
|
37
|
overflow: hidden;
|
8a3c7282
梁灏
add inner prop
|
38
|
}
|
ab58648e
梁灏
update Drawer
|
39
40
41
42
43
44
45
46
47
|
}
&-wrap * {
box-sizing: border-box;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
&-mask {
.mask;
|
8a3c7282
梁灏
add inner prop
|
48
49
50
|
&-inner{
position: absolute;
}
|
ab58648e
梁灏
update Drawer
|
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
|
}
&-content {
width: 100%;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
background-color: #fff;
border: 0;
background-clip: padding-box;
box-shadow: 0 4px 12px rgba(0,0,0,.15);
&-no-mask{
pointer-events: auto;
}
}
&-header {
.content-header;
}
&-close {
z-index: 1;
.content-close(1px, 31px);
}
&-body {
width: 100%;
height: calc(~'100% - 51px');
padding: 16px;
font-size: 12px;
line-height: 1.5;
word-wrap: break-word;
position: absolute;
overflow: auto;
}
&-no-header &-body{
height: 100%;
}
&-no-mask{
pointer-events: none;
}
|
c4d780c0
梁灏
init Drawer compo...
|
96
|
}
|