NHLOCAL commited on
Commit
7330b4b
·
1 Parent(s): 78ed788

style: Complete design refresh for a modern UI

Browse files

Refreshes the entire user interface with an updated color palette, improved spacing, and enhanced interactive elements. This change provides a more modern, clean, and user-friendly experience.

Files changed (1) hide show
  1. static/style.css +424 -60
static/style.css CHANGED
@@ -1,54 +1,302 @@
 
 
 
 
 
 
 
 
 
1
  :root {
2
- --md-sys-color-primary: #6750A4;
 
 
3
  --md-sys-color-on-primary: #FFFFFF;
4
  --md-sys-color-primary-container: #EADDFF;
5
  --md-sys-color-on-primary-container: #21005D;
 
6
  --md-sys-color-error: #B3261E;
7
  --md-sys-color-error-container: #F9DEDC;
8
  --md-sys-color-on-error-container: #410E0B;
9
- --md-sys-color-background: #FFFBFE;
 
 
10
  --md-sys-color-on-background: #1C1B1F;
11
- --md-sys-color-surface: #FFFBFE;
12
  --md-sys-color-surface-variant: #E7E0EC;
13
  --md-sys-color-outline: #79747E;
14
- --md-sys-color-surface-container-low: #F7F2FA;
15
- --border-radius: 16px;
 
 
16
  --border-radius-small: 8px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
- * { box-sizing: border-box; margin: 0; padding: 0; }
19
- html { scroll-behavior: smooth; }
20
- body { font-family: 'Assistant', sans-serif; background-color: var(--md-sys-color-background); color: var(--md-sys-color-on-background); line-height: 1.6; }
21
- .container { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem; }
22
- .card { background-color: var(--md-sys-color-surface-container-low); border-radius: var(--border-radius); padding: 2rem; border: 1px solid var(--md-sys-color-surface-variant); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
23
- header { padding-bottom: 1.5rem; text-align: center; }
24
- h1, h2 { font-weight: 700; color: var(--md-sys-color-primary); }
25
- h1 { font-size: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
26
- h2 { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--md-sys-color-primary-container); padding-bottom: 0.5rem; }
27
- .material-symbols-outlined { font-size: inherit; vertical-align: middle; }
28
- .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 10px 24px; font-family: 'Assistant', sans-serif; font-size: 1rem; font-weight: 600; border-radius: 99px; border: none; cursor: pointer; transition: all 0.2s ease-in-out; text-decoration: none; }
29
- .btn:disabled { opacity: 0.5; cursor: not-allowed; background-color: var(--md-sys-color-outline); }
30
- .btn-primary { background-color: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
31
- .btn-secondary { background-color: var(--md-sys-color-surface-variant); color: var(--md-sys-color-on-surface-variant); }
32
- .btn-primary:hover:not(:disabled) { background-color: #5a3f92; box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
33
- .input-group { margin-bottom: 1.5rem; }
34
- .input-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--md-sys-color-on-background); }
35
- .input-group input[type="password"], .input-group input[type="text"], .input-group select, .input-group textarea { width: 100%; padding: 12px; border: 1px solid var(--md-sys-color-outline); border-radius: var(--border-radius-small); font-size: 1rem; background-color: var(--md-sys-color-surface); font-family: 'Assistant', sans-serif; }
36
- .input-group textarea { resize: vertical; min-height: 80px; }
37
- #model-custom-input { margin-top: 0.5rem; }
38
- .file-input-wrapper { border: 2px dashed var(--md-sys-color-outline); border-radius: var(--border-radius); padding: 2rem; text-align: center; cursor: pointer; transition: all 0.2s; }
39
- .file-input-wrapper:hover, .file-input-wrapper.drag-over { background-color: var(--md-sys-color-primary-container); border-color: var(--md-sys-color-primary); }
40
- .file-input-wrapper.disabled { opacity: 0.6; cursor: not-allowed; background-color: var(--md-sys-color-surface-container-low); border-color: var(--md-sys-color-outline); }
41
- .file-input-wrapper.disabled:hover { background-color: var(--md-sys-color-surface-container-low); border-color: var(--md-sys-color-outline); }
42
- .file-input-wrapper input[type="file"] { display: none; }
43
- .file-name { margin-top: 1rem; font-weight: 600; color: var(--md-sys-color-secondary); }
44
- #results-section { display: none; margin-top: 2rem; }
45
- .results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: 1rem; }
46
- .results-header h2 { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
47
- .view-toggle { display: flex; border: 1px solid var(--md-sys-color-outline); border-radius: 99px; overflow: hidden; }
48
- .view-btn { background: transparent; border: none; padding: 6px 16px; cursor: pointer; font-weight: 600; font-family: 'Assistant', sans-serif; font-size: 0.9rem; color: var(--md-sys-color-primary); transition: all 0.2s ease-in-out; }
49
- .view-btn.active { background-color: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
50
- .textarea-container { position: relative; margin-bottom: 1rem; }
51
- #results-output { width: 100%; height: 300px; padding: 1rem; border: 1px solid var(--md-sys-color-outline); border-radius: var(--border-radius-small); font-family: monospace; background-color: var(--md-sys-color-surface); font-size: 0.9rem; resize: vertical; direction: rtl; text-align: right; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  #copy-button {
53
  position: absolute;
54
  bottom: 18px;
@@ -61,30 +309,146 @@ h2 { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--md
61
  color: var(--md-sys-color-on-surface-variant);
62
  border-radius: 50%;
63
  z-index: 10;
64
- transition: left 0.2s ease-in-out;
 
65
  }
 
 
 
 
 
 
 
66
 
67
  #copy-button.has-scrollbar {
68
  left: 28px;
69
  }
70
  #copy-button .material-symbols-outlined { font-size: 20px; }
71
- .buttons-container { display: flex; gap: 1rem; margin-top: 1rem; justify-content: center; flex-wrap: wrap; }
72
- #status-container { margin-top: 1.5rem; display: none; }
73
- #status-message { text-align: center; padding: 1rem; font-weight: 600; border-radius: var(--border-radius-small) var(--border-radius-small) 0 0; }
74
- #status-message.loading { background-color: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
75
- #status-message.error { background-color: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); }
76
- #progress-bar-container { width: 100%; background-color: var(--md-sys-color-surface-variant); border-radius: 0 0 var(--border-radius-small) var(--border-radius-small); overflow: hidden; height: 8px; }
77
- #progress-bar { width: 0%; height: 100%; background-color: var(--md-sys-color-primary); transition: width 0.3s ease-in-out; }
78
- #progress-bar.error { background-color: var(--md-sys-color-error); }
79
- footer { text-align: center; margin-top: 1rem; padding: 1rem; color: var(--md-sys-color-outline); font-size: 0.9rem; }
80
- footer a { color: var(--md-sys-color-primary); text-decoration: none; font-weight: 600; }
81
- footer a:hover { text-decoration: underline; }
82
- .github-link { margin-left: 8px; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; }
83
- .github-link i { font-size: 18px; color: var(--md-sys-color-primary); transition: color 0.2s ease-in-out; vertical-align: middle; }
84
- .github-link:hover i { color: #5a3f92; }
85
- .srt-only { display: none; }
86
- .format-toggle-group { display: flex; border: 1px solid var(--md-sys-color-outline); border-radius: var(--border-radius-small); overflow: hidden; width: 100%; }
87
- .format-toggle-btn { flex: 1; background: transparent; border: none; padding: 12px 16px; cursor: pointer; font-weight: 600; font-family: 'Assistant', sans-serif; font-size: 1rem; color: var(--md-sys-color-primary); transition: all 0.2s ease-in-out; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
88
- .format-toggle-btn:not(:first-child) { border-right: 1px solid var(--md-sys-color-outline); }
89
- .format-toggle-btn.active { background-color: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
90
- .format-toggle-btn:hover:not(.active) { background-color: var(--md-sys-color-surface-variant); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ -- DESIGN REFRESH --
3
+ - Updated color palette for a slightly more modern and vibrant feel.
4
+ - Reduced main border-radius for a sharper, cleaner look.
5
+ - Enhanced box-shadows for better depth.
6
+ - Added subtle transitions and hover effects for improved user experience.
7
+ - Refined input focus states for better accessibility and visual feedback.
8
+ */
9
+
10
  :root {
11
+ /* Updated Color Palette */
12
+ --md-sys-color-primary: #7156B3;
13
+ --md-sys-color-primary-rgb: 113, 86, 179; /* For use in rgba() */
14
  --md-sys-color-on-primary: #FFFFFF;
15
  --md-sys-color-primary-container: #EADDFF;
16
  --md-sys-color-on-primary-container: #21005D;
17
+
18
  --md-sys-color-error: #B3261E;
19
  --md-sys-color-error-container: #F9DEDC;
20
  --md-sys-color-on-error-container: #410E0B;
21
+
22
+ /* Slightly cooler background tones */
23
+ --md-sys-color-background: #F8F7FC;
24
  --md-sys-color-on-background: #1C1B1F;
25
+ --md-sys-color-surface: #FFFFFF;
26
  --md-sys-color-surface-variant: #E7E0EC;
27
  --md-sys-color-outline: #79747E;
28
+ --md-sys-color-surface-container-low: #F3EFF8;
29
+
30
+ /* Updated Layout Variables */
31
+ --border-radius: 12px; /* Sharper corners */
32
  --border-radius-small: 8px;
33
+ --transition-speed: 0.25s;
34
+ }
35
+
36
+ * {
37
+ box-sizing: border-box;
38
+ margin: 0;
39
+ padding: 0;
40
+ }
41
+
42
+ html {
43
+ scroll-behavior: smooth;
44
+ }
45
+
46
+ body {
47
+ font-family: 'Assistant', sans-serif;
48
+ background-color: var(--md-sys-color-background);
49
+ color: var(--md-sys-color-on-background);
50
+ line-height: 1.6;
51
+ transition: background-color var(--transition-speed) ease;
52
+ }
53
+
54
+ .container {
55
+ max-width: 800px;
56
+ margin: 0 auto;
57
+ padding: 2rem 1.5rem;
58
+ }
59
+
60
+ .card {
61
+ background-color: var(--md-sys-color-surface); /* Changed from container-low for better contrast */
62
+ border-radius: var(--border-radius);
63
+ padding: 2rem;
64
+ border: 1px solid var(--md-sys-color-surface-variant);
65
+ /* Enhanced shadow for more depth */
66
+ box-shadow: 0 4px 16px rgba(0,0,0,0.07);
67
+ transition: all var(--transition-speed) ease;
68
+ }
69
+
70
+ header {
71
+ padding-bottom: 2rem;
72
+ text-align: center;
73
+ }
74
+
75
+ h1, h2 {
76
+ font-weight: 700;
77
+ color: var(--md-sys-color-primary);
78
+ }
79
+
80
+ h1 {
81
+ font-size: 2.6rem;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ gap: 1rem;
86
+ letter-spacing: -1px;
87
+ }
88
+
89
+ h2 {
90
+ font-size: 1.5rem;
91
+ margin-bottom: 1.5rem;
92
+ /* Subtler bottom border */
93
+ border-bottom: 1px solid var(--md-sys-color-surface-variant);
94
+ padding-bottom: 0.75rem;
95
+ }
96
+
97
+ .material-symbols-outlined {
98
+ font-size: inherit;
99
+ vertical-align: middle;
100
+ }
101
+
102
+ .btn {
103
+ display: inline-flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ gap: 0.5rem;
107
+ padding: 10px 24px;
108
+ font-family: 'Assistant', sans-serif;
109
+ font-size: 1rem;
110
+ font-weight: 600;
111
+ border-radius: 99px;
112
+ border: none;
113
+ cursor: pointer;
114
+ transition: all var(--transition-speed) ease;
115
+ text-decoration: none;
116
+ }
117
+
118
+ .btn:disabled {
119
+ opacity: 0.5;
120
+ cursor: not-allowed;
121
+ background-color: var(--md-sys-color-outline);
122
+ transform: none;
123
+ box-shadow: none;
124
+ }
125
+
126
+ .btn-primary {
127
+ background-color: var(--md-sys-color-primary);
128
+ color: var(--md-sys-color-on-primary);
129
+ }
130
+
131
+ .btn-secondary {
132
+ background-color: var(--md-sys-color-surface-variant);
133
+ color: var(--md-sys-color-on-background);
134
+ border: 1px solid var(--md-sys-color-outline);
135
+ }
136
+ .btn-secondary:hover:not(:disabled) {
137
+ background-color: var(--md-sys-color-surface-container-low);
138
+ border-color: var(--md-sys-color-primary);
139
+ }
140
+
141
+
142
+ .btn:hover:not(:disabled) {
143
+ /* Adding a subtle lift effect on hover */
144
+ transform: translateY(-2px);
145
+ box-shadow: 0 6px 12px rgba(var(--md-sys-color-primary-rgb), 0.15);
146
+ }
147
+
148
+ .btn-primary:hover:not(:disabled) {
149
+ background-color: #5f43a7; /* Slightly darker purple on hover */
150
+ }
151
+
152
+
153
+ .input-group {
154
+ margin-bottom: 1.5rem;
155
+ }
156
+
157
+ .input-group label {
158
+ display: block;
159
+ margin-bottom: 0.5rem;
160
+ font-weight: 600;
161
+ color: var(--md-sys-color-on-background);
162
+ }
163
+
164
+ .input-group input[type="password"], .input-group input[type="text"], .input-group select, .input-group textarea {
165
+ width: 100%;
166
+ padding: 12px;
167
+ border: 1px solid var(--md-sys-color-outline);
168
+ border-radius: var(--border-radius-small);
169
+ font-size: 1rem;
170
+ background-color: var(--md-sys-color-surface);
171
+ font-family: 'Assistant', sans-serif;
172
+ transition: all var(--transition-speed) ease;
173
+ }
174
+
175
+ /* Enhanced focus state for inputs */
176
+ .input-group input[type="password"]:focus,
177
+ .input-group input[type="text"]:focus,
178
+ .input-group select:focus,
179
+ .input-group textarea:focus {
180
+ outline: none;
181
+ border-color: var(--md-sys-color-primary);
182
+ box-shadow: 0 0 0 3px rgba(var(--md-sys-color-primary-rgb), 0.1);
183
+ }
184
+
185
+ .input-group textarea {
186
+ resize: vertical;
187
+ min-height: 80px;
188
+ }
189
+
190
+ #model-custom-input {
191
+ margin-top: 0.75rem;
192
+ }
193
+
194
+ .file-input-wrapper {
195
+ border: 2px dashed var(--md-sys-color-outline);
196
+ border-radius: var(--border-radius);
197
+ padding: 2rem;
198
+ text-align: center;
199
+ cursor: pointer;
200
+ transition: all var(--transition-speed) ease;
201
+ }
202
+
203
+ .file-input-wrapper:hover, .file-input-wrapper.drag-over {
204
+ background-color: var(--md-sys-color-primary-container);
205
+ border-color: var(--md-sys-color-primary);
206
+ }
207
+
208
+ .file-input-wrapper.disabled {
209
+ opacity: 0.6;
210
+ cursor: not-allowed;
211
+ background-color: var(--md-sys-color-surface-container-low);
212
+ border-color: var(--md-sys-color-outline);
213
+ }
214
+ .file-input-wrapper.disabled:hover {
215
+ background-color: var(--md-sys-color-surface-container-low);
216
+ border-color: var(--md-sys-color-outline);
217
+ }
218
+
219
+ .file-input-wrapper input[type="file"] {
220
+ display: none;
221
+ }
222
+
223
+ .file-name {
224
+ margin-top: 1rem;
225
+ font-weight: 600;
226
+ color: var(--md-sys-color-primary);
227
  }
228
+
229
+ #results-section {
230
+ display: none;
231
+ margin-top: 2rem;
232
+ }
233
+
234
+ .results-header {
235
+ display: flex;
236
+ justify-content: space-between;
237
+ align-items: center;
238
+ margin-bottom: 1rem;
239
+ flex-wrap: wrap;
240
+ gap: 1rem;
241
+ }
242
+
243
+ .results-header h2 {
244
+ margin-bottom: 0;
245
+ padding-bottom: 0;
246
+ border-bottom: none;
247
+ }
248
+
249
+ .view-toggle {
250
+ display: flex;
251
+ border: 1px solid var(--md-sys-color-outline);
252
+ border-radius: 99px;
253
+ overflow: hidden;
254
+ background-color: var(--md-sys-color-surface-container-low);
255
+ }
256
+
257
+ .view-btn {
258
+ background: transparent;
259
+ border: none;
260
+ padding: 6px 16px;
261
+ cursor: pointer;
262
+ font-weight: 600;
263
+ font-family: 'Assistant', sans-serif;
264
+ font-size: 0.9rem;
265
+ color: var(--md-sys-color-primary);
266
+ transition: all var(--transition-speed) ease;
267
+ }
268
+
269
+ .view-btn.active {
270
+ background-color: var(--md-sys-color-primary);
271
+ color: var(--md-sys-color-on-primary);
272
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
273
+ }
274
+
275
+ .textarea-container {
276
+ position: relative;
277
+ margin-bottom: 1rem;
278
+ }
279
+
280
+ #results-output {
281
+ width: 100%;
282
+ height: 300px;
283
+ padding: 1rem;
284
+ border: 1px solid var(--md-sys-color-outline);
285
+ border-radius: var(--border-radius-small);
286
+ font-family: monospace;
287
+ background-color: var(--md-sys-color-surface-container-low);
288
+ font-size: 0.95rem; /* Slightly larger for readability */
289
+ resize: vertical;
290
+ direction: rtl;
291
+ text-align: right;
292
+ }
293
+ #results-output:focus {
294
+ outline: none;
295
+ border-color: var(--md-sys-color-primary);
296
+ box-shadow: 0 0 0 3px rgba(var(--md-sys-color-primary-rgb), 0.1);
297
+ }
298
+
299
+
300
  #copy-button {
301
  position: absolute;
302
  bottom: 18px;
 
309
  color: var(--md-sys-color-on-surface-variant);
310
  border-radius: 50%;
311
  z-index: 10;
312
+ transition: all var(--transition-speed) ease;
313
+ box-shadow: none; /* remove shadow from .btn */
314
  }
315
+ #copy-button:hover:not(:disabled) {
316
+ transform: scale(1.1);
317
+ background-color: var(--md-sys-color-primary);
318
+ color: var(--md-sys-color-on-primary);
319
+ box-shadow: none;
320
+ }
321
+
322
 
323
  #copy-button.has-scrollbar {
324
  left: 28px;
325
  }
326
  #copy-button .material-symbols-outlined { font-size: 20px; }
327
+
328
+ .buttons-container {
329
+ display: flex;
330
+ gap: 1rem;
331
+ margin-top: 1rem;
332
+ justify-content: center;
333
+ flex-wrap: wrap;
334
+ }
335
+
336
+ #status-container {
337
+ margin-top: 1.5rem;
338
+ display: none;
339
+ }
340
+
341
+ #status-message {
342
+ text-align: center;
343
+ padding: 1rem;
344
+ font-weight: 600;
345
+ border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
346
+ }
347
+
348
+ #status-message.loading {
349
+ background-color: var(--md-sys-color-primary-container);
350
+ color: var(--md-sys-color-on-primary-container);
351
+ }
352
+
353
+ #status-message.error {
354
+ background-color: var(--md-sys-color-error-container);
355
+ color: var(--md-sys-color-on-error-container);
356
+ }
357
+
358
+ #progress-bar-container {
359
+ width: 100%;
360
+ background-color: var(--md-sys-color-surface-variant);
361
+ border-radius: 0 0 var(--border-radius-small) var(--border-radius-small);
362
+ overflow: hidden;
363
+ height: 8px;
364
+ }
365
+
366
+ #progress-bar {
367
+ width: 0%;
368
+ height: 100%;
369
+ background-color: var(--md-sys-color-primary);
370
+ transition: width 0.3s ease-in-out;
371
+ }
372
+
373
+ #progress-bar.error {
374
+ background-color: var(--md-sys-color-error);
375
+ }
376
+
377
+ footer {
378
+ text-align: center;
379
+ margin-top: 2rem;
380
+ padding: 1.5rem;
381
+ color: var(--md-sys-color-outline);
382
+ font-size: 0.9rem;
383
+ }
384
+
385
+ footer a {
386
+ color: var(--md-sys-color-primary);
387
+ text-decoration: none;
388
+ font-weight: 600;
389
+ }
390
+
391
+ footer a:hover {
392
+ text-decoration: underline;
393
+ }
394
+
395
+ .github-link {
396
+ margin-left: 8px;
397
+ vertical-align: middle;
398
+ display: inline-flex;
399
+ align-items: center;
400
+ justify-content: center;
401
+ }
402
+
403
+ .github-link i {
404
+ font-size: 18px;
405
+ color: var(--md-sys-color-primary);
406
+ transition: color var(--transition-speed) ease;
407
+ vertical-align: middle;
408
+ }
409
+
410
+ .github-link:hover i {
411
+ color: #5f43a7;
412
+ }
413
+
414
+ .srt-only {
415
+ display: none;
416
+ }
417
+
418
+ .format-toggle-group {
419
+ display: flex;
420
+ border: 1px solid var(--md-sys-color-outline);
421
+ border-radius: var(--border-radius-small);
422
+ overflow: hidden;
423
+ width: 100%;
424
+ }
425
+
426
+ .format-toggle-btn {
427
+ flex: 1;
428
+ background: transparent;
429
+ border: none;
430
+ padding: 12px 16px;
431
+ cursor: pointer;
432
+ font-weight: 600;
433
+ font-family: 'Assistant', sans-serif;
434
+ font-size: 1rem;
435
+ color: var(--md-sys-color-primary);
436
+ transition: all var(--transition-speed) ease;
437
+ display: flex;
438
+ align-items: center;
439
+ justify-content: center;
440
+ gap: 0.5rem;
441
+ }
442
+
443
+ .format-toggle-btn:not(:first-child) {
444
+ border-right: 1px solid var(--md-sys-color-outline);
445
+ }
446
+
447
+ .format-toggle-btn.active {
448
+ background-color: var(--md-sys-color-primary-container);
449
+ color: var(--md-sys-color-on-primary-container);
450
+ }
451
+
452
+ .format-toggle-btn:hover:not(.active) {
453
+ background-color: var(--md-sys-color-surface-container-low);
454
+ }