@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-button {
|
|
2
2
|
--__axc-button-icon-size: 1.5rem;
|
|
3
3
|
--__axc-button-icon-margin: -4px;
|
|
4
4
|
--__axc-button-border-color: transparent;
|
|
@@ -22,44 +22,44 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
26
|
-
.
|
|
25
|
+
.aksel-button--small,
|
|
26
|
+
.aksel-button--xsmall {
|
|
27
27
|
--__axc-button-icon-margin: -2px;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
.aksel-button--small {
|
|
31
31
|
padding: var(--ax-space-4) var(--ax-space-12);
|
|
32
32
|
min-height: 2rem;
|
|
33
33
|
min-width: 2rem;
|
|
34
34
|
gap: var(--ax-space-6);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.aksel-button--xsmall {
|
|
38
38
|
padding: var(--ax-space-2) var(--ax-space-8);
|
|
39
39
|
gap: var(--ax-space-4);
|
|
40
40
|
|
|
41
41
|
--__axc-button-icon-size: 1.25rem;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
.aksel-button--icon-only {
|
|
45
45
|
padding: var(--ax-space-12);
|
|
46
46
|
|
|
47
|
-
&.
|
|
47
|
+
&.aksel-button--small {
|
|
48
48
|
padding: var(--ax-space-4);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
&.
|
|
51
|
+
&.aksel-button--xsmall {
|
|
52
52
|
padding: var(--ax-space-2);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@supports not selector(:focus-visible) {
|
|
57
|
-
.
|
|
57
|
+
.aksel-button:focus {
|
|
58
58
|
outline: 3px solid var(--ax-border-focus);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.aksel-button__icon {
|
|
63
63
|
font-size: var(--__axc-button-icon-size);
|
|
64
64
|
display: flex;
|
|
65
65
|
|
|
@@ -71,15 +71,15 @@
|
|
|
71
71
|
margin-right: var(--__axc-button-icon-margin);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.aksel-button--icon-only & {
|
|
75
75
|
margin: 0;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/*************************
|
|
80
|
-
* .
|
|
80
|
+
* .aksel-button--primary *
|
|
81
81
|
*************************/
|
|
82
|
-
.
|
|
82
|
+
.aksel-button--primary {
|
|
83
83
|
background-color: var(--ax-bg-accent-strong);
|
|
84
84
|
color: var(--ax-text-accent-contrast);
|
|
85
85
|
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
background-color: var(--ax-bg-accent-strong-pressed);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
&:is(:disabled, .
|
|
94
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
95
95
|
background-color: var(--ax-bg-accent-strong);
|
|
96
96
|
}
|
|
97
97
|
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/*************************
|
|
111
|
-
* .
|
|
111
|
+
* .aksel-button--primary-neutral *
|
|
112
112
|
*************************/
|
|
113
|
-
.
|
|
113
|
+
.aksel-button--primary-neutral {
|
|
114
114
|
background-color: var(--ax-bg-neutral-strong);
|
|
115
115
|
color: var(--ax-text-neutral-contrast);
|
|
116
116
|
|
|
@@ -122,15 +122,15 @@
|
|
|
122
122
|
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
&:is(:disabled, .
|
|
125
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
126
126
|
background-color: var(--ax-bg-neutral-strong);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
/**************************
|
|
131
|
-
* .
|
|
131
|
+
* .aksel-button--secondary *
|
|
132
132
|
**************************/
|
|
133
|
-
.
|
|
133
|
+
.aksel-button--secondary {
|
|
134
134
|
--__axc-button-border-color: var(--ax-border-accent);
|
|
135
135
|
|
|
136
136
|
background-color: transparent;
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
background-color: var(--ax-bg-accent-moderate-pressedA);
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
&:is(:disabled, .
|
|
149
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
150
150
|
--__axc-button-border-color: var(--ax-border-accent);
|
|
151
151
|
|
|
152
152
|
background-color: transparent;
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**************************
|
|
158
|
-
* .
|
|
158
|
+
* .aksel-button--secondary-neutral *
|
|
159
159
|
**************************/
|
|
160
|
-
.
|
|
160
|
+
.aksel-button--secondary-neutral {
|
|
161
161
|
--__axc-button-border-color: var(--ax-border-neutral);
|
|
162
162
|
|
|
163
163
|
background-color: transparent;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
background-color: var(--ax-bg-neutral-moderate-pressedA);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
&:is(:disabled, .
|
|
176
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
177
177
|
--__axc-button-border-color: var(--ax-border-neutral);
|
|
178
178
|
|
|
179
179
|
color: var(--ax-text-neutral);
|
|
@@ -182,9 +182,9 @@
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/****************************
|
|
185
|
-
* .
|
|
185
|
+
* .aksel-button--tertiary *
|
|
186
186
|
****************************/
|
|
187
|
-
.
|
|
187
|
+
.aksel-button--tertiary {
|
|
188
188
|
background-color: transparent;
|
|
189
189
|
color: var(--ax-text-accent-subtle);
|
|
190
190
|
|
|
@@ -196,16 +196,16 @@
|
|
|
196
196
|
background-color: var(--ax-bg-accent-moderate-pressedA);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
&:is(:disabled, .
|
|
199
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
200
200
|
color: var(--ax-text-accent-subtle);
|
|
201
201
|
background-color: transparent;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
/****************************
|
|
206
|
-
* .
|
|
206
|
+
* .aksel-button--tertiary-neutral *
|
|
207
207
|
****************************/
|
|
208
|
-
.
|
|
208
|
+
.aksel-button--tertiary-neutral {
|
|
209
209
|
background-color: transparent;
|
|
210
210
|
color: var(--ax-text-neutral);
|
|
211
211
|
|
|
@@ -217,16 +217,16 @@
|
|
|
217
217
|
background-color: var(--ax-bg-neutral-moderate-pressedA);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
&:is(:disabled, .
|
|
220
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
221
221
|
color: var(--ax-text-neutral);
|
|
222
222
|
background-color: transparent;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
/*************************
|
|
227
|
-
* .
|
|
227
|
+
* .aksel-button--danger *
|
|
228
228
|
*************************/
|
|
229
|
-
.
|
|
229
|
+
.aksel-button--danger {
|
|
230
230
|
background-color: var(--ax-bg-danger-strong);
|
|
231
231
|
color: var(--ax-text-danger-contrast);
|
|
232
232
|
|
|
@@ -238,70 +238,70 @@
|
|
|
238
238
|
background-color: var(--ax-bg-danger-strong-pressed);
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
&:is(:disabled, .
|
|
241
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
242
242
|
background-color: var(--ax-bg-danger-strong);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
/**************************
|
|
247
|
-
* .
|
|
247
|
+
* .aksel-button:disabled *
|
|
248
248
|
**************************/
|
|
249
249
|
|
|
250
|
-
.
|
|
250
|
+
.aksel-button:where(:disabled, .aksel-button--disabled) {
|
|
251
251
|
cursor: not-allowed;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
.
|
|
254
|
+
.aksel-button:not(.aksel-button--loading):where(:disabled, .aksel-button--disabled) {
|
|
255
255
|
opacity: var(--ax-opacity-disabled);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
/* Loader overrides */
|
|
259
|
-
.
|
|
259
|
+
.aksel-button > .aksel-loader {
|
|
260
260
|
position: absolute;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.
|
|
263
|
+
.aksel-button .aksel-loader .aksel-loader__foreground {
|
|
264
264
|
stroke: currentColor;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
.
|
|
268
|
-
.
|
|
267
|
+
.aksel-button--primary .aksel-loader .aksel-loader__background,
|
|
268
|
+
.aksel-button--danger .aksel-loader .aksel-loader__background {
|
|
269
269
|
stroke: rgb(255 255 255 / 0.3);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.
|
|
272
|
+
.aksel-button--loading > :not(.aksel-loader) {
|
|
273
273
|
visibility: hidden;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
@media (forced-colors: active) {
|
|
277
|
-
.
|
|
277
|
+
.aksel-button:not(.aksel-button--loading):where(:disabled, .aksel-button--disabled) {
|
|
278
278
|
opacity: 1;
|
|
279
279
|
color: GrayText;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.
|
|
282
|
+
.aksel-button {
|
|
283
283
|
border: 1px solid transparent;
|
|
284
284
|
color: ButtonText;
|
|
285
285
|
background-color: ButtonFace;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
|
-
.
|
|
288
|
+
.aksel-button:not(:disabled):hover {
|
|
289
289
|
background-color: highlighttext;
|
|
290
290
|
border-color: highlight;
|
|
291
291
|
color: highlight;
|
|
292
292
|
box-shadow: none;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
.
|
|
295
|
+
.aksel-button:not(:disabled):hover span {
|
|
296
296
|
forced-color-adjust: none;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.
|
|
299
|
+
.aksel-button .aksel-loader .aksel-loader__foreground {
|
|
300
300
|
stroke: canvas;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
.
|
|
304
|
-
.
|
|
303
|
+
.aksel-button--primary .aksel-loader .aksel-loader__background,
|
|
304
|
+
.aksel-button--danger .aksel-loader .aksel-loader__background {
|
|
305
305
|
stroke: canvastext;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-chat {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: flex-end;
|
|
4
4
|
gap: var(--ax-space-12);
|
|
5
5
|
max-width: 40.75rem;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.aksel-chat--right {
|
|
9
9
|
flex-direction: row-reverse;
|
|
10
10
|
|
|
11
|
-
& .
|
|
11
|
+
& .aksel-chat__bubble-wrapper {
|
|
12
12
|
align-items: flex-end;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
& .
|
|
15
|
+
& .aksel-chat__bubble {
|
|
16
16
|
border-radius: var(--ax-border-radius-xlarge);
|
|
17
17
|
border-bottom-right-radius: var(--ax-border-radius-small);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* ------------------------------- Chat avatar ------------------------------ */
|
|
22
|
-
.
|
|
22
|
+
.aksel-chat__avatar {
|
|
23
23
|
align-items: center;
|
|
24
24
|
background-color: var(--ax-bg-raised);
|
|
25
25
|
border-radius: var(--ax-border-radius-full);
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* ------------------------------- Chat bubble ------------------------------ */
|
|
47
|
-
.
|
|
47
|
+
.aksel-chat__bubble-wrapper {
|
|
48
48
|
list-style: none;
|
|
49
49
|
margin: 0;
|
|
50
50
|
padding: 0;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
gap: var(--ax-space-12);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.aksel-chat__bubble {
|
|
57
57
|
padding: var(--ax-space-16) var(--ax-space-20);
|
|
58
58
|
width: fit-content;
|
|
59
59
|
background-color: var(--ax-bg-raised);
|
|
@@ -65,27 +65,27 @@
|
|
|
65
65
|
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.aksel-chat--small .aksel-chat__bubble {
|
|
69
69
|
padding: var(--ax-space-12) var(--ax-space-16);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* -------------------------- Chat bubble variants -------------------------- */
|
|
73
|
-
.
|
|
74
|
-
& .
|
|
75
|
-
& .
|
|
73
|
+
.aksel-chat--info {
|
|
74
|
+
& .aksel-chat__bubble,
|
|
75
|
+
& .aksel-chat__avatar {
|
|
76
76
|
background-color: var(--ax-bg-info-moderate);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.
|
|
81
|
-
& .
|
|
82
|
-
& .
|
|
80
|
+
.aksel-chat--neutral {
|
|
81
|
+
& .aksel-chat__bubble,
|
|
82
|
+
& .aksel-chat__avatar {
|
|
83
83
|
background-color: var(--ax-bg-neutral-moderateA);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* ------------------------------ Chat top text ----------------------------- */
|
|
88
|
-
.
|
|
88
|
+
.aksel-chat__top-text {
|
|
89
89
|
color: var(--ax-text-neutral);
|
|
90
90
|
display: flex;
|
|
91
91
|
gap: var(--ax-space-8);
|
|
@@ -94,22 +94,22 @@
|
|
|
94
94
|
margin: 0;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.aksel-chat--right .aksel-chat__top-text {
|
|
98
98
|
align-self: flex-end;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
.
|
|
101
|
+
.aksel-chat--top-text-left .aksel-chat__top-text {
|
|
102
102
|
align-self: flex-start;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.
|
|
105
|
+
.aksel-chat--top-text-right .aksel-chat__top-text {
|
|
106
106
|
align-self: flex-end;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
.aksel-chat--left .aksel-chat__top-text--right {
|
|
110
110
|
align-self: flex-end;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
.aksel-chat--right .aksel-chat__top-text--left {
|
|
114
114
|
align-self: flex-start;
|
|
115
115
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.aksel-chips {
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: var(--ax-space-8);
|
|
4
4
|
margin: 0;
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
flex-wrap: wrap;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
.aksel-chips li {
|
|
11
11
|
margin: 0;
|
|
12
12
|
padding: 0;
|
|
13
13
|
list-style: none;
|
|
14
14
|
display: block;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.aksel-chips__chip {
|
|
18
18
|
all: unset;
|
|
19
19
|
display: flex;
|
|
20
20
|
cursor: pointer;
|
|
@@ -33,43 +33,43 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
37
|
-
.
|
|
36
|
+
.aksel-chips--readonly {
|
|
37
|
+
.aksel-chips__chip {
|
|
38
38
|
background-color: var(--ax-bg-neutral-moderateA);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
43
|
-
.
|
|
42
|
+
.aksel-chips--small {
|
|
43
|
+
.aksel-chips__chip {
|
|
44
44
|
min-height: 1.5rem;
|
|
45
45
|
padding: 0 var(--ax-space-8);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.aksel-chips__toggle-icon {
|
|
49
49
|
width: 1rem;
|
|
50
50
|
height: 1rem;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
.aksel-chips__toggle--with-checkmark {
|
|
54
54
|
padding-left: var(--ax-space-4);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
.aksel-chips__removable-icon {
|
|
58
58
|
width: 1.25rem;
|
|
59
59
|
height: 1.25rem;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
.aksel-chips__removable-icon > svg {
|
|
63
63
|
width: 1rem;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.aksel-chips--icon-right {
|
|
67
67
|
padding-right: var(--ax-space-2);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* ------------------------------ Chips Toggle ------------------------------ */
|
|
72
|
-
.
|
|
72
|
+
.aksel-chips__toggle--action {
|
|
73
73
|
box-shadow: inset 0 0 0 1px var(--ax-border-accent-subtleA);
|
|
74
74
|
background-color: var(--ax-bg-accent-moderate);
|
|
75
75
|
color: var(--ax-text-accent);
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
.aksel-chips__toggle--neutral {
|
|
93
93
|
box-shadow: inset 0 0 0 1px var(--ax-border-neutral-subtleA);
|
|
94
94
|
background-color: var(--ax-bg-neutral-moderate);
|
|
95
95
|
color: var(--ax-text-neutral);
|
|
@@ -109,18 +109,18 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
.aksel-chips--medium .aksel-chips__toggle--with-checkmark {
|
|
113
113
|
padding-left: var(--ax-space-6);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
/* -------------------------- start old CSS -------------------------- */
|
|
117
117
|
|
|
118
118
|
/* ----------------------------- Chips removable ---------------------------- */
|
|
119
|
-
.
|
|
119
|
+
.aksel-chips__removable {
|
|
120
120
|
gap: 0;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.
|
|
123
|
+
.aksel-chips__removable--action {
|
|
124
124
|
background: var(--ax-bg-accent-strong-pressed);
|
|
125
125
|
color: var(--ax-text-accent-contrast);
|
|
126
126
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.aksel-chips__removable--neutral {
|
|
133
133
|
background: var(--ax-bg-neutral-strong-pressed);
|
|
134
134
|
color: var(--ax-text-neutral-contrast);
|
|
135
135
|
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.
|
|
141
|
+
.aksel-chips__removable-icon {
|
|
142
142
|
width: 1.5rem;
|
|
143
143
|
height: 1.5rem;
|
|
144
144
|
font-size: 1.25rem;
|
|
@@ -147,16 +147,16 @@
|
|
|
147
147
|
border-radius: var(--ax-border-radius-full);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.
|
|
150
|
+
.aksel-chips--icon-left {
|
|
151
151
|
padding-left: var(--ax-space-6);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.
|
|
154
|
+
.aksel-chips--icon-right {
|
|
155
155
|
padding-right: var(--ax-space-6);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
@media (forced-colors: active) {
|
|
159
|
-
.
|
|
159
|
+
.aksel-chips__chip {
|
|
160
160
|
border: 1px solid transparent;
|
|
161
161
|
|
|
162
162
|
&:hover {
|
|
@@ -165,11 +165,11 @@
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.
|
|
168
|
+
.aksel-chips__chip:where([data-pressed="true"], :active, :hover) > span {
|
|
169
169
|
forced-color-adjust: none;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
.aksel-chips__toggle[data-pressed="true"] {
|
|
173
173
|
background-color: selecteditem;
|
|
174
174
|
color: selecteditemtext;
|
|
175
175
|
border: 1px solid selecteditem;
|