-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
67 lines (57 loc) · 1.11 KB
/
styles.css
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
:root {
--ztc-bg-error: #ff4a2e;
--ztc-bg-success: #94ffd8;
--ztc-bg-info: #fff;
--ztc-bg-warning: #ffea2e;
--ztc-bg-dark: #000;
}
.ztc-container {
bottom: 16px;
left: 16px;
position: fixed;
right: 16px;
z-index: 999999;
}
@media (min-width: 46em) {
.ztc-container {
left: unset;
width: 328px;
}
}
.ztc-notification {
align-items: center;
border-radius: 4px;
box-shadow: rgba(0, 0, 0, 0.12) 0px 5px 10px 0px;
color: #000;
display: flex;
height: 64px;
padding: 0 24px;
user-select: none;
}
.ztc-message {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ztc-notification.error {
background-color: var(--ztc-bg-error);
}
.ztc-notification.success {
background-color: var(--ztc-bg-success);
}
.ztc-notification.info {
background-color: var(--ztc-bg-info);
}
.ztc-notification.warning {
background-color: var(--ztc-bg-warning);
}
.ztc-notification.dark {
border-color: var(--ztc-bg-dark);
border-style: solid;
border-width: 1px;
}
.ztc-notification.info.dark {
background-color: var(--ztc-bg-dark);
border-color: #858585;
color: #fff;
}