@aortl/admin-css 0.2.0 → 0.4.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.
- package/README.md +2 -0
- package/dist/admin.css +189 -25
- package/dist/admin.min.css +1 -1
- package/dist/admin.scoped.css +513 -349
- package/dist/admin.scoped.min.css +11 -11
- package/package.json +5 -4
- package/src/{index.css → admin.css} +2 -0
- package/src/components/index.css +1 -0
- package/src/components/tooltip.css +115 -0
package/README.md
CHANGED
package/dist/admin.css
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
|
|
8
8
|
monospace;
|
|
9
9
|
--spacing: 0.25rem;
|
|
10
|
+
--container-xs: 20rem;
|
|
10
11
|
--text-xs: 0.75rem;
|
|
11
12
|
--text-xs--line-height: calc(1 / 0.75);
|
|
12
13
|
--text-sm: 0.875rem;
|
|
@@ -354,10 +355,77 @@
|
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
357
|
@layer utilities {
|
|
358
|
+
.collapse {
|
|
359
|
+
visibility: collapse;
|
|
360
|
+
}
|
|
361
|
+
.visible {
|
|
362
|
+
visibility: visible;
|
|
363
|
+
}
|
|
364
|
+
.sr-only {
|
|
365
|
+
position: absolute;
|
|
366
|
+
width: 1px;
|
|
367
|
+
height: 1px;
|
|
368
|
+
padding: 0;
|
|
369
|
+
margin: -1px;
|
|
370
|
+
overflow: hidden;
|
|
371
|
+
clip-path: inset(50%);
|
|
372
|
+
white-space: nowrap;
|
|
373
|
+
border-width: 0;
|
|
374
|
+
}
|
|
375
|
+
.sticky {
|
|
376
|
+
position: sticky;
|
|
377
|
+
}
|
|
378
|
+
.container {
|
|
379
|
+
width: 100%;
|
|
380
|
+
@media (width >= 40rem) {
|
|
381
|
+
max-width: 40rem;
|
|
382
|
+
}
|
|
383
|
+
@media (width >= 48rem) {
|
|
384
|
+
max-width: 48rem;
|
|
385
|
+
}
|
|
386
|
+
@media (width >= 64rem) {
|
|
387
|
+
max-width: 64rem;
|
|
388
|
+
}
|
|
389
|
+
@media (width >= 80rem) {
|
|
390
|
+
max-width: 80rem;
|
|
391
|
+
}
|
|
392
|
+
@media (width >= 96rem) {
|
|
393
|
+
max-width: 96rem;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
.block {
|
|
397
|
+
display: block;
|
|
398
|
+
}
|
|
399
|
+
.grid {
|
|
400
|
+
display: grid;
|
|
401
|
+
}
|
|
402
|
+
.hidden {
|
|
403
|
+
display: none;
|
|
404
|
+
}
|
|
405
|
+
.table {
|
|
406
|
+
display: table;
|
|
407
|
+
}
|
|
408
|
+
.table-cell {
|
|
409
|
+
display: table-cell;
|
|
410
|
+
}
|
|
411
|
+
.flex-1 {
|
|
412
|
+
flex: 1;
|
|
413
|
+
}
|
|
414
|
+
.text-right {
|
|
415
|
+
text-align: right;
|
|
416
|
+
}
|
|
417
|
+
.tabular-nums {
|
|
418
|
+
--tw-numeric-spacing: tabular-nums;
|
|
419
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
420
|
+
}
|
|
357
421
|
.shadow {
|
|
358
422
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
359
423
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
360
424
|
}
|
|
425
|
+
.select-all {
|
|
426
|
+
-webkit-user-select: all;
|
|
427
|
+
user-select: all;
|
|
428
|
+
}
|
|
361
429
|
}
|
|
362
430
|
@font-face {
|
|
363
431
|
font-family: "IBM Plex Sans";
|
|
@@ -3218,6 +3286,122 @@
|
|
|
3218
3286
|
outline-color: var(--color-primary);
|
|
3219
3287
|
}
|
|
3220
3288
|
}
|
|
3289
|
+
@layer components {
|
|
3290
|
+
.tooltip {
|
|
3291
|
+
pointer-events: none;
|
|
3292
|
+
display: inline-block;
|
|
3293
|
+
max-width: var(--container-xs);
|
|
3294
|
+
border-radius: var(--radius-md);
|
|
3295
|
+
background-color: var(--color-text);
|
|
3296
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
3297
|
+
padding-block: calc(var(--spacing) * 1);
|
|
3298
|
+
font-size: var(--text-xs);
|
|
3299
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
3300
|
+
--tw-leading: var(--leading-snug);
|
|
3301
|
+
line-height: var(--leading-snug);
|
|
3302
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
3303
|
+
font-weight: var(--font-weight-medium);
|
|
3304
|
+
color: var(--color-surface);
|
|
3305
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
3306
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3307
|
+
text-wrap: balance;
|
|
3308
|
+
}
|
|
3309
|
+
.tooltip-sm {
|
|
3310
|
+
padding-inline: calc(var(--spacing) * 1.5);
|
|
3311
|
+
padding-block: calc(var(--spacing) * 0.5);
|
|
3312
|
+
}
|
|
3313
|
+
.tooltip {
|
|
3314
|
+
transition: opacity 150ms ease-out, transform 150ms ease-out;
|
|
3315
|
+
}
|
|
3316
|
+
.tooltip[data-starting-style], .tooltip[data-ending-style] {
|
|
3317
|
+
opacity: 0;
|
|
3318
|
+
}
|
|
3319
|
+
.tooltip[data-side="top"][data-starting-style], .tooltip[data-side="top"][data-ending-style] {
|
|
3320
|
+
transform: translateY(0.25rem);
|
|
3321
|
+
}
|
|
3322
|
+
.tooltip[data-side="bottom"][data-starting-style], .tooltip[data-side="bottom"][data-ending-style] {
|
|
3323
|
+
transform: translateY(-0.25rem);
|
|
3324
|
+
}
|
|
3325
|
+
.tooltip[data-side="left"][data-starting-style], .tooltip[data-side="left"][data-ending-style] {
|
|
3326
|
+
transform: translateX(0.25rem);
|
|
3327
|
+
}
|
|
3328
|
+
.tooltip[data-side="right"][data-starting-style], .tooltip[data-side="right"][data-ending-style] {
|
|
3329
|
+
transform: translateX(-0.25rem);
|
|
3330
|
+
}
|
|
3331
|
+
.tooltip-wrap {
|
|
3332
|
+
position: relative;
|
|
3333
|
+
display: inline-flex;
|
|
3334
|
+
align-items: center;
|
|
3335
|
+
}
|
|
3336
|
+
.tooltip-wrap > .tooltip {
|
|
3337
|
+
visibility: hidden;
|
|
3338
|
+
position: absolute;
|
|
3339
|
+
opacity: 0%;
|
|
3340
|
+
left: 50%;
|
|
3341
|
+
bottom: 100%;
|
|
3342
|
+
margin-bottom: calc(var(--spacing) * 1.5);
|
|
3343
|
+
transform: translateX(-50%);
|
|
3344
|
+
transition: opacity 150ms ease-out 0ms, visibility 0s linear 150ms;
|
|
3345
|
+
}
|
|
3346
|
+
.tooltip-wrap-bottom > .tooltip {
|
|
3347
|
+
top: 100%;
|
|
3348
|
+
right: auto;
|
|
3349
|
+
bottom: auto;
|
|
3350
|
+
left: 50%;
|
|
3351
|
+
margin-top: calc(var(--spacing) * 1.5);
|
|
3352
|
+
margin-right: 0;
|
|
3353
|
+
margin-bottom: 0;
|
|
3354
|
+
margin-left: 0;
|
|
3355
|
+
transform: translateX(-50%);
|
|
3356
|
+
}
|
|
3357
|
+
.tooltip-wrap-left > .tooltip {
|
|
3358
|
+
top: 50%;
|
|
3359
|
+
right: 100%;
|
|
3360
|
+
bottom: auto;
|
|
3361
|
+
left: auto;
|
|
3362
|
+
margin-top: 0;
|
|
3363
|
+
margin-right: calc(var(--spacing) * 1.5);
|
|
3364
|
+
margin-bottom: 0;
|
|
3365
|
+
margin-left: 0;
|
|
3366
|
+
transform: translateY(-50%);
|
|
3367
|
+
}
|
|
3368
|
+
.tooltip-wrap-right > .tooltip {
|
|
3369
|
+
top: 50%;
|
|
3370
|
+
right: auto;
|
|
3371
|
+
bottom: auto;
|
|
3372
|
+
left: 100%;
|
|
3373
|
+
margin-top: 0;
|
|
3374
|
+
margin-right: 0;
|
|
3375
|
+
margin-bottom: 0;
|
|
3376
|
+
margin-left: calc(var(--spacing) * 1.5);
|
|
3377
|
+
transform: translateY(-50%);
|
|
3378
|
+
}
|
|
3379
|
+
.tooltip-wrap:hover > .tooltip, .tooltip-wrap:focus-within > .tooltip {
|
|
3380
|
+
visibility: visible;
|
|
3381
|
+
opacity: 100%;
|
|
3382
|
+
transition: opacity 150ms ease-out 200ms, visibility 0s linear 200ms;
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
@property --tw-ordinal {
|
|
3386
|
+
syntax: "*";
|
|
3387
|
+
inherits: false;
|
|
3388
|
+
}
|
|
3389
|
+
@property --tw-slashed-zero {
|
|
3390
|
+
syntax: "*";
|
|
3391
|
+
inherits: false;
|
|
3392
|
+
}
|
|
3393
|
+
@property --tw-numeric-figure {
|
|
3394
|
+
syntax: "*";
|
|
3395
|
+
inherits: false;
|
|
3396
|
+
}
|
|
3397
|
+
@property --tw-numeric-spacing {
|
|
3398
|
+
syntax: "*";
|
|
3399
|
+
inherits: false;
|
|
3400
|
+
}
|
|
3401
|
+
@property --tw-numeric-fraction {
|
|
3402
|
+
syntax: "*";
|
|
3403
|
+
inherits: false;
|
|
3404
|
+
}
|
|
3221
3405
|
@property --tw-shadow {
|
|
3222
3406
|
syntax: "*";
|
|
3223
3407
|
inherits: false;
|
|
@@ -3324,29 +3508,14 @@
|
|
|
3324
3508
|
syntax: "*";
|
|
3325
3509
|
inherits: false;
|
|
3326
3510
|
}
|
|
3327
|
-
@property --tw-ordinal {
|
|
3328
|
-
syntax: "*";
|
|
3329
|
-
inherits: false;
|
|
3330
|
-
}
|
|
3331
|
-
@property --tw-slashed-zero {
|
|
3332
|
-
syntax: "*";
|
|
3333
|
-
inherits: false;
|
|
3334
|
-
}
|
|
3335
|
-
@property --tw-numeric-figure {
|
|
3336
|
-
syntax: "*";
|
|
3337
|
-
inherits: false;
|
|
3338
|
-
}
|
|
3339
|
-
@property --tw-numeric-spacing {
|
|
3340
|
-
syntax: "*";
|
|
3341
|
-
inherits: false;
|
|
3342
|
-
}
|
|
3343
|
-
@property --tw-numeric-fraction {
|
|
3344
|
-
syntax: "*";
|
|
3345
|
-
inherits: false;
|
|
3346
|
-
}
|
|
3347
3511
|
@layer properties {
|
|
3348
3512
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
3349
3513
|
*, ::before, ::after, ::backdrop {
|
|
3514
|
+
--tw-ordinal: initial;
|
|
3515
|
+
--tw-slashed-zero: initial;
|
|
3516
|
+
--tw-numeric-figure: initial;
|
|
3517
|
+
--tw-numeric-spacing: initial;
|
|
3518
|
+
--tw-numeric-fraction: initial;
|
|
3350
3519
|
--tw-shadow: 0 0 #0000;
|
|
3351
3520
|
--tw-shadow-color: initial;
|
|
3352
3521
|
--tw-shadow-alpha: 100%;
|
|
@@ -3370,11 +3539,6 @@
|
|
|
3370
3539
|
--tw-translate-y: 0;
|
|
3371
3540
|
--tw-translate-z: 0;
|
|
3372
3541
|
--tw-tracking: initial;
|
|
3373
|
-
--tw-ordinal: initial;
|
|
3374
|
-
--tw-slashed-zero: initial;
|
|
3375
|
-
--tw-numeric-figure: initial;
|
|
3376
|
-
--tw-numeric-spacing: initial;
|
|
3377
|
-
--tw-numeric-fraction: initial;
|
|
3378
3542
|
}
|
|
3379
3543
|
}
|
|
3380
3544
|
}
|