@splendidlabz/styles 4.0.0-alpha.2 → 4.0.0-beta.4

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.
Files changed (62) hide show
  1. package/package.json +4 -8
  2. package/src/components/astro/fancylist.css +28 -0
  3. package/src/components/astro/index.css +2 -0
  4. package/src/{primitives → components/css}/card.css +8 -3
  5. package/src/{primitives → components/css}/indent-list.css +6 -6
  6. package/src/{primitives → components/css}/prose.css +17 -9
  7. package/src/{effects/stroke.css → components/css/simple-svg.css} +10 -0
  8. package/src/{primitives → components/css}/table.css +12 -3
  9. package/src/components/css/writing-mode.css +41 -0
  10. package/src/components/index.css +3 -6
  11. package/src/components/svelte/breadcrumbs.css +31 -0
  12. package/src/components/{browserframe.css → svelte/browserframe.css} +6 -6
  13. package/src/components/svelte/callout.css +33 -0
  14. package/src/components/svelte/index.css +10 -0
  15. package/src/components/svelte/resizer.css +44 -0
  16. package/src/components/svelte/status.css +37 -0
  17. package/src/components/{tabs.css → svelte/tabs.css} +2 -2
  18. package/src/effects/gradients.css +10 -6
  19. package/src/effects/index.css +1 -1
  20. package/src/{addons → effects}/scrollbars.css +25 -5
  21. package/src/effects/shadows.css +116 -0
  22. package/src/effects/text.css +37 -5
  23. package/src/form/checkbox-and-radio.css +1 -1
  24. package/src/form/input.css +2 -2
  25. package/src/form/textarea.css +1 -0
  26. package/src/generic/anchors-and-buttons.css +3 -2
  27. package/src/generic/form.css +2 -2
  28. package/src/layouts/macro/{flex-grid.css → grid-flex.css} +8 -7
  29. package/src/layouts/macro/grid.css +5 -12
  30. package/src/layouts/macro/index.css +1 -1
  31. package/src/layouts/macro/subgrid.css +3 -4
  32. package/src/layouts/macro/wrap.css +1 -1
  33. package/src/layouts/micro/breakout.css +14 -7
  34. package/src/layouts/micro/divider.css +3 -12
  35. package/src/layouts/micro/micro.css +0 -6
  36. package/src/layouts/micro/scrollable.css +2 -14
  37. package/src/layouts/micro/stack.css +1 -0
  38. package/src/layouts/position/edge.css +264 -25
  39. package/src/layouts/position/fixed.css +57 -30
  40. package/src/layouts/position/nudge.css +47 -28
  41. package/src/layouts/position/pos.css +51 -69
  42. package/src/layouts/position/sticky.css +6 -2
  43. package/src/layouts/shell/shell-grid.css +1 -1
  44. package/src/styles.css +1 -1
  45. package/src/tools/border.css +53 -3
  46. package/src/tools/outlines.css +13 -25
  47. package/src/tools/pigment.css +2 -2
  48. package/src/variables/variables.css +3 -3
  49. package/src/addons/index.css +0 -1
  50. package/src/astro/index.css +0 -1
  51. package/src/primitives/simple-svg.css +0 -7
  52. package/src/primitives/writing-mode.css +0 -51
  53. /package/src/{astro → components/astro}/textwall.css +0 -0
  54. /package/src/{primitives → components/css}/break-word.css +0 -0
  55. /package/src/{primitives → components/css}/hero-heading.css +0 -0
  56. /package/src/{primitives → components/css}/index.css +0 -0
  57. /package/src/{primitives → components/css}/shapes.css +0 -0
  58. /package/src/{primitives → components/css}/text.css +0 -0
  59. /package/src/components/{accordion.css → svelte/accordion.css} +0 -0
  60. /package/src/components/{drawer.css → svelte/drawer.css} +0 -0
  61. /package/src/components/{modal.css → svelte/modal.css} +0 -0
  62. /package/src/components/{popover.css → svelte/popover.css} +0 -0
@@ -3,16 +3,11 @@
3
3
  --ty: 0%;
4
4
  }
5
5
 
6
+ /* prettier-ignore */
6
7
  @utility edge-scaffold {
7
- transform: translateX(var(--tx, 0%)) translateY(var(--ty, 0%));
8
-
9
- :where(.stack) > & {
10
- box-sizing: content-box;
11
- }
12
-
13
- :where(.relative > &) {
14
- position: absolute;
15
- }
8
+ transform: translateX(var(--_tx, 0%)) translateY(var(--_ty, 0%));
9
+ :where(.stack) > & { box-sizing: content-box; }
10
+ :where(.relative > &) { position: absolute; }
16
11
  }
17
12
 
18
13
  /*********************
@@ -58,6 +53,14 @@
58
53
  place-self: center start;
59
54
  }
60
55
 
56
+ @utility stack-edge-lefttop {
57
+ place-self: start start;
58
+ }
59
+
60
+ @utility stack-edge-leftbottom {
61
+ place-self: end start;
62
+ }
63
+
61
64
  @utility stack-edge-leftfull {
62
65
  place-self: stretch start;
63
66
  }
@@ -67,6 +70,14 @@
67
70
  place-self: center end;
68
71
  }
69
72
 
73
+ @utility stack-edge-righttop {
74
+ place-self: start end;
75
+ }
76
+
77
+ @utility stack-edge-rightbottom {
78
+ place-self: end end;
79
+ }
80
+
70
81
  @utility stack-edge-rightfull {
71
82
  place-self: stretch end;
72
83
  }
@@ -78,6 +89,9 @@
78
89
  /* Top */
79
90
  @utility relative-edge-top {
80
91
  inset-block-start: 0;
92
+ inset-inline: 0;
93
+ width: fit-content;
94
+ margin-inline: auto;
81
95
  }
82
96
 
83
97
  @utility relative-edge-topleft {
@@ -98,6 +112,9 @@
98
112
  /* Bottom */
99
113
  @utility relative-edge-bottom {
100
114
  inset-block-end: 0;
115
+ inset-inline: 0;
116
+ width: fit-content;
117
+ margin-inline: auto;
101
118
  }
102
119
 
103
120
  @utility relative-edge-bottomfull {
@@ -117,6 +134,19 @@
117
134
 
118
135
  /* Left */
119
136
  @utility relative-edge-left {
137
+ inset-block: 0;
138
+ inset-inline-start: 0;
139
+ height: fit-content;
140
+ margin-block: auto;
141
+ }
142
+
143
+ @utility relative-edge-lefttop {
144
+ inset-block-start: 0;
145
+ inset-inline-start: 0;
146
+ }
147
+
148
+ @utility relative-edge-leftbottom {
149
+ inset-block-end: 0;
120
150
  inset-inline-start: 0;
121
151
  }
122
152
 
@@ -127,6 +157,19 @@
127
157
 
128
158
  /* Right */
129
159
  @utility relative-edge-right {
160
+ inset-block: 0;
161
+ inset-inline-end: 0;
162
+ height: fit-content;
163
+ margin-block: auto;
164
+ }
165
+
166
+ @utility relative-edge-righttop {
167
+ inset-block-start: 0;
168
+ inset-inline-end: 0;
169
+ }
170
+
171
+ @utility relative-edge-rightbottom {
172
+ inset-block-end: 0;
130
173
  inset-inline-end: 0;
131
174
  }
132
175
 
@@ -143,90 +186,179 @@
143
186
  *********************/
144
187
  @utility edge-adjust-top {
145
188
  --ty: -50%;
189
+ --_ty: var(--ty);
146
190
  }
147
191
 
148
192
  @utility edge-adjust-topleft-start {
149
193
  @apply edge-adjust-top;
150
194
  --tx: -100%;
195
+ --_tx: var(--tx);
151
196
  }
152
197
 
153
198
  @utility edge-adjust-topleft {
154
199
  @apply edge-adjust-top;
155
200
  --tx: -50%;
201
+ --_tx: var(--tx);
156
202
  }
157
203
 
158
204
  @utility edge-adjust-topleft-end {
159
205
  @apply edge-adjust-top;
160
206
  --tx: 0%;
207
+ --_tx: var(--tx);
161
208
  }
162
209
 
163
210
  @utility edge-adjust-topright-start {
164
211
  @apply edge-adjust-top;
165
212
  --tx: 0%;
213
+ --_tx: calc(var(--tx) * -1);
166
214
  }
167
215
 
168
216
  @utility edge-adjust-topright {
169
217
  @apply edge-adjust-top;
170
- --tx: 50%;
218
+ --tx: -50%;
219
+ --_tx: calc(var(--tx) * -1);
171
220
  }
172
221
 
173
222
  @utility edge-adjust-topright-end {
174
223
  @apply edge-adjust-top;
175
- --tx: 100%;
224
+ --tx: -100%;
225
+ --_tx: calc(var(--tx) * -1);
176
226
  }
177
227
 
178
228
  /* Bottom *
179
229
  *********************/
180
230
  @utility edge-adjust-bottom {
181
- --ty: 50%;
231
+ --ty: -50%;
232
+ --_ty: calc(var(--ty) * -1);
182
233
  }
183
234
 
184
235
  @utility edge-adjust-bottomleft-start {
185
236
  @apply edge-adjust-bottom;
186
237
  --tx: -100%;
238
+ --_tx: var(--tx);
187
239
  }
188
240
 
189
241
  @utility edge-adjust-bottomleft {
190
242
  @apply edge-adjust-bottom;
191
243
  --tx: -50%;
244
+ --_tx: var(--tx);
192
245
  }
193
246
 
194
247
  @utility edge-adjust-bottomleft-end {
195
248
  @apply edge-adjust-bottom;
196
- --tx: 0%;
249
+ --tx: -0%;
250
+ --_tx: var(--tx);
197
251
  }
198
252
 
199
253
  @utility edge-adjust-bottomright-start {
200
254
  @apply edge-adjust-bottom;
201
- --tx: 0%;
255
+ --tx: -0%;
256
+ --_tx: calc(var(--tx) * -1);
202
257
  }
203
258
 
204
259
  @utility edge-adjust-bottomright {
205
260
  @apply edge-adjust-bottom;
206
- --tx: 50%;
261
+ --tx: -50%;
262
+ --_tx: calc(var(--tx) * -1);
207
263
  }
208
264
 
209
265
  @utility edge-adjust-bottomright-end {
210
266
  @apply edge-adjust-bottom;
211
- --tx: 100%;
267
+ --tx: -100%;
268
+ --_tx: calc(var(--tx) * -1);
212
269
  }
213
270
 
214
271
  /* Left *
215
272
  *********************/
216
273
  @utility edge-adjust-left {
217
274
  --tx: -50%;
275
+ --_tx: var(--tx);
276
+ }
277
+
278
+ @utility edge-adjust-lefttop-start {
279
+ @apply edge-adjust-left;
280
+ --ty: -100%;
281
+ --_ty: var(--ty);
282
+ }
283
+
284
+ @utility edge-adjust-lefttop {
285
+ @apply edge-adjust-left;
286
+ --ty: -50%;
287
+ --_ty: var(--ty);
288
+ }
289
+
290
+ @utility edge-adjust-lefttop-end {
291
+ @apply edge-adjust-left;
292
+ --ty: -0%;
293
+ --_ty: var(--ty);
294
+ }
295
+
296
+ @utility edge-adjust-leftbottom-start {
297
+ @apply edge-adjust-left;
298
+ --ty: -0%;
299
+ --_ty: calc(var(--ty) * -1);
300
+ }
301
+
302
+ @utility edge-adjust-leftbottom {
303
+ @apply edge-adjust-left;
304
+ --ty: -50%;
305
+ --_ty: calc(var(--ty) * -1);
306
+ }
307
+
308
+ @utility edge-adjust-leftbottom-end {
309
+ @apply edge-adjust-left;
310
+ --ty: -100%;
311
+ --_ty: calc(var(--ty) * -1);
218
312
  }
219
313
 
220
314
  /* Right *
221
315
  *********************/
222
316
  @utility edge-adjust-right {
223
- --tx: 50%;
317
+ --tx: -50%;
318
+ --_tx: calc(var(--tx) * -1);
319
+ }
320
+
321
+ @utility edge-adjust-righttop-start {
322
+ @apply edge-adjust-right;
323
+ --ty: -100%;
324
+ --_ty: var(--ty);
325
+ }
326
+
327
+ @utility edge-adjust-righttop {
328
+ @apply edge-adjust-right;
329
+ --ty: -50%;
330
+ --_ty: var(--ty);
331
+ }
332
+
333
+ @utility edge-adjust-righttop-end {
334
+ @apply edge-adjust-right;
335
+ --ty: -0%;
336
+ --_ty: var(--ty);
337
+ }
338
+
339
+ @utility edge-adjust-rightbottom-start {
340
+ @apply edge-adjust-right;
341
+ --ty: -0%;
342
+ --_ty: calc(var(--ty) * -1);
343
+ }
344
+
345
+ @utility edge-adjust-rightbottom {
346
+ @apply edge-adjust-right;
347
+ --ty: -50%;
348
+ --_ty: calc(var(--ty) * -1);
349
+ }
350
+
351
+ @utility edge-adjust-rightbottom-end {
352
+ @apply edge-adjust-right;
353
+ --ty: -100%;
354
+ --_ty: calc(var(--ty) * -1);
224
355
  }
225
356
 
226
357
  /*********************
227
358
  * Edge utilities *
228
359
  *********************/
229
360
  @utility edge-top {
361
+ @apply nudge-top;
230
362
  @apply edge-scaffold;
231
363
  @apply edge-adjust-top;
232
364
 
@@ -240,6 +372,7 @@
240
372
  }
241
373
 
242
374
  @utility edge-topleft {
375
+ @apply nudge-topleft;
243
376
  @apply edge-scaffold;
244
377
  @apply edge-adjust-topleft;
245
378
 
@@ -253,6 +386,7 @@
253
386
  }
254
387
 
255
388
  @utility edge-topright {
389
+ @apply nudge-topright;
256
390
  @apply edge-scaffold;
257
391
  @apply edge-adjust-topright;
258
392
 
@@ -266,20 +400,22 @@
266
400
  }
267
401
 
268
402
  @utility edge-topfull {
403
+ @apply nudge-topfull;
269
404
  @apply edge-scaffold;
270
405
  @apply edge-adjust-top;
271
406
 
272
407
  :where(.stack) > & {
273
- @apply stack-edge-top;
408
+ @apply stack-edge-topfull;
274
409
  }
275
410
 
276
411
  :where(.relative) > & {
277
- @apply relative-edge-top;
412
+ @apply relative-edge-topfull;
278
413
  }
279
414
  }
280
415
 
281
416
  /* Bottom */
282
417
  @utility edge-bottom {
418
+ @apply nudge-bottom;
283
419
  @apply edge-scaffold;
284
420
  @apply edge-adjust-bottom;
285
421
 
@@ -293,6 +429,7 @@
293
429
  }
294
430
 
295
431
  @utility edge-bottomleft {
432
+ @apply nudge-bottom;
296
433
  @apply edge-scaffold;
297
434
  @apply edge-adjust-bottomleft;
298
435
 
@@ -306,6 +443,7 @@
306
443
  }
307
444
 
308
445
  @utility edge-bottomright {
446
+ @apply nudge-bottomright;
309
447
  @apply edge-scaffold;
310
448
  @apply edge-adjust-bottomright;
311
449
 
@@ -319,20 +457,22 @@
319
457
  }
320
458
 
321
459
  @utility edge-bottomfull {
460
+ @apply nudge-bottomfull;
322
461
  @apply edge-scaffold;
323
462
  @apply edge-adjust-bottom;
324
463
 
325
464
  :where(.stack) > & {
326
- @apply stack-edge-bottom;
465
+ @apply stack-edge-bottomfull;
327
466
  }
328
467
 
329
468
  :where(.relative) > & {
330
- @apply relative-edge-bottom;
469
+ @apply relative-edge-bottomfull;
331
470
  }
332
471
  }
333
472
 
334
473
  /* Left */
335
474
  @utility edge-left {
475
+ @apply nudge-left;
336
476
  @apply edge-scaffold;
337
477
  @apply edge-adjust-left;
338
478
 
@@ -345,21 +485,51 @@
345
485
  }
346
486
  }
347
487
 
488
+ @utility edge-lefttop {
489
+ @apply nudge-topleft;
490
+ @apply edge-scaffold;
491
+ @apply edge-adjust-lefttop;
492
+
493
+ :where(.stack) > & {
494
+ @apply stack-edge-lefttop;
495
+ }
496
+
497
+ :where(.relative) > & {
498
+ @apply relative-edge-lefttop;
499
+ }
500
+ }
501
+
502
+ @utility edge-leftbottom {
503
+ @apply nudge-bottomleft;
504
+ @apply edge-scaffold;
505
+ @apply edge-adjust-leftbottom;
506
+
507
+ :where(.stack) > & {
508
+ @apply stack-edge-leftbottom;
509
+ }
510
+
511
+ :where(.relative) > & {
512
+ @apply relative-edge-leftbottom;
513
+ }
514
+ }
515
+
348
516
  @utility edge-leftfull {
517
+ @apply nudge-leftfull;
349
518
  @apply edge-scaffold;
350
519
  @apply edge-adjust-left;
351
520
 
352
521
  :where(.stack) > & {
353
- @apply stack-edge-left;
522
+ @apply stack-edge-leftfull;
354
523
  }
355
524
 
356
525
  :where(.relative) > & {
357
- @apply relative-edge-left;
526
+ @apply relative-edge-leftfull;
358
527
  }
359
528
  }
360
529
 
361
530
  /* Right */
362
531
  @utility edge-right {
532
+ @apply nudge-right;
363
533
  @apply edge-scaffold;
364
534
  @apply edge-adjust-right;
365
535
 
@@ -372,16 +542,45 @@
372
542
  }
373
543
  }
374
544
 
545
+ @utility edge-righttop {
546
+ @apply nudge-topright;
547
+ @apply edge-scaffold;
548
+ @apply edge-adjust-righttop;
549
+
550
+ :where(.stack) > & {
551
+ @apply stack-edge-righttop;
552
+ }
553
+
554
+ :where(.relative) > & {
555
+ @apply relative-edge-righttop;
556
+ }
557
+ }
558
+
559
+ @utility edge-rightbottom {
560
+ @apply nudge-bottomright;
561
+ @apply edge-scaffold;
562
+ @apply edge-adjust-rightbottom;
563
+
564
+ :where(.stack) > & {
565
+ @apply stack-edge-rightbottom;
566
+ }
567
+
568
+ :where(.relative) > & {
569
+ @apply relative-edge-rightbottom;
570
+ }
571
+ }
572
+
375
573
  @utility edge-rightfull {
574
+ @apply nudge-rightfull;
376
575
  @apply edge-scaffold;
377
576
  @apply edge-adjust-right;
378
577
 
379
578
  :where(.stack) > & {
380
- @apply stack-edge-right;
579
+ @apply stack-edge-rightfull;
381
580
  }
382
581
 
383
582
  :where(.relative) > & {
384
- @apply relative-edge-right;
583
+ @apply relative-edge-rightfull;
385
584
  }
386
585
  }
387
586
 
@@ -427,3 +626,43 @@
427
626
  @apply edge-bottomright;
428
627
  @apply edge-adjust-bottomright-end;
429
628
  }
629
+
630
+ @utility edge-lefttop-start {
631
+ @apply edge-lefttop;
632
+ @apply edge-adjust-lefttop-start;
633
+ }
634
+
635
+ @utility edge-lefttop-end {
636
+ @apply edge-lefttop;
637
+ @apply edge-adjust-lefttop-end;
638
+ }
639
+
640
+ @utility edge-leftbottom-start {
641
+ @apply edge-leftbottom;
642
+ @apply edge-adjust-leftbottom-start;
643
+ }
644
+
645
+ @utility edge-leftbottom-end {
646
+ @apply edge-leftbottom;
647
+ @apply edge-adjust-leftbottom-end;
648
+ }
649
+
650
+ @utility edge-righttop-start {
651
+ @apply edge-righttop;
652
+ @apply edge-adjust-righttop-start;
653
+ }
654
+
655
+ @utility edge-righttop-end {
656
+ @apply edge-righttop;
657
+ @apply edge-adjust-righttop-end;
658
+ }
659
+
660
+ @utility edge-rightbottom-start {
661
+ @apply edge-rightbottom;
662
+ @apply edge-adjust-rightbottom-start;
663
+ }
664
+
665
+ @utility edge-rightbottom-end {
666
+ @apply edge-rightbottom;
667
+ @apply edge-adjust-rightbottom-end;
668
+ }
@@ -6,33 +6,41 @@
6
6
  *********************/
7
7
  @utility fixed-top {
8
8
  & {
9
+ @apply nudge-top;
9
10
  position: fixed;
10
- top: 0;
11
- bottom: auto;
11
+ inset-block-start: 0;
12
12
  inset-inline: 0;
13
+ width: fit-content;
14
+ margin-inline: auto;
13
15
  }
14
16
  }
15
17
 
16
18
  @utility fixed-topleft {
17
19
  & {
18
- @apply fixed-top;
19
- right: auto;
20
+ @apply nudge-topleft;
21
+ position: fixed;
22
+ inset-block-start: 0;
23
+ inset-inline-start: 0;
20
24
  }
21
25
  }
22
26
 
23
27
  @utility fixed-topright {
24
28
  & {
25
- @apply fixed-top;
26
- left: auto;
29
+ @apply nudge-topright;
30
+ position: fixed;
31
+ inset-block-start: 0;
32
+ inset-inline-end: 0;
27
33
  }
28
34
  }
29
35
 
30
36
  @utility fixed-topfull {
31
37
  & {
32
- @apply fixed-top;
38
+ @apply nudge-topfull;
39
+ position: fixed;
40
+ inset-block-start: 0;
41
+ inset-inline: 0;
33
42
  width: 100%;
34
- max-width: none;
35
- margin-inline: 0;
43
+ max-width: 100%;
36
44
  }
37
45
  }
38
46
 
@@ -40,33 +48,41 @@
40
48
  *********************/
41
49
  @utility fixed-bottom {
42
50
  & {
51
+ @apply nudge-bottom;
43
52
  position: fixed;
44
- top: auto;
45
- bottom: 0;
53
+ inset-block-end: 0;
46
54
  inset-inline: 0;
55
+ width: fit-content;
56
+ margin-inline: auto;
47
57
  }
48
58
  }
49
59
 
50
60
  @utility fixed-bottomleft {
51
61
  & {
52
- @apply fixed-bottom;
53
- right: auto;
62
+ @apply nudge-bottomleft;
63
+ position: fixed;
64
+ inset-block-end: 0;
65
+ inset-inline-start: 0;
54
66
  }
55
67
  }
56
68
 
57
69
  @utility fixed-bottomright {
58
70
  & {
59
- @apply fixed-bottom;
60
- left: auto;
71
+ @apply nudge-bottomright;
72
+ position: fixed;
73
+ inset-block-end: 0;
74
+ inset-inline-end: 0;
61
75
  }
62
76
  }
63
77
 
64
78
  @utility fixed-bottomfull {
65
79
  & {
66
- @apply fixed-bottom;
80
+ @apply nudge-bottomfull;
81
+ position: fixed;
82
+ inset-block-end: 0;
83
+ inset-inline: 0;
67
84
  width: 100%;
68
- max-width: none;
69
- margin-inline: 0;
85
+ max-width: 100%;
70
86
  }
71
87
  }
72
88
 
@@ -74,19 +90,23 @@
74
90
  *********************/
75
91
  @utility fixed-left {
76
92
  & {
93
+ @apply nudge-left;
77
94
  position: fixed;
78
95
  inset-block: 0;
79
- left: 0;
80
- right: auto;
96
+ inset-inline-start: 0;
97
+ height: fit-content;
98
+ margin-block: auto;
81
99
  }
82
100
  }
83
101
 
84
102
  @utility fixed-leftfull {
85
103
  & {
86
- @apply fixed-left;
87
- height: auto;
88
- max-height: none;
89
- margin-block: 0;
104
+ @apply nudge-leftfull;
105
+ position: fixed;
106
+ inset-block: 0;
107
+ inset-inline-start: 0;
108
+ height: 100%;
109
+ max-height: 100%;
90
110
  }
91
111
  }
92
112
 
@@ -94,19 +114,23 @@
94
114
  *********************/
95
115
  @utility fixed-right {
96
116
  & {
117
+ @apply nudge-right;
97
118
  position: fixed;
98
119
  inset-block: 0;
99
- left: auto;
100
- right: 0;
120
+ inset-inline-end: 0;
121
+ height: fit-content;
122
+ margin-block: auto;
101
123
  }
102
124
  }
103
125
 
104
126
  @utility fixed-rightfull {
105
127
  & {
106
- @apply fixed-right;
107
- height: auto;
108
- max-height: none;
109
- margin-block: 0;
128
+ @apply nudge-rightfull;
129
+ position: fixed;
130
+ inset-block: 0;
131
+ inset-inline-end: 0;
132
+ height: 100%;
133
+ max-height: 100%;
110
134
  }
111
135
  }
112
136
 
@@ -115,6 +139,7 @@
115
139
  @utility fixed-center {
116
140
  & {
117
141
  position: fixed;
142
+ inset: 0;
118
143
  width: fit-content;
119
144
  height: fit-content;
120
145
  margin: auto;
@@ -125,9 +150,11 @@
125
150
  *********************/
126
151
  @utility fixed-overlay {
127
152
  & {
153
+ @apply nudge-overlay;
128
154
  position: fixed;
129
155
  inset-block: var(--nudge-y, var(--nudge, 0));
130
156
  inset-inline: var(--nudge-x, var(--nudge, 0));
131
157
  display: grid;
158
+ place-items: center;
132
159
  }
133
160
  }