athena-ui-js 1.2.0 → 2.0.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/README.md +312 -60
- package/docs/migration-2.0.md +83 -0
- package/docs/styling.md +86 -0
- package/package.json +109 -24
- package/src/athena-ui.js +61 -81
- package/src/chart.js +6 -0
- package/src/classic.js +11 -0
- package/src/components.js +6 -0
- package/src/controls.js +8 -0
- package/src/csv.js +6 -0
- package/src/dialog.js +7 -0
- package/src/dom.js +6 -0
- package/src/feedback.js +6 -0
- package/src/format.js +6 -0
- package/src/forms.js +7 -0
- package/src/i18n.js +6 -0
- package/src/inputs.js +9 -0
- package/src/libs/config/config.js +1 -2
- package/src/libs/core/controls.js +145 -0
- package/src/libs/core/cookies.js +55 -0
- package/src/libs/core/dateRange.js +121 -0
- package/src/libs/core/dom.js +58 -8
- package/src/libs/{hephaestus/HTMLElementGenerator/src/HTMLElementGenerator.js → core/elementGenerator.js} +23 -21
- package/src/libs/{hephaestus/HTMLElementGenerator/src → core}/errors.js +7 -5
- package/src/libs/core/format.js +51 -0
- package/src/libs/core/hungarianControls.js +41 -0
- package/src/libs/core/i18n.js +104 -6
- package/src/libs/core/theme.js +131 -0
- package/src/libs/core/validation.js +2 -2
- package/src/libs/hephaestus/LayoutGenerator/basicLayoutGenerator.js +13 -7
- package/src/libs/hephaestus/LayoutGenerator/footerContentGenerator.js +2 -4
- package/src/libs/hephaestus/LayoutGenerator/headerContentGenerator.js +12 -5
- package/src/libs/hephaestus/MenuGenerator/basicMenuGenerator.js +3 -3
- package/src/libs/hephaestus/MenuGenerator/menuGenerator.js +265 -0
- package/src/libs/hephaestus/auth/authState.js +58 -0
- package/src/libs/hephaestus/auth/session.js +1 -1
- package/src/libs/hephaestus/chartGenerator/chartGenerator.js +519 -87
- package/src/libs/hephaestus/componentGenerator/componentGenerator.js +121 -4
- package/src/libs/hephaestus/componentGenerator/themePicker.js +73 -0
- package/src/libs/hephaestus/dialogGenerator/dialogGenerator.js +113 -25
- package/src/libs/hephaestus/feedbackGenerator/feedbackGenerator.js +21 -0
- package/src/libs/hephaestus/formGenerator/authForms.js +130 -0
- package/src/libs/hephaestus/formGenerator/changePasswordFormGenerator.js +4 -4
- package/src/libs/hephaestus/formGenerator/formUtils.js +10 -13
- package/src/libs/hephaestus/formGenerator/loginFormGenerator.js +10 -11
- package/src/libs/hephaestus/formGenerator/registrationFormGenerator.js +3 -3
- package/src/libs/hephaestus/hephaestus.js +0 -5
- package/src/libs/hephaestus/inputGenerator/dropZoneGenerator.js +1 -1
- package/src/libs/hephaestus/inputGenerator/inputGenerator.js +30 -1
- package/src/libs/hephaestus/modalGenerator/modalGenerator.js +25 -12
- package/src/libs/hephaestus/navigationGenerator/navigationGenerator.js +20 -24
- package/src/libs/hephaestus/router/router.js +54 -5
- package/src/libs/hephaestus/tableGenerator/tableGenerator.js +290 -16
- package/src/menu.js +6 -0
- package/src/navigation.js +6 -0
- package/src/res/themes/appearance.css +154 -0
- package/src/res/themes/default/style.css +688 -82
- package/src/res/themes/tokens.css +96 -0
- package/src/router.js +6 -0
- package/src/sanitize.js +6 -0
- package/src/session.js +8 -0
- package/src/table.js +6 -0
- package/src/testing.js +11 -1
- package/src/theme-boot.js +25 -0
- package/src/theme.js +7 -0
- package/src/validation.js +6 -0
- package/types/athena-ui.d.ts +96 -0
- package/types/chart.d.ts +1 -0
- package/types/classic.d.ts +1 -0
- package/types/components.d.ts +1 -0
- package/types/controls.d.ts +3 -0
- package/types/csv.d.ts +1 -0
- package/types/dialog.d.ts +2 -0
- package/types/dom.d.ts +1 -0
- package/types/feedback.d.ts +1 -0
- package/types/format.d.ts +1 -0
- package/types/forms.d.ts +2 -0
- package/types/i18n.d.ts +1 -0
- package/types/inputs.d.ts +4 -0
- package/types/libs/config/config.d.ts +96 -0
- package/types/libs/config/hooks.d.ts +8 -0
- package/types/libs/core/combobox.d.ts +10 -0
- package/types/libs/core/controls.d.ts +28 -0
- package/types/libs/core/cookies.d.ts +27 -0
- package/types/libs/core/csv.d.ts +12 -0
- package/types/libs/core/dateRange.d.ts +72 -0
- package/types/libs/core/dom.d.ts +65 -0
- package/types/libs/core/elementGenerator.d.ts +30 -0
- package/types/libs/core/errors.d.ts +29 -0
- package/types/libs/core/focus.d.ts +6 -0
- package/types/libs/core/format.d.ts +21 -0
- package/types/libs/core/hungarianControls.d.ts +2 -0
- package/types/libs/core/i18n.d.ts +17 -0
- package/types/libs/core/pagination.d.ts +5 -0
- package/types/libs/core/sanitize.d.ts +6 -0
- package/types/libs/core/tableMath.d.ts +26 -0
- package/types/libs/core/theme.d.ts +39 -0
- package/types/libs/core/validation.d.ts +56 -0
- package/types/libs/hephaestus/LayoutGenerator/basicLayoutGenerator.d.ts +10 -0
- package/types/libs/hephaestus/LayoutGenerator/footerContentGenerator.d.ts +4 -0
- package/types/libs/hephaestus/LayoutGenerator/headerContentGenerator.d.ts +20 -0
- package/types/libs/hephaestus/LayoutGenerator/wrapperContentGenerator.d.ts +1 -0
- package/types/libs/hephaestus/MenuGenerator/basicMenuGenerator.d.ts +14 -0
- package/types/libs/hephaestus/MenuGenerator/menuGenerator.d.ts +65 -0
- package/types/libs/hephaestus/auth/authState.d.ts +26 -0
- package/types/libs/hephaestus/auth/session.d.ts +26 -0
- package/types/libs/hephaestus/chartGenerator/chartGenerator.d.ts +91 -0
- package/types/libs/hephaestus/componentGenerator/componentGenerator.d.ts +222 -0
- package/types/libs/hephaestus/componentGenerator/themePicker.d.ts +24 -0
- package/types/libs/hephaestus/dialogGenerator/dialogGenerator.d.ts +120 -0
- package/types/libs/hephaestus/feedbackGenerator/feedbackGenerator.d.ts +86 -0
- package/types/libs/hephaestus/formGenerator/authForms.d.ts +122 -0
- package/types/libs/hephaestus/formGenerator/changePasswordFormGenerator.d.ts +6 -0
- package/types/libs/hephaestus/formGenerator/formBuilder.d.ts +113 -0
- package/types/libs/hephaestus/formGenerator/formUtils.d.ts +8 -0
- package/types/libs/hephaestus/formGenerator/loginFormGenerator.d.ts +11 -0
- package/types/libs/hephaestus/formGenerator/lostPasswordFormGenerator.d.ts +4 -0
- package/types/libs/hephaestus/formGenerator/registrationFormGenerator.d.ts +7 -0
- package/types/libs/hephaestus/hephaestus.d.ts +3 -0
- package/types/libs/hephaestus/inputGenerator/dropZoneGenerator.d.ts +48 -0
- package/types/libs/hephaestus/inputGenerator/inputGenerator.d.ts +185 -0
- package/types/libs/hephaestus/inputGenerator/richTextGenerator.d.ts +49 -0
- package/types/libs/hephaestus/modalGenerator/modalGenerator.d.ts +2 -0
- package/types/libs/hephaestus/navigationGenerator/navigationGenerator.d.ts +150 -0
- package/types/libs/hephaestus/router/matchRoute.d.ts +12 -0
- package/types/libs/hephaestus/router/router.d.ts +67 -0
- package/types/libs/hephaestus/tableGenerator/tableGenerator.d.ts +120 -0
- package/types/menu.d.ts +1 -0
- package/types/navigation.d.ts +1 -0
- package/types/res/themes/themes.d.ts +7 -0
- package/types/router.d.ts +1 -0
- package/types/sanitize.d.ts +1 -0
- package/types/session.d.ts +3 -0
- package/types/table.d.ts +1 -0
- package/types/testing.d.ts +27 -0
- package/types/theme-boot.d.ts +0 -0
- package/types/theme.d.ts +2 -0
- package/types/validation.d.ts +1 -0
- package/src/libs/crypto-js/LICENSE +0 -24
- package/src/libs/crypto-js/crypto-js.js +0 -6657
- package/src/libs/hephaestus/HTMLControlGenerator/LICENSE +0 -21
- package/src/libs/hephaestus/HTMLControlGenerator/src/HTMLControlGenerator.min.js +0 -5
- package/src/libs/hephaestus/HTMLElementGenerator/LICENSE +0 -21
- package/src/libs/js-cookie/LICENSE +0 -21
- package/src/libs/js-cookie/src/api.mjs +0 -103
- package/src/libs/js-cookie/src/assign.mjs +0 -10
- package/src/libs/js-cookie/src/converter.mjs +0 -14
- package/src/libs/libs.js +0 -13
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
/* Default Athena UI Theme
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--athena-line: #ccc;
|
|
11
|
-
--athena-surface: #f2f2f2;
|
|
12
|
-
--athena-surface-alt: #fafafa;
|
|
13
|
-
--athena-hover: #e8f0fe;
|
|
14
|
-
--athena-overlay: rgb(0 0 0 / 40%);
|
|
15
|
-
--athena-accent: #2f6db5;
|
|
16
|
-
--athena-accent-fg: #fff;
|
|
17
|
-
--athena-danger: #c0392b;
|
|
18
|
-
--athena-success: #1e8449;
|
|
19
|
-
--athena-warning: #9a6700;
|
|
20
|
-
--athena-info: #2471a3;
|
|
21
|
-
--athena-radius: 6px;
|
|
22
|
-
--athena-shadow: 0 4px 14px rgb(0 0 0 / 18%);
|
|
23
|
-
--grid-gap: 16px;
|
|
24
|
-
}
|
|
1
|
+
/* Default Athena UI Theme
|
|
2
|
+
|
|
3
|
+
Every rule of Athena UI is in the cascade layer "athena". CSS that is not in a layer (the normal CSS of an application) beats it whatever the
|
|
4
|
+
specificity, so overriding a style never needs a more specific selector. The design tokens (colours, radius, spacing, focus ring, dialog widths,
|
|
5
|
+
row height) are in tokens.css, which this file imports into the same layer. See docs/styling.md for the classes and variables of every component. */
|
|
6
|
+
|
|
7
|
+
@import url("../tokens.css") layer(athena);
|
|
8
|
+
|
|
9
|
+
@layer athena {
|
|
25
10
|
|
|
26
11
|
body {
|
|
27
12
|
background-color: var(--athena-bg);
|
|
@@ -37,7 +22,7 @@ select,
|
|
|
37
22
|
textarea {
|
|
38
23
|
background-color: var(--athena-bg);
|
|
39
24
|
color: var(--athena-fg);
|
|
40
|
-
border:
|
|
25
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
41
26
|
border-radius: 3px;
|
|
42
27
|
padding: 4px 6px;
|
|
43
28
|
font: inherit;
|
|
@@ -104,7 +89,7 @@ textarea {
|
|
|
104
89
|
color: var(--athena-fg);
|
|
105
90
|
margin: auto;
|
|
106
91
|
padding: 20px;
|
|
107
|
-
border:
|
|
92
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
108
93
|
width: 80%;
|
|
109
94
|
}
|
|
110
95
|
|
|
@@ -194,19 +179,19 @@ textarea {
|
|
|
194
179
|
.athena-form {
|
|
195
180
|
display: flex;
|
|
196
181
|
flex-direction: column;
|
|
197
|
-
gap:
|
|
182
|
+
gap: var(--athena-space-3);
|
|
198
183
|
max-width: 480px;
|
|
199
184
|
}
|
|
200
185
|
|
|
201
186
|
.form-actions {
|
|
202
187
|
display: flex;
|
|
203
|
-
gap:
|
|
188
|
+
gap: var(--athena-space-2);
|
|
204
189
|
}
|
|
205
190
|
|
|
206
191
|
.field {
|
|
207
192
|
display: flex;
|
|
208
193
|
flex-direction: column;
|
|
209
|
-
gap:
|
|
194
|
+
gap: var(--athena-space-1);
|
|
210
195
|
}
|
|
211
196
|
|
|
212
197
|
.field-label,
|
|
@@ -239,7 +224,7 @@ textarea {
|
|
|
239
224
|
}
|
|
240
225
|
|
|
241
226
|
.field-group {
|
|
242
|
-
border:
|
|
227
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
243
228
|
border-radius: var(--athena-radius);
|
|
244
229
|
padding: 6px 10px;
|
|
245
230
|
}
|
|
@@ -345,7 +330,7 @@ textarea {
|
|
|
345
330
|
display: flex;
|
|
346
331
|
align-items: flex-start;
|
|
347
332
|
justify-content: space-between;
|
|
348
|
-
gap:
|
|
333
|
+
gap: var(--athena-space-3);
|
|
349
334
|
padding: 10px 14px;
|
|
350
335
|
border: 1px solid var(--alert-color, var(--athena-info));
|
|
351
336
|
border-left-width: 5px;
|
|
@@ -391,7 +376,7 @@ textarea {
|
|
|
391
376
|
z-index: 2000;
|
|
392
377
|
display: flex;
|
|
393
378
|
flex-direction: column;
|
|
394
|
-
gap:
|
|
379
|
+
gap: var(--athena-space-2);
|
|
395
380
|
width: min(360px, calc(100vw - 32px));
|
|
396
381
|
}
|
|
397
382
|
|
|
@@ -403,7 +388,7 @@ textarea {
|
|
|
403
388
|
height: 10px;
|
|
404
389
|
border-radius: 5px;
|
|
405
390
|
background-color: var(--athena-surface);
|
|
406
|
-
border:
|
|
391
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
407
392
|
overflow: hidden;
|
|
408
393
|
}
|
|
409
394
|
|
|
@@ -445,24 +430,33 @@ textarea {
|
|
|
445
430
|
margin-bottom: 2px;
|
|
446
431
|
}
|
|
447
432
|
|
|
448
|
-
/* Dialog
|
|
433
|
+
/* Dialog: the native <dialog> element, opened with showModal() */
|
|
449
434
|
|
|
450
|
-
.dialog
|
|
451
|
-
|
|
452
|
-
|
|
435
|
+
dialog.dialog {
|
|
436
|
+
width: min(var(--dialog-width, var(--athena-dialog-medium)), 92%);
|
|
437
|
+
max-width: none;
|
|
438
|
+
padding: 0;
|
|
439
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
440
|
+
border-radius: var(--athena-radius);
|
|
441
|
+
background-color: var(--athena-bg);
|
|
442
|
+
color: var(--athena-fg);
|
|
443
|
+
box-shadow: var(--athena-shadow);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
dialog.dialog::backdrop {
|
|
447
|
+
background-color: var(--athena-overlay);
|
|
453
448
|
}
|
|
454
449
|
|
|
455
|
-
|
|
450
|
+
/* The content fills the dialog up to its edge, so a click on the backdrop is a click on the dialog element itself */
|
|
451
|
+
.dialog-inner {
|
|
456
452
|
position: relative;
|
|
457
|
-
|
|
458
|
-
border-radius: var(--athena-radius);
|
|
459
|
-
box-shadow: var(--athena-shadow);
|
|
453
|
+
padding: 20px;
|
|
460
454
|
}
|
|
461
455
|
|
|
462
|
-
.dialog-small { --dialog-width:
|
|
463
|
-
.dialog-medium { --dialog-width:
|
|
464
|
-
.dialog-large { --dialog-width:
|
|
465
|
-
.dialog-full { --dialog-width: 100%; min-height: calc(100vh -
|
|
456
|
+
.dialog-small { --dialog-width: var(--athena-dialog-small); }
|
|
457
|
+
.dialog-medium { --dialog-width: var(--athena-dialog-medium); }
|
|
458
|
+
.dialog-large { --dialog-width: var(--athena-dialog-large); }
|
|
459
|
+
.dialog-full { --dialog-width: 100%; min-height: calc(100vh - 40px); }
|
|
466
460
|
|
|
467
461
|
.dialog-title {
|
|
468
462
|
margin: 0 28px 12px 0;
|
|
@@ -482,13 +476,13 @@ textarea {
|
|
|
482
476
|
.dialog-body {
|
|
483
477
|
display: flex;
|
|
484
478
|
flex-direction: column;
|
|
485
|
-
gap:
|
|
479
|
+
gap: var(--athena-space-2);
|
|
486
480
|
}
|
|
487
481
|
|
|
488
482
|
.dialog-footer {
|
|
489
483
|
display: flex;
|
|
490
484
|
justify-content: flex-end;
|
|
491
|
-
gap:
|
|
485
|
+
gap: var(--athena-space-2);
|
|
492
486
|
margin-top: 16px;
|
|
493
487
|
}
|
|
494
488
|
|
|
@@ -497,7 +491,7 @@ textarea {
|
|
|
497
491
|
.tab-list {
|
|
498
492
|
display: flex;
|
|
499
493
|
flex-wrap: wrap;
|
|
500
|
-
border-bottom:
|
|
494
|
+
border-bottom: var(--athena-border-width) solid var(--athena-line);
|
|
501
495
|
}
|
|
502
496
|
|
|
503
497
|
.tab {
|
|
@@ -543,14 +537,14 @@ textarea {
|
|
|
543
537
|
.pagination {
|
|
544
538
|
display: flex;
|
|
545
539
|
flex-wrap: wrap;
|
|
546
|
-
gap:
|
|
540
|
+
gap: var(--athena-space-1);
|
|
547
541
|
align-items: center;
|
|
548
542
|
}
|
|
549
543
|
|
|
550
544
|
.page-button {
|
|
551
545
|
min-width: 32px;
|
|
552
546
|
padding: 4px 8px;
|
|
553
|
-
border:
|
|
547
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
554
548
|
border-radius: 4px;
|
|
555
549
|
background-color: var(--athena-bg);
|
|
556
550
|
color: var(--athena-fg);
|
|
@@ -568,42 +562,43 @@ textarea {
|
|
|
568
562
|
color: var(--athena-accent-fg);
|
|
569
563
|
}
|
|
570
564
|
|
|
571
|
-
/* Accordion */
|
|
565
|
+
/* Accordion: <details> and <summary> */
|
|
572
566
|
|
|
573
567
|
.accordion-item {
|
|
574
|
-
border:
|
|
568
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
575
569
|
}
|
|
576
570
|
|
|
577
571
|
.accordion-item + .accordion-item {
|
|
578
572
|
border-top: 0;
|
|
579
573
|
}
|
|
580
574
|
|
|
581
|
-
.accordion-title {
|
|
582
|
-
margin: 0;
|
|
583
|
-
font-size: 1em;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
575
|
.accordion-header {
|
|
587
576
|
display: flex;
|
|
588
577
|
justify-content: space-between;
|
|
589
578
|
align-items: center;
|
|
590
|
-
width: 100%;
|
|
591
579
|
padding: 10px 14px;
|
|
592
|
-
border: 0;
|
|
593
580
|
background-color: var(--athena-surface);
|
|
594
581
|
color: var(--athena-fg);
|
|
595
|
-
|
|
596
|
-
text-align: left;
|
|
582
|
+
list-style: none;
|
|
597
583
|
cursor: pointer;
|
|
598
584
|
}
|
|
599
585
|
|
|
586
|
+
.accordion-header::-webkit-details-marker {
|
|
587
|
+
display: none;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.accordion-header:focus-visible {
|
|
591
|
+
outline: var(--athena-focus-width) solid var(--athena-focus, var(--athena-accent));
|
|
592
|
+
outline-offset: -2px;
|
|
593
|
+
}
|
|
594
|
+
|
|
600
595
|
.accordion-icon::before {
|
|
601
596
|
content: "▾";
|
|
602
597
|
display: inline-block;
|
|
603
598
|
transition: transform 0.15s;
|
|
604
599
|
}
|
|
605
600
|
|
|
606
|
-
.accordion-open > .accordion-
|
|
601
|
+
.accordion-item[open] > .accordion-header .accordion-icon::before,
|
|
607
602
|
.sidebar-parent[aria-expanded="true"] .accordion-icon::before {
|
|
608
603
|
transform: rotate(180deg);
|
|
609
604
|
}
|
|
@@ -627,7 +622,7 @@ textarea {
|
|
|
627
622
|
margin-top: 4px;
|
|
628
623
|
padding: 4px 0;
|
|
629
624
|
background-color: var(--athena-bg);
|
|
630
|
-
border:
|
|
625
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
631
626
|
border-radius: var(--athena-radius);
|
|
632
627
|
box-shadow: var(--athena-shadow);
|
|
633
628
|
}
|
|
@@ -691,7 +686,7 @@ textarea {
|
|
|
691
686
|
.sidebar-link {
|
|
692
687
|
display: flex;
|
|
693
688
|
align-items: center;
|
|
694
|
-
gap:
|
|
689
|
+
gap: var(--athena-space-2);
|
|
695
690
|
width: 100%;
|
|
696
691
|
padding: 8px 12px;
|
|
697
692
|
border: 0;
|
|
@@ -721,7 +716,7 @@ textarea {
|
|
|
721
716
|
/* Cards, sections, grid */
|
|
722
717
|
|
|
723
718
|
.card {
|
|
724
|
-
border:
|
|
719
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
725
720
|
border-radius: var(--athena-radius);
|
|
726
721
|
background-color: var(--athena-bg);
|
|
727
722
|
overflow: hidden;
|
|
@@ -743,7 +738,7 @@ textarea {
|
|
|
743
738
|
|
|
744
739
|
.card-footer {
|
|
745
740
|
padding: 10px 14px;
|
|
746
|
-
border-top:
|
|
741
|
+
border-top: var(--athena-border-width) solid var(--athena-line);
|
|
747
742
|
background-color: var(--athena-surface-alt);
|
|
748
743
|
}
|
|
749
744
|
|
|
@@ -763,7 +758,7 @@ textarea {
|
|
|
763
758
|
font-weight: 600;
|
|
764
759
|
background-color: var(--athena-surface);
|
|
765
760
|
color: var(--athena-fg);
|
|
766
|
-
border:
|
|
761
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
767
762
|
}
|
|
768
763
|
|
|
769
764
|
.badge-pill {
|
|
@@ -828,7 +823,7 @@ textarea {
|
|
|
828
823
|
|
|
829
824
|
.stat {
|
|
830
825
|
padding: 14px;
|
|
831
|
-
border:
|
|
826
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
832
827
|
border-radius: var(--athena-radius);
|
|
833
828
|
background-color: var(--athena-bg);
|
|
834
829
|
}
|
|
@@ -896,12 +891,12 @@ textarea {
|
|
|
896
891
|
display: flex;
|
|
897
892
|
flex-wrap: wrap;
|
|
898
893
|
align-items: center;
|
|
899
|
-
gap:
|
|
894
|
+
gap: var(--athena-space-1);
|
|
900
895
|
}
|
|
901
896
|
|
|
902
897
|
.combobox-multiple {
|
|
903
898
|
padding: 2px 4px;
|
|
904
|
-
border:
|
|
899
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
905
900
|
border-radius: 3px;
|
|
906
901
|
background-color: var(--athena-bg);
|
|
907
902
|
}
|
|
@@ -923,7 +918,7 @@ textarea {
|
|
|
923
918
|
.chip {
|
|
924
919
|
display: inline-flex;
|
|
925
920
|
align-items: center;
|
|
926
|
-
gap:
|
|
921
|
+
gap: var(--athena-space-1);
|
|
927
922
|
padding: 1px 4px 1px 8px;
|
|
928
923
|
border-radius: 999px;
|
|
929
924
|
background-color: var(--athena-accent);
|
|
@@ -952,7 +947,7 @@ textarea {
|
|
|
952
947
|
padding: 4px 0;
|
|
953
948
|
list-style: none;
|
|
954
949
|
background-color: var(--athena-bg);
|
|
955
|
-
border:
|
|
950
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
956
951
|
border-radius: var(--athena-radius);
|
|
957
952
|
box-shadow: var(--athena-shadow);
|
|
958
953
|
}
|
|
@@ -1035,7 +1030,7 @@ textarea {
|
|
|
1035
1030
|
|
|
1036
1031
|
.stepper-steps {
|
|
1037
1032
|
display: flex;
|
|
1038
|
-
gap:
|
|
1033
|
+
gap: var(--athena-space-2);
|
|
1039
1034
|
padding: 0;
|
|
1040
1035
|
margin: 0 0 16px;
|
|
1041
1036
|
list-style: none;
|
|
@@ -1094,7 +1089,7 @@ textarea {
|
|
|
1094
1089
|
|
|
1095
1090
|
.athena-table th,
|
|
1096
1091
|
.athena-table td {
|
|
1097
|
-
border:
|
|
1092
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1098
1093
|
padding: 6px 10px;
|
|
1099
1094
|
text-align: left;
|
|
1100
1095
|
}
|
|
@@ -1174,7 +1169,7 @@ textarea {
|
|
|
1174
1169
|
.athena-table td.athena-align-right { text-align: right; }
|
|
1175
1170
|
|
|
1176
1171
|
.athena-table tr:focus-visible {
|
|
1177
|
-
outline:
|
|
1172
|
+
outline: var(--athena-focus-width) solid var(--athena-focus, currentColor);
|
|
1178
1173
|
outline-offset: -2px;
|
|
1179
1174
|
}
|
|
1180
1175
|
|
|
@@ -1291,7 +1286,7 @@ textarea {
|
|
|
1291
1286
|
padding: 4px 0;
|
|
1292
1287
|
list-style: none;
|
|
1293
1288
|
background-color: var(--athena-bg);
|
|
1294
|
-
border:
|
|
1289
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1295
1290
|
border-radius: var(--athena-radius);
|
|
1296
1291
|
box-shadow: var(--athena-shadow);
|
|
1297
1292
|
}
|
|
@@ -1350,7 +1345,7 @@ textarea {
|
|
|
1350
1345
|
|
|
1351
1346
|
.athena-table-scroll {
|
|
1352
1347
|
overflow: auto;
|
|
1353
|
-
border:
|
|
1348
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1354
1349
|
}
|
|
1355
1350
|
|
|
1356
1351
|
.athena-table-virtual {
|
|
@@ -1365,17 +1360,17 @@ textarea {
|
|
|
1365
1360
|
}
|
|
1366
1361
|
|
|
1367
1362
|
.athena-table-virtual tbody tr:not(.athena-table-spacer) {
|
|
1368
|
-
height: var(--row-height,
|
|
1363
|
+
height: var(--row-height, var(--athena-row-height));
|
|
1369
1364
|
}
|
|
1370
1365
|
|
|
1371
1366
|
/* The window of rows is computed from a fixed row height, so every row has to be exactly that high. */
|
|
1372
1367
|
/* The doubled class beats a general `.athena-table td` padding of the application. */
|
|
1373
1368
|
.athena-table.athena-table-virtual td {
|
|
1374
1369
|
box-sizing: border-box;
|
|
1375
|
-
height: var(--row-height,
|
|
1370
|
+
height: var(--row-height, var(--athena-row-height));
|
|
1376
1371
|
padding-top: 0;
|
|
1377
1372
|
padding-bottom: 0;
|
|
1378
|
-
line-height: calc(var(--row-height,
|
|
1373
|
+
line-height: calc(var(--row-height, var(--athena-row-height)) - 2px);
|
|
1379
1374
|
white-space: nowrap;
|
|
1380
1375
|
overflow: hidden;
|
|
1381
1376
|
text-overflow: ellipsis;
|
|
@@ -1403,7 +1398,7 @@ textarea {
|
|
|
1403
1398
|
/* Rich text editor */
|
|
1404
1399
|
|
|
1405
1400
|
.richtext {
|
|
1406
|
-
border:
|
|
1401
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1407
1402
|
border-radius: var(--athena-radius);
|
|
1408
1403
|
background-color: var(--athena-bg);
|
|
1409
1404
|
}
|
|
@@ -1418,7 +1413,7 @@ textarea {
|
|
|
1418
1413
|
align-items: center;
|
|
1419
1414
|
gap: 2px;
|
|
1420
1415
|
padding: 4px;
|
|
1421
|
-
border-bottom:
|
|
1416
|
+
border-bottom: var(--athena-border-width) solid var(--athena-line);
|
|
1422
1417
|
background-color: var(--athena-surface);
|
|
1423
1418
|
border-radius: var(--athena-radius) var(--athena-radius) 0 0;
|
|
1424
1419
|
}
|
|
@@ -1519,3 +1514,614 @@ textarea {
|
|
|
1519
1514
|
box-shadow: none;
|
|
1520
1515
|
}
|
|
1521
1516
|
}
|
|
1517
|
+
|
|
1518
|
+
/* Theme picker (generateThemePicker). The preview is drawn with the colours of the theme it shows. */
|
|
1519
|
+
|
|
1520
|
+
.theme-picker {
|
|
1521
|
+
display: flex;
|
|
1522
|
+
flex-direction: column;
|
|
1523
|
+
gap: var(--athena-space-4);
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
.theme-picker-group {
|
|
1527
|
+
border: 0;
|
|
1528
|
+
margin: 0;
|
|
1529
|
+
padding: 0;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
.theme-picker-options {
|
|
1533
|
+
display: flex;
|
|
1534
|
+
flex-wrap: wrap;
|
|
1535
|
+
gap: var(--athena-space-3);
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.theme-picker-option {
|
|
1539
|
+
display: flex;
|
|
1540
|
+
flex-direction: column;
|
|
1541
|
+
gap: var(--athena-space-1);
|
|
1542
|
+
min-width: 140px;
|
|
1543
|
+
padding: 8px;
|
|
1544
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1545
|
+
border-radius: var(--athena-radius);
|
|
1546
|
+
cursor: pointer;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
.theme-picker-option:has(input:checked) {
|
|
1550
|
+
border-color: var(--athena-accent);
|
|
1551
|
+
box-shadow: 0 0 0 1px var(--athena-accent);
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
.theme-picker-option:has(input:focus-visible) {
|
|
1555
|
+
outline: var(--athena-focus-width) solid var(--athena-focus, var(--athena-accent));
|
|
1556
|
+
outline-offset: 2px;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
.theme-picker-option input {
|
|
1560
|
+
position: absolute;
|
|
1561
|
+
opacity: 0;
|
|
1562
|
+
pointer-events: none;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.theme-picker-description {
|
|
1566
|
+
color: var(--athena-muted);
|
|
1567
|
+
font-size: 0.85em;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
.theme-preview {
|
|
1571
|
+
display: block;
|
|
1572
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1573
|
+
border-radius: 4px;
|
|
1574
|
+
overflow: hidden;
|
|
1575
|
+
background: var(--athena-bg);
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
.theme-preview-bar {
|
|
1579
|
+
display: block;
|
|
1580
|
+
height: 10px;
|
|
1581
|
+
background: var(--athena-accent);
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
.theme-preview-body {
|
|
1585
|
+
display: flex;
|
|
1586
|
+
flex-direction: column;
|
|
1587
|
+
gap: 5px;
|
|
1588
|
+
padding: 8px;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
.theme-preview-line {
|
|
1592
|
+
display: block;
|
|
1593
|
+
height: 5px;
|
|
1594
|
+
width: 70%;
|
|
1595
|
+
border-radius: 3px;
|
|
1596
|
+
background: var(--athena-fg);
|
|
1597
|
+
opacity: 0.6;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
.theme-preview-button {
|
|
1601
|
+
display: block;
|
|
1602
|
+
height: 8px;
|
|
1603
|
+
width: 30%;
|
|
1604
|
+
border-radius: 3px;
|
|
1605
|
+
background: var(--athena-accent);
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
/* Tables with a data source and row actions */
|
|
1609
|
+
|
|
1610
|
+
.athena-visually-hidden {
|
|
1611
|
+
position: absolute;
|
|
1612
|
+
width: 1px;
|
|
1613
|
+
height: 1px;
|
|
1614
|
+
overflow: hidden;
|
|
1615
|
+
clip-path: inset(50%);
|
|
1616
|
+
white-space: nowrap;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.athena-table-is-loading tbody {
|
|
1620
|
+
opacity: 0.6;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
.athena-table td.athena-table-loading,
|
|
1624
|
+
.athena-table td.athena-table-error {
|
|
1625
|
+
text-align: center;
|
|
1626
|
+
color: var(--athena-muted);
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
.athena-table .athena-table-error {
|
|
1630
|
+
color: var(--athena-danger);
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
.athena-table td.athena-table-actions {
|
|
1634
|
+
width: 1%;
|
|
1635
|
+
white-space: nowrap;
|
|
1636
|
+
text-align: right;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
.athena-table td.athena-table-actions .athena-button + .athena-button {
|
|
1640
|
+
margin-left: 4px;
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
/* Charts: series colours, tooltip, legend, table of values.
|
|
1644
|
+
An application sets --series-1 ... --series-8 (on :root or per theme) to recolour every chart. */
|
|
1645
|
+
|
|
1646
|
+
.athena-chart .s1 { color: var(--series-1, #4e79a7); }
|
|
1647
|
+
.athena-chart .s2 { color: var(--series-2, #f28e2b); }
|
|
1648
|
+
.athena-chart .s3 { color: var(--series-3, #e15759); }
|
|
1649
|
+
.athena-chart .s4 { color: var(--series-4, #76b7b2); }
|
|
1650
|
+
.athena-chart .s5 { color: var(--series-5, #59a14f); }
|
|
1651
|
+
.athena-chart .s6 { color: var(--series-6, #edc948); }
|
|
1652
|
+
.athena-chart .s7 { color: var(--series-7, #b07aa1); }
|
|
1653
|
+
.athena-chart .s8 { color: var(--series-8, #ff9da7); }
|
|
1654
|
+
|
|
1655
|
+
.athena-chart .chart-bar,
|
|
1656
|
+
.athena-chart .chart-slice,
|
|
1657
|
+
.athena-chart .chart-swatch,
|
|
1658
|
+
.athena-chart .chart-point,
|
|
1659
|
+
.athena-chart .chart-area {
|
|
1660
|
+
fill: currentColor;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
.athena-chart .chart-area {
|
|
1664
|
+
opacity: 0.18;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
.athena-chart .chart-line {
|
|
1668
|
+
stroke: currentColor;
|
|
1669
|
+
stroke-width: 2;
|
|
1670
|
+
stroke-linejoin: round;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
.athena-chart-sparkline .chart-line {
|
|
1674
|
+
stroke-width: 1.5;
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
.athena-chart .chart-ring {
|
|
1678
|
+
stroke: currentColor;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
.athena-chart .chart-point {
|
|
1682
|
+
stroke: var(--athena-bg);
|
|
1683
|
+
stroke-width: 1;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
.athena-chart .chart-hidden {
|
|
1687
|
+
display: none;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
.athena-chart-sparkline {
|
|
1691
|
+
vertical-align: middle;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
.athena-chart .chart-legend-item {
|
|
1695
|
+
cursor: pointer;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
.athena-chart .chart-legend-item.is-off {
|
|
1699
|
+
opacity: 0.45;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
.athena-chart [tabindex]:focus-visible {
|
|
1703
|
+
outline: var(--athena-focus-width) solid var(--athena-focus, currentColor);
|
|
1704
|
+
outline-offset: 2px;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
.athena-chart .chart-tooltip {
|
|
1708
|
+
display: none;
|
|
1709
|
+
pointer-events: none;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
.athena-chart .chart-tooltip.is-visible {
|
|
1713
|
+
display: block;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
.athena-chart .chart-tooltip-box {
|
|
1717
|
+
fill: var(--athena-fg);
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
.athena-chart .chart-tooltip-text {
|
|
1721
|
+
fill: var(--athena-bg);
|
|
1722
|
+
font-size: 12px;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
.chart-data {
|
|
1726
|
+
margin-top: 8px;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
.chart-data summary {
|
|
1730
|
+
cursor: pointer;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
/* Menu (generateMenu): a bar, or tabs at the bottom of the screen with sheets for the groups */
|
|
1734
|
+
|
|
1735
|
+
.athena-menu-list {
|
|
1736
|
+
display: flex;
|
|
1737
|
+
flex-wrap: wrap;
|
|
1738
|
+
align-items: center;
|
|
1739
|
+
gap: 2px;
|
|
1740
|
+
margin: 0;
|
|
1741
|
+
padding: 0;
|
|
1742
|
+
list-style: none;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
.athena-menu .menu-item {
|
|
1746
|
+
position: relative;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
.athena-menu .menu-item-end {
|
|
1750
|
+
margin-left: auto;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
.athena-menu .menu-control {
|
|
1754
|
+
display: inline-flex;
|
|
1755
|
+
align-items: center;
|
|
1756
|
+
gap: 6px;
|
|
1757
|
+
padding: 8px 12px;
|
|
1758
|
+
border: 0;
|
|
1759
|
+
border-radius: var(--athena-radius);
|
|
1760
|
+
background: none;
|
|
1761
|
+
color: inherit;
|
|
1762
|
+
font: inherit;
|
|
1763
|
+
text-decoration: none;
|
|
1764
|
+
cursor: pointer;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
.athena-menu .menu-control:hover:not([aria-disabled="true"]):not(:disabled),
|
|
1768
|
+
.athena-menu .menu-control:focus-visible {
|
|
1769
|
+
background-color: var(--athena-hover);
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
.athena-menu .menu-control:focus-visible {
|
|
1773
|
+
outline: var(--athena-focus-width) solid var(--athena-focus, var(--athena-accent));
|
|
1774
|
+
outline-offset: -2px;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
.athena-menu .menu-control.is-active,
|
|
1778
|
+
.athena-menu .has-active > .menu-control {
|
|
1779
|
+
font-weight: bold;
|
|
1780
|
+
box-shadow: inset 0 -3px 0 var(--athena-accent);
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
.athena-menu .menu-control:disabled,
|
|
1784
|
+
.athena-menu .menu-control[aria-disabled="true"] {
|
|
1785
|
+
opacity: 0.5;
|
|
1786
|
+
cursor: not-allowed;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
.athena-menu .menu-icon {
|
|
1790
|
+
display: inline-flex;
|
|
1791
|
+
line-height: 1;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
.athena-menu .menu-avatar {
|
|
1795
|
+
display: inline-flex;
|
|
1796
|
+
align-items: center;
|
|
1797
|
+
justify-content: center;
|
|
1798
|
+
width: 28px;
|
|
1799
|
+
height: 28px;
|
|
1800
|
+
overflow: hidden;
|
|
1801
|
+
border-radius: 50%;
|
|
1802
|
+
background: var(--athena-accent);
|
|
1803
|
+
color: var(--athena-accent-fg);
|
|
1804
|
+
font-size: 0.8em;
|
|
1805
|
+
font-weight: bold;
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
.athena-menu .menu-avatar img {
|
|
1809
|
+
width: 100%;
|
|
1810
|
+
height: 100%;
|
|
1811
|
+
object-fit: cover;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
.athena-menu .menu-sheet {
|
|
1815
|
+
position: absolute;
|
|
1816
|
+
z-index: 20;
|
|
1817
|
+
top: 100%;
|
|
1818
|
+
left: 0;
|
|
1819
|
+
min-width: 180px;
|
|
1820
|
+
margin: 2px 0 0;
|
|
1821
|
+
padding: 4px;
|
|
1822
|
+
list-style: none;
|
|
1823
|
+
background: var(--athena-bg);
|
|
1824
|
+
color: var(--athena-fg);
|
|
1825
|
+
border: var(--athena-border-width) solid var(--athena-line);
|
|
1826
|
+
border-radius: var(--athena-radius);
|
|
1827
|
+
box-shadow: var(--athena-shadow);
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.athena-menu .menu-item-end .menu-sheet {
|
|
1831
|
+
left: auto;
|
|
1832
|
+
right: 0;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
.athena-menu .menu-sheet[hidden] {
|
|
1836
|
+
display: none;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
.athena-menu .menu-sheet .menu-control {
|
|
1840
|
+
display: flex;
|
|
1841
|
+
width: 100%;
|
|
1842
|
+
text-align: left;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/* Tabs at the bottom (layout "responsive" switches to it under 700px) */
|
|
1846
|
+
|
|
1847
|
+
.athena-menu-bottom-tabs {
|
|
1848
|
+
position: fixed;
|
|
1849
|
+
z-index: 30;
|
|
1850
|
+
inset: auto 0 0;
|
|
1851
|
+
background: var(--athena-bg);
|
|
1852
|
+
border-top: var(--athena-border-width) solid var(--athena-line);
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
.athena-menu-bottom-tabs .athena-menu-list {
|
|
1856
|
+
flex-wrap: nowrap;
|
|
1857
|
+
justify-content: space-around;
|
|
1858
|
+
gap: 0;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
.athena-menu-bottom-tabs .menu-item {
|
|
1862
|
+
flex: 1;
|
|
1863
|
+
position: static;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.athena-menu-bottom-tabs .menu-item-end {
|
|
1867
|
+
margin-left: 0;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
.athena-menu-bottom-tabs .menu-control {
|
|
1871
|
+
flex-direction: column;
|
|
1872
|
+
width: 100%;
|
|
1873
|
+
gap: 2px;
|
|
1874
|
+
padding: 6px 4px;
|
|
1875
|
+
font-size: 0.75em;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.athena-menu-bottom-tabs .menu-sheet {
|
|
1879
|
+
position: fixed;
|
|
1880
|
+
inset: auto 0 56px;
|
|
1881
|
+
margin: 0;
|
|
1882
|
+
border-radius: var(--athena-radius) var(--athena-radius) 0 0;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
@media (max-width: 700px) {
|
|
1886
|
+
.athena-menu-responsive {
|
|
1887
|
+
position: fixed;
|
|
1888
|
+
z-index: 30;
|
|
1889
|
+
inset: auto 0 0;
|
|
1890
|
+
background: var(--athena-bg);
|
|
1891
|
+
border-top: var(--athena-border-width) solid var(--athena-line);
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
.athena-menu-responsive .athena-menu-list {
|
|
1895
|
+
flex-wrap: nowrap;
|
|
1896
|
+
justify-content: space-around;
|
|
1897
|
+
gap: 0;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
.athena-menu-responsive .menu-item {
|
|
1901
|
+
flex: 1;
|
|
1902
|
+
position: static;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
.athena-menu-responsive .menu-item-end {
|
|
1906
|
+
margin-left: 0;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
.athena-menu-responsive .menu-control {
|
|
1910
|
+
flex-direction: column;
|
|
1911
|
+
width: 100%;
|
|
1912
|
+
gap: 2px;
|
|
1913
|
+
padding: 6px 4px;
|
|
1914
|
+
font-size: 0.75em;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.athena-menu-responsive .menu-sheet {
|
|
1918
|
+
position: fixed;
|
|
1919
|
+
inset: auto 0 56px;
|
|
1920
|
+
margin: 0;
|
|
1921
|
+
border-radius: var(--athena-radius) var(--athena-radius) 0 0;
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
/* Menu: groups inside groups, and badges */
|
|
1926
|
+
|
|
1927
|
+
.athena-menu .menu-sheet-nested {
|
|
1928
|
+
top: 0;
|
|
1929
|
+
left: 100%;
|
|
1930
|
+
margin: 0 0 0 2px;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.athena-menu .menu-sheet .menu-caret {
|
|
1934
|
+
margin-left: auto;
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
.athena-menu .menu-badge {
|
|
1938
|
+
display: inline-block;
|
|
1939
|
+
min-width: 1.5em;
|
|
1940
|
+
padding: 0 6px;
|
|
1941
|
+
border-radius: 999px;
|
|
1942
|
+
background: var(--athena-accent);
|
|
1943
|
+
color: var(--athena-accent-fg);
|
|
1944
|
+
font-size: 0.75em;
|
|
1945
|
+
font-weight: bold;
|
|
1946
|
+
line-height: 1.6;
|
|
1947
|
+
text-align: center;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.athena-menu .menu-badge-ok { background: var(--athena-success); }
|
|
1951
|
+
.athena-menu .menu-badge-warn { background: var(--athena-warning); }
|
|
1952
|
+
.athena-menu .menu-badge-bad { background: var(--athena-danger); }
|
|
1953
|
+
.athena-menu .menu-badge-info { background: var(--athena-info); }
|
|
1954
|
+
|
|
1955
|
+
.athena-menu-bottom-tabs .menu-sheet-nested {
|
|
1956
|
+
position: static;
|
|
1957
|
+
margin: 0;
|
|
1958
|
+
padding: 0 0 0 12px;
|
|
1959
|
+
border: 0;
|
|
1960
|
+
box-shadow: none;
|
|
1961
|
+
background: none;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
@media (max-width: 700px) {
|
|
1965
|
+
.athena-menu-responsive .menu-sheet-nested {
|
|
1966
|
+
position: static;
|
|
1967
|
+
margin: 0;
|
|
1968
|
+
padding: 0 0 0 12px;
|
|
1969
|
+
border: 0;
|
|
1970
|
+
box-shadow: none;
|
|
1971
|
+
background: none;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
.athena-table-placeholder td {
|
|
1976
|
+
color: var(--athena-muted);
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
.athena-table-status {
|
|
1980
|
+
margin-top: 4px;
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
.athena-table-status[hidden] {
|
|
1984
|
+
display: none;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/* Charts: pointer layer, zoom */
|
|
1988
|
+
|
|
1989
|
+
.athena-chart .chart-hit {
|
|
1990
|
+
fill: transparent;
|
|
1991
|
+
cursor: crosshair;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
.athena-chart .chart-hit:focus-visible {
|
|
1995
|
+
outline: var(--athena-focus-width) solid var(--athena-focus, var(--athena-accent));
|
|
1996
|
+
outline-offset: 2px;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
.athena-chart .chart-marker {
|
|
2000
|
+
stroke: var(--athena-muted);
|
|
2001
|
+
stroke-dasharray: 3 3;
|
|
2002
|
+
pointer-events: none;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
.athena-chart .chart-selection {
|
|
2006
|
+
fill: var(--athena-accent);
|
|
2007
|
+
opacity: 0.2;
|
|
2008
|
+
pointer-events: none;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
.athena-chart .chart-reset {
|
|
2012
|
+
cursor: pointer;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/* Page header, facts, empty state, loading, stat tone and note */
|
|
2016
|
+
|
|
2017
|
+
.page-header {
|
|
2018
|
+
margin-bottom: 16px;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
.page-header-row {
|
|
2022
|
+
display: flex;
|
|
2023
|
+
flex-wrap: wrap;
|
|
2024
|
+
align-items: flex-start;
|
|
2025
|
+
justify-content: space-between;
|
|
2026
|
+
gap: var(--athena-space-3);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
.page-title {
|
|
2030
|
+
margin: 0;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
.page-description {
|
|
2034
|
+
margin: 4px 0 0;
|
|
2035
|
+
color: var(--athena-muted);
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
.page-actions {
|
|
2039
|
+
display: flex;
|
|
2040
|
+
flex-wrap: wrap;
|
|
2041
|
+
gap: var(--athena-space-2);
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
.facts {
|
|
2045
|
+
display: grid;
|
|
2046
|
+
gap: var(--athena-space-2);
|
|
2047
|
+
margin: 0;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
.facts .fact {
|
|
2051
|
+
display: flex;
|
|
2052
|
+
flex-direction: column;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
.facts dt {
|
|
2056
|
+
color: var(--athena-muted);
|
|
2057
|
+
font-size: 0.85em;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
.facts dd {
|
|
2061
|
+
margin: 0;
|
|
2062
|
+
overflow-wrap: anywhere;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
.facts-inline .fact {
|
|
2066
|
+
flex-direction: row;
|
|
2067
|
+
gap: var(--athena-space-3);
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.facts-inline dt {
|
|
2071
|
+
min-width: 10em;
|
|
2072
|
+
font-size: inherit;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
.empty-state {
|
|
2076
|
+
display: flex;
|
|
2077
|
+
flex-direction: column;
|
|
2078
|
+
align-items: center;
|
|
2079
|
+
gap: var(--athena-space-2);
|
|
2080
|
+
padding: 32px 16px;
|
|
2081
|
+
text-align: center;
|
|
2082
|
+
color: var(--athena-muted);
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
.empty-state .empty-icon {
|
|
2086
|
+
font-size: 2.5em;
|
|
2087
|
+
line-height: 1;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
.empty-state .empty-title {
|
|
2091
|
+
margin: 0;
|
|
2092
|
+
color: var(--athena-fg);
|
|
2093
|
+
font-weight: bold;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
.empty-state .empty-message {
|
|
2097
|
+
margin: 0;
|
|
2098
|
+
max-width: 40em;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
.loading-state {
|
|
2102
|
+
display: flex;
|
|
2103
|
+
align-items: center;
|
|
2104
|
+
justify-content: center;
|
|
2105
|
+
gap: var(--athena-space-2);
|
|
2106
|
+
padding: 24px;
|
|
2107
|
+
color: var(--athena-muted);
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
.stat-note {
|
|
2111
|
+
margin-top: 2px;
|
|
2112
|
+
color: var(--athena-muted);
|
|
2113
|
+
font-size: 0.85em;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
.stat-note[hidden] {
|
|
2117
|
+
display: none;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
.stat.is-ok { border-left: 4px solid var(--athena-success); }
|
|
2121
|
+
.stat.is-warn { border-left: 4px solid var(--athena-warning); }
|
|
2122
|
+
.stat.is-bad { border-left: 4px solid var(--athena-danger); }
|
|
2123
|
+
.stat.is-ok .stat-value { color: var(--athena-success); }
|
|
2124
|
+
.stat.is-warn .stat-value { color: var(--athena-warning); }
|
|
2125
|
+
.stat.is-bad .stat-value { color: var(--athena-danger); }
|
|
2126
|
+
|
|
2127
|
+
}
|