-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (64 loc) · 1.3 KB
/
style.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
68
69
70
71
72
73
74
75
76
77
78
body {
overflow-x: hidden;
}
#noti {
display: none;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #1C1C1C;
color: #FBFBFB;
position: absolute;
width: 380px;
padding: 15px 15px;
padding-bottom: 18px;
border-radius: 8px;
transition-duration: 150ms;
user-select: none;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.571);
position: absolute;
right: 10px;
bottom: 10px;
animation-name: noti;
animation-duration: 600ms;
animation-iteration-count: 1;
animation-timing-function: ease;
}
#noti:hover {
background-color: #1f1f1f;
}
#noti:active {
transform: scale(0.95);
}
#noti .top {
display: flex;
justify-content: space-between;
}
#noti .top img {
width: 20px;
}
#noti .main {
margin-top: 20px;
}
.dismiss-button {
display: block;
margin-top: 20px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #292929;
color: #FBFBFB;
width: 100%;
padding: 8px 0;
border: 1px solid hsla(0, 0%, 98%, 0.13);
border-radius: 4px;
cursor: pointer;
transition-duration: 200ms;
}
.dismiss-button:hover {
background-color: #2c2c2c;
}
@keyframes noti {
0% {
right: -400px;
}
100% {
right: 10px;
}
}