-
Notifications
You must be signed in to change notification settings - Fork 144
Expand file tree
/
Copy pathindex.css
More file actions
221 lines (186 loc) · 4.97 KB
/
index.css
File metadata and controls
221 lines (186 loc) · 4.97 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
@import "tailwindcss";
@import "tw-animate-css";
/* Custom animation for title generation pulse */
@keyframes pulse-generating {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
.animate-pulse-slow {
animation: pulse-generating 1.5s ease-in-out infinite;
}
/* Animation for inline progress timeline items */
@keyframes progressSlideIn {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
@theme inline {
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
}
:root {
--radius: 0.5rem;
/* Semantic theme variables are set by ThemeProvider via inline styles */
--tw-shadow-colored: 0 4px 6px -1px var(--primary-w90), 0 2px 4px -2px var(--primary-w90);
}
/* Shimmer animation for processing nodes */
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
/* Pulsing halo glow effect for processing nodes */
@keyframes halo-pulse {
0% {
box-shadow: 0 0 4px 1px color-mix(in srgb, var(--primary-w60), transparent 70%);
transform: scale(1);
}
50% {
box-shadow: 0 0 12px 4px color-mix(in srgb, var(--primary-w60), transparent 40%);
transform: scale(1.03);
}
100% {
box-shadow: 0 0 4px 1px color-mix(in srgb, var(--primary-w60), transparent 70%);
transform: scale(1);
}
}
.processing-halo {
animation: halo-pulse 2s ease-in-out infinite;
}
.scrollbar-subtle {
scrollbar-width: thin;
scrollbar-color: transparent transparent;
}
.scrollbar-subtle:hover {
scrollbar-color: var(--secondary-w70) transparent;
}
@layer components {
.card-surface {
border-width: 1px;
border-style: solid;
border-color: var(--secondary-w20);
box-shadow: 0px 1px 4px 0px var(--stateLayer-w10);
}
.card-surface-hover:hover {
box-shadow: 0px 4px 12px 0px var(--stateLayer-w10);
}
}
.overlay-backdrop {
background-color: rgb(0 0 0 / 0.5);
}
@layer base {
* {
border-color: var(--secondary-w40);
}
*:focus-visible {
outline: 1px solid var(--brand-wMain);
border-color: transparent;
box-shadow: none;
}
body {
background-color: var(--background-w10);
color: var(--primary-text-wMain);
font-family: "Rubik", sans-serif;
font-size: 14px;
}
/* Global scrollbar theming */
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--primary-w20) var(--background-w10);
}
.fade-both-mask {
position: relative;
}
.fade-both-mask::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 40px;
background: linear-gradient(to top, transparent, var(--background-w10));
pointer-events: none;
z-index: 10;
}
.fade-both-mask::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 40px;
background: linear-gradient(to bottom, transparent, var(--background-w10));
pointer-events: none;
z-index: 10;
}
/* Webkit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background-color: var(--background-w10);
}
*::-webkit-scrollbar-thumb {
background-color: var(--primary-w20);
border-radius: 9999px;
border: 2px solid var(--primary-w20);
}
}
/* Mention chip styles */
.mention-chip {
display: inline-block;
background-color: var(--primary-w10);
color: var(--primary-w100);
border-radius: 3px;
padding: 1px 4px;
margin: 0 1px;
font-weight: 500;
user-select: all;
}
/* Context quote badge styles (for follow-up questions) */
.context-quote-badge {
display: flex;
align-items: center;
gap: 0.5rem;
background-color: color-mix(in srgb, var(--secondary-w10), transparent 50%);
border: 1px solid var(--secondary-w40);
border-radius: 0.375rem;
padding: 0.5rem 0.75rem;
margin-bottom: 0.75rem;
font-size: 0.875rem;
max-width: fit-content;
overflow: hidden;
}
.context-quote-icon {
flex-shrink: 0;
width: 1rem;
height: 1rem;
color: var(--secondary-text-wMain);
}
.context-quote-text {
font-style: italic;
color: var(--secondary-text-wMain);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.citation-highlight {
background-color: color-mix(in srgb, var(--accent-n6-wMain), transparent 80%);
padding: 0.125rem 0;
border-radius: 0.125rem;
}
/* Citation highlight for text-based content (markdown, HTML, etc.) - needs different dark mode styling */
mark.citation-highlight {
background-color: color-mix(in srgb, var(--accent-n6-wMain), transparent 40%);
color: inherit;
}