Repository navigation
Expand file tree
/
Copy pathnotifications.css
More file actions
107 lines (94 loc) · 2.67 KB
/
Copy pathnotifications.css
File metadata and controls
107 lines (94 loc) · 2.67 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
:root {
--accent: #569aff;
--glass-border: rgba(255, 255, 255, 0.08);
--bg-main: #0d1117;
--bg-panel: rgba(13, 17, 23, 0.85);
}
.toast-container {
position: fixed;
bottom: 24px;
right: 24px;
z-index: 200000;
display: flex;
flex-direction: column;
gap: 12px;
perspective: 1000px;
pointer-events: none;
}
.toast {
background: rgba(13, 17, 23, 0.85);
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
border: 1px solid var(--glass-border);
color: #ffffff;
padding: 14px 20px;
border-radius: 12px;
font-size: 13px;
font-weight: 500;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
inset 0 0 0 1px rgba(255, 255, 255, 0.05);
display: flex;
align-items: center;
gap: 12px;
min-width: 280px;
max-width: 400px;
transform-origin: right center;
animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
cursor: pointer;
pointer-events: auto;
}
.toast-icon {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 8px;
flex-shrink: 0;
}
.toast.success { border-left: 3px solid #56ff9a; }
.toast.success .toast-icon { background: rgba(86, 255, 154, 0.15); color: #56ff9a; }
.toast.info { border-left: 3px solid var(--accent); }
.toast.info .toast-icon { background: rgba(86, 154, 255, 0.15); color: var(--accent); }
.toast.warning { border-left: 3px solid #ffcc00; }
.toast.warning .toast-icon { background: rgba(255, 204, 0, 0.15); color: #ffcc00; }
.toast-content {
flex-grow: 1;
line-height: 1.4;
}
.toast-stats {
display: block;
font-size: 11px;
color: #8b949e;
margin-top: 2px;
}
@keyframes toast-in {
from {
transform: translateX(100%) scale(0.9);
opacity: 0;
}
to {
transform: translateX(0) scale(1);
opacity: 1;
}
}
.toast.hide {
animation: toast-out 0.3s ease forwards;
}
@keyframes toast-out {
to {
transform: translateX(120%);
opacity: 0;
}
}
.toast:hover {
background: rgba(22, 27, 34, 0.95);
border-color: rgba(86, 154, 255, 0.4);
transform: translateY(-2px);
transition: all 0.2s ease;
}
.cm-quality-4K { color: #ffd700 !important; font-weight: bold; }
.cm-quality-FHD { color: #00ff7f !important; font-weight: bold; }
.cm-quality-HD { color: #00c8ff !important; font-weight: bold; }
.cm-quality-SD { color: #a0a0a0 !important; }
.cm-quality-DEAD { color: #ff4a4a !important; font-weight: bold; }