@aortl/admin-css 0.17.0 → 0.18.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 +19 -1
- package/dist/admin.css +629 -14
- package/dist/admin.min.css +1 -1
- package/dist/admin.scoped.css +621 -14
- package/dist/admin.scoped.min.css +114 -8
- package/package.json +1 -1
- package/src/components/alert.css +44 -8
- package/src/components/avatar.css +6 -0
- package/src/components/drawer.css +81 -0
- package/src/components/index.css +4 -0
- package/src/components/input-icon.css +22 -3
- package/src/components/item.css +76 -0
- package/src/components/menu.css +15 -0
- package/src/components/number-input.css +64 -0
- package/src/components/stat-card.css +33 -0
- package/src/components/table.css +44 -0
- package/src/components/timeline.css +113 -0
package/dist/admin.css
CHANGED
|
@@ -468,6 +468,10 @@
|
|
|
468
468
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
469
469
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
470
470
|
}
|
|
471
|
+
.outline {
|
|
472
|
+
outline-style: var(--tw-outline-style);
|
|
473
|
+
outline-width: 1px;
|
|
474
|
+
}
|
|
471
475
|
}
|
|
472
476
|
@font-face {
|
|
473
477
|
font-family: "IBM Plex Sans";
|
|
@@ -700,21 +704,27 @@
|
|
|
700
704
|
row-gap: 0.25rem;
|
|
701
705
|
align-items: center;
|
|
702
706
|
}
|
|
703
|
-
.alert:has(> .alert-action) {
|
|
707
|
+
.alert:has(> .alert-action), .alert:has(> .alert-dismiss) {
|
|
704
708
|
display: grid;
|
|
705
709
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
706
710
|
column-gap: 0.5rem;
|
|
707
711
|
row-gap: 0.25rem;
|
|
708
712
|
align-items: center;
|
|
709
713
|
}
|
|
710
|
-
.alert:has(>
|
|
714
|
+
.alert:has(> .alert-action):has(> .alert-dismiss) {
|
|
715
|
+
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
716
|
+
}
|
|
717
|
+
.alert:has(> :is(i, svg):first-child):is(:has(> .alert-action), :has(> .alert-dismiss)) {
|
|
711
718
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
712
719
|
}
|
|
720
|
+
.alert:has(> :is(i, svg):first-child):has(> .alert-action):has(> .alert-dismiss) {
|
|
721
|
+
grid-template-columns: auto minmax(0, 1fr) auto auto;
|
|
722
|
+
}
|
|
713
723
|
.alert > :is(i, svg):first-child {
|
|
714
724
|
font-size: 1rem;
|
|
715
725
|
line-height: 1.25;
|
|
716
726
|
}
|
|
717
|
-
.alert:has(> .alert-title):is(:has(> :is(i, svg):first-child), :has(> .alert-action)) {
|
|
727
|
+
.alert:has(> .alert-title):is( :has(> :is(i, svg):first-child), :has(> .alert-action), :has(> .alert-dismiss) ) {
|
|
718
728
|
grid-template-rows: auto auto;
|
|
719
729
|
align-items: start;
|
|
720
730
|
}
|
|
@@ -727,14 +737,22 @@
|
|
|
727
737
|
.alert:has(> :is(i, svg):first-child) > :is(.alert-title, .alert-description) {
|
|
728
738
|
grid-column: 2;
|
|
729
739
|
}
|
|
740
|
+
.alert > :is(.alert-action, .alert-dismiss) {
|
|
741
|
+
grid-row: 1 / -1;
|
|
742
|
+
justify-self: end;
|
|
743
|
+
align-self: center;
|
|
744
|
+
}
|
|
730
745
|
.alert > .alert-action {
|
|
731
746
|
--tw-font-weight: var(--font-weight-medium);
|
|
732
747
|
font-weight: var(--font-weight-medium);
|
|
733
748
|
white-space: nowrap;
|
|
734
749
|
grid-column: -2;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
750
|
+
}
|
|
751
|
+
.alert > .alert-dismiss {
|
|
752
|
+
grid-column: -2;
|
|
753
|
+
}
|
|
754
|
+
.alert:has(> .alert-dismiss) > .alert-action {
|
|
755
|
+
grid-column: -3;
|
|
738
756
|
}
|
|
739
757
|
.alert-info {
|
|
740
758
|
border-color: var(--color-info);
|
|
@@ -763,6 +781,39 @@
|
|
|
763
781
|
.alert-description {
|
|
764
782
|
opacity: 0.85;
|
|
765
783
|
}
|
|
784
|
+
.alert-dismiss {
|
|
785
|
+
margin-right: calc(var(--spacing) * -1);
|
|
786
|
+
display: inline-flex;
|
|
787
|
+
width: calc(var(--spacing) * 5);
|
|
788
|
+
height: calc(var(--spacing) * 5);
|
|
789
|
+
flex-shrink: 0;
|
|
790
|
+
cursor: pointer;
|
|
791
|
+
align-items: center;
|
|
792
|
+
justify-content: center;
|
|
793
|
+
border-radius: 0.25rem;
|
|
794
|
+
color: inherit;
|
|
795
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
796
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
797
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
798
|
+
--tw-duration: 150ms;
|
|
799
|
+
transition-duration: 150ms;
|
|
800
|
+
&:focus-visible {
|
|
801
|
+
outline-style: var(--tw-outline-style);
|
|
802
|
+
outline-width: 2px;
|
|
803
|
+
}
|
|
804
|
+
&:focus-visible {
|
|
805
|
+
outline-offset: 1px;
|
|
806
|
+
}
|
|
807
|
+
&:focus-visible {
|
|
808
|
+
outline-color: var(--color-focus);
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
.alert-dismiss:hover {
|
|
812
|
+
background-color: currentColor;
|
|
813
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
814
|
+
background-color: color-mix(in oklab, currentColor 15%, transparent);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
766
817
|
.alert .link {
|
|
767
818
|
color: currentcolor;
|
|
768
819
|
&:hover {
|
|
@@ -1100,6 +1151,13 @@
|
|
|
1100
1151
|
.avatar-group > .avatar + .avatar {
|
|
1101
1152
|
margin-inline-start: calc(var(--spacing) * -2);
|
|
1102
1153
|
}
|
|
1154
|
+
.avatar-more {
|
|
1155
|
+
background-color: var(--color-surface-strong);
|
|
1156
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
1157
|
+
font-weight: var(--font-weight-medium);
|
|
1158
|
+
color: var(--color-text-muted);
|
|
1159
|
+
font-variant-numeric: tabular-nums;
|
|
1160
|
+
}
|
|
1103
1161
|
}
|
|
1104
1162
|
@layer components {
|
|
1105
1163
|
.kbd {
|
|
@@ -2094,18 +2152,192 @@
|
|
|
2094
2152
|
.input-icon > :where(i, svg):first-child {
|
|
2095
2153
|
left: var(--input-icon-inset);
|
|
2096
2154
|
}
|
|
2097
|
-
.input-icon > .input ~ :where(i, svg) {
|
|
2155
|
+
.input-icon > .input ~ :where(i, svg, .input-action) {
|
|
2098
2156
|
right: var(--input-icon-inset);
|
|
2099
2157
|
}
|
|
2100
2158
|
.input-icon:has(> :where(i, svg):first-child) > .input {
|
|
2101
2159
|
padding-left: var(--input-icon-pad);
|
|
2102
2160
|
}
|
|
2103
|
-
.input-icon:has(> .input ~ :where(i, svg)) > .input {
|
|
2161
|
+
.input-icon:has(> .input ~ :where(i, svg, .input-action)) > .input {
|
|
2104
2162
|
padding-right: var(--input-icon-pad);
|
|
2105
2163
|
}
|
|
2106
2164
|
.input-icon:has(> .input:disabled) > :where(i, svg) {
|
|
2107
2165
|
opacity: 50%;
|
|
2108
2166
|
}
|
|
2167
|
+
.input-action {
|
|
2168
|
+
position: absolute;
|
|
2169
|
+
top: calc(1 / 2 * 100%);
|
|
2170
|
+
display: inline-flex;
|
|
2171
|
+
width: calc(var(--spacing) * 5);
|
|
2172
|
+
height: calc(var(--spacing) * 5);
|
|
2173
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
2174
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2175
|
+
cursor: pointer;
|
|
2176
|
+
align-items: center;
|
|
2177
|
+
justify-content: center;
|
|
2178
|
+
border-radius: 0.25rem;
|
|
2179
|
+
border-style: var(--tw-border-style);
|
|
2180
|
+
border-width: 0px;
|
|
2181
|
+
background-color: transparent;
|
|
2182
|
+
color: var(--color-text-muted);
|
|
2183
|
+
&:hover {
|
|
2184
|
+
@media (hover: hover) {
|
|
2185
|
+
color: var(--color-text);
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
&:focus-visible {
|
|
2189
|
+
outline-style: var(--tw-outline-style);
|
|
2190
|
+
outline-width: 2px;
|
|
2191
|
+
}
|
|
2192
|
+
&:focus-visible {
|
|
2193
|
+
outline-offset: 1px;
|
|
2194
|
+
}
|
|
2195
|
+
&:focus-visible {
|
|
2196
|
+
outline-color: var(--color-focus);
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
.input-action:hover {
|
|
2200
|
+
background-color: currentColor;
|
|
2201
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2202
|
+
background-color: color-mix(in oklab, currentColor 12%, transparent);
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
.input-icon:has(> .input:disabled) > .input-action {
|
|
2206
|
+
pointer-events: none;
|
|
2207
|
+
opacity: 50%;
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
@layer components {
|
|
2211
|
+
.number-input-root {
|
|
2212
|
+
display: contents;
|
|
2213
|
+
}
|
|
2214
|
+
.number-input {
|
|
2215
|
+
display: inline-flex;
|
|
2216
|
+
width: 100%;
|
|
2217
|
+
align-items: stretch;
|
|
2218
|
+
border-radius: var(--radius-lg);
|
|
2219
|
+
border-style: var(--tw-border-style);
|
|
2220
|
+
border-width: 1px;
|
|
2221
|
+
border-color: var(--color-border);
|
|
2222
|
+
background-color: var(--color-surface);
|
|
2223
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
2224
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2225
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2226
|
+
--tw-duration: 150ms;
|
|
2227
|
+
transition-duration: 150ms;
|
|
2228
|
+
&:focus-within {
|
|
2229
|
+
outline-style: var(--tw-outline-style);
|
|
2230
|
+
outline-width: 2px;
|
|
2231
|
+
}
|
|
2232
|
+
&:focus-within {
|
|
2233
|
+
outline-offset: 2px;
|
|
2234
|
+
}
|
|
2235
|
+
&:focus-within {
|
|
2236
|
+
outline-color: var(--color-focus);
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
.number-input:hover {
|
|
2240
|
+
border-color: var(--color-border-strong);
|
|
2241
|
+
}
|
|
2242
|
+
.number-input-field {
|
|
2243
|
+
width: 100%;
|
|
2244
|
+
min-width: calc(var(--spacing) * 0);
|
|
2245
|
+
flex: 1;
|
|
2246
|
+
border-style: var(--tw-border-style);
|
|
2247
|
+
border-width: 0px;
|
|
2248
|
+
background-color: transparent;
|
|
2249
|
+
padding-inline: calc(var(--spacing) * 3);
|
|
2250
|
+
padding-block: calc(var(--spacing) * 2);
|
|
2251
|
+
text-align: right;
|
|
2252
|
+
font-size: var(--text-sm);
|
|
2253
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2254
|
+
--tw-leading: 1;
|
|
2255
|
+
line-height: 1;
|
|
2256
|
+
color: var(--color-text);
|
|
2257
|
+
--tw-numeric-spacing: tabular-nums;
|
|
2258
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
2259
|
+
--tw-outline-style: none;
|
|
2260
|
+
outline-style: none;
|
|
2261
|
+
&::placeholder {
|
|
2262
|
+
color: var(--color-text-muted);
|
|
2263
|
+
}
|
|
2264
|
+
&:disabled {
|
|
2265
|
+
cursor: not-allowed;
|
|
2266
|
+
}
|
|
2267
|
+
&:disabled {
|
|
2268
|
+
opacity: 50%;
|
|
2269
|
+
}
|
|
2270
|
+
-moz-appearance: textfield;
|
|
2271
|
+
}
|
|
2272
|
+
.number-input-field::-webkit-inner-spin-button, .number-input-field::-webkit-outer-spin-button {
|
|
2273
|
+
-webkit-appearance: none;
|
|
2274
|
+
margin: 0;
|
|
2275
|
+
}
|
|
2276
|
+
.number-input-step {
|
|
2277
|
+
display: inline-flex;
|
|
2278
|
+
width: calc(var(--spacing) * 8);
|
|
2279
|
+
flex-shrink: 0;
|
|
2280
|
+
cursor: pointer;
|
|
2281
|
+
align-items: center;
|
|
2282
|
+
justify-content: center;
|
|
2283
|
+
border-style: var(--tw-border-style);
|
|
2284
|
+
border-width: 0px;
|
|
2285
|
+
background-color: transparent;
|
|
2286
|
+
color: var(--color-text-muted);
|
|
2287
|
+
-webkit-user-select: none;
|
|
2288
|
+
user-select: none;
|
|
2289
|
+
&:hover {
|
|
2290
|
+
@media (hover: hover) {
|
|
2291
|
+
background-color: var(--color-surface-muted);
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
&:hover {
|
|
2295
|
+
@media (hover: hover) {
|
|
2296
|
+
color: var(--color-text);
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
&:disabled {
|
|
2300
|
+
cursor: not-allowed;
|
|
2301
|
+
}
|
|
2302
|
+
&:disabled {
|
|
2303
|
+
opacity: 50%;
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
.number-input-step:first-child {
|
|
2307
|
+
border-top-left-radius: var(--radius-lg);
|
|
2308
|
+
border-bottom-left-radius: var(--radius-lg);
|
|
2309
|
+
border-right-style: var(--tw-border-style);
|
|
2310
|
+
border-right-width: 1px;
|
|
2311
|
+
border-color: var(--color-border);
|
|
2312
|
+
}
|
|
2313
|
+
.number-input-step:last-child {
|
|
2314
|
+
border-top-right-radius: var(--radius-lg);
|
|
2315
|
+
border-bottom-right-radius: var(--radius-lg);
|
|
2316
|
+
border-left-style: var(--tw-border-style);
|
|
2317
|
+
border-left-width: 1px;
|
|
2318
|
+
border-color: var(--color-border);
|
|
2319
|
+
}
|
|
2320
|
+
.number-input-step > :is(i, svg) {
|
|
2321
|
+
font-size: 0.875rem;
|
|
2322
|
+
}
|
|
2323
|
+
.number-input-sm .number-input-field {
|
|
2324
|
+
padding-inline: calc(var(--spacing) * 2.5);
|
|
2325
|
+
padding-block: calc(var(--spacing) * 1.5);
|
|
2326
|
+
font-size: var(--text-xs);
|
|
2327
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
2328
|
+
}
|
|
2329
|
+
.number-input-sm .number-input-step {
|
|
2330
|
+
width: calc(var(--spacing) * 7);
|
|
2331
|
+
}
|
|
2332
|
+
.number-input-lg .number-input-field {
|
|
2333
|
+
padding-inline: calc(var(--spacing) * 4);
|
|
2334
|
+
padding-block: calc(var(--spacing) * 2.5);
|
|
2335
|
+
font-size: var(--text-base);
|
|
2336
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
2337
|
+
}
|
|
2338
|
+
.number-input-lg .number-input-step {
|
|
2339
|
+
width: calc(var(--spacing) * 9);
|
|
2340
|
+
}
|
|
2109
2341
|
}
|
|
2110
2342
|
@layer components {
|
|
2111
2343
|
.textarea {
|
|
@@ -2939,6 +3171,44 @@
|
|
|
2939
3171
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2940
3172
|
color: var(--color-text-muted);
|
|
2941
3173
|
}
|
|
3174
|
+
.stat-card-trend {
|
|
3175
|
+
display: inline-flex;
|
|
3176
|
+
align-items: center;
|
|
3177
|
+
gap: calc(var(--spacing) * 1);
|
|
3178
|
+
font-size: var(--text-sm);
|
|
3179
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3180
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
3181
|
+
font-weight: var(--font-weight-medium);
|
|
3182
|
+
color: var(--color-text-muted);
|
|
3183
|
+
--tw-numeric-spacing: tabular-nums;
|
|
3184
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
3185
|
+
}
|
|
3186
|
+
.stat-card-trend::before {
|
|
3187
|
+
content: "";
|
|
3188
|
+
width: 0;
|
|
3189
|
+
height: 0;
|
|
3190
|
+
border-inline: 0.3em solid transparent;
|
|
3191
|
+
border-block-end: 0.42em solid currentColor;
|
|
3192
|
+
}
|
|
3193
|
+
.stat-card-trend[data-trend="down"]::before {
|
|
3194
|
+
border-block-end: 0;
|
|
3195
|
+
border-block-start: 0.42em solid currentColor;
|
|
3196
|
+
}
|
|
3197
|
+
.stat-card-trend[data-trend="flat"]::before {
|
|
3198
|
+
width: 0.55em;
|
|
3199
|
+
border-inline: 0;
|
|
3200
|
+
border-block-end: 0;
|
|
3201
|
+
border-block-start: 0.16em solid currentColor;
|
|
3202
|
+
}
|
|
3203
|
+
.stat-card-trend[data-intent="positive"] {
|
|
3204
|
+
color: var(--color-success);
|
|
3205
|
+
}
|
|
3206
|
+
.stat-card-trend[data-intent="negative"] {
|
|
3207
|
+
color: var(--color-danger);
|
|
3208
|
+
}
|
|
3209
|
+
.stat-card-trend[data-intent="neutral"] {
|
|
3210
|
+
color: var(--color-text-muted);
|
|
3211
|
+
}
|
|
2942
3212
|
.card-compact.stat-card {
|
|
2943
3213
|
gap: calc(var(--spacing) * 0.5);
|
|
2944
3214
|
padding: calc(var(--spacing) * 3);
|
|
@@ -2956,6 +3226,238 @@
|
|
|
2956
3226
|
color: var(--color-danger);
|
|
2957
3227
|
}
|
|
2958
3228
|
}
|
|
3229
|
+
@layer components {
|
|
3230
|
+
.item {
|
|
3231
|
+
display: flex;
|
|
3232
|
+
width: 100%;
|
|
3233
|
+
align-items: center;
|
|
3234
|
+
gap: calc(var(--spacing) * 3);
|
|
3235
|
+
padding-inline: calc(var(--spacing) * 3);
|
|
3236
|
+
padding-block: calc(var(--spacing) * 2);
|
|
3237
|
+
font-size: var(--text-sm);
|
|
3238
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3239
|
+
color: var(--color-text);
|
|
3240
|
+
}
|
|
3241
|
+
.item-media {
|
|
3242
|
+
display: flex;
|
|
3243
|
+
flex-shrink: 0;
|
|
3244
|
+
align-items: center;
|
|
3245
|
+
color: var(--color-text-muted);
|
|
3246
|
+
}
|
|
3247
|
+
.item-media > :is(i, svg) {
|
|
3248
|
+
font-size: 1.25rem;
|
|
3249
|
+
}
|
|
3250
|
+
.item-content {
|
|
3251
|
+
display: flex;
|
|
3252
|
+
min-width: calc(var(--spacing) * 0);
|
|
3253
|
+
flex: 1;
|
|
3254
|
+
flex-direction: column;
|
|
3255
|
+
gap: calc(var(--spacing) * 0.5);
|
|
3256
|
+
}
|
|
3257
|
+
.item-title {
|
|
3258
|
+
--tw-leading: var(--leading-tight);
|
|
3259
|
+
line-height: var(--leading-tight);
|
|
3260
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
3261
|
+
font-weight: var(--font-weight-medium);
|
|
3262
|
+
overflow-wrap: break-word;
|
|
3263
|
+
}
|
|
3264
|
+
.item-description {
|
|
3265
|
+
--tw-leading: var(--leading-snug);
|
|
3266
|
+
line-height: var(--leading-snug);
|
|
3267
|
+
color: var(--color-text-muted);
|
|
3268
|
+
text-wrap: pretty;
|
|
3269
|
+
}
|
|
3270
|
+
.item-actions {
|
|
3271
|
+
position: relative;
|
|
3272
|
+
z-index: 1;
|
|
3273
|
+
display: flex;
|
|
3274
|
+
flex-shrink: 0;
|
|
3275
|
+
align-items: center;
|
|
3276
|
+
gap: calc(var(--spacing) * 2);
|
|
3277
|
+
margin-inline-start: auto;
|
|
3278
|
+
}
|
|
3279
|
+
.item-outline {
|
|
3280
|
+
border-radius: var(--radius-lg);
|
|
3281
|
+
border-style: var(--tw-border-style);
|
|
3282
|
+
border-width: 1px;
|
|
3283
|
+
border-color: var(--color-border);
|
|
3284
|
+
}
|
|
3285
|
+
.item-muted {
|
|
3286
|
+
border-radius: var(--radius-lg);
|
|
3287
|
+
background-color: var(--color-surface-muted);
|
|
3288
|
+
}
|
|
3289
|
+
.item-sm {
|
|
3290
|
+
gap: calc(var(--spacing) * 2);
|
|
3291
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
3292
|
+
padding-block: calc(var(--spacing) * 1.5);
|
|
3293
|
+
font-size: var(--text-xs);
|
|
3294
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
3295
|
+
}
|
|
3296
|
+
.item-lg {
|
|
3297
|
+
gap: calc(var(--spacing) * 4);
|
|
3298
|
+
padding-inline: calc(var(--spacing) * 4);
|
|
3299
|
+
padding-block: calc(var(--spacing) * 3);
|
|
3300
|
+
font-size: var(--text-base);
|
|
3301
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
3302
|
+
}
|
|
3303
|
+
.item-group {
|
|
3304
|
+
display: flex;
|
|
3305
|
+
flex-direction: column;
|
|
3306
|
+
}
|
|
3307
|
+
.item-group > .item:not(:last-child) {
|
|
3308
|
+
border-bottom-style: var(--tw-border-style);
|
|
3309
|
+
border-bottom-width: 1px;
|
|
3310
|
+
border-color: var(--color-border);
|
|
3311
|
+
}
|
|
3312
|
+
.item-group-bordered {
|
|
3313
|
+
overflow: hidden;
|
|
3314
|
+
border-radius: var(--radius-lg);
|
|
3315
|
+
border-style: var(--tw-border-style);
|
|
3316
|
+
border-width: 1px;
|
|
3317
|
+
border-color: var(--color-border);
|
|
3318
|
+
}
|
|
3319
|
+
.item-link {
|
|
3320
|
+
position: relative;
|
|
3321
|
+
cursor: pointer;
|
|
3322
|
+
}
|
|
3323
|
+
.item-link:hover {
|
|
3324
|
+
background-color: var(--color-surface-muted);
|
|
3325
|
+
}
|
|
3326
|
+
.item-link a:first-of-type::after {
|
|
3327
|
+
content: "";
|
|
3328
|
+
position: absolute;
|
|
3329
|
+
inset: calc(var(--spacing) * 0);
|
|
3330
|
+
}
|
|
3331
|
+
.item-link:focus-within {
|
|
3332
|
+
outline-style: var(--tw-outline-style);
|
|
3333
|
+
outline-width: 2px;
|
|
3334
|
+
outline-offset: calc(2px * -1);
|
|
3335
|
+
outline-color: var(--color-focus);
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
@layer components {
|
|
3339
|
+
.timeline {
|
|
3340
|
+
list-style: none;
|
|
3341
|
+
margin: 0;
|
|
3342
|
+
padding: 0;
|
|
3343
|
+
}
|
|
3344
|
+
.timeline-item {
|
|
3345
|
+
display: grid;
|
|
3346
|
+
grid-template-columns: 1.5rem 1fr;
|
|
3347
|
+
column-gap: 0.75rem;
|
|
3348
|
+
padding-bottom: 1rem;
|
|
3349
|
+
position: relative;
|
|
3350
|
+
}
|
|
3351
|
+
.timeline-item:last-child {
|
|
3352
|
+
padding-bottom: 0;
|
|
3353
|
+
}
|
|
3354
|
+
.timeline-item:not(:last-child)::before {
|
|
3355
|
+
content: "";
|
|
3356
|
+
position: absolute;
|
|
3357
|
+
inset-block: 0.75rem 0;
|
|
3358
|
+
inset-inline-start: 0.75rem;
|
|
3359
|
+
width: 2px;
|
|
3360
|
+
transform: translateX(-50%);
|
|
3361
|
+
background-color: var(--color-border);
|
|
3362
|
+
}
|
|
3363
|
+
.timeline-indicator {
|
|
3364
|
+
grid-column: 1;
|
|
3365
|
+
align-self: start;
|
|
3366
|
+
display: flex;
|
|
3367
|
+
align-items: center;
|
|
3368
|
+
justify-content: center;
|
|
3369
|
+
height: 1.5rem;
|
|
3370
|
+
position: relative;
|
|
3371
|
+
z-index: 1;
|
|
3372
|
+
}
|
|
3373
|
+
.timeline-dot {
|
|
3374
|
+
display: inline-block;
|
|
3375
|
+
width: 0.625rem;
|
|
3376
|
+
height: 0.625rem;
|
|
3377
|
+
border-radius: 9999px;
|
|
3378
|
+
background-color: var(--color-border-strong);
|
|
3379
|
+
box-shadow: 0 0 0 3px var(--color-surface);
|
|
3380
|
+
}
|
|
3381
|
+
.timeline-indicator > :is(i, svg) {
|
|
3382
|
+
font-size: 1rem;
|
|
3383
|
+
color: var(--color-text-muted);
|
|
3384
|
+
background-color: var(--color-surface);
|
|
3385
|
+
border-radius: 9999px;
|
|
3386
|
+
}
|
|
3387
|
+
.timeline-content {
|
|
3388
|
+
grid-column: 2;
|
|
3389
|
+
display: flex;
|
|
3390
|
+
flex-direction: column;
|
|
3391
|
+
gap: 0.125rem;
|
|
3392
|
+
min-width: 0;
|
|
3393
|
+
padding-block: 0.125rem 0;
|
|
3394
|
+
}
|
|
3395
|
+
.timeline-title {
|
|
3396
|
+
font-size: var(--text-sm);
|
|
3397
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3398
|
+
--tw-leading: var(--leading-tight);
|
|
3399
|
+
line-height: var(--leading-tight);
|
|
3400
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
3401
|
+
font-weight: var(--font-weight-medium);
|
|
3402
|
+
color: var(--color-text);
|
|
3403
|
+
}
|
|
3404
|
+
.timeline-time {
|
|
3405
|
+
font-size: var(--text-xs);
|
|
3406
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
3407
|
+
color: var(--color-text-muted);
|
|
3408
|
+
--tw-numeric-spacing: tabular-nums;
|
|
3409
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
3410
|
+
}
|
|
3411
|
+
.timeline-description {
|
|
3412
|
+
font-size: var(--text-sm);
|
|
3413
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
3414
|
+
color: var(--color-text-muted);
|
|
3415
|
+
text-wrap: pretty;
|
|
3416
|
+
}
|
|
3417
|
+
.timeline-item-info .timeline-dot {
|
|
3418
|
+
background-color: var(--color-info);
|
|
3419
|
+
}
|
|
3420
|
+
.timeline-item-success .timeline-dot {
|
|
3421
|
+
background-color: var(--color-success);
|
|
3422
|
+
}
|
|
3423
|
+
.timeline-item-warning .timeline-dot {
|
|
3424
|
+
background-color: var(--color-warning);
|
|
3425
|
+
}
|
|
3426
|
+
.timeline-item-danger .timeline-dot {
|
|
3427
|
+
background-color: var(--color-danger);
|
|
3428
|
+
}
|
|
3429
|
+
.timeline-numbered .timeline-item {
|
|
3430
|
+
grid-template-columns: 1.75rem 1fr;
|
|
3431
|
+
}
|
|
3432
|
+
.timeline-numbered .timeline-item:not(:last-child)::before {
|
|
3433
|
+
inset-inline-start: 0.875rem;
|
|
3434
|
+
inset-block: 1.75rem 0;
|
|
3435
|
+
}
|
|
3436
|
+
.timeline-numbered .timeline-indicator {
|
|
3437
|
+
height: 1.75rem;
|
|
3438
|
+
}
|
|
3439
|
+
.timeline-marker {
|
|
3440
|
+
display: inline-flex;
|
|
3441
|
+
width: calc(var(--spacing) * 7);
|
|
3442
|
+
height: calc(var(--spacing) * 7);
|
|
3443
|
+
align-items: center;
|
|
3444
|
+
justify-content: center;
|
|
3445
|
+
border-radius: calc(infinity * 1px);
|
|
3446
|
+
background-color: var(--color-surface-strong);
|
|
3447
|
+
font-size: var(--text-xs);
|
|
3448
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
3449
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
3450
|
+
font-weight: var(--font-weight-semibold);
|
|
3451
|
+
color: var(--color-text-muted);
|
|
3452
|
+
--tw-numeric-spacing: tabular-nums;
|
|
3453
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
3454
|
+
box-shadow: 0 0 0 3px var(--color-surface);
|
|
3455
|
+
}
|
|
3456
|
+
.timeline-item-success .timeline-marker, .timeline-item-current .timeline-marker {
|
|
3457
|
+
background-color: var(--color-primary);
|
|
3458
|
+
color: var(--color-primary-content);
|
|
3459
|
+
}
|
|
3460
|
+
}
|
|
2959
3461
|
@layer components {
|
|
2960
3462
|
.dialog {
|
|
2961
3463
|
margin: auto;
|
|
@@ -3098,6 +3600,71 @@
|
|
|
3098
3600
|
}
|
|
3099
3601
|
}
|
|
3100
3602
|
}
|
|
3603
|
+
@layer components {
|
|
3604
|
+
.drawer {
|
|
3605
|
+
margin: 0;
|
|
3606
|
+
max-width: none;
|
|
3607
|
+
max-height: none;
|
|
3608
|
+
border-radius: 0;
|
|
3609
|
+
height: 100dvh;
|
|
3610
|
+
width: min(28rem, 100vw);
|
|
3611
|
+
margin-inline-start: auto;
|
|
3612
|
+
transform: translateX(100%);
|
|
3613
|
+
}
|
|
3614
|
+
.drawer[open] {
|
|
3615
|
+
transform: translateX(0);
|
|
3616
|
+
}
|
|
3617
|
+
@starting-style {
|
|
3618
|
+
.drawer[open] {
|
|
3619
|
+
transform: translateX(100%);
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
.drawer-start {
|
|
3623
|
+
margin-inline-start: 0;
|
|
3624
|
+
margin-inline-end: auto;
|
|
3625
|
+
transform: translateX(-100%);
|
|
3626
|
+
}
|
|
3627
|
+
@starting-style {
|
|
3628
|
+
.drawer-start[open] {
|
|
3629
|
+
transform: translateX(-100%);
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
.drawer-bottom {
|
|
3633
|
+
width: 100vw;
|
|
3634
|
+
height: auto;
|
|
3635
|
+
max-height: 85dvh;
|
|
3636
|
+
margin-block-start: auto;
|
|
3637
|
+
margin-inline: 0;
|
|
3638
|
+
transform: translateY(100%);
|
|
3639
|
+
}
|
|
3640
|
+
.drawer-bottom[open] {
|
|
3641
|
+
transform: translateY(0);
|
|
3642
|
+
}
|
|
3643
|
+
@starting-style {
|
|
3644
|
+
.drawer-bottom[open] {
|
|
3645
|
+
transform: translateY(100%);
|
|
3646
|
+
}
|
|
3647
|
+
}
|
|
3648
|
+
.drawer-sm {
|
|
3649
|
+
width: min(20rem, 100vw);
|
|
3650
|
+
}
|
|
3651
|
+
.drawer-lg {
|
|
3652
|
+
width: min(36rem, 100vw);
|
|
3653
|
+
}
|
|
3654
|
+
.drawer-bottom.drawer-sm {
|
|
3655
|
+
width: 100vw;
|
|
3656
|
+
max-height: 50dvh;
|
|
3657
|
+
}
|
|
3658
|
+
.drawer-bottom.drawer-lg {
|
|
3659
|
+
width: 100vw;
|
|
3660
|
+
max-height: 95dvh;
|
|
3661
|
+
}
|
|
3662
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3663
|
+
.drawer {
|
|
3664
|
+
transition: display 150ms allow-discrete, overlay 150ms allow-discrete, opacity 150ms ease-out;
|
|
3665
|
+
}
|
|
3666
|
+
}
|
|
3667
|
+
}
|
|
3101
3668
|
@layer components {
|
|
3102
3669
|
.field {
|
|
3103
3670
|
display: flex;
|
|
@@ -3508,6 +4075,20 @@
|
|
|
3508
4075
|
.menu-trigger > :is(i, svg), .menu-item > :is(i, svg) {
|
|
3509
4076
|
flex-shrink: 0;
|
|
3510
4077
|
}
|
|
4078
|
+
.menu-item-indicator {
|
|
4079
|
+
display: inline-flex;
|
|
4080
|
+
flex-shrink: 0;
|
|
4081
|
+
align-items: center;
|
|
4082
|
+
justify-content: center;
|
|
4083
|
+
inline-size: 1rem;
|
|
4084
|
+
block-size: 1rem;
|
|
4085
|
+
}
|
|
4086
|
+
.menu-item-indicator > :is(i, svg) {
|
|
4087
|
+
opacity: 0;
|
|
4088
|
+
}
|
|
4089
|
+
.menu-item[aria-checked="true"] .menu-item-indicator > :is(i, svg) {
|
|
4090
|
+
opacity: 1;
|
|
4091
|
+
}
|
|
3511
4092
|
.menu-separator {
|
|
3512
4093
|
margin-block: calc(var(--spacing) * 1);
|
|
3513
4094
|
height: 1px;
|
|
@@ -4383,6 +4964,40 @@
|
|
|
4383
4964
|
outline-offset: calc(2px * -1);
|
|
4384
4965
|
outline-color: var(--color-focus);
|
|
4385
4966
|
}
|
|
4967
|
+
.table-compact :where(th, td), .table-compact .table-cell, .table-compact .table-header-cell {
|
|
4968
|
+
padding-inline: calc(var(--spacing) * 2);
|
|
4969
|
+
padding-block: calc(var(--spacing) * 1);
|
|
4970
|
+
font-size: var(--text-xs);
|
|
4971
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
4972
|
+
}
|
|
4973
|
+
.table :where(td).table-empty, .table-empty {
|
|
4974
|
+
padding-block: calc(var(--spacing) * 8);
|
|
4975
|
+
text-align: center;
|
|
4976
|
+
color: var(--color-text-muted);
|
|
4977
|
+
}
|
|
4978
|
+
.table tbody tr:has(> .table-empty):hover :where(td) {
|
|
4979
|
+
background-color: transparent;
|
|
4980
|
+
}
|
|
4981
|
+
.table-pin-col :where(thead th, tbody td, tfoot :is(td, th)):first-child {
|
|
4982
|
+
position: sticky;
|
|
4983
|
+
inset-inline-start: 0;
|
|
4984
|
+
}
|
|
4985
|
+
.table-pin-col tbody td:first-child {
|
|
4986
|
+
z-index: 1;
|
|
4987
|
+
background-color: var(--color-surface);
|
|
4988
|
+
}
|
|
4989
|
+
.table-pin-col :where(thead th):first-child {
|
|
4990
|
+
z-index: 11;
|
|
4991
|
+
}
|
|
4992
|
+
.table-pin-col.table-striped tbody tr:nth-child(even) td:first-child {
|
|
4993
|
+
background-color: var(--color-surface-muted);
|
|
4994
|
+
}
|
|
4995
|
+
.table-pin-col tbody tr:hover td:first-child {
|
|
4996
|
+
background-color: var(--color-surface-muted);
|
|
4997
|
+
}
|
|
4998
|
+
.table-pin-col tbody tr:has(input[type="checkbox"]:checked) td:first-child, .table-pin-col tbody tr:has(.checkbox[data-checked]) td:first-child, .table-pin-col tbody tr[data-selected] td:first-child {
|
|
4999
|
+
background-color: var(--color-primary-muted);
|
|
5000
|
+
}
|
|
4386
5001
|
}
|
|
4387
5002
|
@layer components {
|
|
4388
5003
|
.tooltip {
|
|
@@ -4972,20 +5587,20 @@
|
|
|
4972
5587
|
inherits: false;
|
|
4973
5588
|
initial-value: 0 0 #0000;
|
|
4974
5589
|
}
|
|
4975
|
-
@property --tw-
|
|
5590
|
+
@property --tw-outline-style {
|
|
4976
5591
|
syntax: "*";
|
|
4977
5592
|
inherits: false;
|
|
5593
|
+
initial-value: solid;
|
|
4978
5594
|
}
|
|
4979
|
-
@property --tw-
|
|
5595
|
+
@property --tw-leading {
|
|
4980
5596
|
syntax: "*";
|
|
4981
5597
|
inherits: false;
|
|
4982
5598
|
}
|
|
4983
|
-
@property --tw-
|
|
5599
|
+
@property --tw-font-weight {
|
|
4984
5600
|
syntax: "*";
|
|
4985
5601
|
inherits: false;
|
|
4986
|
-
initial-value: solid;
|
|
4987
5602
|
}
|
|
4988
|
-
@property --tw-
|
|
5603
|
+
@property --tw-border-style {
|
|
4989
5604
|
syntax: "*";
|
|
4990
5605
|
inherits: false;
|
|
4991
5606
|
initial-value: solid;
|
|
@@ -5040,10 +5655,10 @@
|
|
|
5040
5655
|
--tw-ring-offset-width: 0px;
|
|
5041
5656
|
--tw-ring-offset-color: #fff;
|
|
5042
5657
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
5658
|
+
--tw-outline-style: solid;
|
|
5043
5659
|
--tw-leading: initial;
|
|
5044
5660
|
--tw-font-weight: initial;
|
|
5045
5661
|
--tw-border-style: solid;
|
|
5046
|
-
--tw-outline-style: solid;
|
|
5047
5662
|
--tw-duration: initial;
|
|
5048
5663
|
--tw-tracking: initial;
|
|
5049
5664
|
--tw-translate-x: 0;
|