@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,713 @@
1
+ /* San Francisco is the system font on Apple devices, and cannot be served to
2
+ others: Inter stands in for it there. */
3
+ @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
4
+
5
+ .iw-theme-ios-18 {
6
+ --iw-font-family-sans:
7
+ -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue",
8
+ Arial, sans-serif;
9
+ /* The theme on the page itself: the element with the theme class, usually
10
+ <body>, takes its background, text color and font. */
11
+ background-color: var(--iw-color-bg);
12
+ color: var(--iw-color-text);
13
+ font-family: var(--iw-font-family-sans);
14
+
15
+ /* ========================================
16
+ iOS 18 THEME - The flat iOS, 7 to 18
17
+ ======================================== */
18
+
19
+ /* iOS color roles the shared tokens have no name for */
20
+ --iw-ios-fill: rgba(118, 118, 128, 0.12);
21
+ --iw-ios-fill-secondary: rgba(120, 120, 128, 0.2);
22
+ --iw-ios-fill-quaternary: rgba(116, 116, 128, 0.08);
23
+ --iw-ios-gray: #8e8e93;
24
+ --iw-ios-tab-inactive: #999999;
25
+ --iw-ios-segment-selected: var(--iw-color-white);
26
+ /* Bars and menus: translucent, blurring what passes under them */
27
+ --iw-ios-bar-bg: rgba(249, 249, 249, 0.94);
28
+ --iw-ios-material: rgba(242, 242, 242, 0.8);
29
+ --iw-ios-blur: blur(20px) saturate(180%);
30
+
31
+ /* Semantic Colors: grouped content, white on grey */
32
+ --iw-color-bg: #f2f2f7;
33
+ --iw-color-bg-secondary: #f2f2f7;
34
+ --iw-color-bg-tertiary: #e5e5ea;
35
+ --iw-color-surface: var(--iw-color-white);
36
+ --iw-color-surface-hover: var(--iw-ios-fill-quaternary);
37
+ --iw-color-surface-active: #d1d1d6;
38
+
39
+ --iw-color-text: var(--iw-color-black);
40
+ --iw-color-text-secondary: rgba(60, 60, 67, 0.6);
41
+ --iw-color-text-muted: rgba(60, 60, 67, 0.6);
42
+
43
+ --iw-color-border: #c6c6c8;
44
+ --iw-color-border-focus: #007aff;
45
+
46
+ --iw-color-primary: #007aff;
47
+ --iw-color-primary-hover: color-mix(in srgb, #007aff 92%, #000000);
48
+ --iw-color-primary-active: color-mix(in srgb, #007aff 85%, #000000);
49
+ --iw-color-primary-text: var(--iw-color-white);
50
+
51
+ --iw-color-accent: #5856d6;
52
+ --iw-color-accent-hover: color-mix(in srgb, #5856d6 92%, #000000);
53
+ --iw-color-accent-active: color-mix(in srgb, #5856d6 85%, #000000);
54
+
55
+ --iw-color-success: #34c759;
56
+ --iw-color-warning: #ff9500;
57
+ --iw-color-error: #ff3b30;
58
+ --iw-color-info: #32ade6;
59
+
60
+ --iw-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
61
+ --iw-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
62
+ --iw-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
63
+ --iw-shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.18);
64
+
65
+ --iw-radius-sm: 6px;
66
+ --iw-radius-md: 8px;
67
+ --iw-radius-lg: 10px;
68
+ --iw-radius-xl: 14px;
69
+ --iw-radius-2xl: 20px;
70
+
71
+ /* The Dynamic Type scale at its default size: footnote, subheadline,
72
+ body, title 3, title 2, title 1 and large title */
73
+ --iw-font-size-xs: 0.8125rem;
74
+ --iw-font-size-sm: 0.9375rem;
75
+ --iw-font-size-base: 1.0625rem;
76
+ --iw-font-size-lg: 1.25rem;
77
+ --iw-font-size-xl: 1.375rem;
78
+ --iw-font-size-2xl: 1.75rem;
79
+ --iw-font-size-3xl: 2.125rem;
80
+
81
+ /* ========================================
82
+ COMPONENT TOKENS
83
+ ======================================== */
84
+
85
+ /* Button: filled */
86
+ --iw-button-bg: var(--iw-color-primary);
87
+ --iw-button-bg-hover: var(--iw-color-primary-hover);
88
+ --iw-button-bg-active: var(--iw-color-primary);
89
+ --iw-button-text: var(--iw-color-primary-text);
90
+ --iw-button-border: transparent;
91
+ --iw-button-radius: var(--iw-radius-md);
92
+ --iw-button-shadow: none;
93
+ --iw-button-shadow-hover: none;
94
+ --iw-button-shadow-active: none;
95
+
96
+ /* A button's default color is a gray button, with a tinted label */
97
+ --iw-button-default-color: var(--iw-color-primary);
98
+ --iw-button-default-bg: var(--iw-ios-fill);
99
+ --iw-button-default-bg-hover: var(--iw-ios-fill-secondary);
100
+ --iw-button-default-bg-active: var(--iw-ios-fill);
101
+ --iw-button-default-border: transparent;
102
+ --iw-button-default-text: var(--iw-color-primary);
103
+
104
+ /* Input: a filled, borderless field */
105
+ --iw-input-bg: var(--iw-ios-fill);
106
+ --iw-input-bg-hover: var(--iw-ios-fill);
107
+ --iw-input-bg-focus: var(--iw-ios-fill);
108
+ --iw-input-text: var(--iw-color-text);
109
+ --iw-input-text-placeholder: rgba(60, 60, 67, 0.3);
110
+ --iw-input-border: transparent;
111
+ --iw-input-border-hover: transparent;
112
+ --iw-input-border-focus: transparent;
113
+ --iw-input-radius: var(--iw-radius-lg);
114
+ --iw-input-shadow-focus: 0 0 0 3px
115
+ color-mix(in srgb, var(--iw-color-primary) 35%, transparent);
116
+
117
+ /* App bar: a navigation bar */
118
+ --iw-app-bar-bg: var(--iw-ios-bar-bg);
119
+
120
+ /* Drawer: a sidebar */
121
+ --iw-drawer-bg: var(--iw-color-bg);
122
+
123
+ /* Card: an inset grouped section */
124
+ --iw-card-bg: var(--iw-color-surface);
125
+ --iw-card-border: transparent;
126
+ --iw-card-radius: var(--iw-radius-lg);
127
+ --iw-card-shadow: none;
128
+ --iw-card-shadow-hover: var(--iw-shadow-md);
129
+
130
+ /* Badge */
131
+ --iw-badge-radius: var(--iw-radius-full);
132
+
133
+ /* Chip: a gray capsule */
134
+ --iw-chip-bg: var(--iw-ios-fill);
135
+
136
+ /* List */
137
+ --iw-list-item: transparent;
138
+ --iw-list-item-active: var(--iw-color-surface-active);
139
+ --iw-list-item-selected: color-mix(
140
+ in srgb,
141
+ var(--iw-color-primary) 12%,
142
+ transparent
143
+ );
144
+
145
+ /* Progress: a thin bar */
146
+ --iw-progress-height: 4px;
147
+ --iw-progress-radius: var(--iw-radius-full);
148
+ --iw-progress-track-color: var(--iw-ios-fill-secondary);
149
+
150
+ /* Alert */
151
+ --iw-alert-radius: var(--iw-radius-lg);
152
+ --iw-alert-shadow: none;
153
+ color-scheme: light;
154
+ }
155
+
156
+ /* Dark variant */
157
+ .iw-theme-ios-18.iw-theme-dark {
158
+ color-scheme: dark;
159
+
160
+ --iw-ios-fill: rgba(118, 118, 128, 0.24);
161
+ --iw-ios-fill-secondary: rgba(120, 120, 128, 0.36);
162
+ --iw-ios-fill-quaternary: rgba(116, 116, 128, 0.18);
163
+ --iw-ios-tab-inactive: #757575;
164
+ --iw-ios-segment-selected: #636366;
165
+ --iw-ios-bar-bg: rgba(29, 29, 29, 0.94);
166
+ --iw-ios-material: rgba(37, 37, 37, 0.8);
167
+
168
+ --iw-color-bg: var(--iw-color-black);
169
+ --iw-color-bg-secondary: #1c1c1e;
170
+ --iw-color-bg-tertiary: #2c2c2e;
171
+ --iw-color-surface: #1c1c1e;
172
+ --iw-color-surface-active: #3a3a3c;
173
+ --iw-color-text: var(--iw-color-white);
174
+ --iw-color-text-secondary: rgba(235, 235, 245, 0.6);
175
+ --iw-color-text-muted: rgba(235, 235, 245, 0.6);
176
+ --iw-color-border: #38383a;
177
+
178
+ --iw-color-primary: #0a84ff;
179
+ --iw-color-primary-hover: color-mix(in srgb, #0a84ff 88%, #ffffff);
180
+ --iw-color-primary-active: color-mix(in srgb, #0a84ff 80%, #ffffff);
181
+ --iw-color-border-focus: #0a84ff;
182
+
183
+ --iw-color-accent: #5e5ce6;
184
+ --iw-color-accent-hover: color-mix(in srgb, #5e5ce6 88%, #ffffff);
185
+ --iw-color-accent-active: color-mix(in srgb, #5e5ce6 80%, #ffffff);
186
+
187
+ --iw-color-success: #30d158;
188
+ --iw-color-warning: #ff9f0a;
189
+ --iw-color-error: #ff453a;
190
+ --iw-color-info: #64d2ff;
191
+
192
+ --iw-input-text-placeholder: rgba(235, 235, 245, 0.3);
193
+
194
+ --iw-drawer-bg: #1c1c1e;
195
+ }
196
+
197
+ .iw-theme-ios-18 {
198
+ /* Buttons: filled, gray, tinted and plain. Pressing one dims it */
199
+ .iw-button {
200
+ padding: 7px 14px;
201
+ font-size: var(--iw-font-size-base);
202
+ line-height: 1.375rem;
203
+
204
+ &.iw-button-xs {
205
+ padding: 2px 8px;
206
+ font-size: var(--iw-font-size-xs);
207
+ line-height: 1.125rem;
208
+ border-radius: var(--iw-radius-sm);
209
+ }
210
+
211
+ &.iw-button-sm {
212
+ padding: 4px 10px;
213
+ font-size: var(--iw-font-size-sm);
214
+ line-height: 1.25rem;
215
+ border-radius: var(--iw-radius-sm);
216
+ }
217
+
218
+ &.iw-button-lg {
219
+ padding: 14px 20px;
220
+ font-weight: var(--iw-font-weight-semibold);
221
+ border-radius: var(--iw-radius-xl);
222
+ }
223
+
224
+ &.iw-button-shape-pill,
225
+ &.iw-button-shape-round {
226
+ border-radius: var(--iw-radius-full);
227
+ }
228
+
229
+ &.iw-button-secondary {
230
+ --iw-button-color: var(--iw-ios-gray);
231
+ --iw-button-bg: var(--iw-ios-gray);
232
+ --iw-button-bg-hover: color-mix(in srgb, var(--iw-ios-gray) 90%, #000);
233
+ --iw-button-border: transparent;
234
+ }
235
+
236
+ &.iw-button-secondary,
237
+ &.iw-button-success,
238
+ &.iw-button-warning,
239
+ &.iw-button-error,
240
+ &.iw-button-info {
241
+ --iw-button-text: var(--iw-color-white);
242
+ }
243
+
244
+ &.iw-button-primary,
245
+ &.iw-button-secondary,
246
+ &.iw-button-success,
247
+ &.iw-button-warning,
248
+ &.iw-button-error,
249
+ &.iw-button-info {
250
+ --iw-button-border: transparent;
251
+ --iw-button-bg-hover: color-mix(in srgb, var(--iw-button-bg) 90%, #000);
252
+ --iw-button-bg-active: var(--iw-button-bg);
253
+ }
254
+
255
+ &:active:not(:disabled),
256
+ &.iw-button-pressed {
257
+ opacity: 0.7;
258
+ }
259
+
260
+ &:focus-visible {
261
+ outline: 3px solid
262
+ color-mix(in srgb, var(--iw-color-primary) 50%, transparent);
263
+ outline-offset: 1px;
264
+ }
265
+
266
+ /* Outlined buttons are tinted: iOS draws no outlines */
267
+ &.iw-button-outline {
268
+ border-color: transparent;
269
+ background-color: color-mix(
270
+ in srgb,
271
+ var(--iw-button-color) 15%,
272
+ transparent
273
+ );
274
+ color: var(--iw-button-color);
275
+
276
+ &:hover:not(:disabled),
277
+ &:active:not(:disabled),
278
+ &.iw-button-pressed {
279
+ color: var(--iw-button-color);
280
+ background-color: color-mix(
281
+ in srgb,
282
+ var(--iw-button-color) 22%,
283
+ transparent
284
+ );
285
+ }
286
+ }
287
+
288
+ /* Ghost buttons are plain */
289
+ &.iw-button-ghost {
290
+ &:hover:not(:disabled),
291
+ &:active:not(:disabled),
292
+ &.iw-button-pressed {
293
+ color: var(--iw-button-color);
294
+ background-color: var(--iw-ios-fill-quaternary);
295
+ }
296
+ }
297
+
298
+ &:disabled,
299
+ &.iw-button-disabled {
300
+ opacity: 1;
301
+ color: color-mix(in srgb, var(--iw-color-text) 30%, transparent);
302
+ background-color: var(--iw-ios-fill);
303
+
304
+ &.iw-button-ghost {
305
+ background-color: transparent;
306
+ }
307
+ }
308
+ }
309
+
310
+ /* Form fields: labels and notes in the footnote style around a filled
311
+ field */
312
+ .iw-input,
313
+ .iw-select,
314
+ .iw-textarea-field {
315
+ .iw-input-label,
316
+ .iw-select-label,
317
+ .iw-textarea-label {
318
+ font-size: var(--iw-font-size-sm);
319
+ color: var(--iw-color-text-secondary);
320
+ }
321
+
322
+ .iw-input-hint,
323
+ .iw-input-error-message,
324
+ .iw-select-hint,
325
+ .iw-select-error-message {
326
+ font-size: var(--iw-font-size-xs);
327
+ }
328
+
329
+ .iw-input-frame:has(.iw-input-control-error):focus-within,
330
+ .iw-select-frame:has(.iw-select-control-error):focus-within {
331
+ box-shadow: 0 0 0 3px
332
+ color-mix(in srgb, var(--iw-color-error) 35%, transparent);
333
+ }
334
+ }
335
+
336
+ /* Switch: the 51 by 31 point switch, green when on */
337
+ .iw-switch:not(
338
+ .iw-switch-secondary,
339
+ .iw-switch-success,
340
+ .iw-switch-warning,
341
+ .iw-switch-error,
342
+ .iw-switch-info
343
+ ) {
344
+ --iw-switch-active-bg: var(--iw-color-success);
345
+ }
346
+
347
+ .iw-switch {
348
+ .iw-switch-track {
349
+ width: 3.1875rem;
350
+ height: 1.9375rem;
351
+ padding: 2px;
352
+ background: var(--iw-ios-fill-secondary);
353
+ transition: background-color var(--iw-transition-normal);
354
+ }
355
+
356
+ .iw-switch-thumb {
357
+ width: 1.6875rem;
358
+ height: 1.6875rem;
359
+ background: var(--iw-color-white);
360
+ box-shadow:
361
+ 0 3px 8px rgba(0, 0, 0, 0.15),
362
+ 0 3px 1px rgba(0, 0, 0, 0.06);
363
+ transition: transform var(--iw-transition-normal);
364
+ }
365
+
366
+ .iw-switch-input:focus-visible + .iw-switch-track {
367
+ outline: 3px solid
368
+ color-mix(in srgb, var(--iw-color-primary) 50%, transparent);
369
+ outline-offset: 1px;
370
+ }
371
+
372
+ .iw-switch-input:checked + .iw-switch-track .iw-switch-thumb {
373
+ transform: translateX(calc(1.25rem * var(--iw-dir-sign, 1)));
374
+ }
375
+
376
+ &.iw-switch-sm {
377
+ .iw-switch-track {
378
+ width: 2.5625rem;
379
+ height: 1.5625rem;
380
+ }
381
+
382
+ .iw-switch-thumb {
383
+ width: 1.3125rem;
384
+ height: 1.3125rem;
385
+ }
386
+
387
+ .iw-switch-input:checked + .iw-switch-track .iw-switch-thumb {
388
+ transform: translateX(calc(1rem * var(--iw-dir-sign, 1)));
389
+ }
390
+ }
391
+
392
+ &.iw-switch-lg {
393
+ .iw-switch-track {
394
+ width: 3.8125rem;
395
+ height: 2.3125rem;
396
+ }
397
+
398
+ .iw-switch-thumb {
399
+ width: 2.0625rem;
400
+ height: 2.0625rem;
401
+ }
402
+
403
+ .iw-switch-input:checked + .iw-switch-track .iw-switch-thumb {
404
+ transform: translateX(calc(1.5rem * var(--iw-dir-sign, 1)));
405
+ }
406
+ }
407
+ }
408
+
409
+ /* Tabs: a segmented control, its segments equally wide */
410
+ .iw-tabs-list {
411
+ display: inline-grid;
412
+ grid-auto-flow: column;
413
+ grid-auto-columns: 1fr;
414
+ gap: 0;
415
+ padding: 2px;
416
+ border: 0 none;
417
+ border-radius: 9px;
418
+ background: var(--iw-ios-fill);
419
+
420
+ &.iw-tabs-full-width {
421
+ display: grid;
422
+ }
423
+
424
+ &.iw-tabs-centered {
425
+ display: grid;
426
+ width: fit-content;
427
+ margin-inline: auto;
428
+ }
429
+ }
430
+
431
+ .iw-tab {
432
+ justify-content: center;
433
+ padding: 5px 12px;
434
+ font-size: var(--iw-font-size-xs);
435
+ font-weight: var(--iw-font-weight-medium);
436
+ line-height: 1.125rem;
437
+ color: var(--iw-color-text);
438
+ border: 0 none;
439
+ border-radius: 7px;
440
+ transition: background-color var(--iw-transition-normal);
441
+ }
442
+
443
+ .iw-tab.iw-tab-selected {
444
+ color: var(--iw-color-text);
445
+ font-weight: var(--iw-font-weight-semibold);
446
+ background: var(--iw-ios-segment-selected);
447
+ box-shadow:
448
+ 0 3px 8px rgba(0, 0, 0, 0.12),
449
+ 0 3px 1px rgba(0, 0, 0, 0.04);
450
+ }
451
+
452
+ /* Chips: capsules, filled with the tint when selected */
453
+ .iw-chip {
454
+ padding: 5px 12px;
455
+ font-size: var(--iw-font-size-sm);
456
+
457
+ &.iw-chip-selectable {
458
+ border-color: transparent;
459
+ }
460
+
461
+ &.iw-chip-selected {
462
+ background: var(--iw-color-primary);
463
+ color: var(--iw-color-white);
464
+ }
465
+ }
466
+
467
+ .iw-badge {
468
+ font-weight: var(--iw-font-weight-semibold);
469
+ }
470
+
471
+ /* Cards: inset grouped sections, the footer ruled off below */
472
+ .iw-card-header {
473
+ border: 0 none;
474
+ }
475
+
476
+ .iw-card-footer {
477
+ background-color: transparent;
478
+ }
479
+
480
+ .iw-card-title {
481
+ font-size: var(--iw-font-size-base);
482
+ font-weight: var(--iw-font-weight-semibold);
483
+ line-height: 1.375rem;
484
+ }
485
+
486
+ .iw-card-subtitle {
487
+ font-size: var(--iw-font-size-sm);
488
+ }
489
+
490
+ /* Alerts: tinted, borderless boxes */
491
+ .iw-alert {
492
+ padding: 12px 16px;
493
+
494
+ &:not(.iw-alert-outlined) {
495
+ border-color: transparent;
496
+ }
497
+
498
+ .iw-alert-title {
499
+ font-weight: var(--iw-font-weight-semibold);
500
+ }
501
+
502
+ .iw-alert-description {
503
+ font-size: var(--iw-font-size-sm);
504
+ color: var(--iw-color-text);
505
+ }
506
+ }
507
+
508
+ .iw-alert-filled {
509
+ border-color: transparent;
510
+ color: var(--iw-color-text);
511
+ background: color-mix(
512
+ in srgb,
513
+ var(--iw-alert-color) 15%,
514
+ var(--iw-color-surface)
515
+ );
516
+
517
+ .iw-alert-title {
518
+ color: var(--iw-alert-color);
519
+ }
520
+ }
521
+
522
+ /* Tables: a plain list, with headers in the classic section style */
523
+ .iw-table {
524
+ border: 0 none;
525
+ }
526
+
527
+ .iw-table-header-cell,
528
+ .iw-table-cell {
529
+ padding: 11px 16px;
530
+ }
531
+
532
+ .iw-table-header-cell {
533
+ padding-block: 6px;
534
+ font-size: var(--iw-font-size-xs);
535
+ font-weight: var(--iw-font-weight-normal);
536
+ text-transform: uppercase;
537
+ color: var(--iw-color-text-secondary);
538
+ }
539
+
540
+ /* Dialogs: alerts, centered on a translucent material, with their actions
541
+ as a row of text buttons under a hairline */
542
+ .iw-dialog {
543
+ border: 0 none;
544
+ border-radius: var(--iw-radius-xl);
545
+ background: var(--iw-ios-material);
546
+ backdrop-filter: var(--iw-ios-blur);
547
+ box-shadow: none;
548
+
549
+ &::backdrop {
550
+ background: rgba(0, 0, 0, 0.2);
551
+ backdrop-filter: none;
552
+ }
553
+ }
554
+
555
+ &.iw-theme-dark .iw-dialog::backdrop {
556
+ background: rgba(0, 0, 0, 0.48);
557
+ }
558
+
559
+ .iw-dialog-surface {
560
+ padding: 0;
561
+ }
562
+
563
+ .iw-dialog-header {
564
+ padding: 19px 16px 0;
565
+ }
566
+
567
+ .iw-dialog-title {
568
+ flex: 1;
569
+ text-align: center;
570
+ font-size: var(--iw-font-size-base);
571
+ font-weight: var(--iw-font-weight-semibold);
572
+ }
573
+
574
+ .iw-dialog-description {
575
+ margin: 2px 0 0;
576
+ padding: 0 16px;
577
+ text-align: center;
578
+ font-size: var(--iw-font-size-xs);
579
+ color: var(--iw-color-text);
580
+ }
581
+
582
+ .iw-dialog-body {
583
+ padding: 0 16px;
584
+ }
585
+
586
+ .iw-dialog-actions {
587
+ flex-wrap: nowrap;
588
+ gap: 0;
589
+ margin-top: 19px;
590
+ border-top: 1px solid var(--iw-color-border);
591
+ }
592
+
593
+ .iw-dialog .iw-dialog-actions .iw-button {
594
+ flex: 1;
595
+ padding: 11px 8px;
596
+ border: 0 none;
597
+ border-radius: 0;
598
+ background-color: transparent;
599
+ color: var(--iw-button-color, var(--iw-color-primary));
600
+ font-size: var(--iw-font-size-base);
601
+
602
+ &:hover:not(:disabled),
603
+ &:active:not(:disabled),
604
+ &.iw-button-pressed {
605
+ opacity: 1;
606
+ color: var(--iw-button-color, var(--iw-color-primary));
607
+ background-color: var(--iw-ios-fill-quaternary);
608
+ }
609
+
610
+ /* The preferred action is the filled one, and stands out in bold */
611
+ &:not(.iw-button-outline, .iw-button-ghost) {
612
+ font-weight: var(--iw-font-weight-semibold);
613
+ }
614
+
615
+ & + .iw-button {
616
+ border-inline-start: 1px solid var(--iw-color-border);
617
+ }
618
+ }
619
+
620
+ /* Menus and snackbars: on the translucent material */
621
+ .iw-menu {
622
+ min-width: 15rem;
623
+ padding: 0;
624
+ border: 0 none;
625
+ border-radius: 13px;
626
+ background: var(--iw-ios-material);
627
+ backdrop-filter: var(--iw-ios-blur);
628
+ box-shadow: var(--iw-shadow-lg);
629
+ overflow: hidden;
630
+ }
631
+
632
+ .iw-menu-item {
633
+ padding: 11px 16px;
634
+ border-radius: 0;
635
+ font-size: var(--iw-font-size-base);
636
+
637
+ &:not(:last-child) {
638
+ border-bottom: 1px solid var(--iw-color-border);
639
+ }
640
+ }
641
+
642
+ .iw-menu-item:hover:enabled,
643
+ .iw-menu-item-selected {
644
+ background: var(--iw-ios-fill);
645
+ }
646
+
647
+ .iw-menu-divider {
648
+ height: 8px;
649
+ margin: 0;
650
+ background: var(--iw-ios-fill);
651
+ }
652
+
653
+ .iw-snackbar-content {
654
+ border: 0 none;
655
+ border-radius: var(--iw-radius-xl);
656
+ background: var(--iw-ios-material);
657
+ backdrop-filter: var(--iw-ios-blur);
658
+ color: var(--iw-color-text);
659
+ }
660
+
661
+ /* App bars: translucent navigation bars over a hairline. A prominent one
662
+ has a large title */
663
+ .iw-app-bar {
664
+ backdrop-filter: var(--iw-ios-blur);
665
+ }
666
+
667
+ .iw-app-bar-elevated {
668
+ box-shadow: none;
669
+ }
670
+
671
+ .iw-app-bar-title {
672
+ font-size: var(--iw-font-size-base);
673
+ font-weight: var(--iw-font-weight-semibold);
674
+ }
675
+
676
+ .iw-app-bar-subtitle {
677
+ font-size: var(--iw-font-size-xs);
678
+ }
679
+
680
+ .iw-app-bar-prominent .iw-app-bar-title {
681
+ font-size: var(--iw-font-size-3xl);
682
+ font-weight: var(--iw-font-weight-bold);
683
+ line-height: 2.5625rem;
684
+ }
685
+
686
+ /* Bottom navigation: a tab bar */
687
+ .iw-bottom-navigation {
688
+ gap: 0;
689
+ padding: 0;
690
+ background: var(--iw-ios-bar-bg);
691
+ backdrop-filter: var(--iw-ios-blur);
692
+ }
693
+
694
+ .iw-bottom-navigation-action {
695
+ gap: 2px;
696
+ padding: 7px 2px 3px;
697
+ color: var(--iw-ios-tab-inactive);
698
+ }
699
+
700
+ .iw-bottom-navigation-action-selected {
701
+ color: var(--iw-color-primary);
702
+ }
703
+
704
+ .iw-bottom-navigation-icon {
705
+ font-size: 1.5rem;
706
+ line-height: 1;
707
+ }
708
+
709
+ .iw-bottom-navigation-label {
710
+ font-size: 0.625rem;
711
+ font-weight: var(--iw-font-weight-medium);
712
+ }
713
+ }