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