Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
121 lines (104 loc) · 2.71 KB
/
Copy pathstyles.css
File metadata and controls
121 lines (104 loc) · 2.71 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.threads-save-notification {
position: fixed;
top: 20px;
right: 20px;
z-index: 10000;
max-width: min(420px, calc(100vw - 40px));
padding: 10px 16px;
border-radius: 10px;
background: #1a1814;
color: #f2ede3;
box-shadow: inset 0 0 0 0.5px rgba(217, 188, 122, 0.5), 0 16px 40px -12px rgba(26, 24, 20, 0.32), 0 2px 6px rgba(26, 24, 20, 0.12);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans TC', sans-serif;
font-size: 14px;
font-weight: 500;
line-height: 1.45;
font-variant-numeric: tabular-nums;
animation: threadsSaveIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes threadsSaveIn {
from {
opacity: 0;
translate: 0 -8px;
}
to {
opacity: 1;
translate: 0 0;
}
}
.threads-save-notification--error {
background: #b42318;
color: #ffffff;
}
.threads-save-notification.is-leaving {
animation: threadsSaveFadeOut 0.3s ease forwards;
}
@keyframes threadsSaveFadeOut {
to {
opacity: 0;
}
}
.threads-save-notification__char {
animation: threadsSaveStreamIn 90ms cubic-bezier(0.22, 1, 0.36, 1) both;
animation-delay: calc(var(--char-index) * 30ms);
}
@keyframes threadsSaveStreamIn {
from {
opacity: 0;
filter: blur(6px);
}
to {
opacity: 1;
filter: blur(0);
}
}
.threads-save-notification__sr {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
@media (prefers-reduced-motion: reduce) {
.threads-save-notification {
animation: none;
}
.threads-save-notification.is-leaving {
animation: none;
opacity: 0;
}
.threads-save-notification__char {
animation: none;
}
}
@media (prefers-color-scheme: dark) {
.threads-save-notification:not([data-theme="light"]) {
background: #22201c;
color: #f2ede3;
box-shadow: inset 0 0 0 0.5px rgba(217, 188, 122, 0.5), 0 16px 40px -12px rgba(0, 0, 0, 0.72), 0 2px 6px rgba(0, 0, 0, 0.4);
font-weight: 460;
}
.threads-save-notification--error:not([data-theme="light"]) {
background: #f97066;
color: #12110f;
}
}
.threads-save-notification[data-theme="dark"] {
background: #22201c;
color: #f2ede3;
box-shadow: inset 0 0 0 0.5px rgba(217, 188, 122, 0.5), 0 16px 40px -12px rgba(0, 0, 0, 0.72), 0 2px 6px rgba(0, 0, 0, 0.4);
font-weight: 460;
}
.threads-save-notification--error[data-theme="dark"] {
background: #f97066;
color: #12110f;
}
@media (forced-colors: active) {
.threads-save-notification {
border: 1px solid CanvasText;
}
}