-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
index.less
74 lines (72 loc) · 1.42 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@alert-prefix: ~'w-alert';
.@{alert-prefix} {
.w-modal-header,
.w-modal-body {
display: table-cell;
}
.w-modal-header {
background-color: transparent;
padding: 20px 0 0 20px;
box-shadow: 0 0 0 0;
padding-right: 0;
}
.w-modal-header > .w-icon {
font-size: 40px;
margin-right: 0;
}
.w-modal-body {
padding-right: 20px;
padding-left: 20px;
vertical-align: top;
}
&.primary .w-modal-header > .w-icon {
color: #008ef0;
}
&.success .w-modal-header > .w-icon {
color: #28a745;
}
&.warning .w-modal-header > .w-icon {
color: #ffc107;
}
&.danger .w-modal-header > .w-icon {
color: #dc3545;
}
.w-modal-inner .w-modal-header {
> button {
min-width: 18px;
min-height: 18px;
padding: 5px 5px;
position: absolute;
right: 10px;
top: 10px;
}
}
.w-modal-shown-title.w-modal-inner {
.w-modal-header {
word-break: break-word;
display: flex;
padding-top: 15px;
padding-right: 10px;
> .w-icon {
font-size: 40px;
position: absolute;
top: 18px;
}
> button > .w-icon {
font-size: 14px;
}
}
.w-modal-body {
word-break: break-word;
padding-top: 5px;
}
}
.w-modal-shown-icon {
.w-modal-header > h4 {
padding-left: 60px;
}
}
.w-modal-shown-title.w-modal-shown-icon .w-modal-body {
padding-left: 80px;
}
}