@aortl/admin-css 0.16.1 → 0.17.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/CHANGELOG.md +72 -0
- package/dist/admin.css +351 -11
- package/dist/admin.min.css +1 -1
- package/dist/admin.scoped.css +345 -11
- package/dist/admin.scoped.min.css +67 -6
- package/package.json +3 -2
- package/src/components/accordion.css +4 -13
- package/src/components/alert.css +38 -23
- package/src/components/app-shell.css +2 -4
- package/src/components/avatar.css +36 -0
- package/src/components/badge.css +37 -5
- package/src/components/brand-tile.css +36 -0
- package/src/components/breadcrumbs.css +2 -11
- package/src/components/button-group.css +7 -19
- package/src/components/button.css +7 -23
- package/src/components/card.css +48 -26
- package/src/components/chart.css +26 -83
- package/src/components/checkbox.css +3 -9
- package/src/components/code-block.css +2 -4
- package/src/components/container.css +3 -7
- package/src/components/dialog.css +11 -18
- package/src/components/field.css +3 -7
- package/src/components/footer.css +2 -3
- package/src/components/index.css +3 -0
- package/src/components/indicator.css +21 -28
- package/src/components/input-group.css +3 -6
- package/src/components/input-icon.css +46 -0
- package/src/components/input.css +2 -5
- package/src/components/kbd.css +7 -13
- package/src/components/link.css +2 -8
- package/src/components/menu.css +9 -24
- package/src/components/navbar.css +3 -7
- package/src/components/pagination.css +1 -4
- package/src/components/progress.css +3 -7
- package/src/components/property-list.css +5 -14
- package/src/components/prose.css +6 -24
- package/src/components/radio.css +3 -7
- package/src/components/select.css +4 -11
- package/src/components/separator.css +13 -0
- package/src/components/sidebar.css +2 -7
- package/src/components/spinner.css +1 -4
- package/src/components/stat-card.css +5 -16
- package/src/components/switch.css +3 -5
- package/src/components/table.css +25 -34
- package/src/components/tabs.css +14 -32
- package/src/components/textarea.css +3 -7
- package/src/components/tooltip.css +6 -16
- package/src/fonts.css +8 -28
- package/src/theme.css +32 -100
- package/src/utilities.css +11 -37
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
All notable changes to `@aortl/admin-css` and `@aortl/admin-react` are documented here. The two packages share a version and release together; each entry is tagged `(css)`, `(react)`, or `(both)` to show which package a consumer needs to bump.
|
|
2
|
+
|
|
3
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
4
|
+
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [0.17.0] - 2026-06-15
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `Separator` component / `.separator` class — a styled `<hr>` with a vertical modifier. (both)
|
|
12
|
+
- `Avatar` and `AvatarGroup` / `.avatar` — image with a no-JS initials fallback, circle/square, `sm`/`md`/`lg`, plus `.indicator` auto-offsets for avatar anchors. (both)
|
|
13
|
+
- Badge soft tinted variants (`soft` / `.badge-soft`) and a dismissible remove button (`onRemove`, `removeLabel` / `.badge-remove`). (both)
|
|
14
|
+
- Alert trailing action slot (`action` / `Alert.Action` / `.alert-action`). (both)
|
|
15
|
+
- In-field input icons — `icon` / `iconTrailing` on `Input`, `.input-icon` wrapper. (both)
|
|
16
|
+
- Card media slot (`media` / `Card.Media` / `.card-media`) and scroll region (`scroll` on `Card.Container` / `.card-scroll`). (both)
|
|
17
|
+
- BrandTile `lg` size, soft tint variants, and bordered image tiles. (both)
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- `.link` inside an `.alert` inherits the variant's content color instead of the link blue. (css)
|
|
22
|
+
- `tfoot` rows are styled by default — semibold cells with a strong divider above the first footer row (previously unstyled). (css)
|
|
23
|
+
|
|
24
|
+
## [0.16.2] - 2026-06-11
|
|
25
|
+
|
|
26
|
+
- Add a changelog following the Keep a Changelog format.
|
|
27
|
+
|
|
28
|
+
## [0.16.1] - 2026-06-03
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Break long unbreakable tokens instead of overflowing flex/grid tracks. (css)
|
|
33
|
+
|
|
34
|
+
## [0.16.0] - 2026-06-03
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- `Prose` component / `.prose` class for styling rendered markdown and HTML. (both)
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- Rename the default `Progress` and chart variant from `primary` to `info`. (both)
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- Block activation and hotkeys on disabled `Menu` items. (both)
|
|
47
|
+
- Style native vanilla checkbox and radio inputs to match the React components. (css)
|
|
48
|
+
- Let the `Dialog` body scroll on tall content. (css)
|
|
49
|
+
- Merge a consumer-supplied `Dialog` ref so open/close survives. (react)
|
|
50
|
+
- Drop `overflow-auto` on `Card` so popovers and focus rings aren't clipped. (css)
|
|
51
|
+
|
|
52
|
+
## [0.15.1] - 2026-06-02
|
|
53
|
+
|
|
54
|
+
### Added
|
|
55
|
+
|
|
56
|
+
- Sliding animation on `Tabs`. (both)
|
|
57
|
+
|
|
58
|
+
## [0.15.0] - 2026-06-02
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
|
|
62
|
+
- Make `primary` a high-contrast neutral and move blue to `info`. (both)
|
|
63
|
+
- Use solid color fills for `Alert` and `Badge` status variants. (both)
|
|
64
|
+
|
|
65
|
+
[Unreleased]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.17.0...HEAD
|
|
66
|
+
[0.16.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.0...v0.16.1
|
|
67
|
+
[0.16.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.1...v0.16.0
|
|
68
|
+
[0.15.1]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.15.0...v0.15.1
|
|
69
|
+
[0.15.0]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.15.0
|
|
70
|
+
|
|
71
|
+
[0.17.0]: https://github.com/Digital-Udvikling/admin-design-system/compare/v0.16.2...v0.17.0
|
|
72
|
+
[0.16.2]: https://github.com/Digital-Udvikling/admin-design-system/releases/tag/v0.16.2
|
package/dist/admin.css
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
--font-weight-medium: 500;
|
|
26
26
|
--font-weight-semibold: 600;
|
|
27
27
|
--font-weight-bold: 700;
|
|
28
|
+
--tracking-tight: -0.025em;
|
|
28
29
|
--tracking-wide: 0.025em;
|
|
29
30
|
--leading-tight: 1.25;
|
|
30
31
|
--leading-snug: 1.375;
|
|
@@ -417,6 +418,9 @@
|
|
|
417
418
|
max-width: 96rem;
|
|
418
419
|
}
|
|
419
420
|
}
|
|
421
|
+
.my-4 {
|
|
422
|
+
margin-block: calc(var(--spacing) * 4);
|
|
423
|
+
}
|
|
420
424
|
.block {
|
|
421
425
|
display: block;
|
|
422
426
|
}
|
|
@@ -464,10 +468,6 @@
|
|
|
464
468
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
465
469
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
466
470
|
}
|
|
467
|
-
.select-all {
|
|
468
|
-
-webkit-user-select: all;
|
|
469
|
-
user-select: all;
|
|
470
|
-
}
|
|
471
471
|
}
|
|
472
472
|
@font-face {
|
|
473
473
|
font-family: "IBM Plex Sans";
|
|
@@ -700,11 +700,21 @@
|
|
|
700
700
|
row-gap: 0.25rem;
|
|
701
701
|
align-items: center;
|
|
702
702
|
}
|
|
703
|
+
.alert:has(> .alert-action) {
|
|
704
|
+
display: grid;
|
|
705
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
706
|
+
column-gap: 0.5rem;
|
|
707
|
+
row-gap: 0.25rem;
|
|
708
|
+
align-items: center;
|
|
709
|
+
}
|
|
710
|
+
.alert:has(> :is(i, svg):first-child):has(> .alert-action) {
|
|
711
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
712
|
+
}
|
|
703
713
|
.alert > :is(i, svg):first-child {
|
|
704
714
|
font-size: 1rem;
|
|
705
715
|
line-height: 1.25;
|
|
706
716
|
}
|
|
707
|
-
.alert:has(> :is(i, svg):first-child):has(> .alert-
|
|
717
|
+
.alert:has(> .alert-title):is(:has(> :is(i, svg):first-child), :has(> .alert-action)) {
|
|
708
718
|
grid-template-rows: auto auto;
|
|
709
719
|
align-items: start;
|
|
710
720
|
}
|
|
@@ -712,9 +722,20 @@
|
|
|
712
722
|
grid-row: 1 / -1;
|
|
713
723
|
}
|
|
714
724
|
.alert > :is(.alert-title, .alert-description) {
|
|
715
|
-
grid-column: 2;
|
|
716
725
|
min-width: 0;
|
|
717
726
|
}
|
|
727
|
+
.alert:has(> :is(i, svg):first-child) > :is(.alert-title, .alert-description) {
|
|
728
|
+
grid-column: 2;
|
|
729
|
+
}
|
|
730
|
+
.alert > .alert-action {
|
|
731
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
732
|
+
font-weight: var(--font-weight-medium);
|
|
733
|
+
white-space: nowrap;
|
|
734
|
+
grid-column: -2;
|
|
735
|
+
grid-row: 1 / -1;
|
|
736
|
+
justify-self: end;
|
|
737
|
+
align-self: center;
|
|
738
|
+
}
|
|
718
739
|
.alert-info {
|
|
719
740
|
border-color: var(--color-info);
|
|
720
741
|
background-color: var(--color-info);
|
|
@@ -742,6 +763,22 @@
|
|
|
742
763
|
.alert-description {
|
|
743
764
|
opacity: 0.85;
|
|
744
765
|
}
|
|
766
|
+
.alert .link {
|
|
767
|
+
color: currentcolor;
|
|
768
|
+
&:hover {
|
|
769
|
+
@media (hover: hover) {
|
|
770
|
+
color: currentcolor;
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
&:hover {
|
|
774
|
+
@media (hover: hover) {
|
|
775
|
+
opacity: 85%;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
&:focus-visible {
|
|
779
|
+
outline-color: currentcolor;
|
|
780
|
+
}
|
|
781
|
+
}
|
|
745
782
|
}
|
|
746
783
|
@layer components {
|
|
747
784
|
.app-shell {
|
|
@@ -862,6 +899,74 @@
|
|
|
862
899
|
background-color: var(--color-primary);
|
|
863
900
|
color: var(--color-primary-content);
|
|
864
901
|
}
|
|
902
|
+
.badge-soft.badge-info {
|
|
903
|
+
border-color: var(--color-info-muted);
|
|
904
|
+
background-color: var(--color-info-muted);
|
|
905
|
+
color: var(--color-info);
|
|
906
|
+
}
|
|
907
|
+
.badge-soft.badge-success {
|
|
908
|
+
border-color: var(--color-success-muted);
|
|
909
|
+
background-color: var(--color-success-muted);
|
|
910
|
+
color: var(--color-success);
|
|
911
|
+
}
|
|
912
|
+
.badge-soft.badge-warning {
|
|
913
|
+
border-color: var(--color-warning-muted);
|
|
914
|
+
background-color: var(--color-warning-muted);
|
|
915
|
+
color: var(--color-text);
|
|
916
|
+
}
|
|
917
|
+
.badge-soft.badge-danger {
|
|
918
|
+
border-color: var(--color-danger-muted);
|
|
919
|
+
background-color: var(--color-danger-muted);
|
|
920
|
+
color: var(--color-danger);
|
|
921
|
+
}
|
|
922
|
+
.badge-soft.badge-primary {
|
|
923
|
+
border-color: var(--color-primary-muted);
|
|
924
|
+
background-color: var(--color-primary-muted);
|
|
925
|
+
color: var(--color-text);
|
|
926
|
+
}
|
|
927
|
+
.badge-remove {
|
|
928
|
+
margin-right: calc(var(--spacing) * -1);
|
|
929
|
+
display: inline-flex;
|
|
930
|
+
width: calc(var(--spacing) * 3.5);
|
|
931
|
+
height: calc(var(--spacing) * 3.5);
|
|
932
|
+
flex-shrink: 0;
|
|
933
|
+
cursor: pointer;
|
|
934
|
+
align-items: center;
|
|
935
|
+
justify-content: center;
|
|
936
|
+
border-radius: calc(infinity * 1px);
|
|
937
|
+
color: inherit;
|
|
938
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
939
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
940
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
941
|
+
--tw-duration: 150ms;
|
|
942
|
+
transition-duration: 150ms;
|
|
943
|
+
&:focus-visible {
|
|
944
|
+
outline-style: var(--tw-outline-style);
|
|
945
|
+
outline-width: 2px;
|
|
946
|
+
}
|
|
947
|
+
&:focus-visible {
|
|
948
|
+
outline-offset: 1px;
|
|
949
|
+
}
|
|
950
|
+
&:focus-visible {
|
|
951
|
+
outline-color: var(--color-focus);
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
.badge-remove:hover {
|
|
955
|
+
background-color: currentColor;
|
|
956
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
957
|
+
background-color: color-mix(in oklab, currentColor 15%, transparent);
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
.badge-sm .badge-remove {
|
|
961
|
+
margin-right: calc(var(--spacing) * -0.5);
|
|
962
|
+
width: calc(var(--spacing) * 3);
|
|
963
|
+
height: calc(var(--spacing) * 3);
|
|
964
|
+
}
|
|
965
|
+
.badge-lg .badge-remove {
|
|
966
|
+
margin-right: calc(var(--spacing) * -1.5);
|
|
967
|
+
width: calc(var(--spacing) * 4.5);
|
|
968
|
+
height: calc(var(--spacing) * 4.5);
|
|
969
|
+
}
|
|
865
970
|
.badge-sm {
|
|
866
971
|
height: calc(var(--spacing) * 4);
|
|
867
972
|
gap: calc(var(--spacing) * 0.5);
|
|
@@ -895,6 +1000,106 @@
|
|
|
895
1000
|
-webkit-user-select: none;
|
|
896
1001
|
user-select: none;
|
|
897
1002
|
}
|
|
1003
|
+
.brand-tile > :is(i, svg) {
|
|
1004
|
+
font-size: 14px;
|
|
1005
|
+
}
|
|
1006
|
+
.brand-tile-lg {
|
|
1007
|
+
width: calc(var(--spacing) * 10);
|
|
1008
|
+
height: calc(var(--spacing) * 10);
|
|
1009
|
+
border-radius: var(--radius-md);
|
|
1010
|
+
font-size: var(--text-sm);
|
|
1011
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
1012
|
+
}
|
|
1013
|
+
.brand-tile-lg > :is(i, svg) {
|
|
1014
|
+
font-size: 20px;
|
|
1015
|
+
}
|
|
1016
|
+
.brand-tile-soft {
|
|
1017
|
+
background-color: var(--color-system-accent-muted);
|
|
1018
|
+
color: var(--color-system-accent);
|
|
1019
|
+
}
|
|
1020
|
+
.brand-tile-info {
|
|
1021
|
+
background-color: var(--color-info-muted);
|
|
1022
|
+
color: var(--color-info);
|
|
1023
|
+
}
|
|
1024
|
+
.brand-tile-success {
|
|
1025
|
+
background-color: var(--color-success-muted);
|
|
1026
|
+
color: var(--color-success);
|
|
1027
|
+
}
|
|
1028
|
+
.brand-tile-danger {
|
|
1029
|
+
background-color: var(--color-danger-muted);
|
|
1030
|
+
color: var(--color-danger);
|
|
1031
|
+
}
|
|
1032
|
+
.brand-tile:has(> img) {
|
|
1033
|
+
border-style: var(--tw-border-style);
|
|
1034
|
+
border-width: 1px;
|
|
1035
|
+
border-color: var(--color-border);
|
|
1036
|
+
background-color: var(--color-surface);
|
|
1037
|
+
padding: calc(var(--spacing) * 0.5);
|
|
1038
|
+
}
|
|
1039
|
+
.brand-tile > img {
|
|
1040
|
+
width: 100%;
|
|
1041
|
+
height: 100%;
|
|
1042
|
+
border-radius: inherit;
|
|
1043
|
+
object-fit: contain;
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
@layer components {
|
|
1047
|
+
.avatar {
|
|
1048
|
+
position: relative;
|
|
1049
|
+
display: inline-flex;
|
|
1050
|
+
width: calc(var(--spacing) * 8);
|
|
1051
|
+
height: calc(var(--spacing) * 8);
|
|
1052
|
+
flex-shrink: 0;
|
|
1053
|
+
align-items: center;
|
|
1054
|
+
justify-content: center;
|
|
1055
|
+
overflow: hidden;
|
|
1056
|
+
border-radius: calc(infinity * 1px);
|
|
1057
|
+
background-color: var(--color-surface-strong);
|
|
1058
|
+
font-size: var(--text-xs);
|
|
1059
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1060
|
+
--tw-leading: 1;
|
|
1061
|
+
line-height: 1;
|
|
1062
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
1063
|
+
font-weight: var(--font-weight-medium);
|
|
1064
|
+
--tw-tracking: var(--tracking-tight);
|
|
1065
|
+
letter-spacing: var(--tracking-tight);
|
|
1066
|
+
color: var(--color-text-muted);
|
|
1067
|
+
-webkit-user-select: none;
|
|
1068
|
+
user-select: none;
|
|
1069
|
+
}
|
|
1070
|
+
.avatar > img {
|
|
1071
|
+
position: absolute;
|
|
1072
|
+
inset: calc(var(--spacing) * 0);
|
|
1073
|
+
width: 100%;
|
|
1074
|
+
height: 100%;
|
|
1075
|
+
object-fit: cover;
|
|
1076
|
+
}
|
|
1077
|
+
.avatar-square {
|
|
1078
|
+
border-radius: var(--radius-md);
|
|
1079
|
+
}
|
|
1080
|
+
.avatar-sm {
|
|
1081
|
+
width: calc(var(--spacing) * 6);
|
|
1082
|
+
height: calc(var(--spacing) * 6);
|
|
1083
|
+
font-size: 0.625rem;
|
|
1084
|
+
}
|
|
1085
|
+
.avatar-lg {
|
|
1086
|
+
width: calc(var(--spacing) * 10);
|
|
1087
|
+
height: calc(var(--spacing) * 10);
|
|
1088
|
+
font-size: var(--text-sm);
|
|
1089
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
1090
|
+
}
|
|
1091
|
+
.avatar-group {
|
|
1092
|
+
display: inline-flex;
|
|
1093
|
+
align-items: center;
|
|
1094
|
+
}
|
|
1095
|
+
.avatar-group > .avatar {
|
|
1096
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1097
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1098
|
+
--tw-ring-color: var(--color-surface);
|
|
1099
|
+
}
|
|
1100
|
+
.avatar-group > .avatar + .avatar {
|
|
1101
|
+
margin-inline-start: calc(var(--spacing) * -2);
|
|
1102
|
+
}
|
|
898
1103
|
}
|
|
899
1104
|
@layer components {
|
|
900
1105
|
.kbd {
|
|
@@ -958,6 +1163,18 @@
|
|
|
958
1163
|
.indicator:has(> .card) {
|
|
959
1164
|
--indicator-offset: 6px;
|
|
960
1165
|
}
|
|
1166
|
+
.indicator:has(> .avatar) {
|
|
1167
|
+
--indicator-offset: 5px;
|
|
1168
|
+
}
|
|
1169
|
+
.indicator:has(> .avatar-sm) {
|
|
1170
|
+
--indicator-offset: 3px;
|
|
1171
|
+
}
|
|
1172
|
+
.indicator:has(> .avatar-lg) {
|
|
1173
|
+
--indicator-offset: 6px;
|
|
1174
|
+
}
|
|
1175
|
+
.indicator:has(> .avatar-square) {
|
|
1176
|
+
--indicator-offset: 2px;
|
|
1177
|
+
}
|
|
961
1178
|
.indicator-item {
|
|
962
1179
|
position: absolute;
|
|
963
1180
|
z-index: 1;
|
|
@@ -1391,6 +1608,24 @@
|
|
|
1391
1608
|
color: var(--color-success);
|
|
1392
1609
|
}
|
|
1393
1610
|
}
|
|
1611
|
+
@layer components {
|
|
1612
|
+
.separator {
|
|
1613
|
+
margin: calc(var(--spacing) * 0);
|
|
1614
|
+
display: block;
|
|
1615
|
+
height: 1px;
|
|
1616
|
+
width: 100%;
|
|
1617
|
+
flex-shrink: 0;
|
|
1618
|
+
border-style: var(--tw-border-style);
|
|
1619
|
+
border-width: 0px;
|
|
1620
|
+
background-color: var(--color-border);
|
|
1621
|
+
}
|
|
1622
|
+
.separator-vertical {
|
|
1623
|
+
height: auto;
|
|
1624
|
+
width: 1px;
|
|
1625
|
+
align-self: stretch;
|
|
1626
|
+
min-height: 1lh;
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1394
1629
|
@layer components {
|
|
1395
1630
|
.btn {
|
|
1396
1631
|
display: inline-flex;
|
|
@@ -1825,6 +2060,53 @@
|
|
|
1825
2060
|
color: var(--color-text-muted);
|
|
1826
2061
|
}
|
|
1827
2062
|
}
|
|
2063
|
+
@layer components {
|
|
2064
|
+
.input-icon {
|
|
2065
|
+
position: relative;
|
|
2066
|
+
display: inline-flex;
|
|
2067
|
+
width: 100%;
|
|
2068
|
+
align-items: center;
|
|
2069
|
+
font-size: var(--text-sm);
|
|
2070
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2071
|
+
color: var(--color-text-muted);
|
|
2072
|
+
--input-icon-inset: calc(var(--spacing) * 3);
|
|
2073
|
+
--input-icon-pad: calc(var(--spacing) * 9);
|
|
2074
|
+
}
|
|
2075
|
+
.input-icon:has(> .input-sm) {
|
|
2076
|
+
font-size: var(--text-xs);
|
|
2077
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
2078
|
+
--input-icon-inset: calc(var(--spacing) * 2.5);
|
|
2079
|
+
--input-icon-pad: calc(var(--spacing) * 8);
|
|
2080
|
+
}
|
|
2081
|
+
.input-icon:has(> .input-lg) {
|
|
2082
|
+
font-size: var(--text-base);
|
|
2083
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
2084
|
+
--input-icon-inset: calc(var(--spacing) * 4);
|
|
2085
|
+
--input-icon-pad: calc(var(--spacing) * 10);
|
|
2086
|
+
}
|
|
2087
|
+
.input-icon > :where(i, svg) {
|
|
2088
|
+
pointer-events: none;
|
|
2089
|
+
position: absolute;
|
|
2090
|
+
top: calc(1 / 2 * 100%);
|
|
2091
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
2092
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2093
|
+
}
|
|
2094
|
+
.input-icon > :where(i, svg):first-child {
|
|
2095
|
+
left: var(--input-icon-inset);
|
|
2096
|
+
}
|
|
2097
|
+
.input-icon > .input ~ :where(i, svg) {
|
|
2098
|
+
right: var(--input-icon-inset);
|
|
2099
|
+
}
|
|
2100
|
+
.input-icon:has(> :where(i, svg):first-child) > .input {
|
|
2101
|
+
padding-left: var(--input-icon-pad);
|
|
2102
|
+
}
|
|
2103
|
+
.input-icon:has(> .input ~ :where(i, svg)) > .input {
|
|
2104
|
+
padding-right: var(--input-icon-pad);
|
|
2105
|
+
}
|
|
2106
|
+
.input-icon:has(> .input:disabled) > :where(i, svg) {
|
|
2107
|
+
opacity: 50%;
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
1828
2110
|
@layer components {
|
|
1829
2111
|
.textarea {
|
|
1830
2112
|
display: block;
|
|
@@ -2574,6 +2856,55 @@
|
|
|
2574
2856
|
.card-danger .card-title {
|
|
2575
2857
|
color: var(--color-danger);
|
|
2576
2858
|
}
|
|
2859
|
+
.card-media {
|
|
2860
|
+
display: block;
|
|
2861
|
+
width: 100%;
|
|
2862
|
+
flex-shrink: 0;
|
|
2863
|
+
overflow: hidden;
|
|
2864
|
+
}
|
|
2865
|
+
.card-media:first-child {
|
|
2866
|
+
border-top-left-radius: inherit;
|
|
2867
|
+
border-top-right-radius: inherit;
|
|
2868
|
+
}
|
|
2869
|
+
.card-media:last-child {
|
|
2870
|
+
border-bottom-left-radius: inherit;
|
|
2871
|
+
border-bottom-right-radius: inherit;
|
|
2872
|
+
}
|
|
2873
|
+
.card-media > :is(img, video) {
|
|
2874
|
+
display: block;
|
|
2875
|
+
height: 100%;
|
|
2876
|
+
width: 100%;
|
|
2877
|
+
object-fit: cover;
|
|
2878
|
+
}
|
|
2879
|
+
.card-scroll > .card-header {
|
|
2880
|
+
flex-shrink: 0;
|
|
2881
|
+
border-bottom-style: var(--tw-border-style);
|
|
2882
|
+
border-bottom-width: 1px;
|
|
2883
|
+
border-color: var(--color-border);
|
|
2884
|
+
padding-inline: calc(var(--spacing) * 5);
|
|
2885
|
+
padding-block: calc(var(--spacing) * 3);
|
|
2886
|
+
}
|
|
2887
|
+
.card-scroll > .card-body {
|
|
2888
|
+
min-height: calc(var(--spacing) * 0);
|
|
2889
|
+
flex: 1;
|
|
2890
|
+
overflow-y: auto;
|
|
2891
|
+
}
|
|
2892
|
+
.card-scroll > .card-body:last-child {
|
|
2893
|
+
border-bottom-left-radius: inherit;
|
|
2894
|
+
border-bottom-right-radius: inherit;
|
|
2895
|
+
}
|
|
2896
|
+
.card-scroll > .card-actions {
|
|
2897
|
+
flex-shrink: 0;
|
|
2898
|
+
border-top-style: var(--tw-border-style);
|
|
2899
|
+
border-top-width: 1px;
|
|
2900
|
+
border-color: var(--color-border);
|
|
2901
|
+
padding-inline: calc(var(--spacing) * 5);
|
|
2902
|
+
padding-block: calc(var(--spacing) * 3);
|
|
2903
|
+
}
|
|
2904
|
+
.card-compact.card-scroll > :is(.card-header, .card-actions) {
|
|
2905
|
+
padding-inline: calc(var(--spacing) * 3);
|
|
2906
|
+
padding-block: calc(var(--spacing) * 2);
|
|
2907
|
+
}
|
|
2577
2908
|
}
|
|
2578
2909
|
@layer components {
|
|
2579
2910
|
.stat-card {
|
|
@@ -3957,6 +4288,15 @@
|
|
|
3957
4288
|
white-space: nowrap;
|
|
3958
4289
|
color: var(--color-text-muted);
|
|
3959
4290
|
}
|
|
4291
|
+
.table :where(tfoot :is(td, th)) {
|
|
4292
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
4293
|
+
font-weight: var(--font-weight-semibold);
|
|
4294
|
+
}
|
|
4295
|
+
.table :where(tfoot tr:first-child :is(td, th)) {
|
|
4296
|
+
border-top-style: var(--tw-border-style);
|
|
4297
|
+
border-top-width: 2px;
|
|
4298
|
+
border-top-color: var(--color-border-strong);
|
|
4299
|
+
}
|
|
3960
4300
|
.table :where(td), .table-cell {
|
|
3961
4301
|
overflow-wrap: break-word;
|
|
3962
4302
|
}
|
|
@@ -4654,6 +4994,10 @@
|
|
|
4654
4994
|
syntax: "*";
|
|
4655
4995
|
inherits: false;
|
|
4656
4996
|
}
|
|
4997
|
+
@property --tw-tracking {
|
|
4998
|
+
syntax: "*";
|
|
4999
|
+
inherits: false;
|
|
5000
|
+
}
|
|
4657
5001
|
@property --tw-translate-x {
|
|
4658
5002
|
syntax: "*";
|
|
4659
5003
|
inherits: false;
|
|
@@ -4669,10 +5013,6 @@
|
|
|
4669
5013
|
inherits: false;
|
|
4670
5014
|
initial-value: 0;
|
|
4671
5015
|
}
|
|
4672
|
-
@property --tw-tracking {
|
|
4673
|
-
syntax: "*";
|
|
4674
|
-
inherits: false;
|
|
4675
|
-
}
|
|
4676
5016
|
@layer properties {
|
|
4677
5017
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
4678
5018
|
*, ::before, ::after, ::backdrop {
|
|
@@ -4705,10 +5045,10 @@
|
|
|
4705
5045
|
--tw-border-style: solid;
|
|
4706
5046
|
--tw-outline-style: solid;
|
|
4707
5047
|
--tw-duration: initial;
|
|
5048
|
+
--tw-tracking: initial;
|
|
4708
5049
|
--tw-translate-x: 0;
|
|
4709
5050
|
--tw-translate-y: 0;
|
|
4710
5051
|
--tw-translate-z: 0;
|
|
4711
|
-
--tw-tracking: initial;
|
|
4712
5052
|
}
|
|
4713
5053
|
}
|
|
4714
5054
|
}
|