@aortl/admin-css 0.13.2 → 0.14.1

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/dist/admin.css CHANGED
@@ -452,6 +452,10 @@
452
452
  --tw-numeric-spacing: tabular-nums;
453
453
  font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
454
454
  }
455
+ .ring {
456
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
457
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
458
+ }
455
459
  .select-all {
456
460
  -webkit-user-select: all;
457
461
  user-select: all;
@@ -2401,7 +2405,7 @@
2401
2405
  .card {
2402
2406
  display: flex;
2403
2407
  flex-direction: column;
2404
- overflow: hidden;
2408
+ overflow: auto;
2405
2409
  border-radius: var(--radius-xl);
2406
2410
  border-style: var(--tw-border-style);
2407
2411
  border-width: 1px;
@@ -2440,6 +2444,9 @@
2440
2444
  align-items: center;
2441
2445
  gap: calc(var(--spacing) * 1);
2442
2446
  }
2447
+ .card-toolbar :is(i, svg) {
2448
+ font-size: 1.25rem;
2449
+ }
2443
2450
  .card-description {
2444
2451
  font-size: var(--text-sm);
2445
2452
  line-height: var(--tw-leading, var(--text-sm--line-height));
@@ -4011,6 +4018,220 @@
4011
4018
  word-wrap: normal;
4012
4019
  }
4013
4020
  }
4021
+ @layer components {
4022
+ .chart {
4023
+ --chart-max: 100;
4024
+ --chart-height: 8rem;
4025
+ --chart-size: 8rem;
4026
+ --chart-gap: 0.25rem;
4027
+ color: var(--color-primary);
4028
+ }
4029
+ .chart-success {
4030
+ color: var(--color-success);
4031
+ }
4032
+ .chart-warning {
4033
+ color: var(--color-warning);
4034
+ }
4035
+ .chart-danger {
4036
+ color: var(--color-danger);
4037
+ }
4038
+ .chart-info {
4039
+ color: var(--color-info);
4040
+ }
4041
+ .chart-bars {
4042
+ display: grid;
4043
+ grid-template-columns: auto 1fr auto;
4044
+ row-gap: var(--chart-gap);
4045
+ align-items: center;
4046
+ inline-size: 100%;
4047
+ }
4048
+ .chart-bar {
4049
+ display: grid;
4050
+ grid-template-columns: subgrid;
4051
+ grid-column: 1 / -1;
4052
+ align-items: center;
4053
+ }
4054
+ .chart-bar-label {
4055
+ font-size: var(--text-xs);
4056
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4057
+ color: var(--color-text-muted);
4058
+ grid-column: 1;
4059
+ text-align: end;
4060
+ padding-inline-end: 0.5rem;
4061
+ white-space: nowrap;
4062
+ }
4063
+ .chart-bar-track {
4064
+ grid-column: 2;
4065
+ min-inline-size: 0;
4066
+ }
4067
+ .chart-bar-fill {
4068
+ block-size: 0.75rem;
4069
+ inline-size: calc(var(--value) / var(--chart-max) * 100%);
4070
+ background: var(--bar-color, currentColor);
4071
+ border-radius: 2px;
4072
+ transition: inline-size 200ms ease, block-size 200ms ease;
4073
+ }
4074
+ .chart-bar-value {
4075
+ font-size: var(--text-xs);
4076
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4077
+ color: var(--color-text-muted);
4078
+ --tw-numeric-spacing: tabular-nums;
4079
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
4080
+ grid-column: 3;
4081
+ text-align: end;
4082
+ padding-inline-start: 0.5rem;
4083
+ white-space: nowrap;
4084
+ }
4085
+ .chart:not(.chart-values) .chart-bar-value {
4086
+ display: none;
4087
+ }
4088
+ .chart-bars-vertical {
4089
+ display: flex;
4090
+ flex-direction: row;
4091
+ align-items: stretch;
4092
+ gap: var(--chart-gap);
4093
+ block-size: var(--chart-height);
4094
+ inline-size: 100%;
4095
+ }
4096
+ .chart-bars-vertical .chart-bar {
4097
+ display: flex;
4098
+ flex-direction: column;
4099
+ flex: 1 1 0;
4100
+ min-inline-size: 0;
4101
+ align-items: stretch;
4102
+ gap: 0.25rem;
4103
+ }
4104
+ .chart-bars-vertical .chart-bar-value {
4105
+ order: 0;
4106
+ grid-column: auto;
4107
+ text-align: center;
4108
+ padding: 0;
4109
+ }
4110
+ .chart-bars-vertical .chart-bar-track {
4111
+ order: 1;
4112
+ flex: 1 1 auto;
4113
+ min-block-size: 0;
4114
+ display: flex;
4115
+ flex-direction: column;
4116
+ justify-content: end;
4117
+ }
4118
+ .chart-bars-vertical .chart-bar-fill {
4119
+ inline-size: 100%;
4120
+ block-size: calc(var(--value) / var(--chart-max) * 100%);
4121
+ }
4122
+ .chart-bars-vertical .chart-bar-label {
4123
+ order: 2;
4124
+ text-align: center;
4125
+ padding: 0;
4126
+ }
4127
+ .chart-stack {
4128
+ display: flex;
4129
+ flex-direction: row;
4130
+ inline-size: 100%;
4131
+ block-size: 0.75rem;
4132
+ border-radius: 9999px;
4133
+ overflow: hidden;
4134
+ background: var(--color-surface-strong);
4135
+ }
4136
+ .chart-segment {
4137
+ flex: var(--value) 1 0;
4138
+ min-inline-size: 0;
4139
+ background: var(--segment-color, currentColor);
4140
+ transition: flex-grow 200ms ease;
4141
+ }
4142
+ .chart-segment + .chart-segment {
4143
+ box-shadow: -1px 0 0 0 var(--color-surface);
4144
+ }
4145
+ .chart-donut-figure {
4146
+ position: relative;
4147
+ inline-size: var(--chart-size);
4148
+ aspect-ratio: 1;
4149
+ display: inline-grid;
4150
+ place-items: center;
4151
+ }
4152
+ .chart-donut {
4153
+ --donut-thickness: 33%;
4154
+ inline-size: var(--chart-size);
4155
+ aspect-ratio: 1;
4156
+ border-radius: 50%;
4157
+ background: conic-gradient(var(--donut-segments, currentColor 0 100%));
4158
+ -webkit-mask: radial-gradient( circle at center, transparent calc(50% - var(--donut-thickness)), #000 calc(50% - var(--donut-thickness)) );
4159
+ mask: radial-gradient( circle at center, transparent calc(50% - var(--donut-thickness)), #000 calc(50% - var(--donut-thickness)) );
4160
+ }
4161
+ .chart-donut-figure > .chart-donut {
4162
+ grid-area: 1 / 1;
4163
+ inline-size: 100%;
4164
+ }
4165
+ .chart-donut-pie {
4166
+ --donut-thickness: 50%;
4167
+ }
4168
+ .chart-donut-center {
4169
+ text-align: center;
4170
+ font-size: var(--text-sm);
4171
+ line-height: var(--tw-leading, var(--text-sm--line-height));
4172
+ --tw-leading: var(--leading-tight);
4173
+ line-height: var(--leading-tight);
4174
+ --tw-font-weight: var(--font-weight-semibold);
4175
+ font-weight: var(--font-weight-semibold);
4176
+ --tw-numeric-spacing: tabular-nums;
4177
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
4178
+ grid-area: 1 / 1;
4179
+ z-index: 1;
4180
+ pointer-events: none;
4181
+ }
4182
+ .chart-legend {
4183
+ display: flex;
4184
+ flex-wrap: wrap;
4185
+ align-items: center;
4186
+ column-gap: calc(var(--spacing) * 3);
4187
+ row-gap: calc(var(--spacing) * 1);
4188
+ font-size: var(--text-xs);
4189
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4190
+ color: var(--color-text-muted);
4191
+ list-style: none;
4192
+ margin: 0;
4193
+ padding: 0;
4194
+ }
4195
+ .chart-legend-item {
4196
+ display: inline-flex;
4197
+ align-items: center;
4198
+ gap: calc(var(--spacing) * 1.5);
4199
+ }
4200
+ .chart-legend-item::before {
4201
+ content: "";
4202
+ inline-size: 0.625rem;
4203
+ block-size: 0.625rem;
4204
+ border-radius: 2px;
4205
+ background: var(--legend-color, currentColor);
4206
+ flex-shrink: 0;
4207
+ }
4208
+ .chart-sm {
4209
+ --chart-height: 4rem;
4210
+ --chart-size: 4rem;
4211
+ }
4212
+ .chart-lg {
4213
+ --chart-height: 12rem;
4214
+ --chart-size: 12rem;
4215
+ }
4216
+ .chart-inline {
4217
+ display: inline-flex;
4218
+ vertical-align: middle;
4219
+ --chart-height: 1em;
4220
+ --chart-size: 1.25em;
4221
+ }
4222
+ .chart-inline .chart-stack {
4223
+ inline-size: 6em;
4224
+ block-size: 0.5em;
4225
+ }
4226
+ .chart-inline .chart-bars, .chart-inline.chart-bars {
4227
+ inline-size: 6em;
4228
+ }
4229
+ @media (prefers-reduced-motion: reduce) {
4230
+ .chart-bar-fill, .chart-segment {
4231
+ transition: none;
4232
+ }
4233
+ }
4234
+ }
4014
4235
  @property --tw-rotate-x {
4015
4236
  syntax: "*";
4016
4237
  inherits: false;
@@ -4051,28 +4272,6 @@
4051
4272
  syntax: "*";
4052
4273
  inherits: false;
4053
4274
  }
4054
- @property --tw-leading {
4055
- syntax: "*";
4056
- inherits: false;
4057
- }
4058
- @property --tw-font-weight {
4059
- syntax: "*";
4060
- inherits: false;
4061
- }
4062
- @property --tw-border-style {
4063
- syntax: "*";
4064
- inherits: false;
4065
- initial-value: solid;
4066
- }
4067
- @property --tw-outline-style {
4068
- syntax: "*";
4069
- inherits: false;
4070
- initial-value: solid;
4071
- }
4072
- @property --tw-duration {
4073
- syntax: "*";
4074
- inherits: false;
4075
- }
4076
4275
  @property --tw-shadow {
4077
4276
  syntax: "*";
4078
4277
  inherits: false;
@@ -4138,6 +4337,28 @@
4138
4337
  inherits: false;
4139
4338
  initial-value: 0 0 #0000;
4140
4339
  }
4340
+ @property --tw-leading {
4341
+ syntax: "*";
4342
+ inherits: false;
4343
+ }
4344
+ @property --tw-font-weight {
4345
+ syntax: "*";
4346
+ inherits: false;
4347
+ }
4348
+ @property --tw-border-style {
4349
+ syntax: "*";
4350
+ inherits: false;
4351
+ initial-value: solid;
4352
+ }
4353
+ @property --tw-outline-style {
4354
+ syntax: "*";
4355
+ inherits: false;
4356
+ initial-value: solid;
4357
+ }
4358
+ @property --tw-duration {
4359
+ syntax: "*";
4360
+ inherits: false;
4361
+ }
4141
4362
  @property --tw-translate-x {
4142
4363
  syntax: "*";
4143
4364
  inherits: false;
@@ -4170,11 +4391,6 @@
4170
4391
  --tw-numeric-figure: initial;
4171
4392
  --tw-numeric-spacing: initial;
4172
4393
  --tw-numeric-fraction: initial;
4173
- --tw-leading: initial;
4174
- --tw-font-weight: initial;
4175
- --tw-border-style: solid;
4176
- --tw-outline-style: solid;
4177
- --tw-duration: initial;
4178
4394
  --tw-shadow: 0 0 #0000;
4179
4395
  --tw-shadow-color: initial;
4180
4396
  --tw-shadow-alpha: 100%;
@@ -4189,6 +4405,11 @@
4189
4405
  --tw-ring-offset-width: 0px;
4190
4406
  --tw-ring-offset-color: #fff;
4191
4407
  --tw-ring-offset-shadow: 0 0 #0000;
4408
+ --tw-leading: initial;
4409
+ --tw-font-weight: initial;
4410
+ --tw-border-style: solid;
4411
+ --tw-outline-style: solid;
4412
+ --tw-duration: initial;
4192
4413
  --tw-translate-x: 0;
4193
4414
  --tw-translate-y: 0;
4194
4415
  --tw-translate-z: 0;