@plexui/styles 0.1.29 → 0.1.30
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.
|
@@ -270,6 +270,37 @@
|
|
|
270
270
|
width: var(--dialog-mobile-action-size);
|
|
271
271
|
height: var(--dialog-mobile-action-size);
|
|
272
272
|
border-radius: var(--radius-full);
|
|
273
|
+
background: transparent;
|
|
274
|
+
color: var(--color-text-secondary);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* Keep the visible control compact inside its full touch target. */
|
|
278
|
+
.CloseButton::before {
|
|
279
|
+
position: absolute;
|
|
280
|
+
inset: calc((var(--dialog-mobile-action-size) - var(--dialog-mobile-close-size)) / 2);
|
|
281
|
+
border-radius: inherit;
|
|
282
|
+
background: var(--dialog-mobile-close-background);
|
|
283
|
+
content: "";
|
|
284
|
+
pointer-events: none;
|
|
285
|
+
transition: background-color 0.2s var(--cubic-enter);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.CloseButton:hover {
|
|
289
|
+
background: transparent;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.CloseButton:hover::before {
|
|
293
|
+
background: var(--color-background-secondary-soft-alpha-hover);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.CloseButton:focus-visible {
|
|
297
|
+
outline-offset: -4px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.CloseIcon {
|
|
301
|
+
position: relative;
|
|
302
|
+
width: var(--dialog-mobile-close-icon-size);
|
|
303
|
+
height: var(--dialog-mobile-close-icon-size);
|
|
273
304
|
}
|
|
274
305
|
|
|
275
306
|
.Panel:has(> .CloseButton) > .Header > :first-child {
|
|
@@ -362,6 +362,9 @@
|
|
|
362
362
|
--dialog-max-width: 450px;
|
|
363
363
|
--dialog-container-inner-padding: calc(var(--spacing) * 5);
|
|
364
364
|
--dialog-backdrop-fade-background: color-mix(in oklab, var(--color-surface-elevated) 60%, transparent);
|
|
365
|
+
--dialog-mobile-close-size: var(--control-size-md);
|
|
366
|
+
--dialog-mobile-close-icon-size: var(--control-icon-size-2xl);
|
|
367
|
+
--dialog-mobile-close-background: var(--color-background-secondary-soft-alpha);
|
|
365
368
|
--dialog-mobile-radius: var(--radius-4xl);
|
|
366
369
|
--dialog-mobile-action-size: var(--control-size-2xl);
|
|
367
370
|
--dialog-mobile-action-radius: var(--radius-full);
|