@inglorious/ui 9.5.1 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,748 @@
1
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
2
+
3
+ .iw-theme-material-3 {
4
+ --iw-font-family-sans: "Roboto", "Helvetica", "Arial", sans-serif;
5
+ /* The theme on the page itself: the element with the theme class, usually
6
+ <body>, takes its background, text color and font. */
7
+ background-color: var(--iw-color-bg);
8
+ color: var(--iw-color-text);
9
+ font-family: var(--iw-font-family-sans);
10
+
11
+ /* ========================================
12
+ MATERIAL 3 THEME - Material Design 3 baseline
13
+ ======================================== */
14
+
15
+ /* Material 3 color roles the shared tokens have no name for */
16
+ --iw-m3-outline: #79747e;
17
+ --iw-m3-surface-container-low: #f7f2fa;
18
+ --iw-m3-surface-container: #f3edf7;
19
+ --iw-m3-surface-container-high: #ece6f0;
20
+ --iw-m3-surface-container-highest: #e6e0e9;
21
+ --iw-m3-secondary-container: #e8def8;
22
+ --iw-m3-on-secondary-container: #4a4458;
23
+ --iw-m3-inverse-surface: #322f35;
24
+ --iw-m3-inverse-on-surface: #f5eff7;
25
+ --iw-m3-inverse-primary: #d0bcff;
26
+
27
+ /* Semantic Colors */
28
+ --iw-color-bg: #fef7ff;
29
+ --iw-color-bg-secondary: var(--iw-m3-surface-container);
30
+ --iw-color-bg-tertiary: var(--iw-m3-surface-container-highest);
31
+ --iw-color-surface: var(--iw-m3-surface-container-low);
32
+ --iw-color-surface-hover: color-mix(
33
+ in srgb,
34
+ var(--iw-color-text) 8%,
35
+ transparent
36
+ );
37
+ --iw-color-surface-active: color-mix(
38
+ in srgb,
39
+ var(--iw-color-text) 10%,
40
+ transparent
41
+ );
42
+
43
+ --iw-color-text: #1d1b20;
44
+ --iw-color-text-secondary: #49454f;
45
+ --iw-color-text-muted: #49454f;
46
+
47
+ --iw-color-border: #cac4d0;
48
+ --iw-color-border-focus: #6750a4;
49
+
50
+ --iw-color-primary: #6750a4;
51
+ --iw-color-primary-hover: color-mix(in srgb, #6750a4 92%, #ffffff);
52
+ --iw-color-primary-active: color-mix(in srgb, #6750a4 90%, #ffffff);
53
+ --iw-color-primary-text: var(--iw-color-white);
54
+
55
+ /* Material 3's secondary color */
56
+ --iw-color-accent: #625b71;
57
+ --iw-color-accent-hover: color-mix(in srgb, #625b71 92%, #ffffff);
58
+ --iw-color-accent-active: color-mix(in srgb, #625b71 90%, #ffffff);
59
+
60
+ /* Material 3 defines only an error color: the others are custom colors at
61
+ the same tones as the primary */
62
+ --iw-color-success: #386a20;
63
+ --iw-color-warning: #7d5700;
64
+ --iw-color-error: #b3261e;
65
+ --iw-color-info: #00639a;
66
+
67
+ /* Elevation levels 1 to 4 */
68
+ --iw-shadow-sm:
69
+ 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
70
+ --iw-shadow-md:
71
+ 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
72
+ --iw-shadow-lg:
73
+ 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
74
+ --iw-shadow-xl:
75
+ 0 2px 3px 0 rgba(0, 0, 0, 0.3), 0 6px 10px 4px rgba(0, 0, 0, 0.15);
76
+
77
+ /* Material 3's shape scale: extra small to extra large */
78
+ --iw-radius-sm: 4px;
79
+ --iw-radius-md: 8px;
80
+ --iw-radius-lg: 12px;
81
+ --iw-radius-xl: 16px;
82
+ --iw-radius-2xl: 28px;
83
+
84
+ /* Labels in the label-large style: medium weight, as written */
85
+ --iw-label-text-transform: none;
86
+ --iw-label-letter-spacing: 0.00714em;
87
+ --iw-label-font-weight: var(--iw-font-weight-medium);
88
+
89
+ /* ========================================
90
+ COMPONENT TOKENS
91
+ ======================================== */
92
+
93
+ /* Button: filled, in a pill */
94
+ --iw-button-bg: var(--iw-color-primary);
95
+ --iw-button-bg-hover: var(--iw-color-primary-hover);
96
+ --iw-button-bg-active: var(--iw-color-primary-active);
97
+ --iw-button-text: var(--iw-color-primary-text);
98
+ --iw-button-border: var(--iw-color-primary);
99
+ --iw-button-radius: var(--iw-radius-full);
100
+ --iw-button-shadow: none;
101
+ --iw-button-shadow-hover: var(--iw-shadow-sm);
102
+ --iw-button-shadow-active: none;
103
+
104
+ /* A button's default color is a filled tonal button, whose outlined and
105
+ ghost forms take the primary color */
106
+ --iw-button-default-color: var(--iw-color-primary);
107
+ --iw-button-default-bg: var(--iw-m3-secondary-container);
108
+ --iw-button-default-bg-hover: var(--iw-m3-secondary-container);
109
+ --iw-button-default-bg-active: var(--iw-m3-secondary-container);
110
+ --iw-button-default-border: var(--iw-m3-secondary-container);
111
+ --iw-button-default-text: var(--iw-m3-on-secondary-container);
112
+
113
+ /* Input: a filled text field */
114
+ --iw-input-bg: var(--iw-m3-surface-container-highest);
115
+ --iw-input-bg-hover: color-mix(
116
+ in srgb,
117
+ var(--iw-m3-surface-container-highest) 92%,
118
+ var(--iw-color-text)
119
+ );
120
+ --iw-input-bg-focus: var(--iw-m3-surface-container-highest);
121
+ --iw-input-text: var(--iw-color-text);
122
+ --iw-input-text-placeholder: var(--iw-color-text-secondary);
123
+ --iw-input-border: var(--iw-color-text-secondary);
124
+ --iw-input-border-hover: var(--iw-color-text);
125
+ --iw-input-border-focus: var(--iw-color-primary);
126
+ --iw-input-radius: var(--iw-radius-sm) var(--iw-radius-sm) 0 0;
127
+ /* With the bottom border, a 2px active indicator */
128
+ --iw-input-shadow-focus: inset 0 -1px 0 var(--iw-input-border-focus);
129
+
130
+ /* App bar: a top app bar on the surface */
131
+ --iw-app-bar-bg: var(--iw-color-bg);
132
+
133
+ /* Drawer: a navigation drawer */
134
+ --iw-drawer-bg: var(--iw-m3-surface-container-low);
135
+
136
+ /* Card: an elevated card */
137
+ --iw-card-bg: var(--iw-m3-surface-container-low);
138
+ --iw-card-border: transparent;
139
+ --iw-card-radius: var(--iw-radius-lg);
140
+ --iw-card-shadow: var(--iw-shadow-sm);
141
+ --iw-card-shadow-hover: var(--iw-shadow-md);
142
+
143
+ /* Badge */
144
+ --iw-badge-radius: var(--iw-radius-full);
145
+
146
+ /* Chip: outlined, on no background of its own */
147
+ --iw-chip-bg: transparent;
148
+
149
+ /* List */
150
+ --iw-list-item: transparent;
151
+ --iw-list-item-active: var(--iw-color-surface-hover);
152
+ --iw-list-item-selected: var(--iw-m3-secondary-container);
153
+
154
+ /* Alert */
155
+ --iw-alert-radius: var(--iw-radius-lg);
156
+ --iw-alert-shadow: none;
157
+ color-scheme: light;
158
+ }
159
+
160
+ /* Dark variant */
161
+ .iw-theme-material-3.iw-theme-dark {
162
+ color-scheme: dark;
163
+
164
+ --iw-m3-outline: #938f99;
165
+ --iw-m3-surface-container-low: #1d1b20;
166
+ --iw-m3-surface-container: #211f26;
167
+ --iw-m3-surface-container-high: #2b2930;
168
+ --iw-m3-surface-container-highest: #36343b;
169
+ --iw-m3-secondary-container: #4a4458;
170
+ --iw-m3-on-secondary-container: #e8def8;
171
+ --iw-m3-inverse-surface: #e6e0e9;
172
+ --iw-m3-inverse-on-surface: #322f35;
173
+ --iw-m3-inverse-primary: #6750a4;
174
+
175
+ --iw-color-bg: #141218;
176
+ --iw-color-text: #e6e0e9;
177
+ --iw-color-text-secondary: #cac4d0;
178
+ --iw-color-text-muted: #cac4d0;
179
+ --iw-color-border: #49454f;
180
+
181
+ --iw-color-primary: #d0bcff;
182
+ --iw-color-primary-hover: color-mix(in srgb, #d0bcff 92%, #381e72);
183
+ --iw-color-primary-active: color-mix(in srgb, #d0bcff 90%, #381e72);
184
+ --iw-color-primary-text: #381e72;
185
+
186
+ --iw-color-border-focus: #d0bcff;
187
+
188
+ --iw-color-accent: #ccc2dc;
189
+ --iw-color-accent-hover: color-mix(in srgb, #ccc2dc 92%, #332d41);
190
+ --iw-color-accent-active: color-mix(in srgb, #ccc2dc 90%, #332d41);
191
+
192
+ --iw-color-success: #9cd67d;
193
+ --iw-color-warning: #f8bd2a;
194
+ --iw-color-error: #f2b8b5;
195
+ --iw-color-info: #9ecaff;
196
+ }
197
+
198
+ .iw-theme-material-3 {
199
+ /* Buttons: pills 40px tall. Hovering and pressing lay the label's color
200
+ over the container, as Material 3's state layers */
201
+ .iw-button {
202
+ padding: 10px 24px;
203
+ font-size: 0.875rem;
204
+ line-height: 1.25rem;
205
+
206
+ &.iw-button-xs {
207
+ padding: 2px 8px;
208
+ font-size: 0.75rem;
209
+ }
210
+
211
+ &.iw-button-sm {
212
+ padding: 6px 16px;
213
+ font-size: 0.875rem;
214
+ }
215
+
216
+ &.iw-button-lg {
217
+ padding: 16px 24px;
218
+ font-size: 1rem;
219
+ line-height: 1.5rem;
220
+ }
221
+
222
+ &.iw-button-shape-square {
223
+ border-radius: var(--iw-radius-lg);
224
+ }
225
+
226
+ &.iw-button-secondary {
227
+ --iw-button-color: var(--iw-color-accent);
228
+ --iw-button-bg: var(--iw-color-accent);
229
+ --iw-button-border: var(--iw-color-accent);
230
+ }
231
+
232
+ &.iw-button-secondary,
233
+ &.iw-button-success,
234
+ &.iw-button-warning,
235
+ &.iw-button-error,
236
+ &.iw-button-info {
237
+ --iw-button-text: var(--iw-color-white);
238
+ }
239
+
240
+ &.iw-button-default,
241
+ &.iw-button-primary,
242
+ &.iw-button-secondary,
243
+ &.iw-button-success,
244
+ &.iw-button-warning,
245
+ &.iw-button-error,
246
+ &.iw-button-info {
247
+ --iw-button-bg-hover: color-mix(
248
+ in srgb,
249
+ var(--iw-button-bg) 92%,
250
+ var(--iw-button-text)
251
+ );
252
+ --iw-button-bg-active: color-mix(
253
+ in srgb,
254
+ var(--iw-button-bg) 90%,
255
+ var(--iw-button-text)
256
+ );
257
+ }
258
+
259
+ /* Outlined buttons have a neutral outline, whatever their color */
260
+ &.iw-button-outline {
261
+ border-color: var(--iw-m3-outline);
262
+ }
263
+
264
+ &.iw-button-ghost {
265
+ padding-inline: 12px;
266
+ }
267
+
268
+ &.iw-button-outline,
269
+ &.iw-button-ghost {
270
+ &:hover:not(:disabled) {
271
+ background-color: color-mix(
272
+ in srgb,
273
+ var(--iw-button-color) 8%,
274
+ transparent
275
+ );
276
+ }
277
+
278
+ &:active:not(:disabled),
279
+ &.iw-button-pressed {
280
+ color: var(--iw-button-color);
281
+ background-color: color-mix(
282
+ in srgb,
283
+ var(--iw-button-color) 10%,
284
+ transparent
285
+ );
286
+ }
287
+ }
288
+
289
+ &:disabled,
290
+ &.iw-button-disabled {
291
+ opacity: 1;
292
+ color: color-mix(in srgb, var(--iw-color-text) 38%, transparent);
293
+ background-color: color-mix(
294
+ in srgb,
295
+ var(--iw-color-text) 12%,
296
+ transparent
297
+ );
298
+ border-color: transparent;
299
+ box-shadow: none;
300
+
301
+ &.iw-button-outline {
302
+ background-color: transparent;
303
+ border-color: color-mix(in srgb, var(--iw-color-text) 12%, transparent);
304
+ }
305
+
306
+ &.iw-button-ghost {
307
+ background-color: transparent;
308
+ }
309
+ }
310
+ }
311
+
312
+ /* On dark, labels on a color are a deep tone of it */
313
+ &.iw-theme-dark .iw-button {
314
+ &.iw-button-secondary,
315
+ &.iw-button-success,
316
+ &.iw-button-warning,
317
+ &.iw-button-error,
318
+ &.iw-button-info {
319
+ --iw-button-text: color-mix(
320
+ in srgb,
321
+ var(--iw-button-color) 25%,
322
+ var(--iw-color-black)
323
+ );
324
+ }
325
+ }
326
+
327
+ /* Filled text fields: a tinted box with an indicator along its bottom,
328
+ 2px and in the primary color while it has focus */
329
+ .iw-input .iw-input-frame,
330
+ .iw-select .iw-select-frame,
331
+ .iw-combobox .iw-combobox-frame,
332
+ .iw-textarea-field .iw-textarea {
333
+ border-width: 0 0 1px;
334
+ }
335
+
336
+ .iw-input,
337
+ .iw-select,
338
+ .iw-textarea-field {
339
+ .iw-input-label,
340
+ .iw-select-label,
341
+ .iw-textarea-label {
342
+ color: var(--iw-color-text-secondary);
343
+ }
344
+
345
+ .iw-input-frame,
346
+ .iw-select-frame {
347
+ padding-inline: 16px;
348
+ }
349
+
350
+ &:focus-within {
351
+ .iw-input-label,
352
+ .iw-select-label,
353
+ .iw-textarea-label {
354
+ color: var(--iw-color-primary);
355
+ }
356
+ }
357
+
358
+ .iw-input-hint,
359
+ .iw-input-error-message,
360
+ .iw-select-hint,
361
+ .iw-select-error-message {
362
+ margin-inline: 16px;
363
+ font-size: 0.75rem;
364
+ letter-spacing: 0.03333em;
365
+ }
366
+
367
+ .iw-input-hint,
368
+ .iw-select-hint {
369
+ color: var(--iw-color-text-secondary);
370
+ }
371
+
372
+ .iw-input-frame:has(.iw-input-control-error):focus-within,
373
+ .iw-select-frame:has(.iw-select-control-error):focus-within {
374
+ box-shadow: inset 0 -1px 0 var(--iw-color-error);
375
+ }
376
+ }
377
+
378
+ .iw-input:has(.iw-input-control-error),
379
+ .iw-select:has(.iw-select-control-error) {
380
+ .iw-input-label,
381
+ .iw-select-label {
382
+ color: var(--iw-color-error);
383
+ }
384
+ }
385
+
386
+ .iw-checkbox .iw-checkbox-input {
387
+ width: 1.125rem;
388
+ height: 1.125rem;
389
+ }
390
+
391
+ /* Switch: a tall outlined track whose thumb grows and takes the track's
392
+ opposite color when on */
393
+ .iw-switch {
394
+ .iw-switch-track {
395
+ width: 3.25rem;
396
+ height: 2rem;
397
+ padding: 0 6px;
398
+ border: 2px solid var(--iw-m3-outline);
399
+ background: var(--iw-m3-surface-container-highest);
400
+ transition:
401
+ background-color var(--iw-transition-fast),
402
+ border-color var(--iw-transition-fast);
403
+ }
404
+
405
+ .iw-switch-thumb {
406
+ width: 1rem;
407
+ height: 1rem;
408
+ background: var(--iw-m3-outline);
409
+ box-shadow: none;
410
+ transition:
411
+ transform var(--iw-transition-fast),
412
+ width var(--iw-transition-fast),
413
+ height var(--iw-transition-fast);
414
+ }
415
+
416
+ .iw-switch-input:focus-visible + .iw-switch-track {
417
+ outline: 3px solid var(--iw-color-text-secondary);
418
+ outline-offset: 2px;
419
+ }
420
+
421
+ .iw-switch-input:checked + .iw-switch-track {
422
+ border-color: var(--iw-switch-active-bg);
423
+ background: var(--iw-switch-active-bg);
424
+
425
+ .iw-switch-thumb {
426
+ width: 1.5rem;
427
+ height: 1.5rem;
428
+ background: var(--iw-color-white);
429
+ transform: translateX(calc(1rem * var(--iw-dir-sign, 1)));
430
+ }
431
+ }
432
+
433
+ &.iw-switch-sm {
434
+ .iw-switch-track {
435
+ width: 2.5rem;
436
+ height: 1.5rem;
437
+ padding-inline: 4px;
438
+ }
439
+
440
+ .iw-switch-thumb {
441
+ width: 0.75rem;
442
+ height: 0.75rem;
443
+ }
444
+
445
+ .iw-switch-input:checked + .iw-switch-track .iw-switch-thumb {
446
+ width: 1.125rem;
447
+ height: 1.125rem;
448
+ transform: translateX(calc(0.8125rem * var(--iw-dir-sign, 1)));
449
+ }
450
+ }
451
+
452
+ &.iw-switch-lg {
453
+ .iw-switch-track {
454
+ width: 4rem;
455
+ height: 2.5rem;
456
+ padding-inline: 8px;
457
+ }
458
+
459
+ .iw-switch-thumb {
460
+ width: 1.25rem;
461
+ height: 1.25rem;
462
+ }
463
+
464
+ .iw-switch-input:checked + .iw-switch-track .iw-switch-thumb {
465
+ width: 1.875rem;
466
+ height: 1.875rem;
467
+ transform: translateX(calc(1.1875rem * var(--iw-dir-sign, 1)));
468
+ }
469
+ }
470
+ }
471
+
472
+ &.iw-theme-dark
473
+ .iw-switch
474
+ .iw-switch-input:checked
475
+ + .iw-switch-track
476
+ .iw-switch-thumb {
477
+ background: color-mix(
478
+ in srgb,
479
+ var(--iw-switch-active-bg) 25%,
480
+ var(--iw-color-black)
481
+ );
482
+ }
483
+
484
+ /* Tabs: primary tabs, with a rounded indicator as wide as the label */
485
+ .iw-tabs-list {
486
+ gap: 0;
487
+ }
488
+
489
+ .iw-tab {
490
+ position: relative;
491
+ min-height: 48px;
492
+ padding: 0 16px;
493
+ justify-content: center;
494
+ font-size: 0.875rem;
495
+ color: var(--iw-color-text-secondary);
496
+ border-bottom: 0 none;
497
+
498
+ &:hover {
499
+ background-color: var(--iw-color-surface-hover);
500
+ }
501
+ }
502
+
503
+ .iw-tab.iw-tab-selected {
504
+ color: var(--iw-color-primary);
505
+
506
+ &::after {
507
+ content: "";
508
+ position: absolute;
509
+ inset-inline: 16px;
510
+ bottom: 0;
511
+ height: 3px;
512
+ border-radius: 3px 3px 0 0;
513
+ background: var(--iw-color-primary);
514
+ }
515
+ }
516
+
517
+ /* Chips: outlined, with small rounded corners, and filled with the
518
+ secondary container when selected */
519
+ .iw-chip {
520
+ min-height: 2rem;
521
+ padding-inline: 16px;
522
+ border: 1px solid var(--iw-color-border);
523
+ border-radius: var(--iw-radius-md);
524
+ font-size: 0.875rem;
525
+ font-weight: var(--iw-font-weight-medium);
526
+ letter-spacing: 0.00714em;
527
+ color: var(--iw-color-text-secondary);
528
+
529
+ &.iw-chip-sm {
530
+ min-height: 1.5rem;
531
+ padding-inline: 8px;
532
+ font-size: 0.75rem;
533
+ }
534
+
535
+ &.iw-chip-primary,
536
+ &.iw-chip-secondary,
537
+ &.iw-chip-success,
538
+ &.iw-chip-warning,
539
+ &.iw-chip-error,
540
+ &.iw-chip-info {
541
+ border-color: transparent;
542
+ color: var(--iw-color-text);
543
+ }
544
+
545
+ &.iw-chip-selected {
546
+ border-color: transparent;
547
+ background: var(--iw-m3-secondary-container);
548
+ color: var(--iw-m3-on-secondary-container);
549
+ }
550
+
551
+ &.iw-chip-shape-square {
552
+ border-radius: var(--iw-radius-none);
553
+ }
554
+ }
555
+
556
+ .iw-badge {
557
+ font-weight: var(--iw-font-weight-medium);
558
+ }
559
+
560
+ /* Cards: elevated, with no rules between their parts. A sunk card is a
561
+ filled one */
562
+ .iw-card-header,
563
+ .iw-card-footer {
564
+ border: 0 none;
565
+ }
566
+
567
+ .iw-card-footer {
568
+ background-color: transparent;
569
+ }
570
+
571
+ .iw-card.iw-card-sunk {
572
+ background-color: var(--iw-m3-surface-container-highest);
573
+ }
574
+
575
+ .iw-card-title {
576
+ font-size: 1.375rem;
577
+ font-weight: var(--iw-font-weight-normal);
578
+ line-height: 1.75rem;
579
+ }
580
+
581
+ .iw-card-subtitle {
582
+ font-size: 0.875rem;
583
+ color: var(--iw-color-text-secondary);
584
+ }
585
+
586
+ /* Alerts: Material 3 has none, so they are tonal containers of their
587
+ color, with rounded corners and no border */
588
+ .iw-alert {
589
+ padding: 12px 16px;
590
+ font-size: 0.875rem;
591
+ line-height: 1.25rem;
592
+ border-color: var(--iw-color-border);
593
+
594
+ .iw-alert-title {
595
+ font-size: 1rem;
596
+ font-weight: var(--iw-font-weight-medium);
597
+ line-height: 1.5rem;
598
+ }
599
+
600
+ .iw-alert-description {
601
+ color: inherit;
602
+ }
603
+ }
604
+
605
+ .iw-alert-filled,
606
+ .iw-alert-outlined {
607
+ color: color-mix(in srgb, var(--iw-alert-color) 45%, var(--iw-color-black));
608
+ }
609
+
610
+ .iw-alert-filled {
611
+ border-color: transparent;
612
+ background: color-mix(
613
+ in srgb,
614
+ var(--iw-alert-color) 14%,
615
+ var(--iw-color-white)
616
+ );
617
+ }
618
+
619
+ .iw-alert-outlined {
620
+ border-color: var(--iw-alert-color);
621
+ }
622
+
623
+ &.iw-theme-dark {
624
+ .iw-alert-filled,
625
+ .iw-alert-outlined {
626
+ color: color-mix(
627
+ in srgb,
628
+ var(--iw-alert-color) 70%,
629
+ var(--iw-color-white)
630
+ );
631
+ }
632
+
633
+ .iw-alert-filled {
634
+ background: color-mix(
635
+ in srgb,
636
+ var(--iw-alert-color) 22%,
637
+ var(--iw-color-bg)
638
+ );
639
+ }
640
+ }
641
+
642
+ /* Tables: Material 3 has none either, so plain rows ruled by the outline
643
+ variant */
644
+ .iw-table {
645
+ border: 0 none;
646
+ background: transparent;
647
+ font-size: 0.875rem;
648
+ line-height: 1.25rem;
649
+ }
650
+
651
+ .iw-table-header-cell,
652
+ .iw-table-cell {
653
+ padding: 14px 16px;
654
+ }
655
+
656
+ .iw-table-header-cell {
657
+ font-weight: var(--iw-font-weight-medium);
658
+ color: var(--iw-color-text-secondary);
659
+ }
660
+
661
+ .iw-table.iw-table-striped .iw-table-row-even {
662
+ background: var(--iw-m3-surface-container);
663
+ }
664
+
665
+ /* Dialogs: a container with extra large corners */
666
+ .iw-dialog {
667
+ border: 0 none;
668
+ border-radius: var(--iw-radius-2xl);
669
+ background: var(--iw-m3-surface-container-high);
670
+ box-shadow: var(--iw-shadow-lg);
671
+
672
+ &::backdrop {
673
+ background: rgba(0, 0, 0, 0.32);
674
+ backdrop-filter: none;
675
+ }
676
+ }
677
+
678
+ .iw-dialog-surface {
679
+ padding: 24px;
680
+ }
681
+
682
+ .iw-dialog-title {
683
+ font-size: 1.5rem;
684
+ font-weight: var(--iw-font-weight-normal);
685
+ line-height: 2rem;
686
+ }
687
+
688
+ .iw-dialog-description {
689
+ margin-top: 16px;
690
+ font-size: 0.875rem;
691
+ line-height: 1.25rem;
692
+ color: var(--iw-color-text-secondary);
693
+ }
694
+
695
+ .iw-dialog-actions {
696
+ margin-top: 24px;
697
+ gap: 8px;
698
+ }
699
+
700
+ /* Menus, tooltips and snackbars */
701
+ .iw-menu {
702
+ padding: 8px 0;
703
+ border: 0 none;
704
+ border-radius: var(--iw-radius-sm);
705
+ background: var(--iw-m3-surface-container);
706
+ box-shadow: var(--iw-shadow-md);
707
+ }
708
+
709
+ .iw-tooltip .iw-tooltip-bubble {
710
+ border: 0 none;
711
+ border-radius: var(--iw-radius-sm);
712
+ background: var(--iw-m3-inverse-surface);
713
+ color: var(--iw-m3-inverse-on-surface);
714
+ box-shadow: none;
715
+ }
716
+
717
+ .iw-snackbar-content {
718
+ border: 0 none;
719
+ border-radius: var(--iw-radius-sm);
720
+ background: var(--iw-m3-inverse-surface);
721
+ color: var(--iw-m3-inverse-on-surface);
722
+ box-shadow: var(--iw-shadow-lg);
723
+ }
724
+
725
+ .iw-snackbar-action {
726
+ color: var(--iw-m3-inverse-primary);
727
+ }
728
+
729
+ /* App bars: top app bars, flat on the surface, which take a container
730
+ color instead of a shadow when raised */
731
+ .iw-app-bar {
732
+ border-bottom: 0 none;
733
+ }
734
+
735
+ .iw-app-bar-elevated {
736
+ box-shadow: none;
737
+ }
738
+
739
+ .iw-app-bar-elevated.iw-app-bar-color-default {
740
+ background: var(--iw-m3-surface-container);
741
+ }
742
+
743
+ .iw-app-bar-title {
744
+ font-size: 1.375rem;
745
+ font-weight: var(--iw-font-weight-normal);
746
+ line-height: 1.75rem;
747
+ }
748
+ }