blob: 45e869ed3fc24b0c3f6c5929cb71aad8fcc0ed78 (
plain)
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
|
.notif-mainContainer {
z-index: 999;
position: fixed;
width: 350px;
max-width: 98%;
font-family: "Segoe UI","Tahoma","Calibri","Verdana",sans-serif;
color: #999;
box-sizing: border-box;
}
.notif-mainContainer.top-right{
top: 8px;
right: 8px;
}
.notif-mainContainer.bottom-right{
bottom: 8px;
right: 8px;
}
.notif-mainContainer.top-left{
top: 8px;
left: 8px;
}
.notif-mainContainer.bottom-left{
bottom: 8px;
left: 8px;
}
.notif-inner {
display: flex;
flex-direction: column;
}
.vanilla-yo-notification{
width: 250px;
color: white;
position: relative;
cursor: pointer;
padding: 8px;
margin-bottom: 12px;
display: flex;
border-radius: 10px;
-webkit-animation-duration: 500ms;animation-duration: 500ms;
}
.vanilla-yo-notification.error {
background: #e74c3c;
}
.vanilla-yo-notification.warning {
background: #f39c12;
}
.vanilla-yo-notification.success {
background: #2ecc71;
}
@-webkit-keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
@keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
.close {
-webkit-animation-name: fadeOut;
animation-name: fadeOut;
}
.notification_header{
font-size: 15px;
font-weight: bold
}
|