@plexui/styles 0.16.7 → 0.17.1
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.
- package/dist/es/components/Accordion/Accordion.module.css +74 -12
- package/dist/es/components/Alert/Alert.module.css +196 -0
- package/dist/es/components/Breadcrumb/Breadcrumb.module.css +32 -1
- package/dist/es/components/Button/Button.module.css +483 -5
- package/dist/es/components/Button/NavigationButton.module.css +195 -0
- package/dist/es/components/Checkbox/Checkbox.module.css +246 -0
- package/dist/es/components/CodeBlock/CodeBlock.module.css +15 -1
- package/dist/es/components/DatePicker/Calendar.module.css +216 -0
- package/dist/es/components/DatePicker/CalendarNavigationIcon.module.css +19 -0
- package/dist/es/components/DateRangePicker/Calendar.module.css +200 -0
- package/dist/es/components/DateRangePicker/Trigger.module.css +15 -1
- package/dist/es/components/Dialog/Dialog.module.css +456 -0
- package/dist/es/components/Field/Field.module.css +713 -0
- package/dist/es/components/FieldGroup/FieldGroup.module.css +272 -0
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +49 -0
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +81 -0
- package/dist/es/components/Input/Input.module.css +184 -0
- package/dist/es/components/InputGroup/InputGroup.module.css +17 -0
- package/dist/es/components/MarkdownEditor/MarkdownEditor.module.css +60 -0
- package/dist/es/components/Menu/Menu.module.css +244 -0
- package/dist/es/components/NavigationRow/NavigationRow.module.css +82 -0
- package/dist/es/components/Page/Page.module.css +278 -0
- package/dist/es/components/PageControl/PageControl.module.css +35 -0
- package/dist/es/components/Popover/Popover.module.css +20 -0
- package/dist/es/components/RadioGroup/RadioGroup.module.css +151 -0
- package/dist/es/components/Select/Select.module.css +315 -0
- package/dist/es/components/SelectControl/SelectControl.module.css +104 -0
- package/dist/es/components/Sidebar/Sidebar.module.css +210 -4
- package/dist/es/components/Skeleton/Skeleton.module.css +50 -0
- package/dist/es/components/Slider/Slider.module.css +12 -1
- package/dist/es/components/Switch/Switch.module.css +143 -0
- package/dist/es/components/TabBar/TabBar.module.css +354 -0
- package/dist/es/components/Tabs/Tabs.module.css +162 -0
- package/dist/es/components/Tip/Tip.module.css +225 -0
- package/dist/es/components/Toast/Toast.module.css +207 -0
- package/dist/es/components/Toolbar/Toolbar.module.css +1542 -0
- package/dist/es/components/Tooltip/Tooltip.module.css +44 -0
- package/dist/es/styles/android.css +882 -0
- package/dist/es/styles/touch.css +672 -0
- package/dist/es/styles/variables-components.css +4 -0
- package/dist/es/styles/variables-semantic.css +28 -0
- package/dist/es/tokens/resolve.js +2 -0
- package/dist/es/tokens/resolve.js.map +1 -1
- package/dist/es/tokens/tokens.generated.js +64 -10
- package/dist/es/tokens/tokens.generated.js.map +1 -1
- package/dist/types/tokens/resolve.d.ts +2 -0
- package/package.json +1 -1
package/dist/es/styles/touch.css
CHANGED
|
@@ -155,6 +155,678 @@
|
|
|
155
155
|
--dialog-alert-background: var(--alpha-12);
|
|
156
156
|
--dialog-alert-fill: var(--alpha-12);
|
|
157
157
|
}
|
|
158
|
+
@media (max-width: 767px) {
|
|
159
|
+
:root[data-platform="android"] {
|
|
160
|
+
--toolbar-bottom-padding-bottom: calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) + 13px);
|
|
161
|
+
--toolbar-bottom-gutter: 16px;
|
|
162
|
+
--page-gutter: 12px;
|
|
163
|
+
}
|
|
164
|
+
:root[data-platform="android"] {
|
|
165
|
+
--android-bar-glass: color-mix(in srgb, var(--android-card) 80%, transparent);
|
|
166
|
+
--mobile-glass-background: var(--android-bar-glass);
|
|
167
|
+
--mobile-glass-background-hover: var(--android-bar-glass);
|
|
168
|
+
--mobile-glass-background-active: color-mix(in srgb, var(--android-bar-glass), var(--color-text) 7%);
|
|
169
|
+
--mobile-glass-shadow: var(--android-bar-shadow);
|
|
170
|
+
--mobile-glass-shadow-raised: var(--android-bar-shadow);
|
|
171
|
+
--mobile-glass-backdrop-filter: blur(7px);
|
|
172
|
+
--android-bar-disabled: color-mix(in srgb, var(--color-text) 38%, transparent);
|
|
173
|
+
--android-menu-band: color-mix(in srgb, var(--color-text) 6%, transparent);
|
|
174
|
+
--android-segment-thumb: color-mix(in srgb, var(--color-background-accent-solid) 12%, var(--android-card));
|
|
175
|
+
--context-menu-dimming-background: var(--android-popup-dim);
|
|
176
|
+
--context-menu-dimming-backdrop-filter: none;
|
|
177
|
+
--context-menu-preview-shadow: none;
|
|
178
|
+
}
|
|
179
|
+
:root[data-platform="android"], :root[data-platform="android"]:where([data-theme="light"]) {
|
|
180
|
+
--android-bar-shadow: 0 2.33px 8px rgb(51 51 51 / 8.6%), inset 0 0.55px 0 #fff, inset 0 -0.55px 0 #fff;
|
|
181
|
+
--android-tabs-glass: rgb(255 255 255 / 76%);
|
|
182
|
+
--android-tabs-shadow: 0 0.85px 2.67px rgb(0 0 0 / 12.5%), inset 0 0.4px 0 rgb(0 0 0 / 6.7%), inset 0 -0.4px 0 rgb(0 0 0 / 12.5%);
|
|
183
|
+
--android-accent-shadow: 0 2px 8px rgb(0 0 0 / 6%);
|
|
184
|
+
--android-card: #fff;
|
|
185
|
+
--android-dialog-surface: #fff;
|
|
186
|
+
--android-toast-fill: rgb(39 47 56 / 92%);
|
|
187
|
+
--android-toast-action: color-mix(in srgb, #fff 50%, var(--color-background-accent-solid));
|
|
188
|
+
--android-skeleton-fill: color-mix(in srgb, var(--color-text) 6%, transparent);
|
|
189
|
+
--android-popup-gap: #f5f5f5;
|
|
190
|
+
--android-popup-shadow: 0 3px 8px rgb(0 0 0 / 14%), 0 0 1px rgb(0 0 0 / 12%);
|
|
191
|
+
--android-popup-dim: rgb(0 0 0 / 40%);
|
|
192
|
+
--android-dot: #bbb;
|
|
193
|
+
--android-tab-selected: var(--color-text-accent);
|
|
194
|
+
--android-tooltip-fill: #eee;
|
|
195
|
+
--android-tooltip-text: #474747;
|
|
196
|
+
--android-tooltip-inverse: #303030;
|
|
197
|
+
--android-tooltip-inverse-text: #f1f1f1;
|
|
198
|
+
}
|
|
199
|
+
:root[data-platform="android"]:where([data-theme="dark"]) {
|
|
200
|
+
--android-bar-shadow: 0 2.33px 8px transparent, inset 0 0.55px 0 rgb(255 255 255 / 12.5%), inset 0 -0.55px 0 rgb(255 255 255 / 7.8%);
|
|
201
|
+
--android-tabs-glass: color-mix(in srgb, var(--gray-300) 76%, transparent);
|
|
202
|
+
--android-tabs-shadow: 0 0.85px 2.67px rgb(255 255 255 / 1.6%), inset 0 0.4px 0 rgb(255 255 255 / 2.4%), inset 0 -0.4px 0 rgb(255 255 255 / 6.7%);
|
|
203
|
+
--android-accent-shadow: 0 2px 8px rgb(0 0 0 / 30%);
|
|
204
|
+
--android-card: var(--gray-300);
|
|
205
|
+
--android-dialog-surface: var(--gray-200);
|
|
206
|
+
--android-toast-fill: rgb(24 24 24 / 96%);
|
|
207
|
+
--android-toast-action: color-mix(in srgb, #fff 60%, var(--color-background-accent-solid));
|
|
208
|
+
--android-skeleton-fill: color-mix(in srgb, var(--color-text) 5%, transparent);
|
|
209
|
+
--android-popup-gap: #262626;
|
|
210
|
+
--android-popup-shadow: 0 3px 8px rgb(0 0 0 / 40%), 0 0 1px transparent;
|
|
211
|
+
--android-popup-dim: rgb(0 0 0 / 20%);
|
|
212
|
+
--android-dot: #555;
|
|
213
|
+
--android-tab-selected: var(--color-background-accent-solid);
|
|
214
|
+
--android-tooltip-fill: #1f1f1f;
|
|
215
|
+
--android-tooltip-text: #c6c6c6;
|
|
216
|
+
--android-tooltip-inverse: #e2e2e2;
|
|
217
|
+
--android-tooltip-inverse-text: #303030;
|
|
218
|
+
}
|
|
219
|
+
:root[data-platform="android"] {
|
|
220
|
+
--menu-radius: 12px;
|
|
221
|
+
--menu-radius-pill: 12px;
|
|
222
|
+
--menu-gutter: 0px;
|
|
223
|
+
--menu-pill-gutter: 0px;
|
|
224
|
+
--menu-padding-inline: 0px;
|
|
225
|
+
--menu-default-width: max-content;
|
|
226
|
+
--menu-default-min-width: 196px;
|
|
227
|
+
--menu-shadow: var(--android-popup-shadow), 0 0 0 100vmax var(--android-popup-dim);
|
|
228
|
+
--menu-mobile-background: var(--android-card);
|
|
229
|
+
--menu-mobile-backdrop-filter: none;
|
|
230
|
+
--menu-font-size: 16px;
|
|
231
|
+
--menu-line-height: 20px;
|
|
232
|
+
--menu-letter-spacing: var(--font-sans-tracking);
|
|
233
|
+
--menu-row-min-height: 48px;
|
|
234
|
+
--menu-row-padding-block: 6px;
|
|
235
|
+
--menu-item-padding: 0 18px;
|
|
236
|
+
--menu-pill-item-padding: 0 18px;
|
|
237
|
+
--menu-item-gap: 0px;
|
|
238
|
+
--menu-item-radius: 0px;
|
|
239
|
+
--menu-press-background: color-mix(in srgb, var(--color-text) 12%, transparent);
|
|
240
|
+
--menu-description-font-size: 13px;
|
|
241
|
+
--menu-description-line-height: 16px;
|
|
242
|
+
--menu-description-color: var(--color-text-secondary);
|
|
243
|
+
--menu-disabled-label-color: color-mix(in srgb, var(--color-text) 38%, transparent);
|
|
244
|
+
--menu-disabled-description-color: color-mix(in srgb, var(--color-text) 38%, transparent);
|
|
245
|
+
--menu-separator-gutter: 0;
|
|
246
|
+
--menu-pill-separator-gutter: 0;
|
|
247
|
+
--menu-separator-background-color: var(--android-popup-gap);
|
|
248
|
+
--menu-label-padding: 8px 13px;
|
|
249
|
+
--menu-label-padding-bottom: 8px;
|
|
250
|
+
--menu-label-font-size: 13px;
|
|
251
|
+
--menu-label-font-weight: var(--font-weight-normal);
|
|
252
|
+
--menu-label-line-height: 16px;
|
|
253
|
+
--menu-leading-icon-size: 24px;
|
|
254
|
+
--menu-leading-icon-slot: 24px;
|
|
255
|
+
--menu-leading-icon-gap: 20px;
|
|
256
|
+
--menu-check-column: 24px;
|
|
257
|
+
--menu-check-gap: 18px;
|
|
258
|
+
--menu-check-size: 24px;
|
|
259
|
+
--menu-check-stroke: 0px;
|
|
260
|
+
--menu-check-icon-offset: 0px;
|
|
261
|
+
--menu-check-icon-gap: 20px;
|
|
262
|
+
--menu-check-label-inset: 18px;
|
|
263
|
+
--android-header-menu-shadow: var(--android-bar-shadow), 0 0 0 100vmax rgb(0 0 0 / 10%);
|
|
264
|
+
}
|
|
265
|
+
:root[data-platform="android"] {
|
|
266
|
+
--list-row-inset: 21px;
|
|
267
|
+
--field-row-min-height: 50px;
|
|
268
|
+
--field-row-text-padding-block: 12px;
|
|
269
|
+
--field-row-label-font-size: 16px;
|
|
270
|
+
--field-row-label-line-height: 20px;
|
|
271
|
+
--field-row-description-font-size: 13px;
|
|
272
|
+
--field-row-description-line-height: 16px;
|
|
273
|
+
--field-row-description-min-height: 64px;
|
|
274
|
+
--field-row-above-font-size: 13px;
|
|
275
|
+
--field-row-above-line-height: 16px;
|
|
276
|
+
--field-row-above-gap: 4px;
|
|
277
|
+
--field-row-above-padding-block: 10px;
|
|
278
|
+
--field-row-icon-offset: -3px;
|
|
279
|
+
--field-row-icon-gap: 18px;
|
|
280
|
+
--field-row-icon-radius: 10px;
|
|
281
|
+
--field-row-press-background: var(--android-ripple-card-color);
|
|
282
|
+
--field-group-radius: 16px;
|
|
283
|
+
--mobile-field-error-font-size: 14px;
|
|
284
|
+
--mobile-field-error-line-height: 18px;
|
|
285
|
+
--mobile-field-error-icon-display: none;
|
|
286
|
+
}
|
|
287
|
+
:root[data-platform="android"], :root[data-platform="android"]:where([data-theme="light"]) {
|
|
288
|
+
--android-accent-text: var(--color-background-accent-solid);
|
|
289
|
+
--android-danger-text: var(--color-background-danger-solid);
|
|
290
|
+
--android-divider: #d9d9d9;
|
|
291
|
+
--android-switch-off: #a7adb2;
|
|
292
|
+
--android-checkbox-ring: #b0b9c2;
|
|
293
|
+
--android-button-solid-press: rgb(0 0 0 / 5.9%);
|
|
294
|
+
--android-hint: #a8a8a8;
|
|
295
|
+
--android-field-line: #dbdbdb;
|
|
296
|
+
--android-search-fill: color-mix(in srgb, var(--color-text) 5%, transparent);
|
|
297
|
+
}
|
|
298
|
+
:root[data-platform="android"]:where([data-theme="dark"]) {
|
|
299
|
+
--android-accent-text: var(--color-text-accent);
|
|
300
|
+
--android-danger-text: var(--color-text-danger-soft);
|
|
301
|
+
--android-divider: var(--gray-0);
|
|
302
|
+
--android-switch-off: var(--gray-500);
|
|
303
|
+
--android-checkbox-ring: var(--gray-500);
|
|
304
|
+
--android-button-solid-press: rgb(255 255 255 / 5.1%);
|
|
305
|
+
--android-hint: #7d7d7d;
|
|
306
|
+
--android-field-line: color-mix(in srgb, var(--color-text) 24%, transparent);
|
|
307
|
+
--android-search-fill: color-mix(in srgb, var(--color-text) 7%, transparent);
|
|
308
|
+
}
|
|
309
|
+
:root[data-platform="android"] {
|
|
310
|
+
--floating-input-height: 56px;
|
|
311
|
+
--floating-input-inside-height: 56px;
|
|
312
|
+
--floating-input-box-radius: 8px;
|
|
313
|
+
--floating-input-box-gutter: 14px;
|
|
314
|
+
--floating-input-font-size: 16px;
|
|
315
|
+
--floating-input-border-color: var(--android-field-line);
|
|
316
|
+
--floating-input-border-color-hover: var(--android-field-line);
|
|
317
|
+
--floating-input-border-color-focus: var(--android-accent-text);
|
|
318
|
+
--floating-input-border-color-invalid: var(--android-danger-text);
|
|
319
|
+
--floating-input-label-color: var(--android-hint);
|
|
320
|
+
--floating-input-label-color-focus: var(--android-accent-text);
|
|
321
|
+
--floating-input-label-color-invalid: var(--android-danger-text);
|
|
322
|
+
--floating-input-inside-label-color: var(--android-hint);
|
|
323
|
+
--floating-input-label-scale: 0.75;
|
|
324
|
+
--floating-input-inside-label-scale: 0.75;
|
|
325
|
+
--floating-input-inside-label-shift: -12px;
|
|
326
|
+
--floating-input-inside-value-shift: 16px;
|
|
327
|
+
--floating-input-inside-line-height: 20px;
|
|
328
|
+
}
|
|
329
|
+
html[data-platform="android"] [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *, [data-toolbar] *)) {
|
|
330
|
+
--input-soft-background-color: var(--android-search-fill);
|
|
331
|
+
background-image: none;
|
|
332
|
+
backdrop-filter: none;
|
|
333
|
+
}
|
|
334
|
+
html[data-platform="android"] [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *, [data-toolbar] *)):not([data-invalid]) {
|
|
335
|
+
box-shadow: none;
|
|
336
|
+
}
|
|
337
|
+
:root[data-platform="android"] {
|
|
338
|
+
--slider-track-size: 3px;
|
|
339
|
+
--slider-track-radius: 1.5px;
|
|
340
|
+
--slider-range-color: var(--color-background-accent-solid);
|
|
341
|
+
--slider-thumb-width: 12px;
|
|
342
|
+
--slider-thumb-height: 12px;
|
|
343
|
+
--slider-thumb-background: var(--color-background-accent-solid);
|
|
344
|
+
--slider-thumb-shadow: none;
|
|
345
|
+
--slider-label-font-size: 16px;
|
|
346
|
+
--slider-label-line-height: 20px;
|
|
347
|
+
--slider-value-font-size: 16px;
|
|
348
|
+
--slider-value-line-height: 20px;
|
|
349
|
+
--slider-value-color: var(--android-accent-text);
|
|
350
|
+
--slider-unit-color: var(--android-accent-text);
|
|
351
|
+
}
|
|
352
|
+
:root[data-platform="android"], :root[data-platform="android"]:where([data-theme="light"]) {
|
|
353
|
+
--slider-track-color: #ebedf0;
|
|
354
|
+
}
|
|
355
|
+
:root[data-platform="android"]:where([data-theme="dark"]) {
|
|
356
|
+
--slider-track-color: var(--gray-300);
|
|
357
|
+
}
|
|
358
|
+
:root[data-platform="android"] {
|
|
359
|
+
--button-font-weight: var(--font-weight-medium);
|
|
360
|
+
--button-touch-gap-sm: 4px;
|
|
361
|
+
--button-touch-gap: 6px;
|
|
362
|
+
--button-size-3xs: 32px;
|
|
363
|
+
--button-size-2xs: 32px;
|
|
364
|
+
--button-size-xs: 32px;
|
|
365
|
+
--button-size-sm: 32px;
|
|
366
|
+
--button-size-md: 40px;
|
|
367
|
+
--button-size-lg: 40px;
|
|
368
|
+
--button-size-xl: 48px;
|
|
369
|
+
--button-size-2xl: 48px;
|
|
370
|
+
--button-size-3xl: 48px;
|
|
371
|
+
--button-gutter-3xs: 12px;
|
|
372
|
+
--button-gutter-2xs: 12px;
|
|
373
|
+
--button-gutter-xs: 12px;
|
|
374
|
+
--button-gutter-sm: 12px;
|
|
375
|
+
--button-gutter-md: 16px;
|
|
376
|
+
--button-gutter-lg: 16px;
|
|
377
|
+
--button-gutter-xl: 20px;
|
|
378
|
+
--button-gutter-2xl: 20px;
|
|
379
|
+
--button-gutter-3xl: 20px;
|
|
380
|
+
--button-font-size-3xs: 14px;
|
|
381
|
+
--button-font-size-2xs: 14px;
|
|
382
|
+
--button-font-size-xs: 14px;
|
|
383
|
+
--button-font-size-sm: 14px;
|
|
384
|
+
--button-font-size-md: 14px;
|
|
385
|
+
--button-font-size-lg: 14px;
|
|
386
|
+
--button-font-size-xl: 15px;
|
|
387
|
+
--button-font-size-2xl: 15px;
|
|
388
|
+
--button-font-size-3xl: 15px;
|
|
389
|
+
--button-line-height-3xs: 20px;
|
|
390
|
+
--button-line-height-2xs: 20px;
|
|
391
|
+
--button-line-height-xs: 20px;
|
|
392
|
+
--button-line-height-sm: 20px;
|
|
393
|
+
--button-line-height-md: 20px;
|
|
394
|
+
--button-line-height-lg: 20px;
|
|
395
|
+
--button-line-height-xl: 20px;
|
|
396
|
+
--button-line-height-2xl: 20px;
|
|
397
|
+
--button-line-height-3xl: 20px;
|
|
398
|
+
--button-icon-size-3xs: 16px;
|
|
399
|
+
--button-icon-size-2xs: 16px;
|
|
400
|
+
--button-icon-size-xs: 16px;
|
|
401
|
+
--button-indicator-size-3xs: 18px;
|
|
402
|
+
--button-indicator-size-2xs: 18px;
|
|
403
|
+
--button-indicator-size-xs: 18px;
|
|
404
|
+
--button-indicator-size-sm: 18px;
|
|
405
|
+
--button-indicator-size-md: 18px;
|
|
406
|
+
--button-indicator-size-lg: 18px;
|
|
407
|
+
--button-indicator-size-xl: 24px;
|
|
408
|
+
--button-indicator-size-2xl: 24px;
|
|
409
|
+
--button-indicator-size-3xl: 24px;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
413
|
+
--toolbar-bottom-padding-bottom: calc(var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)) + 13px);
|
|
414
|
+
--toolbar-bottom-gutter: 16px;
|
|
415
|
+
--page-gutter: 12px;
|
|
416
|
+
}
|
|
417
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
418
|
+
--android-bar-glass: color-mix(in srgb, var(--android-card) 80%, transparent);
|
|
419
|
+
--mobile-glass-background: var(--android-bar-glass);
|
|
420
|
+
--mobile-glass-background-hover: var(--android-bar-glass);
|
|
421
|
+
--mobile-glass-background-active: color-mix(in srgb, var(--android-bar-glass), var(--color-text) 7%);
|
|
422
|
+
--mobile-glass-shadow: var(--android-bar-shadow);
|
|
423
|
+
--mobile-glass-shadow-raised: var(--android-bar-shadow);
|
|
424
|
+
--mobile-glass-backdrop-filter: blur(7px);
|
|
425
|
+
--android-bar-disabled: color-mix(in srgb, var(--color-text) 38%, transparent);
|
|
426
|
+
--android-menu-band: color-mix(in srgb, var(--color-text) 6%, transparent);
|
|
427
|
+
--android-segment-thumb: color-mix(in srgb, var(--color-background-accent-solid) 12%, var(--android-card));
|
|
428
|
+
--context-menu-dimming-background: var(--android-popup-dim);
|
|
429
|
+
--context-menu-dimming-backdrop-filter: none;
|
|
430
|
+
--context-menu-preview-shadow: none;
|
|
431
|
+
}
|
|
432
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]), :root[data-platform="android"]:where([data-theme="light"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="light"]) :where([data-plex-layout="phone"]) {
|
|
433
|
+
--android-bar-shadow: 0 2.33px 8px rgb(51 51 51 / 8.6%), inset 0 0.55px 0 #fff, inset 0 -0.55px 0 #fff;
|
|
434
|
+
--android-tabs-glass: rgb(255 255 255 / 76%);
|
|
435
|
+
--android-tabs-shadow: 0 0.85px 2.67px rgb(0 0 0 / 12.5%), inset 0 0.4px 0 rgb(0 0 0 / 6.7%), inset 0 -0.4px 0 rgb(0 0 0 / 12.5%);
|
|
436
|
+
--android-accent-shadow: 0 2px 8px rgb(0 0 0 / 6%);
|
|
437
|
+
--android-card: #fff;
|
|
438
|
+
--android-dialog-surface: #fff;
|
|
439
|
+
--android-toast-fill: rgb(39 47 56 / 92%);
|
|
440
|
+
--android-toast-action: color-mix(in srgb, #fff 50%, var(--color-background-accent-solid));
|
|
441
|
+
--android-skeleton-fill: color-mix(in srgb, var(--color-text) 6%, transparent);
|
|
442
|
+
--android-popup-gap: #f5f5f5;
|
|
443
|
+
--android-popup-shadow: 0 3px 8px rgb(0 0 0 / 14%), 0 0 1px rgb(0 0 0 / 12%);
|
|
444
|
+
--android-popup-dim: rgb(0 0 0 / 40%);
|
|
445
|
+
--android-dot: #bbb;
|
|
446
|
+
--android-tab-selected: var(--color-text-accent);
|
|
447
|
+
--android-tooltip-fill: #eee;
|
|
448
|
+
--android-tooltip-text: #474747;
|
|
449
|
+
--android-tooltip-inverse: #303030;
|
|
450
|
+
--android-tooltip-inverse-text: #f1f1f1;
|
|
451
|
+
}
|
|
452
|
+
:root[data-platform="android"]:where([data-theme="dark"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
|
|
453
|
+
--android-bar-shadow: 0 2.33px 8px transparent, inset 0 0.55px 0 rgb(255 255 255 / 12.5%), inset 0 -0.55px 0 rgb(255 255 255 / 7.8%);
|
|
454
|
+
--android-tabs-glass: color-mix(in srgb, var(--gray-300) 76%, transparent);
|
|
455
|
+
--android-tabs-shadow: 0 0.85px 2.67px rgb(255 255 255 / 1.6%), inset 0 0.4px 0 rgb(255 255 255 / 2.4%), inset 0 -0.4px 0 rgb(255 255 255 / 6.7%);
|
|
456
|
+
--android-accent-shadow: 0 2px 8px rgb(0 0 0 / 30%);
|
|
457
|
+
--android-card: var(--gray-300);
|
|
458
|
+
--android-dialog-surface: var(--gray-200);
|
|
459
|
+
--android-toast-fill: rgb(24 24 24 / 96%);
|
|
460
|
+
--android-toast-action: color-mix(in srgb, #fff 60%, var(--color-background-accent-solid));
|
|
461
|
+
--android-skeleton-fill: color-mix(in srgb, var(--color-text) 5%, transparent);
|
|
462
|
+
--android-popup-gap: #262626;
|
|
463
|
+
--android-popup-shadow: 0 3px 8px rgb(0 0 0 / 40%), 0 0 1px transparent;
|
|
464
|
+
--android-popup-dim: rgb(0 0 0 / 20%);
|
|
465
|
+
--android-dot: #555;
|
|
466
|
+
--android-tab-selected: var(--color-background-accent-solid);
|
|
467
|
+
--android-tooltip-fill: #1f1f1f;
|
|
468
|
+
--android-tooltip-text: #c6c6c6;
|
|
469
|
+
--android-tooltip-inverse: #e2e2e2;
|
|
470
|
+
--android-tooltip-inverse-text: #303030;
|
|
471
|
+
}
|
|
472
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
473
|
+
--menu-radius: 12px;
|
|
474
|
+
--menu-radius-pill: 12px;
|
|
475
|
+
--menu-gutter: 0px;
|
|
476
|
+
--menu-pill-gutter: 0px;
|
|
477
|
+
--menu-padding-inline: 0px;
|
|
478
|
+
--menu-default-width: max-content;
|
|
479
|
+
--menu-default-min-width: 196px;
|
|
480
|
+
--menu-shadow: var(--android-popup-shadow), 0 0 0 100vmax var(--android-popup-dim);
|
|
481
|
+
--menu-mobile-background: var(--android-card);
|
|
482
|
+
--menu-mobile-backdrop-filter: none;
|
|
483
|
+
--menu-font-size: 16px;
|
|
484
|
+
--menu-line-height: 20px;
|
|
485
|
+
--menu-letter-spacing: var(--font-sans-tracking);
|
|
486
|
+
--menu-row-min-height: 48px;
|
|
487
|
+
--menu-row-padding-block: 6px;
|
|
488
|
+
--menu-item-padding: 0 18px;
|
|
489
|
+
--menu-pill-item-padding: 0 18px;
|
|
490
|
+
--menu-item-gap: 0px;
|
|
491
|
+
--menu-item-radius: 0px;
|
|
492
|
+
--menu-press-background: color-mix(in srgb, var(--color-text) 12%, transparent);
|
|
493
|
+
--menu-description-font-size: 13px;
|
|
494
|
+
--menu-description-line-height: 16px;
|
|
495
|
+
--menu-description-color: var(--color-text-secondary);
|
|
496
|
+
--menu-disabled-label-color: color-mix(in srgb, var(--color-text) 38%, transparent);
|
|
497
|
+
--menu-disabled-description-color: color-mix(in srgb, var(--color-text) 38%, transparent);
|
|
498
|
+
--menu-separator-gutter: 0;
|
|
499
|
+
--menu-pill-separator-gutter: 0;
|
|
500
|
+
--menu-separator-background-color: var(--android-popup-gap);
|
|
501
|
+
--menu-label-padding: 8px 13px;
|
|
502
|
+
--menu-label-padding-bottom: 8px;
|
|
503
|
+
--menu-label-font-size: 13px;
|
|
504
|
+
--menu-label-font-weight: var(--font-weight-normal);
|
|
505
|
+
--menu-label-line-height: 16px;
|
|
506
|
+
--menu-leading-icon-size: 24px;
|
|
507
|
+
--menu-leading-icon-slot: 24px;
|
|
508
|
+
--menu-leading-icon-gap: 20px;
|
|
509
|
+
--menu-check-column: 24px;
|
|
510
|
+
--menu-check-gap: 18px;
|
|
511
|
+
--menu-check-size: 24px;
|
|
512
|
+
--menu-check-stroke: 0px;
|
|
513
|
+
--menu-check-icon-offset: 0px;
|
|
514
|
+
--menu-check-icon-gap: 20px;
|
|
515
|
+
--menu-check-label-inset: 18px;
|
|
516
|
+
--android-header-menu-shadow: var(--android-bar-shadow), 0 0 0 100vmax rgb(0 0 0 / 10%);
|
|
517
|
+
}
|
|
518
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
519
|
+
--list-row-inset: 21px;
|
|
520
|
+
--field-row-min-height: 50px;
|
|
521
|
+
--field-row-text-padding-block: 12px;
|
|
522
|
+
--field-row-label-font-size: 16px;
|
|
523
|
+
--field-row-label-line-height: 20px;
|
|
524
|
+
--field-row-description-font-size: 13px;
|
|
525
|
+
--field-row-description-line-height: 16px;
|
|
526
|
+
--field-row-description-min-height: 64px;
|
|
527
|
+
--field-row-above-font-size: 13px;
|
|
528
|
+
--field-row-above-line-height: 16px;
|
|
529
|
+
--field-row-above-gap: 4px;
|
|
530
|
+
--field-row-above-padding-block: 10px;
|
|
531
|
+
--field-row-icon-offset: -3px;
|
|
532
|
+
--field-row-icon-gap: 18px;
|
|
533
|
+
--field-row-icon-radius: 10px;
|
|
534
|
+
--field-row-press-background: var(--android-ripple-card-color);
|
|
535
|
+
--field-group-radius: 16px;
|
|
536
|
+
--mobile-field-error-font-size: 14px;
|
|
537
|
+
--mobile-field-error-line-height: 18px;
|
|
538
|
+
--mobile-field-error-icon-display: none;
|
|
539
|
+
}
|
|
540
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]), :root[data-platform="android"]:where([data-theme="light"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="light"]) :where([data-plex-layout="phone"]) {
|
|
541
|
+
--android-accent-text: var(--color-background-accent-solid);
|
|
542
|
+
--android-danger-text: var(--color-background-danger-solid);
|
|
543
|
+
--android-divider: #d9d9d9;
|
|
544
|
+
--android-switch-off: #a7adb2;
|
|
545
|
+
--android-checkbox-ring: #b0b9c2;
|
|
546
|
+
--android-button-solid-press: rgb(0 0 0 / 5.9%);
|
|
547
|
+
--android-hint: #a8a8a8;
|
|
548
|
+
--android-field-line: #dbdbdb;
|
|
549
|
+
--android-search-fill: color-mix(in srgb, var(--color-text) 5%, transparent);
|
|
550
|
+
}
|
|
551
|
+
:root[data-platform="android"]:where([data-theme="dark"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
|
|
552
|
+
--android-accent-text: var(--color-text-accent);
|
|
553
|
+
--android-danger-text: var(--color-text-danger-soft);
|
|
554
|
+
--android-divider: var(--gray-0);
|
|
555
|
+
--android-switch-off: var(--gray-500);
|
|
556
|
+
--android-checkbox-ring: var(--gray-500);
|
|
557
|
+
--android-button-solid-press: rgb(255 255 255 / 5.1%);
|
|
558
|
+
--android-hint: #7d7d7d;
|
|
559
|
+
--android-field-line: color-mix(in srgb, var(--color-text) 24%, transparent);
|
|
560
|
+
--android-search-fill: color-mix(in srgb, var(--color-text) 7%, transparent);
|
|
561
|
+
}
|
|
562
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
563
|
+
--floating-input-height: 56px;
|
|
564
|
+
--floating-input-inside-height: 56px;
|
|
565
|
+
--floating-input-box-radius: 8px;
|
|
566
|
+
--floating-input-box-gutter: 14px;
|
|
567
|
+
--floating-input-font-size: 16px;
|
|
568
|
+
--floating-input-border-color: var(--android-field-line);
|
|
569
|
+
--floating-input-border-color-hover: var(--android-field-line);
|
|
570
|
+
--floating-input-border-color-focus: var(--android-accent-text);
|
|
571
|
+
--floating-input-border-color-invalid: var(--android-danger-text);
|
|
572
|
+
--floating-input-label-color: var(--android-hint);
|
|
573
|
+
--floating-input-label-color-focus: var(--android-accent-text);
|
|
574
|
+
--floating-input-label-color-invalid: var(--android-danger-text);
|
|
575
|
+
--floating-input-inside-label-color: var(--android-hint);
|
|
576
|
+
--floating-input-label-scale: 0.75;
|
|
577
|
+
--floating-input-inside-label-scale: 0.75;
|
|
578
|
+
--floating-input-inside-label-shift: -12px;
|
|
579
|
+
--floating-input-inside-value-shift: 16px;
|
|
580
|
+
--floating-input-inside-line-height: 20px;
|
|
581
|
+
}
|
|
582
|
+
html[data-platform="android"] :where([data-plex-layout="phone"]) [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *, [data-toolbar] *)) {
|
|
583
|
+
--input-soft-background-color: var(--android-search-fill);
|
|
584
|
+
background-image: none;
|
|
585
|
+
backdrop-filter: none;
|
|
586
|
+
}
|
|
587
|
+
html[data-platform="android"] :where([data-plex-layout="phone"]) [data-slot="input"][data-variant="soft"]:has(> input[type="search"]):not(:where([data-row] *, [data-toolbar] *)):not([data-invalid]) {
|
|
588
|
+
box-shadow: none;
|
|
589
|
+
}
|
|
590
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
591
|
+
--slider-track-size: 3px;
|
|
592
|
+
--slider-track-radius: 1.5px;
|
|
593
|
+
--slider-range-color: var(--color-background-accent-solid);
|
|
594
|
+
--slider-thumb-width: 12px;
|
|
595
|
+
--slider-thumb-height: 12px;
|
|
596
|
+
--slider-thumb-background: var(--color-background-accent-solid);
|
|
597
|
+
--slider-thumb-shadow: none;
|
|
598
|
+
--slider-label-font-size: 16px;
|
|
599
|
+
--slider-label-line-height: 20px;
|
|
600
|
+
--slider-value-font-size: 16px;
|
|
601
|
+
--slider-value-line-height: 20px;
|
|
602
|
+
--slider-value-color: var(--android-accent-text);
|
|
603
|
+
--slider-unit-color: var(--android-accent-text);
|
|
604
|
+
}
|
|
605
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]), :root[data-platform="android"]:where([data-theme="light"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="light"]) :where([data-plex-layout="phone"]) {
|
|
606
|
+
--slider-track-color: #ebedf0;
|
|
607
|
+
}
|
|
608
|
+
:root[data-platform="android"]:where([data-theme="dark"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
|
|
609
|
+
--slider-track-color: var(--gray-300);
|
|
610
|
+
}
|
|
611
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
612
|
+
--button-font-weight: var(--font-weight-medium);
|
|
613
|
+
--button-touch-gap-sm: 4px;
|
|
614
|
+
--button-touch-gap: 6px;
|
|
615
|
+
--button-size-3xs: 32px;
|
|
616
|
+
--button-size-2xs: 32px;
|
|
617
|
+
--button-size-xs: 32px;
|
|
618
|
+
--button-size-sm: 32px;
|
|
619
|
+
--button-size-md: 40px;
|
|
620
|
+
--button-size-lg: 40px;
|
|
621
|
+
--button-size-xl: 48px;
|
|
622
|
+
--button-size-2xl: 48px;
|
|
623
|
+
--button-size-3xl: 48px;
|
|
624
|
+
--button-gutter-3xs: 12px;
|
|
625
|
+
--button-gutter-2xs: 12px;
|
|
626
|
+
--button-gutter-xs: 12px;
|
|
627
|
+
--button-gutter-sm: 12px;
|
|
628
|
+
--button-gutter-md: 16px;
|
|
629
|
+
--button-gutter-lg: 16px;
|
|
630
|
+
--button-gutter-xl: 20px;
|
|
631
|
+
--button-gutter-2xl: 20px;
|
|
632
|
+
--button-gutter-3xl: 20px;
|
|
633
|
+
--button-font-size-3xs: 14px;
|
|
634
|
+
--button-font-size-2xs: 14px;
|
|
635
|
+
--button-font-size-xs: 14px;
|
|
636
|
+
--button-font-size-sm: 14px;
|
|
637
|
+
--button-font-size-md: 14px;
|
|
638
|
+
--button-font-size-lg: 14px;
|
|
639
|
+
--button-font-size-xl: 15px;
|
|
640
|
+
--button-font-size-2xl: 15px;
|
|
641
|
+
--button-font-size-3xl: 15px;
|
|
642
|
+
--button-line-height-3xs: 20px;
|
|
643
|
+
--button-line-height-2xs: 20px;
|
|
644
|
+
--button-line-height-xs: 20px;
|
|
645
|
+
--button-line-height-sm: 20px;
|
|
646
|
+
--button-line-height-md: 20px;
|
|
647
|
+
--button-line-height-lg: 20px;
|
|
648
|
+
--button-line-height-xl: 20px;
|
|
649
|
+
--button-line-height-2xl: 20px;
|
|
650
|
+
--button-line-height-3xl: 20px;
|
|
651
|
+
--button-icon-size-3xs: 16px;
|
|
652
|
+
--button-icon-size-2xs: 16px;
|
|
653
|
+
--button-icon-size-xs: 16px;
|
|
654
|
+
--button-indicator-size-3xs: 18px;
|
|
655
|
+
--button-indicator-size-2xs: 18px;
|
|
656
|
+
--button-indicator-size-xs: 18px;
|
|
657
|
+
--button-indicator-size-sm: 18px;
|
|
658
|
+
--button-indicator-size-md: 18px;
|
|
659
|
+
--button-indicator-size-lg: 18px;
|
|
660
|
+
--button-indicator-size-xl: 24px;
|
|
661
|
+
--button-indicator-size-2xl: 24px;
|
|
662
|
+
--button-indicator-size-3xl: 24px;
|
|
663
|
+
}
|
|
664
|
+
@media (max-width: 767px) {
|
|
665
|
+
:root[data-platform="android"] {
|
|
666
|
+
--android-search-duration: 380ms;
|
|
667
|
+
--android-search-clear-duration: 250ms;
|
|
668
|
+
--android-search-easing: cubic-bezier(0.23, 1, 0.32, 1);
|
|
669
|
+
}
|
|
670
|
+
:root[data-platform="android"], :root[data-platform="android"]:where([data-theme="light"]) {
|
|
671
|
+
--android-search-hint: #a8a8a8;
|
|
672
|
+
}
|
|
673
|
+
:root[data-platform="android"]:where([data-theme="dark"]) {
|
|
674
|
+
--android-search-hint: #7d7d7d;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
678
|
+
--android-search-duration: 380ms;
|
|
679
|
+
--android-search-clear-duration: 250ms;
|
|
680
|
+
--android-search-easing: cubic-bezier(0.23, 1, 0.32, 1);
|
|
681
|
+
}
|
|
682
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]), :root[data-platform="android"]:where([data-theme="light"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="light"]) :where([data-plex-layout="phone"]) {
|
|
683
|
+
--android-search-hint: #a8a8a8;
|
|
684
|
+
}
|
|
685
|
+
:root[data-platform="android"]:where([data-theme="dark"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
|
|
686
|
+
--android-search-hint: #7d7d7d;
|
|
687
|
+
}
|
|
688
|
+
@property --android-ripple-r {
|
|
689
|
+
syntax: "<length>";
|
|
690
|
+
inherits: true;
|
|
691
|
+
initial-value: 0px;
|
|
692
|
+
}
|
|
693
|
+
@property --android-ripple-cx {
|
|
694
|
+
syntax: "<length-percentage>";
|
|
695
|
+
inherits: true;
|
|
696
|
+
initial-value: 50%;
|
|
697
|
+
}
|
|
698
|
+
@property --android-ripple-cy {
|
|
699
|
+
syntax: "<length-percentage>";
|
|
700
|
+
inherits: true;
|
|
701
|
+
initial-value: 50%;
|
|
702
|
+
}
|
|
703
|
+
@property --android-ripple-in {
|
|
704
|
+
syntax: "<number>";
|
|
705
|
+
inherits: true;
|
|
706
|
+
initial-value: 0;
|
|
707
|
+
}
|
|
708
|
+
@property --android-ripple-hold {
|
|
709
|
+
syntax: "<number>";
|
|
710
|
+
inherits: true;
|
|
711
|
+
initial-value: 0;
|
|
712
|
+
}
|
|
713
|
+
@property --android-ripple-held {
|
|
714
|
+
syntax: "<number>";
|
|
715
|
+
inherits: true;
|
|
716
|
+
initial-value: 0;
|
|
717
|
+
}
|
|
718
|
+
@keyframes android-ripple-grow {
|
|
719
|
+
from {
|
|
720
|
+
--android-ripple-r: var(--android-ripple-r0, 0px);
|
|
721
|
+
--android-ripple-cx: var(--android-ripple-x, 50%);
|
|
722
|
+
--android-ripple-cy: var(--android-ripple-y, 50%);
|
|
723
|
+
}
|
|
724
|
+
to {
|
|
725
|
+
--android-ripple-r: var(--android-ripple-r1, 0px);
|
|
726
|
+
--android-ripple-cx: 50%;
|
|
727
|
+
--android-ripple-cy: 50%;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
@keyframes android-ripple-fade {
|
|
731
|
+
0% {
|
|
732
|
+
--android-ripple-in: 0;
|
|
733
|
+
--android-ripple-hold: 1;
|
|
734
|
+
}
|
|
735
|
+
20% {
|
|
736
|
+
--android-ripple-in: 1;
|
|
737
|
+
}
|
|
738
|
+
60% {
|
|
739
|
+
--android-ripple-hold: 1;
|
|
740
|
+
}
|
|
741
|
+
100% {
|
|
742
|
+
--android-ripple-in: 1;
|
|
743
|
+
--android-ripple-hold: 0;
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
@keyframes android-ripple-release {
|
|
747
|
+
from {
|
|
748
|
+
--android-ripple-held: 1;
|
|
749
|
+
}
|
|
750
|
+
to {
|
|
751
|
+
--android-ripple-held: 0;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
@media (max-width: 767px) {
|
|
755
|
+
:root[data-platform="android"] {
|
|
756
|
+
--android-ripple-grow-duration: 225ms;
|
|
757
|
+
}
|
|
758
|
+
:root[data-platform="android"], :root[data-platform="android"]:where([data-theme="light"]) {
|
|
759
|
+
--android-ripple-color: rgb(0 0 0 / 5.9%);
|
|
760
|
+
--android-ripple-card-color: rgb(0 0 0 / 4.7%);
|
|
761
|
+
--android-ripple-menu-color: rgb(0 0 0 / 5.9%);
|
|
762
|
+
}
|
|
763
|
+
:root[data-platform="android"]:where([data-theme="dark"]) {
|
|
764
|
+
--android-ripple-color: rgb(255 255 255 / 5.1%);
|
|
765
|
+
--android-ripple-card-color: rgb(255 255 255 / 5.1%);
|
|
766
|
+
--android-ripple-menu-color: rgb(255 255 255 / 9.8%);
|
|
767
|
+
}
|
|
768
|
+
:root[data-platform="android"] [data-ripple] {
|
|
769
|
+
--android-ripple-image: radial-gradient(
|
|
770
|
+
circle var(--android-ripple-r) at var(--android-ripple-cx) var(--android-ripple-cy),
|
|
771
|
+
color-mix(in srgb, var(--android-ripple-ink, var(--android-ripple-color)) calc(var(--android-ripple-in) * max(var(--android-ripple-hold), var(--android-ripple-held)) * 100%), transparent) calc(100% - 0.5px),
|
|
772
|
+
transparent 100%
|
|
773
|
+
);
|
|
774
|
+
animation: android-ripple-grow var(--android-ripple-grow-duration) cubic-bezier(0.4, 0, 0.2, 1) both, android-ripple-fade 375ms linear both;
|
|
775
|
+
--mobile-glass-background-active: var(--mobile-glass-background);
|
|
776
|
+
}
|
|
777
|
+
:root[data-platform="android"] [data-ripple]:active {
|
|
778
|
+
--android-ripple-held: 1;
|
|
779
|
+
}
|
|
780
|
+
:root[data-platform="android"] [data-ripple]:not(:active) {
|
|
781
|
+
animation: android-ripple-grow var(--android-ripple-grow-duration) cubic-bezier(0.4, 0, 0.2, 1) both, android-ripple-fade 375ms linear both, android-ripple-release 150ms linear both;
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
785
|
+
--android-ripple-grow-duration: 225ms;
|
|
786
|
+
}
|
|
787
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]), :root[data-platform="android"]:where([data-theme="light"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="light"]) :where([data-plex-layout="phone"]) {
|
|
788
|
+
--android-ripple-color: rgb(0 0 0 / 5.9%);
|
|
789
|
+
--android-ripple-card-color: rgb(0 0 0 / 4.7%);
|
|
790
|
+
--android-ripple-menu-color: rgb(0 0 0 / 5.9%);
|
|
791
|
+
}
|
|
792
|
+
:root[data-platform="android"]:where([data-theme="dark"]) :where([data-plex-layout="phone"]), :root[data-platform="android"] :where([data-theme="dark"]) :where([data-plex-layout="phone"]) {
|
|
793
|
+
--android-ripple-color: rgb(255 255 255 / 5.1%);
|
|
794
|
+
--android-ripple-card-color: rgb(255 255 255 / 5.1%);
|
|
795
|
+
--android-ripple-menu-color: rgb(255 255 255 / 9.8%);
|
|
796
|
+
}
|
|
797
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) [data-ripple] {
|
|
798
|
+
--android-ripple-image: radial-gradient(
|
|
799
|
+
circle var(--android-ripple-r) at var(--android-ripple-cx) var(--android-ripple-cy),
|
|
800
|
+
color-mix(in srgb, var(--android-ripple-ink, var(--android-ripple-color)) calc(var(--android-ripple-in) * max(var(--android-ripple-hold), var(--android-ripple-held)) * 100%), transparent) calc(100% - 0.5px),
|
|
801
|
+
transparent 100%
|
|
802
|
+
);
|
|
803
|
+
animation: android-ripple-grow var(--android-ripple-grow-duration) cubic-bezier(0.4, 0, 0.2, 1) both, android-ripple-fade 375ms linear both;
|
|
804
|
+
--mobile-glass-background-active: var(--mobile-glass-background);
|
|
805
|
+
}
|
|
806
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) [data-ripple]:active {
|
|
807
|
+
--android-ripple-held: 1;
|
|
808
|
+
}
|
|
809
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) [data-ripple]:not(:active) {
|
|
810
|
+
animation: android-ripple-grow var(--android-ripple-grow-duration) cubic-bezier(0.4, 0, 0.2, 1) both, android-ripple-fade 375ms linear both, android-ripple-release 150ms linear both;
|
|
811
|
+
}
|
|
812
|
+
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
|
|
813
|
+
:root[data-platform="android"] {
|
|
814
|
+
--android-ripple-grow-duration: 0s;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
@media (prefers-reduced-motion: reduce) {
|
|
818
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
819
|
+
--android-ripple-grow-duration: 0s;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
@media (max-width: 767px) {
|
|
823
|
+
:root[data-platform="android"] {
|
|
824
|
+
--android-bar-segment-thumb: var(--mobile-surface-grouped-primary);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
:root[data-platform="android"] :where([data-plex-layout="phone"]) {
|
|
828
|
+
--android-bar-segment-thumb: var(--mobile-surface-grouped-primary);
|
|
829
|
+
}
|
|
158
830
|
@media (max-width: 767px) {
|
|
159
831
|
[data-menu-covered] {
|
|
160
832
|
visibility: hidden;
|
|
@@ -209,6 +209,10 @@
|
|
|
209
209
|
--accordion-content-divider-width: 0px;
|
|
210
210
|
--accordion-transition-duration: var(--transition-duration-basic);
|
|
211
211
|
--accordion-transition-ease: var(--transition-ease-basic);
|
|
212
|
+
/* Opening and closing: the panel's clip, the chevron's turn and what follows sliding (lib/accordionMotion), on
|
|
213
|
+
SwiftUI's smooth spring, as a DisclosureGroup animates */
|
|
214
|
+
--accordion-motion-duration: var(--spring-smooth-duration);
|
|
215
|
+
--accordion-motion-easing: var(--spring-smooth);
|
|
212
216
|
|
|
213
217
|
/* =============================================
|
|
214
218
|
DateRangePicker
|