-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.less
67 lines (61 loc) · 1.11 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
.semi-opacity-notify-modal {
position: fixed;
z-index: 1000000;
left: 0;
right: 0;
top: 0;
bottom: 0;
.opacity-tip {
width: 300px;
height: 135px;
position: fixed;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -77px;
background: #26283C;
border-radius: 2px;
transition: all .2s linear;
opacity: .9;
&.text {
height: 62px;
p {
top: 22px;
}
}
p {
font-size: 14px;
color: #FFFFFF;
position: absolute;
top: 84px;
left: 0;
right: 0;
text-align: center;
margin: 0;
padding: 0;
}
.icon {
position: absolute;
top: 35px;
left: 132px;
width: 36px;
height: 36px;
background: 0 0 no-repeat;
&.text {
display: none;
}
&.success {
background-image: url(img/success.svg);
}
&.warn {
background-image: url(img/warn.svg);
}
&.failure {
background-image: url(img/failure.svg);
}
&.loading {
background-image: url(img/loading.svg);
}
}
}
}