fluency-v8-components 1.4.3 → 1.4.5

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.
Files changed (78) hide show
  1. package/dist/fluency-v8-components.es.js +144 -141
  2. package/dist/fluency-v8-components.umd.js +88 -88
  3. package/dist/{index-4Y4E9JbN.mjs → index-DVmLdvgq.mjs} +8404 -8347
  4. package/dist/index.css +1 -1
  5. package/dist/{index.es-CGlekcuf.mjs → index.es-BL37nGHt.mjs} +1 -1
  6. package/package.json +1 -1
  7. package/src/assets/main.css +359 -194
  8. package/src/components/buttons/ActionButtons.vue +10 -10
  9. package/src/components/buttons/DropdownButton.vue +14 -14
  10. package/src/components/buttons/IconButton.vue +3 -3
  11. package/src/components/buttons/ImageButton.vue +1 -1
  12. package/src/components/buttons/MenuButton.vue +12 -15
  13. package/src/components/buttons/TextButton.vue +5 -3
  14. package/src/components/charts/WorkflowChart.vue +1 -1
  15. package/src/components/common/AutoCompleteSearchBar.vue +5 -5
  16. package/src/components/common/Breadcrumb.vue +3 -3
  17. package/src/components/common/ButtonToggle.vue +2 -2
  18. package/src/components/common/Card.vue +14 -14
  19. package/src/components/common/Carousel.vue +5 -5
  20. package/src/components/common/EditorHeading.vue +1 -1
  21. package/src/components/common/Error.vue +19 -0
  22. package/src/components/common/EventList.vue +2 -2
  23. package/src/components/common/Facet.vue +4 -4
  24. package/src/components/common/Feed.vue +8 -8
  25. package/src/components/common/Loading.vue +2 -2
  26. package/src/components/common/LoadingDots.vue +3 -3
  27. package/src/components/common/Pagination.vue +6 -7
  28. package/src/components/common/PowerToggle.vue +11 -33
  29. package/src/components/common/ProgressBar.vue +2 -2
  30. package/src/components/common/RadioButtons.vue +3 -3
  31. package/src/components/common/Slideout.vue +7 -8
  32. package/src/components/common/Sort.vue +2 -5
  33. package/src/components/common/Table.vue +2 -8
  34. package/src/components/common/Tabs.vue +12 -11
  35. package/src/components/common/VerticalTabs.vue +7 -4
  36. package/src/components/common/facet/Leaf.vue +4 -4
  37. package/src/components/dialogs/CopyDialog.vue +2 -2
  38. package/src/components/dialogs/InfoDialog.vue +39 -0
  39. package/src/components/dialogs/PopupEditor.vue +9 -4
  40. package/src/components/dialogs/wizard/Stepper.vue +2 -2
  41. package/src/components/form/CheckBox.vue +2 -2
  42. package/src/components/form/Editor.vue +1 -1
  43. package/src/components/form/FormCol.vue +2 -2
  44. package/src/components/form/FormRow.vue +2 -2
  45. package/src/components/form/GreyForm.vue +1 -1
  46. package/src/components/form/GreyInput.vue +3 -3
  47. package/src/components/form/GreyInputAutocomplete.vue +16 -16
  48. package/src/components/form/GreyInputCopy.vue +6 -6
  49. package/src/components/form/GreyInputGrow.vue +2 -2
  50. package/src/components/form/GreyInputToken.vue +5 -5
  51. package/src/components/form/GreyPassword.vue +3 -3
  52. package/src/components/form/GreySelect.vue +18 -15
  53. package/src/components/form/GreySelectInput.vue +12 -14
  54. package/src/components/form/GreySelectInputMultiple.vue +11 -14
  55. package/src/components/form/GreyTel.vue +3 -3
  56. package/src/components/form/HamburgerItem.vue +1 -1
  57. package/src/components/form/KeyValueEntry.vue +1 -1
  58. package/src/components/form/RadioInput.vue +2 -2
  59. package/src/components/form/UploadFile.vue +1 -1
  60. package/src/components/icons/PlugOffIcon.vue +13 -0
  61. package/src/components/icons/PlugOnIcon.vue +13 -0
  62. package/src/components/index.js +11 -7
  63. package/src/components/menu/DialogMenu.vue +4 -4
  64. package/src/components/menu/GrandChild.vue +3 -5
  65. package/src/components/menu/GridMenu.vue +5 -5
  66. package/src/components/menu/MenuAvatar.vue +4 -4
  67. package/src/components/menu/MenuDesktop.vue +4 -6
  68. package/src/components/notifications/Notify.vue +19 -15
  69. package/src/components/notifications/NotifyList.vue +18 -14
  70. package/src/components/status/ScoreLevel.vue +1 -2
  71. package/src/components/status/TicketStatus.vue +11 -20
  72. package/src/components/tables/ArgumentTable.vue +1 -1
  73. package/src/constants/colors.js +1 -1
  74. package/src/fpl/Configs/Counter.vue +1 -0
  75. package/src/fpl/Configs/Image.vue +1 -1
  76. package/src/fpl/Configs/Table.vue +1 -1
  77. package/src/fpl/Panel.vue +8 -8
  78. package/src/fpl/Panels/Counter.vue +1 -0
@@ -1,9 +1,49 @@
1
+ @import "tailwindcss";
2
+ @source "../../../fluency-v8-components";
3
+ @source "../../node_modules/vue-tailwind-datepicker";
4
+ @custom-variant dark (&:where(.dark, .dark *));
5
+ @theme {
6
+ --color-vtd-primary-50: var(--color-sky-50);
7
+ --color-vtd-primary-100: var(--color-sky-100);
8
+ --color-vtd-primary-200: var(--color-sky-200);
9
+ --color-vtd-primary-300: var(--color-sky-300);
10
+ --color-vtd-primary-400: var(--color-sky-400);
11
+ --color-vtd-primary-500: var(--color-sky-500);
12
+ --color-vtd-primary-600: var(--color-sky-600);
13
+ --color-vtd-primary-700: var(--color-sky-700);
14
+ --color-vtd-primary-800: var(--color-sky-800);
15
+ --color-vtd-primary-900: var(--color-sky-900);
16
+
17
+ --color-vtd-secondary-50: var(--color-gray-50);
18
+ --color-vtd-secondary-100: var(--color-gray-100);
19
+ --color-vtd-secondary-200: var(--color-gray-200);
20
+ --color-vtd-secondary-300: var(--color-gray-300);
21
+ --color-vtd-secondary-400: var(--color-gray-400);
22
+ --color-vtd-secondary-500: var(--color-gray-500);
23
+ --color-vtd-secondary-600: var(--color-gray-600);
24
+ --color-vtd-secondary-700: var(--color-gray-700);
25
+ --color-vtd-secondary-800: var(--color-gray-800);
26
+ --color-vtd-secondary-900: var(--color-gray-900);
27
+
28
+ --page-height: calc(100vh - 200px);
29
+ --page-height-facet: calc(100vh - 330px);
30
+ --page-height-search: calc(100vh - 255px);
31
+ }
32
+
1
33
  .dark {
2
34
  background: #121212;
3
35
  color: #cbd5e1;
4
36
  }
5
37
 
38
+ .light {
39
+ background: #ececee;
40
+ color: #1f2937;
41
+ }
42
+
6
43
  @utility editor-style {
44
+ scrollbar-color: #e0e7ff #303030;
45
+ background: #303030;
46
+ color: #FFFFFF;
7
47
  font-family: Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace;
8
48
  padding: 10px 5px 10px 5px;
9
49
  :focus {
@@ -84,27 +124,201 @@
84
124
  }
85
125
 
86
126
  @utility white-bg {
87
- @apply bg-white text-gray-900 dark:bg-neutral-800 dark:text-slate-300;
127
+ @apply bg-[#f7f7f8] text-gray-900;
128
+ }
129
+
130
+ @utility white-bg-opacity {
131
+ @apply bg-[#ececee]/70 dark:bg-[#121212]/70;
132
+ }
133
+
134
+ @utility white-bg-hover {
135
+ @apply cursor-pointer std-white-hover focus-visible:outline-gray-300;
88
136
  }
89
137
 
90
138
  @utility dark-bg {
91
139
  @apply bg-neutral-800 text-slate-300;
92
140
  }
93
141
 
142
+ @utility dark-bg-hover {
143
+ @apply cursor-pointer bg-gray-700 focus-visible:outline-gray-700;
144
+ }
145
+
146
+ @utility std-light {
147
+ @apply bg-blue-50;
148
+ }
149
+
94
150
  @utility std-dark {
95
- @apply bg-neutral-800 hover:bg-gray-700 focus-visible:outline-sky-50;
151
+ @apply bg-gray-700;
96
152
  }
97
153
 
98
- @utility white-bg-hover {
99
- @apply cursor-pointer bg-gray-300 focus-visible:outline-gray-300;
154
+ @utility std-white {
155
+ @apply bg-white focus-visible:outline-sky-50 dark:bg-black dark:focus-visible:outline-slate-800;
100
156
  }
101
157
 
102
- @utility dark-bg-hover {
103
- @apply cursor-pointer bg-gray-700 focus-visible:outline-gray-700;
158
+ @utility std-white-reverse {
159
+ @apply bg-black focus-visible:outline-sky-50 dark:bg-white dark:focus-visible:outline-slate-800;
160
+ }
161
+
162
+ @utility std-white-hover {
163
+ @apply bg-[#ebf1ff] dark:bg-slate-800;
164
+ }
165
+
166
+ @utility std-white-border {
167
+ @apply border-gray-300 dark:border-neutral-600;
168
+ }
169
+
170
+ @utility std-white-text {
171
+ @apply text-gray-900 dark:text-gray-200;
172
+ }
173
+
174
+ @utility std-blue {
175
+ @apply bg-sky-600 dark:bg-sky-700 focus-visible:outline-sky-300;
176
+ }
177
+
178
+ @utility std-blue-light {
179
+ /* light: sky-100 / dark: balanced muted blue-gray */
180
+ @apply bg-sky-100 dark:bg-[#1e293b] focus-visible:outline-sky-300;
181
+ }
182
+
183
+ @utility std-blue-text {
184
+ @apply text-sky-700 dark:text-sky-300;
185
+ }
186
+
187
+ @utility std-blue-border {
188
+ @apply border-sky-600 dark:border-sky-400;
189
+ }
190
+
191
+ @utility std-blue-hover {
192
+ @apply bg-sky-500 dark:bg-sky-600;
193
+ }
194
+
195
+ @utility std-blue-hover-light {
196
+ /* light: soft sky / dark: deeper slate-blue tone */
197
+ @apply bg-[#b5e1fb] dark:bg-[#2a3b52];
198
+ }
199
+
200
+ @utility std-blue-ring {
201
+ @apply ring-sky-600 dark:ring-sky-400;
202
+ }
203
+
204
+
205
+ @utility std-green {
206
+ @apply bg-green-600 dark:bg-green-700 focus-visible:outline-green-300;
207
+ }
208
+
209
+ @utility std-green-light {
210
+ /* light: green-100 / dark: balanced moss tone */
211
+ @apply bg-green-100 dark:bg-[#1c2d22] focus-visible:outline-green-300;
212
+ }
213
+
214
+ @utility std-green-text {
215
+ @apply text-green-700 dark:text-green-300;
216
+ }
217
+
218
+ @utility std-green-border {
219
+ @apply border-green-600 dark:border-green-400;
220
+ }
221
+
222
+ @utility std-green-hover {
223
+ @apply bg-green-500 dark:bg-green-600;
224
+ }
225
+
226
+ @utility std-green-hover-light {
227
+ /* light: mint tone / dark: slightly warmer green-gray */
228
+ @apply bg-[#b8eec5] dark:bg-[#2a3b2f];
229
+ }
230
+
231
+ @utility std-green-ring {
232
+ @apply ring-green-600 dark:ring-green-400;
233
+ }
234
+
235
+
236
+ @utility std-red {
237
+ @apply bg-red-600 dark:bg-red-700 focus-visible:outline-red-300;
238
+ }
239
+
240
+ @utility std-red-light {
241
+ /* light: red-100 / dark: muted burgundy */
242
+ @apply bg-red-100 dark:bg-[#311c1c] focus-visible:outline-red-300;
243
+ }
244
+
245
+ @utility std-red-text {
246
+ @apply text-red-700 dark:text-red-300;
104
247
  }
105
248
 
106
- @utility input-icon {
107
- @apply absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center;
249
+ @utility std-red-border {
250
+ @apply border-red-600 dark:border-red-400;
251
+ }
252
+
253
+ @utility std-red-hover {
254
+ @apply bg-red-500 dark:bg-red-600;
255
+ }
256
+
257
+ @utility std-red-hover-light {
258
+ /* light: pale salmon / dark: richer maroon-gray */
259
+ @apply bg-[#f3b3b3] dark:bg-[#3f2626];
260
+ }
261
+
262
+ @utility std-red-ring {
263
+ @apply ring-red-600 dark:ring-red-400;
264
+ }
265
+
266
+
267
+ @utility std-yellow {
268
+ @apply bg-yellow-600 dark:bg-yellow-700 focus-visible:outline-yellow-300;
269
+ }
270
+
271
+ @utility std-yellow-light {
272
+ /* light: yellow-100 / dark: muted olive */
273
+ @apply bg-yellow-100 dark:bg-[#2e2817] focus-visible:outline-yellow-300;
274
+ }
275
+
276
+ @utility std-yellow-text {
277
+ @apply text-yellow-600 dark:text-yellow-300;
278
+ }
279
+
280
+ @utility std-yellow-border {
281
+ @apply border-yellow-600 dark:border-yellow-400;
282
+ }
283
+
284
+ @utility std-yellow-hover {
285
+ @apply bg-yellow-500 dark:bg-yellow-600;
286
+ }
287
+
288
+ @utility std-yellow-hover-light {
289
+ /* light: butter yellow / dark: brown-gold accent */
290
+ @apply bg-[#f8e7a3] dark:bg-[#463b22];
291
+ }
292
+
293
+ @utility std-yellow-ring {
294
+ @apply ring-yellow-600 dark:ring-yellow-400;
295
+ }
296
+
297
+ @utility std-disabled {
298
+ @apply bg-neutral-200/40 dark:bg-neutral-800/40
299
+ }
300
+
301
+ @utility std-disabled-text {
302
+ @apply text-slate-500 dark:text-slate-400
303
+ }
304
+
305
+ @utility icon-xs {
306
+ @apply w-3 h-3;
307
+ }
308
+ @utility icon {
309
+ @apply w-4 h-4;
310
+ }
311
+ @utility icon-md {
312
+ @apply w-5 h-5;
313
+ }
314
+ @utility icon-lg {
315
+ @apply w-6 h-6;
316
+ }
317
+ @utility icon-xl {
318
+ @apply w-8 h-8;
319
+ }
320
+ @utility icon-2xl {
321
+ @apply w-10 h-10;
108
322
  }
109
323
 
110
324
  @font-face {
@@ -130,7 +344,7 @@
130
344
  }
131
345
 
132
346
  .status-neutral {
133
- @apply text-gray-400 bg-gray-400/20 dark:text-gray-200 dark:bg-gray-200/10
347
+ @apply text-slate-600 bg-slate-600/20 dark:text-slate-400 dark:bg-slate-400/10
134
348
  }
135
349
  }
136
350
 
@@ -138,15 +352,56 @@
138
352
  .screen-size {
139
353
  @apply max-w-[1600px];
140
354
  }
355
+ .table-desktop {
356
+ @apply hidden md:block;
357
+ }
358
+ .settings-table-desktop {
359
+ @apply hidden lg:block;
360
+ }
361
+ .card-mobile {
362
+ @apply grid grid-cols-1 gap-x-6 gap-y-4 pt-3 md:hidden;
363
+ }
364
+ .settings-card-mobile {
365
+ @apply grid grid-cols-1 gap-x-6 gap-y-4 pt-3 lg:hidden;
366
+ }
141
367
 
142
368
  .loading {
143
- @apply text-lg font-medium text-teal-700 relative -top-3 dark:text-teal-400
369
+ @apply text-lg font-medium relative -top-3 text-sky-400
370
+ }
371
+ .loading-animate {
372
+ @apply animate-ping rounded-full icon-xl relative -top-3 bg-sky-400
373
+ }
374
+ .loading-circle {
375
+ @apply rounded-full icon-xl relative -left-8 -top-3 bg-sky-400
376
+ }
377
+ .loading-bounce {
378
+ @apply icon-md bg-sky-400 rounded-full animate-bounce
379
+ }
380
+ .disabled {
381
+ @apply std-disabled-text! shadow-none cursor-not-allowed focus:ring-gray-300 focus:ring-1;
382
+ }
383
+ .tooltip {
384
+ @apply isolate absolute z-50 inline-block px-3 py-2 text-xs text-black border std-white-border rounded-lg shadow-xs opacity-0 bg-gray-200 dark:bg-slate-800 dark:text-white
385
+ }
386
+ .spinner {
387
+ @apply w-5 h-5 animate-spin rounded-full border-4 border-solid border-current border-e-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]
144
388
  }
145
389
 
146
390
  .std-btn {
147
391
  @apply inline-flex items-center rounded-lg px-5 py-3 text-sm font-normal text-white;
148
392
  }
149
-
393
+ .std-btn-white {
394
+ @apply std-white std-white-text hover:std-white-hover cursor-pointer dark:text-white dark:dark-bg dark:hover:std-dark;
395
+ }
396
+ .std-btn-blue {
397
+ @apply std-blue hover:std-blue-hover cursor-pointer;
398
+ }
399
+ .std-btn-green {
400
+ @apply std-green hover:std-green-hover cursor-pointer;
401
+ }
402
+ .std-btn-red {
403
+ @apply std-red hover:std-red-hover cursor-pointer;
404
+ }
150
405
  .std-btn:disabled {
151
406
  @apply disabled:opacity-30 disabled:cursor-not-allowed;
152
407
  }
@@ -154,7 +409,6 @@
154
409
  .action-btn {
155
410
  @apply relative inline-flex items-center px-2 py-2 ring-1 ring-gray-500 dark:ring-gray-300 text-white;
156
411
  }
157
-
158
412
  .action-btn:disabled {
159
413
  @apply disabled:opacity-30 disabled:cursor-not-allowed;
160
414
  }
@@ -162,60 +416,12 @@
162
416
  .circle-btn {
163
417
  @apply rounded-full p-2 text-white;
164
418
  }
165
-
166
419
  .circle-btn:disabled {
167
420
  @apply disabled:opacity-30 disabled:cursor-not-allowed;
168
421
  }
169
422
 
170
- .std-white {
171
- @apply bg-white hover:bg-sky-50 focus-visible:outline-sky-50;
172
- }
173
-
174
- .std-blue {
175
- @apply bg-sky-700 hover:bg-sky-500 focus-visible:outline-sky-500;
176
- }
177
-
178
- .std-green {
179
- @apply bg-green-700 hover:bg-green-500 focus-visible:outline-green-500;
180
- }
181
-
182
- .std-red {
183
- @apply bg-red-600 hover:bg-red-400 focus-visible:outline-red-400;
184
- }
185
-
186
- .checkboxInput {
187
- @apply w-4 h-4 rounded-sm border-gray-300 text-sky-600 focus:ring-sky-600;
188
- }
189
-
190
- .card {
191
- @apply relative flex flex-col gap-x-4 border-b bg-white dark:bg-neutral-800 dark:text-slate-300 border-gray-200 dark:border-neutral-600 p-8 rounded-lg
192
- }
193
- .card-base {
194
- @apply overflow-hidden bg-white shadow-sm sm:rounded-lg;
195
- }
196
-
197
- .card-title {
198
- @apply text-base font-normal leading-6 text-gray-900;
199
- }
200
-
201
- .card-subtitle {
202
- @apply mt-1 max-w-2xl text-sm text-gray-500;
203
- }
204
-
205
- .section-title {
206
- @apply text-base font-normal leading-6 text-gray-900;
207
- }
208
-
209
- .section-subtitle {
210
- @apply mt-2 text-sm text-gray-700;
211
- }
212
-
213
- .title2 {
214
- @apply text-base font-normal leading-6 text-gray-900;
215
- }
216
-
217
- .text {
218
- @apply mt-2 text-sm text-gray-700;
423
+ .button-toggle {
424
+ @apply relative inline-flex items-center px-3 py-1 text-sm font-normal ring-1 ring-inset ring-gray-300 hover:bg-slate-300 focus:z-10;
219
425
  }
220
426
 
221
427
  .dotted-item {
@@ -223,115 +429,83 @@
223
429
  }
224
430
 
225
431
  .input-block {
226
- @apply text-sm bg-neutral-100 dark:bg-neutral-700 block w-full rounded-md border-0 py-1.5 text-gray-900 dark:text-slate-300 shadow-xs ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-inset focus-within:ring-indigo-300 sm:leading-6;
432
+ @apply text-sm std-white-text bg-white dark:bg-neutral-700 block w-full rounded-md border-0 py-1.5 shadow-xs ring-1 ring-inset ring-gray-300 sm:leading-6 focus-within:ring-2 focus-within:ring-inset focus-within:std-blue-ring;
227
433
  }
228
-
229
- .disabled {
230
- @apply text-slate-500 dark:text-slate-400 shadow-none cursor-not-allowed focus:ring-gray-300 focus:ring-1;
434
+ .input-icon {
435
+ @apply absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center;
231
436
  }
232
-
233
- .input-label {
234
- @apply absolute -top-2 left-2 inline-block bg-white px-1 text-xs font-medium text-gray-900;
437
+ .input-dropdown {
438
+ @apply absolute z-50 mt-1 max-h-56 w-full overflow-auto rounded-md p-1;
235
439
  }
236
-
237
- .table-desktop {
238
- @apply hidden md:block;
440
+ .input-dropdown-item {
441
+ @apply relative cursor-default select-none py-2;
239
442
  }
240
- .settings-table-desktop {
241
- @apply hidden lg:block;
242
- }
243
-
244
- .card-mobile {
245
- @apply grid grid-cols-1 gap-x-6 gap-y-4 pt-3 md:hidden;
246
- }
247
- .settings-card-mobile {
248
- @apply grid grid-cols-1 gap-x-6 gap-y-4 pt-3 lg:hidden;
443
+ .input-dropdown-label {
444
+ @apply block truncate ml-3 font-normal
249
445
  }
250
446
 
251
447
  .std-table {
252
- @apply min-w-full divide-y divide-gray-200 bg-gray-50 dark:divide-gray-600 dark:bg-neutral-800 dark:text-slate-300;
448
+ @apply min-w-full;
253
449
  }
254
-
255
450
  .std-table-header {
256
- @apply py-2 pl-2 pr-3 sm:pl-6 font-medium;
451
+ @apply std-light py-2 pl-2 pr-3 font-medium sm:pl-6 dark:dark-bg;
257
452
  }
258
-
259
453
  .std-table-body {
260
- @apply divide-y divide-gray-200 bg-white dark:divide-gray-600 dark:bg-neutral-900;
454
+ @apply std-white divide-y divide-gray-300 dark:divide-gray-600 dark:bg-neutral-900;
455
+ }
456
+ .std-table-footer {
457
+ @apply flex items-center justify-between px-4 py-3 sm:px-6 rounded-lg std-light dark:dark-bg;
458
+ }
459
+ .std-table-footer-btn {
460
+ @apply relative inline-flex items-center px-2 py-2 ring-1 ring-inset ring-gray-300;
261
461
  }
262
-
263
462
  .table-frame1 {
264
463
  @apply my-3 flow-root;
265
464
  }
266
-
267
465
  .table-frame3 {
268
466
  @apply inline-block min-w-full align-middle;
269
467
  }
270
-
271
468
  .table-shadow {
272
469
  @apply overflow-hidden shadow-sm ring-1 ring-black/5 sm:rounded-lg;
273
470
  }
274
-
275
471
  .table-font {
276
- @apply py-2 text-sm font-normal text-gray-900 pl-3 pr-2 dark:text-slate-300;
277
- }
278
-
279
- .table-font-first-col {
280
- @apply py-2 pl-2 pr-3 text-xs font-medium text-gray-900 sm:pl-6;
281
- }
282
-
283
- .table-font-other-cols {
284
- @apply px-3 py-2 pl-6 text-xs text-gray-500;
472
+ @apply std-white-text py-2 text-sm font-normal pl-3 pr-2;
285
473
  }
286
474
 
287
475
  .box {
288
476
  @apply border-2 inline-flex rounded-lg m-1 px-4 py-2 text-sm items-center cursor-pointer;
289
477
  }
290
-
291
478
  .disabled-box {
292
- @apply border-slate-300 bg-neutral-200 text-gray-500 cursor-not-allowed dark:bg-neutral-700 dark:text-gray-400 dark:border-neutral-600;
479
+ @apply std-disabled std-disabled-text cursor-not-allowed std-white-border;
293
480
  }
294
-
295
481
  .blue-box {
296
- @apply border-sky-400 bg-sky-200 text-sky-700 transition ease-in-out hover:scale-105 duration-200 hover:bg-sky-100 hover:font-normal dark:border-slate-500 dark:bg-slate-700 dark:text-sky-100 dark:hover:bg-sky-700;
482
+ @apply std-blue-border std-blue-light std-blue-text transition ease-in-out hover:scale-105 duration-200 hover:font-normal hover:std-blue-hover-light;
297
483
  }
298
-
299
484
  .green-box {
300
- @apply border-green-600 bg-green-300 text-emerald-800 transition ease-in-out hover:scale-105 duration-200 hover:bg-emerald-200 hover:font-normal dark:border-green-500 dark:bg-green-800 dark:text-green-100 dark:hover:bg-green-700;
485
+ @apply std-green-border std-green-light std-green-text transition ease-in-out hover:scale-105 duration-200 hover:font-normal hover:std-green-hover-light;
301
486
  }
302
-
303
487
  .selected-blue-box {
304
- @apply border-sky-300 text-sky-700 bg-cyan-100 font-normal dark:border-sky-600 dark:bg-sky-900 dark:text-sky-200;
488
+ @apply std-blue-border std-blue-hover-light std-blue-text font-normal brightness-110;
305
489
  }
306
-
307
490
  .selected-green-box {
308
- @apply border-emerald-500 bg-emerald-100 text-green-900 font-normal cursor-pointer dark:border-emerald-500 dark:bg-emerald-700 dark:text-green-100;
309
- }
310
-
311
- .button-toggle {
312
- @apply relative inline-flex items-center px-3 py-1 text-sm font-normal ring-1 ring-inset ring-gray-300 hover:bg-slate-300 focus:z-10;
491
+ @apply std-green-border std-green-hover-light std-green-text font-normal brightness-110;
313
492
  }
314
493
 
315
494
  .chip {
316
495
  @apply text-sm font-medium px-2 py-1 rounded-full flex flex-row;
317
496
  }
318
-
319
497
  .select-chip {
320
498
  @apply px-1 text-sm font-medium rounded-full bg-sky-200 dark:bg-sky-700;
321
499
  }
322
-
323
500
  .green-chip {
324
501
  @apply bg-green-200 text-green-700 dark:bg-green-800 dark:text-green-300;
325
502
  }
326
-
327
503
  .red-chip {
328
504
  @apply bg-red-200 text-red-600 dark:bg-red-800 dark:text-red-300;
329
505
  }
330
-
331
506
  .yellow-chip {
332
507
  @apply bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-300;
333
508
  }
334
-
335
509
  .blue-chip {
336
510
  @apply bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-300;
337
511
  }
@@ -340,58 +514,18 @@
340
514
  @apply border border-gray-400 p-1 m-1 dark:border-white;
341
515
  }
342
516
 
343
- .tooltip {
344
- @apply isolate absolute z-50 inline-block px-3 py-2 text-xs text-black bg-gray-100 border border-gray-200 rounded-lg shadow-xs opacity-0 dark:bg-gray-800 dark:text-white
345
- }
346
-
347
- .spinner {
348
- @apply w-5 h-5 animate-spin rounded-full border-4 border-solid border-current border-e-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]
349
- }
350
-
351
- .icon-xs {
352
- @apply w-3 h-3;
353
- }
354
-
355
- .icon {
356
- @apply w-4 h-4;
357
- }
358
-
359
- .icon-md {
360
- @apply w-5 h-5;
361
- }
362
-
363
- .icon-lg {
364
- @apply w-6 h-6;
365
- }
366
-
367
- .icon-xl {
368
- @apply w-8 h-8;
369
- }
370
-
371
- .icon-2xl {
372
- @apply w-10 h-10;
373
- }
374
-
375
517
  .icon-yellow {
376
- @apply text-yellow-600;
518
+ @apply std-yellow-text;
377
519
  }
378
-
379
520
  .icon-green {
380
- @apply text-green-600;
521
+ @apply std-green-text;
381
522
  }
382
-
383
523
  .icon-red {
384
- @apply text-red-600;
524
+ @apply std-red-text;
385
525
  }
386
-
387
526
  .icon-blue {
388
- @apply text-blue-600;
527
+ @apply std-blue-text;
389
528
  }
390
-
391
- .icon-skyblue {
392
- @apply text-sky-600;
393
- }
394
-
395
529
  .icon-gray {
396
530
  @apply text-gray-500 dark:text-gray-300;
397
531
  }
@@ -406,32 +540,44 @@
406
540
  @apply -m-1.5 flex flex-none items-center justify-center p-1.5 text-gray-800 dark:text-gray-100 dark:hover:text-gray-400 hover:text-gray-400 mx-0.5
407
541
  }
408
542
  .report-card-field {
409
- @apply text-xs text-gray-500 dark:text-gray-100 leading-6
543
+ @apply text-xs leading-6 text-gray-800 dark:text-gray-100
410
544
  }
411
545
  .report-card-grid {
412
546
  @apply grid grid-cols-10 gap-x-4 dark:border-neutral-600 px-6
413
547
  }
414
548
  .report-panel {
415
- @apply bg-gray-200 dark:bg-gray-800 border border-gray-300 dark:border-gray-700
549
+ @apply white-bg border std-white-border dark:bg-slate-800 dark:text-slate-300
550
+ }
551
+ .report-completed {
552
+ @apply border-green-500 bg-green-300 dark:border-green-400 dark:bg-green-800
553
+ }
554
+ .report-error {
555
+ @apply border-red-500 bg-red-300 dark:border-red-400 dark:bg-red-800
556
+ }
557
+ .report-running {
558
+ @apply border-gray-500 bg-gray-300 dark:border-gray-400 dark:bg-gray-600
416
559
  }
417
560
 
561
+ .score-inactive {
562
+ @apply bg-gray-300 text-gray-400 dark:bg-gray-600;
563
+ }
418
564
  .score-none {
419
- @apply text-gray-400
565
+ @apply text-gray-400 dark:text-slate-600
420
566
  }
421
567
  .score-none-bg {
422
- @apply bg-gray-400 text-white
568
+ @apply bg-gray-400 text-white dark:bg-slate-600
423
569
  }
424
570
  .score-low {
425
- @apply text-sky-600
571
+ @apply text-sky-500
426
572
  }
427
573
  .score-low-bg {
428
- @apply bg-sky-600 text-white
574
+ @apply bg-sky-500 text-white
429
575
  }
430
576
  .score-medium {
431
- @apply text-amber-400
577
+ @apply text-yellow-500
432
578
  }
433
579
  .score-medium-bg {
434
- @apply bg-amber-400 text-white
580
+ @apply bg-yellow-500 text-white
435
581
  }
436
582
  .score-serious {
437
583
  @apply text-orange-500
@@ -440,42 +586,29 @@
440
586
  @apply bg-orange-500 text-white
441
587
  }
442
588
  .score-high {
443
- @apply text-red-600 dark:text-red-500
589
+ @apply text-red-500
444
590
  }
445
591
  .score-high-bg {
446
- @apply bg-red-600 dark:bg-red-500 text-white
592
+ @apply bg-red-500 text-white
447
593
  }
448
594
  .score-critical {
449
- @apply text-red-900 dark:text-rose-700
595
+ @apply text-red-800 dark:text-rose-700
450
596
  }
451
597
  .score-critical-bg {
452
- @apply bg-red-900 dark:bg-rose-700 text-white
453
- }
454
- .score-warn {
455
- @apply text-violet-700 dark:text-violet-500
456
- }
457
- .score-warn-bg {
458
- @apply bg-violet-700 dark:bg-violet-500 text-white
598
+ @apply bg-red-800 text-white dark:bg-rose-700
459
599
  }
460
600
  .calendar-spectrum {
461
601
  @apply w-1/6 px-3 py-2 text-sm font-semibold text-white shadow-sm
462
602
  }
603
+ .calendar {
604
+ @apply isolate grid grid-cols-7 gap-px rounded-lg text-sm shadow-sm bg-gray-400 dark:bg-gray-200 ring-1 ring-gray-400 dark:ring-gray-200;
605
+ }
463
606
 
464
607
  .tab-selected {
465
- @apply bg-sky-100 dark:bg-slate-800 text-sky-700 dark:text-sky-100;
608
+ @apply std-blue-light std-blue-text;
466
609
  }
467
610
  .tab-unselected {
468
- @apply text-slate-500 dark:text-slate-200 opacity-50;
469
- }
470
-
471
- .report-completed {
472
- @apply border-green-500 bg-green-200 dark:border-green-400 dark:bg-green-800
473
- }
474
- .report-error {
475
- @apply border-red-500 bg-red-300 dark:border-red-400 dark:bg-red-800
476
- }
477
- .report-running {
478
- @apply border-gray-500 bg-gray-300 dark:border-gray-400 dark:bg-gray-600
611
+ @apply std-light opacity-80 hover:opacity-90 hover:std-blue-light dark:dark-bg;
479
612
  }
480
613
 
481
614
  .menu {
@@ -485,7 +618,21 @@
485
618
  @apply flex items-center gap-x-1 text-sm font-semibold leading-6
486
619
  }
487
620
  .menu-icon {
488
- @apply h-6 shrink-0 hover:font-bold
621
+ @apply h-6 shrink-0
622
+ }
623
+
624
+ .card {
625
+ @apply relative flex flex-col gap-x-4 border-b std-white-border std-white p-8 rounded-lg dark:dark-bg
626
+ }
627
+
628
+ .support-text {
629
+ @apply flex w-full items-center justify-between space-x-6 p-6;
630
+ }
631
+ .support-blocks {
632
+ @apply grid grid-cols-1 gap-6 lg:grid-cols-2 pt-3;
633
+ }
634
+ .support-card {
635
+ @apply col-span-1 rounded-lg std-light dark:std-dark shadow-sm;
489
636
  }
490
637
 
491
638
  .chat-sender {
@@ -497,6 +644,16 @@
497
644
  .chat-bars {
498
645
  @apply relative bg-gray-300 dark:bg-black
499
646
  }
647
+
648
+ .slider-button {
649
+ @apply absolute z-30 flex items-center justify-center h-full cursor-pointer focus:outline-hidden;
650
+ }
651
+ .slider-active {
652
+ @apply bg-gray-500 dark:bg-gray-200;
653
+ }
654
+ .slider-inactive {
655
+ @apply bg-gray-200 dark:bg-gray-500;
656
+ }
500
657
  }
501
658
 
502
659
  @layer base {
@@ -504,4 +661,12 @@
504
661
  [role="button"]:not(:disabled) {
505
662
  cursor: pointer;
506
663
  }
507
- }
664
+ input[type="checkbox"],
665
+ input[type="radio"],
666
+ input[type="range"] {
667
+ accent-color: #0284c7;
668
+ }
669
+ :focus-visible {
670
+ --tw-ring-color: #0284c7;
671
+ }
672
+ }