/
index.less
50 lines (49 loc) · 987 Bytes
/
index.less
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
@modal: ~'w-modal';
.@{modal} {
z-index: 990;
&-inner {
padding-bottom: 20px;
background: #f9f9f9;
min-width: 320px;
border-radius: 5px;
box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 4px 8px rgba(16, 22, 26, 0.2), 0 18px 46px 6px rgba(16, 22, 26, 0.2);
}
&-header {
display: flex;
align-items: center;
min-height: 40px;
padding-left: 13px;
padding-right: 5px;
background-color: #fff;
border-radius: 5px 5px 0 0;
box-shadow: 0 1px 0 rgba(16, 22, 26, 0.15);
font-size: 16px;
> .w-icon {
margin-right: 10px;
color: #393e48;
}
h4 {
margin: 0;
padding: 0;
flex: 1 1 auto;
font-weight: bold;
min-height: 22px;
}
}
&-body,
&-footer {
margin: 0 20px;
}
&-body {
padding-top: 20px;
font-size: 14px;
}
&-footer {
display: flex;
margin-top: 15px;
flex-direction: row-reverse;
.w-btn + .w-btn {
margin-right: 10px;
}
}
}