@navikt/ds-css 7.15.0 → 7.16.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 +6 -0
- package/darkside/accordion.darkside.css +23 -23
- package/darkside/action-menu.darkside.css +21 -21
- package/darkside/alert.darkside.css +22 -22
- package/darkside/baseline/baseline.darkside.css +4 -4
- package/darkside/button.darkside.css +47 -47
- package/darkside/chat.darkside.css +20 -20
- package/darkside/chips.darkside.css +24 -24
- package/darkside/copybutton.darkside.css +1 -1
- package/darkside/date.darkside.css +33 -33
- package/darkside/dropdown.darkside.css +9 -9
- package/darkside/expansioncard.darkside.css +20 -20
- package/darkside/form/combobox.darkside.css +69 -69
- package/darkside/form/confirmation-panel.darkside.css +5 -5
- package/darkside/form/error-summary.darkside.css +8 -8
- package/darkside/form/fieldset.darkside.css +11 -11
- package/darkside/form/file-upload.darkside.css +26 -26
- package/darkside/form/form-progress.darkside.css +6 -6
- package/darkside/form/form-summary.darkside.css +15 -15
- package/darkside/form/form.darkside.css +8 -8
- package/darkside/form/radio-checkbox.darkside.css +80 -80
- package/darkside/form/search.darkside.css +30 -30
- package/darkside/form/select.darkside.css +11 -11
- package/darkside/form/switch.darkside.css +61 -61
- package/darkside/form/text-field.darkside.css +6 -6
- package/darkside/form/textarea.darkside.css +15 -15
- package/darkside/guide-panel.darkside.css +15 -15
- package/darkside/help-text.darkside.css +10 -10
- package/darkside/internalheader.darkside.css +9 -9
- package/darkside/link-panel.darkside.css +6 -6
- package/darkside/link.darkside.css +9 -9
- package/darkside/list.darkside.css +14 -14
- package/darkside/loader.darkside.css +21 -21
- package/darkside/modal.darkside.css +25 -25
- package/darkside/pagination.darkside.css +7 -7
- package/darkside/panel.darkside.css +2 -2
- package/darkside/popover.darkside.css +4 -4
- package/darkside/primitives/base.darkside.css +150 -150
- package/darkside/primitives/bleed.darkside.css +12 -12
- package/darkside/primitives/box.darkside.css +10 -10
- package/darkside/primitives/hgrid.darkside.css +13 -13
- package/darkside/primitives/page.darkside.css +12 -12
- package/darkside/primitives/responsive.darkside.css +10 -10
- package/darkside/primitives/stack.darkside.css +28 -28
- package/darkside/progress-bar.darkside.css +12 -12
- package/darkside/read-more.darkside.css +15 -15
- package/darkside/skeleton.darkside.css +10 -10
- package/darkside/stepper.darkside.css +38 -38
- package/darkside/table.darkside.css +69 -69
- package/darkside/tabs.darkside.css +23 -23
- package/darkside/tag.darkside.css +21 -21
- package/darkside/theme.darkside.css +1 -1
- package/darkside/timeline.darkside.css +60 -62
- package/darkside/toggle-group.darkside.css +13 -13
- package/darkside/tooltip.darkside.css +7 -7
- package/darkside/typography.darkside.css +47 -47
- package/dist/darkside/component/accordion.css +25 -25
- package/dist/darkside/component/accordion.min.css +1 -1
- package/dist/darkside/component/actionmenu.css +27 -27
- package/dist/darkside/component/actionmenu.min.css +1 -1
- package/dist/darkside/component/alert.css +20 -20
- package/dist/darkside/component/alert.min.css +1 -1
- package/dist/darkside/component/button.css +55 -55
- package/dist/darkside/component/button.min.css +1 -1
- package/dist/darkside/component/chat.css +16 -16
- package/dist/darkside/component/chat.min.css +1 -1
- package/dist/darkside/component/chips.css +33 -33
- package/dist/darkside/component/chips.min.css +1 -1
- package/dist/darkside/component/copybutton.css +1 -1
- package/dist/darkside/component/copybutton.min.css +1 -1
- package/dist/darkside/component/date.css +44 -44
- package/dist/darkside/component/date.min.css +1 -1
- package/dist/darkside/component/dropdown.css +13 -13
- package/dist/darkside/component/dropdown.min.css +1 -1
- package/dist/darkside/component/expansioncard.css +26 -26
- package/dist/darkside/component/expansioncard.min.css +1 -1
- package/dist/darkside/component/form.css +326 -326
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/guidepanel.css +20 -20
- package/dist/darkside/component/guidepanel.min.css +1 -1
- package/dist/darkside/component/helptext.css +9 -9
- package/dist/darkside/component/helptext.min.css +1 -1
- package/dist/darkside/component/internalheader.css +13 -13
- package/dist/darkside/component/internalheader.min.css +1 -1
- package/dist/darkside/component/link.css +12 -12
- package/dist/darkside/component/link.min.css +1 -1
- package/dist/darkside/component/linkpanel.css +7 -7
- package/dist/darkside/component/linkpanel.min.css +1 -1
- package/dist/darkside/component/list.css +15 -15
- package/dist/darkside/component/list.min.css +1 -1
- package/dist/darkside/component/loader.css +17 -17
- package/dist/darkside/component/loader.min.css +1 -1
- package/dist/darkside/component/modal.css +25 -25
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/component/pagination.css +8 -8
- package/dist/darkside/component/pagination.min.css +1 -1
- package/dist/darkside/component/panel.css +2 -2
- package/dist/darkside/component/panel.min.css +1 -1
- package/dist/darkside/component/popover.css +4 -4
- package/dist/darkside/component/popover.min.css +1 -1
- package/dist/darkside/component/primitives.css +235 -235
- package/dist/darkside/component/primitives.min.css +1 -1
- package/dist/darkside/component/progressbar.css +11 -11
- package/dist/darkside/component/progressbar.min.css +1 -1
- package/dist/darkside/component/readmore.css +16 -16
- package/dist/darkside/component/readmore.min.css +1 -1
- package/dist/darkside/component/skeleton.css +12 -12
- package/dist/darkside/component/skeleton.min.css +1 -1
- package/dist/darkside/component/stepper.css +37 -37
- package/dist/darkside/component/stepper.min.css +1 -1
- package/dist/darkside/component/table.css +55 -55
- package/dist/darkside/component/table.min.css +1 -1
- package/dist/darkside/component/tabs.css +25 -25
- package/dist/darkside/component/tabs.min.css +1 -1
- package/dist/darkside/component/tag.css +18 -18
- package/dist/darkside/component/tag.min.css +1 -1
- package/dist/darkside/component/theme.css +4 -4
- package/dist/darkside/component/theme.min.css +1 -1
- package/dist/darkside/component/timeline.css +58 -59
- package/dist/darkside/component/timeline.min.css +1 -1
- package/dist/darkside/component/togglegroup.css +19 -19
- package/dist/darkside/component/togglegroup.min.css +1 -1
- package/dist/darkside/component/tooltip.css +9 -9
- package/dist/darkside/component/tooltip.min.css +1 -1
- package/dist/darkside/component/typography.css +48 -48
- package/dist/darkside/component/typography.min.css +1 -1
- package/dist/darkside/components.css +1265 -1266
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/baseline.css +3 -3
- package/dist/darkside/global/baseline.min.css +1 -1
- package/dist/darkside/global/tokens.css +1 -1
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +1269 -1270
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/accordion.css +25 -25
- package/dist/darkside/version/7.16.0/component/accordion.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/actionmenu.css +27 -27
- package/dist/darkside/version/7.16.0/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/alert.css +20 -20
- package/dist/darkside/version/7.16.0/component/alert.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/button.css +55 -55
- package/dist/darkside/version/7.16.0/component/button.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/chat.css +16 -16
- package/dist/darkside/version/7.16.0/component/chat.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/chips.css +33 -33
- package/dist/darkside/version/7.16.0/component/chips.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/copybutton.css +1 -1
- package/dist/darkside/version/7.16.0/component/copybutton.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/date.css +44 -44
- package/dist/darkside/version/7.16.0/component/date.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/dropdown.css +13 -13
- package/dist/darkside/version/7.16.0/component/dropdown.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/expansioncard.css +26 -26
- package/dist/darkside/version/7.16.0/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/form.css +326 -326
- package/dist/darkside/version/7.16.0/component/form.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/guidepanel.css +20 -20
- package/dist/darkside/version/7.16.0/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/helptext.css +9 -9
- package/dist/darkside/version/7.16.0/component/helptext.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/internalheader.css +13 -13
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/internalheader.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/link.css +12 -12
- package/dist/darkside/version/7.16.0/component/link.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/linkpanel.css +7 -7
- package/dist/darkside/version/7.16.0/component/linkpanel.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/list.css +15 -15
- package/dist/darkside/version/7.16.0/component/list.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/loader.css +17 -17
- package/dist/darkside/version/7.16.0/component/loader.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/modal.css +25 -25
- package/dist/darkside/version/7.16.0/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/pagination.css +8 -8
- package/dist/darkside/version/7.16.0/component/pagination.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/panel.css +2 -2
- package/dist/darkside/version/7.16.0/component/panel.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/popover.css +4 -4
- package/dist/darkside/version/7.16.0/component/popover.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/primitives.css +235 -235
- package/dist/darkside/version/7.16.0/component/primitives.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/progressbar.css +11 -11
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/progressbar.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/readmore.css +16 -16
- package/dist/darkside/version/7.16.0/component/readmore.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/skeleton.css +12 -12
- package/dist/darkside/version/7.16.0/component/skeleton.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/stepper.css +37 -37
- package/dist/darkside/version/7.16.0/component/stepper.min.css +1 -0
- package/dist/darkside/version/7.16.0/component/table.css +254 -0
- package/dist/darkside/version/7.16.0/component/table.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/tabs.css +25 -25
- package/dist/darkside/version/7.16.0/component/tabs.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/tag.css +18 -18
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/tag.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/theme.css +4 -4
- package/dist/darkside/version/7.16.0/component/theme.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/timeline.css +58 -59
- package/dist/darkside/version/7.16.0/component/timeline.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/togglegroup.css +19 -19
- package/dist/darkside/version/7.16.0/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/tooltip.css +9 -9
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/tooltip.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/component/typography.css +48 -48
- package/dist/darkside/version/7.16.0/component/typography.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/components.css +1265 -1266
- package/dist/darkside/version/7.16.0/components.min.css +1 -0
- package/dist/darkside/version/{7.15.0 → 7.16.0}/global/baseline.css +3 -3
- package/dist/darkside/version/{7.15.0 → 7.16.0}/global/baseline.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/global/tokens.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/global/tokens.min.css +1 -1
- package/dist/darkside/version/{7.15.0 → 7.16.0}/index.css +1269 -1270
- package/dist/darkside/version/7.16.0/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +2 -2
- package/dist/darkside/version/7.15.0/component/accordion.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/actionmenu.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/alert.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/button.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/chat.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/chips.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/copybutton.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/date.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/dropdown.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/expansioncard.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/form.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/guidepanel.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/helptext.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/link.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/linkpanel.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/list.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/loader.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/modal.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/pagination.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/panel.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/popover.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/primitives.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/readmore.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/skeleton.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/stepper.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/table.css +0 -254
- package/dist/darkside/version/7.15.0/component/table.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/tabs.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/theme.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/timeline.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/togglegroup.min.css +0 -1
- package/dist/darkside/version/7.15.0/component/typography.min.css +0 -1
- package/dist/darkside/version/7.15.0/components.min.css +0 -1
- package/dist/darkside/version/7.15.0/index.min.css +0 -1
- /package/dist/darkside/version/{7.15.0 → 7.16.0}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.15.0 → 7.16.0}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.15.0 → 7.16.0}/global/print.css +0 -0
- /package/dist/darkside/version/{7.15.0 → 7.16.0}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.15.0 → 7.16.0}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.15.0 → 7.16.0}/global/reset.min.css +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ---------------------------- Accordion header ---------------------------- */
|
|
2
|
-
.
|
|
2
|
+
.aksel-accordion__header {
|
|
3
3
|
width: 100%;
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: flex-start;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
display: none;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
> .
|
|
35
|
+
> .aksel-accordion__icon-wrapper {
|
|
36
36
|
background-color: var(--ax-bg-accent-strong-hover);
|
|
37
37
|
color: var(--ax-text-accent-contrast);
|
|
38
38
|
}
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
.aksel-accordion--small .aksel-accordion__header {
|
|
60
60
|
padding-block: var(--ax-space-8);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
64
|
-
.
|
|
63
|
+
.aksel-accordion__header::before,
|
|
64
|
+
.aksel-accordion__header::after {
|
|
65
65
|
content: "";
|
|
66
66
|
display: block;
|
|
67
67
|
position: absolute;
|
|
@@ -73,24 +73,24 @@
|
|
|
73
73
|
background-color: var(--ax-border-neutral-subtleA);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.aksel-accordion__header::after {
|
|
77
77
|
top: initial;
|
|
78
78
|
bottom: 0;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.
|
|
82
|
-
.
|
|
81
|
+
.aksel-accordion__item[data-expanded="true"] > .aksel-accordion__header::after,
|
|
82
|
+
.aksel-accordion__item:not(:last-child) > .aksel-accordion__header::after {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
87
|
-
+ .
|
|
88
|
-
> .
|
|
86
|
+
.aksel-accordion__item[data-expanded="false"]:has(.aksel-accordion__header:where(:hover, :focus-visible))
|
|
87
|
+
+ .aksel-accordion__item
|
|
88
|
+
> .aksel-accordion__header::before {
|
|
89
89
|
display: none;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/* ------------------------- Accordion chevron icon ------------------------- */
|
|
93
|
-
.
|
|
93
|
+
.aksel-accordion__icon-wrapper {
|
|
94
94
|
border-radius: var(--ax-border-radius-large);
|
|
95
95
|
width: 22px;
|
|
96
96
|
height: 22px;
|
|
@@ -99,20 +99,20 @@
|
|
|
99
99
|
color: var(--ax-text-accent-subtle);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.aksel-accordion__header-chevron {
|
|
103
103
|
height: inherit;
|
|
104
104
|
width: inherit;
|
|
105
105
|
flex-shrink: 0;
|
|
106
106
|
transition: transform 250ms cubic-bezier(0.2, 0, 0, 1);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.aksel-accordion__item[data-expanded="true"] > .aksel-accordion__header .aksel-accordion__header-chevron {
|
|
110
110
|
transform: rotateX(-180deg);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/* ---------------------------- Accordion content --------------------------- */
|
|
114
114
|
|
|
115
|
-
.
|
|
115
|
+
.aksel-accordion--indent > .aksel-accordion__item .aksel-accordion__content-inner {
|
|
116
116
|
padding-block: var(--ax-space-8);
|
|
117
117
|
padding-inline: calc(var(--ax-space-20) + 2px) var(--ax-space-20);
|
|
118
118
|
|
|
@@ -121,12 +121,12 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.
|
|
124
|
+
.aksel-accordion--indent > .aksel-accordion__item > .aksel-accordion__content {
|
|
125
125
|
box-shadow: -2px 0 0 0 var(--ax-border-neutral-subtleA);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.
|
|
129
|
-
& > .
|
|
128
|
+
.aksel-accordion__item {
|
|
129
|
+
& > .aksel-accordion__content {
|
|
130
130
|
display: grid;
|
|
131
131
|
grid-template-rows: 0fr;
|
|
132
132
|
visibility: hidden;
|
|
@@ -139,14 +139,14 @@
|
|
|
139
139
|
border-color: transparent;
|
|
140
140
|
opacity: 0;
|
|
141
141
|
|
|
142
|
-
& .
|
|
142
|
+
& .aksel-accordion__content-inner {
|
|
143
143
|
min-height: 0;
|
|
144
144
|
padding-block: 0;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
&[data-expanded="true"] {
|
|
149
|
-
& > .
|
|
149
|
+
& > .aksel-accordion__content {
|
|
150
150
|
grid-template-rows: 1fr;
|
|
151
151
|
visibility: visible;
|
|
152
152
|
margin-block: var(--ax-space-8);
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
border-color: var(--ax-border-neutral-subtleA);
|
|
155
155
|
opacity: 1;
|
|
156
156
|
|
|
157
|
-
& .
|
|
157
|
+
& .aksel-accordion__content-inner {
|
|
158
158
|
min-height: fit-content;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
|
|
168
168
|
/* ---------------- Accordion No Animation (defaultOpen) ---------------- */
|
|
169
169
|
|
|
170
|
-
.
|
|
171
|
-
& > .
|
|
170
|
+
.aksel-accordion__item--no-animation {
|
|
171
|
+
& > .aksel-accordion__content {
|
|
172
172
|
transition: none;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* --------------------------- ActionMenu content --------------------------- */
|
|
2
|
-
.
|
|
2
|
+
.aksel-action-menu__content {
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
border-radius: var(--ax-border-radius-xlarge);
|
|
5
5
|
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.aksel-action-menu__content > .aksel-action-menu__content-inner {
|
|
37
37
|
--__axc-action-menu-content-p: var(--ax-space-8);
|
|
38
38
|
--__axc-action-menu-item-pr: var(--ax-space-8);
|
|
39
39
|
--__axc-action-menu-item-pl: var(--ax-space-8);
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* ----------------------------- ActionMenu Item ---------------------------- */
|
|
57
|
-
.
|
|
57
|
+
.aksel-action-menu__item {
|
|
58
58
|
display: flex;
|
|
59
59
|
align-items: center;
|
|
60
60
|
gap: var(--ax-space-8);
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
.
|
|
89
|
+
.aksel-action-menu__item--has-icon {
|
|
90
90
|
--__axc-action-menu-item-pl: var(--ax-space-24);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
93
|
+
.aksel-action-menu__sub-trigger {
|
|
94
94
|
--__axc-action-menu-item-pr: var(--ax-space-2);
|
|
95
95
|
|
|
96
96
|
&[data-state="open"] {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.
|
|
105
|
+
.aksel-action-menu__item--danger {
|
|
106
106
|
color: var(--ax-text-danger-subtle);
|
|
107
107
|
|
|
108
108
|
&:focus {
|
|
@@ -112,18 +112,18 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
/* ---------------------------- ActionMenu marker --------------------------- */
|
|
115
|
-
.
|
|
115
|
+
.aksel-action-menu__marker {
|
|
116
116
|
display: flex;
|
|
117
117
|
align-items: center;
|
|
118
118
|
gap: var(--ax-space-4);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
.aksel-action-menu__marker--right {
|
|
122
122
|
margin-left: auto;
|
|
123
123
|
padding-left: var(--ax-space-16);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.aksel-action-menu__marker--left {
|
|
127
127
|
position: absolute;
|
|
128
128
|
left: 0;
|
|
129
129
|
width: var(--__axc-action-menu-item-pl);
|
|
@@ -131,13 +131,13 @@
|
|
|
131
131
|
justify-content: center;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.
|
|
134
|
+
.aksel-action-menu__marker-icon svg {
|
|
135
135
|
font-size: 18px;
|
|
136
136
|
flex-shrink: 0;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/* --------------------------- ActionMenu shortcut -------------------------- */
|
|
140
|
-
.
|
|
140
|
+
.aksel-action-menu__shortcut {
|
|
141
141
|
background-color: var(--ax-bg-neutral-moderateA);
|
|
142
142
|
color: var(--ax-text-neutral);
|
|
143
143
|
border-radius: var(--ax-border-radius-small);
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
/* ---------------------------- ActionMenu Grouping ---------------------------- */
|
|
155
|
-
.
|
|
155
|
+
.aksel-action-menu__label {
|
|
156
156
|
display: flex;
|
|
157
157
|
align-items: center;
|
|
158
158
|
min-height: calc(var(--__axc-action-menu-item-height) - 6px);
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
font-size: var(--ax-font-size-small);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.
|
|
168
|
+
.aksel-action-menu__divider {
|
|
169
169
|
height: 1px;
|
|
170
170
|
margin-block: var(--ax-space-8);
|
|
171
171
|
background-color: var(--ax-border-neutral-subtleA);
|
|
@@ -173,29 +173,29 @@
|
|
|
173
173
|
|
|
174
174
|
/* -------------------------- ActionMenu indicator -------------------------- */
|
|
175
175
|
|
|
176
|
-
.
|
|
177
|
-
.
|
|
178
|
-
.
|
|
176
|
+
.aksel-action-menu__indicator-icon--unchecked,
|
|
177
|
+
.aksel-action-menu__indicator-icon--checked,
|
|
178
|
+
.aksel-action-menu__indicator-icon--indeterminate {
|
|
179
179
|
display: none;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.
|
|
182
|
+
.aksel-action-menu__indicator {
|
|
183
183
|
display: grid;
|
|
184
184
|
place-content: center;
|
|
185
185
|
|
|
186
|
-
&[data-state="unchecked"] .
|
|
186
|
+
&[data-state="unchecked"] .aksel-action-menu__indicator-icon--unchecked {
|
|
187
187
|
display: block;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
&[data-state="checked"] .
|
|
190
|
+
&[data-state="checked"] .aksel-action-menu__indicator-icon--checked {
|
|
191
191
|
display: block;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
&[data-state="indeterminate"] .
|
|
194
|
+
&[data-state="indeterminate"] .aksel-action-menu__indicator-icon--indeterminate {
|
|
195
195
|
display: block;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.
|
|
199
|
+
.aksel-action-menu__indicator-icon {
|
|
200
200
|
font-size: 14px;
|
|
201
201
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-alert {
|
|
2
2
|
border-radius: var(--ax-border-radius-xlarge);
|
|
3
3
|
border: 1px solid;
|
|
4
4
|
padding: var(--ax-space-16) var(--ax-space-20);
|
|
@@ -13,78 +13,78 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.aksel-alert__wrapper--maxwidth {
|
|
17
17
|
max-width: 43.5rem;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.aksel-alert__icon {
|
|
21
21
|
flex-shrink: 0;
|
|
22
22
|
font-size: 1.5rem;
|
|
23
23
|
align-self: flex-start;
|
|
24
24
|
height: var(--ax-font-line-height-xlarge);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.aksel-alert--small {
|
|
28
28
|
padding: var(--ax-space-12) var(--ax-space-16);
|
|
29
29
|
gap: var(--ax-space-8);
|
|
30
30
|
|
|
31
|
-
> .
|
|
31
|
+
> .aksel-alert__icon {
|
|
32
32
|
margin-block-start: 0;
|
|
33
33
|
height: var(--ax-font-line-height-large);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/* ----------------------------- Alert variants ----------------------------- */
|
|
38
|
-
.
|
|
38
|
+
.aksel-alert--info {
|
|
39
39
|
border-color: var(--ax-border-info);
|
|
40
40
|
background-color: var(--ax-bg-info-moderate);
|
|
41
41
|
|
|
42
|
-
> .
|
|
42
|
+
> .aksel-alert__icon {
|
|
43
43
|
color: var(--ax-text-info-icon);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
.aksel-alert--success {
|
|
48
48
|
border-color: var(--ax-border-success);
|
|
49
49
|
background-color: var(--ax-bg-success-moderate);
|
|
50
50
|
|
|
51
|
-
> .
|
|
51
|
+
> .aksel-alert__icon {
|
|
52
52
|
color: var(--ax-text-success-icon);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.aksel-alert--warning {
|
|
57
57
|
border-color: var(--ax-border-warning);
|
|
58
58
|
background-color: var(--ax-bg-warning-moderate);
|
|
59
59
|
|
|
60
|
-
> .
|
|
60
|
+
> .aksel-alert__icon {
|
|
61
61
|
color: var(--ax-text-warning-icon);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.
|
|
65
|
+
.aksel-alert--error {
|
|
66
66
|
border-color: var(--ax-border-danger);
|
|
67
67
|
background-color: var(--ax-bg-danger-moderate);
|
|
68
68
|
|
|
69
|
-
> .
|
|
69
|
+
> .aksel-alert__icon {
|
|
70
70
|
color: var(--ax-text-danger-icon);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* ----------------------------- Alert fullwidth ---------------------------- */
|
|
75
|
-
.
|
|
75
|
+
.aksel-alert--full-width {
|
|
76
76
|
border-radius: 0;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* ------------------------------ Alert inline ------------------------------ */
|
|
80
|
-
.
|
|
80
|
+
.aksel-alert--inline {
|
|
81
81
|
background-color: transparent;
|
|
82
82
|
border: none;
|
|
83
83
|
padding: 0;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* ------------------------- Alert with close button ------------------------ */
|
|
87
|
-
.
|
|
87
|
+
.aksel-alert__button-wrapper {
|
|
88
88
|
align-self: flex-start;
|
|
89
89
|
flex: 1;
|
|
90
90
|
display: flex;
|
|
@@ -92,23 +92,23 @@
|
|
|
92
92
|
justify-content: flex-end;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.
|
|
96
|
-
> .
|
|
95
|
+
.aksel-alert--close-button {
|
|
96
|
+
> .aksel-alert__wrapper {
|
|
97
97
|
margin-block-start: var(--ax-space-2);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
> .
|
|
100
|
+
> .aksel-alert__icon {
|
|
101
101
|
margin-block-start: var(--ax-space-2);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
&.
|
|
104
|
+
&.aksel-alert--small {
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
|
|
107
|
-
> .
|
|
107
|
+
> .aksel-alert__wrapper {
|
|
108
108
|
margin-block-start: var(--ax-space-4);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
> .
|
|
111
|
+
> .aksel-alert__icon {
|
|
112
112
|
margin-block-start: var(--ax-space-4);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -14,7 +14,7 @@ body,
|
|
|
14
14
|
|
|
15
15
|
/* https://web.dev/prefers-reduced-motion/ */
|
|
16
16
|
@media (prefers-reduced-motion: reduce) {
|
|
17
|
-
*:not(.
|
|
17
|
+
*:not(.aksel-loader *, .aksel-loader, .aksel-progress-bar *, .aksel-progress-bar),
|
|
18
18
|
::before,
|
|
19
19
|
::after {
|
|
20
20
|
animation-delay: -1ms !important;
|
|
@@ -39,7 +39,7 @@ body,
|
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
.sr-only,
|
|
42
|
-
.
|
|
42
|
+
.aksel-sr-only {
|
|
43
43
|
border: 0;
|
|
44
44
|
clip: rect(0, 0, 0, 0);
|
|
45
45
|
clip-path: inset(50%);
|
|
@@ -62,8 +62,8 @@ body,
|
|
|
62
62
|
|
|
63
63
|
.sr-only.focusable:active,
|
|
64
64
|
.sr-only.focusable:focus,
|
|
65
|
-
.
|
|
66
|
-
.
|
|
65
|
+
.aksel-sr-only.focusable:active,
|
|
66
|
+
.aksel-sr-only.focusable:focus {
|
|
67
67
|
clip: auto;
|
|
68
68
|
clip-path: none;
|
|
69
69
|
height: auto;
|