-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathvanilla-notify.css
More file actions
81 lines (73 loc) · 1.8 KB
/
vanilla-notify.css
File metadata and controls
81 lines (73 loc) · 1.8 KB
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
.vnotify-container {
position: fixed; }
.vnotify-container.vn-top-right {
right: 10px;
top: 10px; }
.vnotify-container.vn-top-left {
top: 10px;
left: 10px; }
.vnotify-container.vn-bottom-right {
bottom: 10px;
right: 10px; }
.vnotify-container.vn-bottom-left {
bottom: 10px;
left: 10px; }
.vnotify-container.vn-center {
top: 50%;
left: 50%;
transform: translate(-50%, -50%); }
.vnotify-container .vn-close {
position: absolute;
top: 5px;
right: 10px;
width: 15px;
height: 15px;
padding: 2px;
cursor: pointer; }
.vnotify-container .vn-close:before, .vnotify-container .vn-close:after {
content: '';
position: absolute;
width: 100%;
top: 50%;
height: 2px;
background: #fff; }
.vnotify-container .vn-close:before {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg); }
.vnotify-container .vn-close:after {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg); }
.vnotify-item {
width: 20em;
padding: 15px;
position: relative;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
margin-bottom: 15px;
opacity: 0.75;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
filter: alpha(opacity=75); }
.vnotify-item:hover {
opacity: 1; }
.vnotify-title {
font-weight: bold; }
.vnotify-info {
background: #3498db;
color: #fff; }
.vnotify-success {
background: #2ecc71;
color: #fff; }
.vnotify-error {
background: #e74c3c;
color: #fff; }
.vnotify-warning {
background: #f39c12;
color: #fff; }
.vnotify-notify {
background: #333;
color: #fff; }
/*# sourceMappingURL=vanilla-notify.css.map */