@navikt/ds-css 7.21.1 → 7.23.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 +24 -0
- package/darkside/accordion.darkside.css +8 -8
- package/darkside/action-menu.darkside.css +7 -7
- package/darkside/alert.darkside.css +7 -38
- package/darkside/button.darkside.css +85 -174
- package/darkside/chat.darkside.css +23 -24
- package/darkside/chips.darkside.css +14 -48
- package/darkside/date.darkside.css +16 -16
- package/darkside/dropdown.darkside.css +3 -3
- package/darkside/expansioncard.darkside.css +14 -10
- package/darkside/form/combobox.darkside.css +14 -14
- package/darkside/form/confirmation-panel.darkside.css +3 -3
- package/darkside/form/error-summary.darkside.css +1 -1
- package/darkside/form/file-upload.darkside.css +15 -15
- package/darkside/form/form-progress.darkside.css +1 -1
- package/darkside/form/form-summary.darkside.css +5 -5
- package/darkside/form/radio-checkbox.darkside.css +10 -30
- package/darkside/form/search.darkside.css +5 -5
- package/darkside/form/select.darkside.css +4 -4
- package/darkside/form/switch.darkside.css +17 -28
- package/darkside/form/text-field.darkside.css +3 -3
- package/darkside/form/textarea.darkside.css +3 -3
- package/darkside/guide-panel.darkside.css +5 -5
- package/darkside/help-text.darkside.css +8 -8
- package/darkside/link.darkside.css +10 -14
- package/darkside/list.darkside.css +8 -11
- package/darkside/loader.darkside.css +8 -26
- package/darkside/modal.darkside.css +1 -1
- package/darkside/pagination.darkside.css +0 -5
- package/darkside/panel.darkside.css +1 -1
- package/darkside/popover.darkside.css +1 -1
- package/darkside/primitives/box.darkside.css +19 -19
- package/darkside/progress-bar.darkside.css +2 -2
- package/darkside/read-more.darkside.css +6 -6
- package/darkside/skeleton.darkside.css +3 -3
- package/darkside/stepper.darkside.css +12 -12
- package/darkside/table.darkside.css +9 -9
- package/darkside/tabs.darkside.css +5 -7
- package/darkside/tag.darkside.css +28 -85
- package/darkside/timeline.darkside.css +21 -93
- package/darkside/toggle-group.darkside.css +5 -17
- package/darkside/tooltip.darkside.css +2 -2
- package/darkside/typography.darkside.css +18 -0
- package/dist/component/alert.min.css +1 -1
- package/dist/component/chat.min.css +1 -1
- package/dist/component/date.min.css +1 -1
- package/dist/component/expansioncard.min.css +1 -1
- package/dist/component/form.min.css +1 -1
- package/dist/component/list.css +8 -12
- package/dist/component/list.min.css +1 -1
- package/dist/component/modal.min.css +1 -1
- package/dist/component/primitives.css +13 -13
- package/dist/component/primitives.min.css +1 -1
- package/dist/component/skeleton.min.css +1 -1
- package/dist/component/stepper.min.css +1 -1
- package/dist/component/tabs.min.css +1 -1
- package/dist/component/tag.min.css +1 -1
- package/dist/component/timeline.min.css +1 -1
- package/dist/component/togglegroup.min.css +1 -1
- package/dist/components.css +21 -25
- package/dist/components.min.css +3 -3
- package/dist/darkside/component/accordion.css +8 -8
- package/dist/darkside/component/accordion.min.css +1 -1
- package/dist/darkside/component/actionmenu.css +7 -7
- package/dist/darkside/component/actionmenu.min.css +1 -1
- package/dist/darkside/component/alert.css +7 -37
- package/dist/darkside/component/alert.min.css +1 -1
- package/dist/darkside/component/button.css +71 -135
- package/dist/darkside/component/button.min.css +1 -1
- package/dist/darkside/component/chat.css +20 -17
- package/dist/darkside/component/chat.min.css +1 -1
- package/dist/darkside/component/chips.css +18 -52
- package/dist/darkside/component/chips.min.css +1 -1
- package/dist/darkside/component/date.css +16 -16
- package/dist/darkside/component/date.min.css +1 -1
- package/dist/darkside/component/dropdown.css +3 -3
- package/dist/darkside/component/dropdown.min.css +1 -1
- package/dist/darkside/component/expansioncard.css +14 -10
- package/dist/darkside/component/expansioncard.min.css +1 -1
- package/dist/darkside/component/form.css +80 -105
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/guidepanel.css +5 -5
- package/dist/darkside/component/guidepanel.min.css +1 -1
- package/dist/darkside/component/helptext.css +8 -8
- package/dist/darkside/component/helptext.min.css +1 -1
- package/dist/darkside/component/link.css +10 -14
- package/dist/darkside/component/link.min.css +1 -1
- package/dist/darkside/component/list.css +8 -22
- package/dist/darkside/component/list.min.css +1 -1
- package/dist/darkside/component/loader.css +8 -20
- package/dist/darkside/component/loader.min.css +1 -1
- package/dist/darkside/component/modal.css +1 -1
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/component/pagination.css +0 -5
- package/dist/darkside/component/pagination.min.css +1 -1
- package/dist/darkside/component/panel.css +1 -1
- package/dist/darkside/component/panel.min.css +1 -1
- package/dist/darkside/component/popover.css +1 -1
- package/dist/darkside/component/popover.min.css +1 -1
- package/dist/darkside/component/primitives.css +19 -19
- package/dist/darkside/component/primitives.min.css +1 -1
- package/dist/darkside/component/progressbar.css +2 -2
- package/dist/darkside/component/progressbar.min.css +1 -1
- package/dist/darkside/component/readmore.css +6 -6
- package/dist/darkside/component/readmore.min.css +1 -1
- package/dist/darkside/component/skeleton.css +3 -3
- package/dist/darkside/component/skeleton.min.css +1 -1
- package/dist/darkside/component/stepper.css +12 -12
- package/dist/darkside/component/stepper.min.css +1 -1
- package/dist/darkside/component/table.css +9 -9
- package/dist/darkside/component/table.min.css +1 -1
- package/dist/darkside/component/tabs.css +2 -2
- package/dist/darkside/component/tabs.min.css +1 -1
- package/dist/darkside/component/tag.css +29 -75
- package/dist/darkside/component/tag.min.css +1 -1
- package/dist/darkside/component/timeline.css +22 -94
- package/dist/darkside/component/timeline.min.css +1 -1
- package/dist/darkside/component/togglegroup.css +5 -14
- package/dist/darkside/component/togglegroup.min.css +1 -1
- package/dist/darkside/component/tooltip.css +2 -2
- package/dist/darkside/component/tooltip.min.css +1 -1
- package/dist/darkside/component/typography.css +16 -0
- package/dist/darkside/component/typography.min.css +1 -1
- package/dist/darkside/components.css +412 -704
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/tokens.css +824 -819
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +1224 -1511
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/accordion.css +8 -8
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/accordion.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/actionmenu.css +7 -7
- package/dist/darkside/version/7.23.0/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/alert.css +7 -37
- package/dist/darkside/version/7.23.0/component/alert.min.css +1 -0
- package/dist/darkside/version/7.23.0/component/button.css +208 -0
- package/dist/darkside/version/7.23.0/component/button.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/chat.css +20 -17
- package/dist/darkside/version/7.23.0/component/chat.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/chips.css +18 -52
- package/dist/darkside/version/7.23.0/component/chips.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/date.css +16 -16
- package/dist/darkside/version/7.23.0/component/date.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/dropdown.css +3 -3
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/dropdown.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/expansioncard.css +14 -10
- package/dist/darkside/version/7.23.0/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/form.css +80 -105
- package/dist/darkside/version/7.23.0/component/form.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/guidepanel.css +5 -5
- package/dist/darkside/version/7.23.0/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/helptext.css +8 -8
- package/dist/darkside/version/7.23.0/component/helptext.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/link.css +10 -14
- package/dist/darkside/version/7.23.0/component/link.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/list.css +8 -22
- package/dist/darkside/version/7.23.0/component/list.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/loader.css +8 -20
- package/dist/darkside/version/7.23.0/component/loader.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/modal.css +1 -1
- package/dist/darkside/version/7.23.0/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/pagination.css +0 -5
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/pagination.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/panel.css +1 -1
- package/dist/darkside/version/7.23.0/component/panel.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/popover.css +1 -1
- package/dist/darkside/version/7.23.0/component/popover.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/primitives.css +19 -19
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/primitives.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/progressbar.css +2 -2
- package/dist/darkside/version/7.23.0/component/progressbar.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/readmore.css +6 -6
- package/dist/darkside/version/7.23.0/component/readmore.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/skeleton.css +3 -3
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/skeleton.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/stepper.css +12 -12
- package/dist/darkside/version/7.23.0/component/stepper.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/table.css +9 -9
- package/dist/darkside/version/7.23.0/component/table.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/tabs.css +2 -2
- package/dist/darkside/version/7.23.0/component/tabs.min.css +1 -0
- package/dist/darkside/version/7.23.0/component/tag.css +83 -0
- package/dist/darkside/version/7.23.0/component/tag.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/timeline.css +22 -94
- package/dist/darkside/version/7.23.0/component/timeline.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/togglegroup.css +5 -14
- package/dist/darkside/version/7.23.0/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/tooltip.css +2 -2
- package/dist/darkside/version/7.23.0/component/tooltip.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/typography.css +16 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/component/typography.min.css +1 -1
- package/dist/darkside/version/{7.21.1 → 7.23.0}/components.css +412 -704
- package/dist/darkside/version/7.23.0/components.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/global/tokens.css +824 -819
- package/dist/darkside/version/7.23.0/global/tokens.min.css +1 -0
- package/dist/darkside/version/{7.21.1 → 7.23.0}/index.css +1224 -1511
- package/dist/darkside/version/7.23.0/index.min.css +1 -0
- package/dist/global/baseline.min.css +1 -1
- package/dist/global/tokens.css +329 -324
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +350 -349
- package/dist/index.min.css +4 -4
- package/list.css +8 -11
- package/package.json +6 -5
- package/primitives/box.css +13 -13
- package/dist/darkside/version/7.21.1/component/actionmenu.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/alert.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/button.css +0 -272
- package/dist/darkside/version/7.21.1/component/button.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/chat.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/chips.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/date.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/expansioncard.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/form.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/guidepanel.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/helptext.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/link.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/list.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/loader.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/modal.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/panel.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/popover.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/progressbar.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/readmore.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/stepper.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/table.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/tabs.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/tag.css +0 -129
- package/dist/darkside/version/7.21.1/component/tag.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/timeline.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/togglegroup.min.css +0 -1
- package/dist/darkside/version/7.21.1/component/tooltip.min.css +0 -1
- package/dist/darkside/version/7.21.1/components.min.css +0 -1
- package/dist/darkside/version/7.21.1/global/tokens.min.css +0 -1
- package/dist/darkside/version/7.21.1/index.min.css +0 -1
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/copybutton.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/copybutton.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/internalheader.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/internalheader.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/print.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.21.1 → 7.23.0}/global/reset.min.css +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @navikt/ds-css
|
|
2
2
|
|
|
3
|
+
## 7.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Darkside: Renamed 'data-color-role' dynamic theme attribute to 'data-color'. ([#3849](https://github.com/navikt/aksel/pull/3849))
|
|
8
|
+
|
|
9
|
+
- Darkside: Using attribute 'data-color' with one of the built-in colors from 'AkselColorRole' now allows re-coloring most components. ([#3849](https://github.com/navikt/aksel/pull/3849))
|
|
10
|
+
|
|
11
|
+
- Darkside: All components has been updated to use 'data-color' attribute for coloring. As a side-effect, most component CSS is either updated or refactored. ([#3849](https://github.com/navikt/aksel/pull/3849))
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Tag: Outline-variant now uses bg-moderate, replacing bg-moderateA. ([#3865](https://github.com/navikt/aksel/pull/3865))
|
|
16
|
+
|
|
17
|
+
- Darkside: Fix icon size in small Tabs ([#3850](https://github.com/navikt/aksel/pull/3850))
|
|
18
|
+
|
|
19
|
+
- List: Fix issue with incorrect padding in Safari ([#3850](https://github.com/navikt/aksel/pull/3850))
|
|
20
|
+
|
|
21
|
+
## 7.22.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- Darkside: Components now use new `radius`-tokens, replacing `border-radius`-tokens. ([#3784](https://github.com/navikt/aksel/pull/3784))
|
|
26
|
+
|
|
3
27
|
## 7.21.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
border: none;
|
|
12
12
|
position: relative;
|
|
13
|
-
border-radius: var(--ax-
|
|
13
|
+
border-radius: var(--ax-radius-8);
|
|
14
14
|
background: transparent;
|
|
15
|
-
color: var(--ax-text-
|
|
15
|
+
color: var(--ax-text-subtle);
|
|
16
16
|
|
|
17
17
|
> * {
|
|
18
18
|
font-weight: var(--ax-font-weight-regular);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&:hover {
|
|
28
|
-
background-color: var(--ax-bg-
|
|
28
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
29
29
|
|
|
30
30
|
&::before,
|
|
31
31
|
&::after {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
> .aksel-accordion__icon-wrapper {
|
|
36
|
-
background-color: var(--ax-bg-
|
|
37
|
-
color: var(--ax-text-
|
|
36
|
+
background-color: var(--ax-bg-strong-hover);
|
|
37
|
+
color: var(--ax-text-contrast);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@media (forced-colors: active) {
|
|
@@ -91,12 +91,12 @@
|
|
|
91
91
|
|
|
92
92
|
/* ------------------------- Accordion chevron icon ------------------------- */
|
|
93
93
|
.aksel-accordion__icon-wrapper {
|
|
94
|
-
border-radius: var(--ax-
|
|
94
|
+
border-radius: var(--ax-radius-8);
|
|
95
95
|
width: 22px;
|
|
96
96
|
height: 22px;
|
|
97
97
|
align-self: center;
|
|
98
|
-
background-color: var(--ax-bg-
|
|
99
|
-
color: var(--ax-text-
|
|
98
|
+
background-color: var(--ax-bg-moderateA);
|
|
99
|
+
color: var(--ax-text-subtle);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.aksel-accordion__header-chevron {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* --------------------------- ActionMenu content --------------------------- */
|
|
2
2
|
.aksel-action-menu__content {
|
|
3
3
|
overflow: hidden;
|
|
4
|
-
border-radius: var(--ax-
|
|
4
|
+
border-radius: var(--ax-radius-12);
|
|
5
5
|
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
6
6
|
box-shadow: var(--ax-shadow-dialog);
|
|
7
7
|
transition: transform 250ms cubic-bezier(0, 0, 0, 1) allow-discrete;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
--__axc-action-menu-item-pl: var(--ax-space-8);
|
|
40
40
|
--__axc-action-menu-item-height: 2rem;
|
|
41
41
|
|
|
42
|
-
border-radius: var(--ax-
|
|
42
|
+
border-radius: var(--ax-radius-12);
|
|
43
43
|
background-color: var(--ax-bg-raised);
|
|
44
44
|
min-width: 128px;
|
|
45
45
|
max-width: min(95vw, 640px);
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
gap: var(--ax-space-8);
|
|
61
61
|
min-height: var(--__axc-action-menu-item-height);
|
|
62
62
|
cursor: default;
|
|
63
|
-
border-radius: var(--ax-
|
|
63
|
+
border-radius: var(--ax-radius-8);
|
|
64
64
|
position: relative;
|
|
65
65
|
padding-left: var(--__axc-action-menu-item-pl);
|
|
66
66
|
padding-right: var(--__axc-action-menu-item-pr);
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
&:focus {
|
|
78
78
|
outline: none;
|
|
79
|
-
background-color: var(--ax-bg-
|
|
79
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
80
80
|
color: var(--ax-text-neutral);
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&:focus {
|
|
101
|
-
background-color: var(--ax-bg-
|
|
101
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
.aksel-action-menu__shortcut {
|
|
141
141
|
background-color: var(--ax-bg-neutral-moderateA);
|
|
142
142
|
color: var(--ax-text-neutral);
|
|
143
|
-
border-radius: var(--ax-
|
|
143
|
+
border-radius: var(--ax-radius-2);
|
|
144
144
|
padding: 0 var(--ax-space-4);
|
|
145
145
|
min-width: 1.125rem;
|
|
146
146
|
height: 1.125rem;
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
padding-right: var(--__axc-action-menu-item-pr);
|
|
160
160
|
padding-left: var(--__axc-action-menu-item-pl);
|
|
161
161
|
color: var(--ax-text-neutral-subtle);
|
|
162
|
-
border-radius: var(--ax-
|
|
162
|
+
border-radius: var(--ax-radius-4);
|
|
163
163
|
user-select: none;
|
|
164
164
|
cursor: default;
|
|
165
165
|
font-size: var(--ax-font-size-small);
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
.aksel-alert {
|
|
2
|
-
border-radius: var(--ax-
|
|
2
|
+
border-radius: var(--ax-radius-12);
|
|
3
3
|
border: 1px solid;
|
|
4
4
|
padding: var(--ax-space-20);
|
|
5
5
|
display: flex;
|
|
6
6
|
gap: var(--ax-space-12);
|
|
7
7
|
align-items: center;
|
|
8
|
+
border-color: var(--ax-border-default);
|
|
9
|
+
background-color: var(--ax-bg-moderate);
|
|
10
|
+
|
|
11
|
+
& > .aksel-alert__icon {
|
|
12
|
+
color: var(--ax-text-decoration);
|
|
13
|
+
}
|
|
8
14
|
|
|
9
15
|
@media (forced-colors: active) {
|
|
10
16
|
border: 1px solid canvastext;
|
|
@@ -34,43 +40,6 @@
|
|
|
34
40
|
}
|
|
35
41
|
}
|
|
36
42
|
|
|
37
|
-
/* ----------------------------- Alert variants ----------------------------- */
|
|
38
|
-
.aksel-alert--info {
|
|
39
|
-
border-color: var(--ax-border-info);
|
|
40
|
-
background-color: var(--ax-bg-info-moderate);
|
|
41
|
-
|
|
42
|
-
> .aksel-alert__icon {
|
|
43
|
-
color: var(--ax-text-info-icon);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.aksel-alert--success {
|
|
48
|
-
border-color: var(--ax-border-success);
|
|
49
|
-
background-color: var(--ax-bg-success-moderate);
|
|
50
|
-
|
|
51
|
-
> .aksel-alert__icon {
|
|
52
|
-
color: var(--ax-text-success-icon);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.aksel-alert--warning {
|
|
57
|
-
border-color: var(--ax-border-warning);
|
|
58
|
-
background-color: var(--ax-bg-warning-moderate);
|
|
59
|
-
|
|
60
|
-
> .aksel-alert__icon {
|
|
61
|
-
color: var(--ax-text-warning-icon);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.aksel-alert--error {
|
|
66
|
-
border-color: var(--ax-border-danger);
|
|
67
|
-
background-color: var(--ax-bg-danger-moderate);
|
|
68
|
-
|
|
69
|
-
> .aksel-alert__icon {
|
|
70
|
-
color: var(--ax-text-danger-icon);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
43
|
/* ----------------------------- Alert fullwidth ---------------------------- */
|
|
75
44
|
.aksel-alert--full-width {
|
|
76
45
|
border-radius: 0;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
--__axc-button-border-width: 2px;
|
|
6
6
|
|
|
7
7
|
padding: var(--ax-space-12) var(--ax-space-20);
|
|
8
|
-
border-radius: var(--ax-
|
|
8
|
+
border-radius: var(--ax-radius-8);
|
|
9
9
|
display: inline-flex;
|
|
10
10
|
cursor: pointer;
|
|
11
11
|
text-decoration: none;
|
|
@@ -20,6 +20,84 @@
|
|
|
20
20
|
outline: 3px solid var(--ax-border-focus);
|
|
21
21
|
outline-offset: 3px;
|
|
22
22
|
}
|
|
23
|
+
|
|
24
|
+
&[data-variant="primary"] {
|
|
25
|
+
background-color: var(--ax-bg-strong);
|
|
26
|
+
color: var(--ax-text-contrast);
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: var(--ax-bg-strong-hover);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:active {
|
|
33
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
37
|
+
background-color: var(--ax-bg-strong);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&[data-variant="secondary"] {
|
|
42
|
+
--__axc-button-border-color: var(--ax-border-default);
|
|
43
|
+
|
|
44
|
+
background-color: transparent;
|
|
45
|
+
color: var(--ax-text-subtle);
|
|
46
|
+
|
|
47
|
+
&[data-color="neutral"] {
|
|
48
|
+
color: var(--ax-text-default);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:hover {
|
|
52
|
+
--__axc-button-border-color: var(--ax-border-strong);
|
|
53
|
+
|
|
54
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:active {
|
|
58
|
+
background-color: var(--ax-bg-moderate-pressedA);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
62
|
+
color: var(--ax-text-subtle);
|
|
63
|
+
background-color: transparent;
|
|
64
|
+
|
|
65
|
+
&[data-color="neutral"] {
|
|
66
|
+
color: var(--ax-text-default);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&[data-variant="tertiary"] {
|
|
72
|
+
background-color: transparent;
|
|
73
|
+
color: var(--ax-text-subtle);
|
|
74
|
+
|
|
75
|
+
&[data-color="neutral"] {
|
|
76
|
+
color: var(--ax-text-default);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:hover {
|
|
80
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:active {
|
|
84
|
+
background-color: var(--ax-bg-moderate-pressedA);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&[data-pressed="true"] {
|
|
88
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
89
|
+
color: var(--ax-text-contrast);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&:is(:disabled, .aksel-button--disabled) {
|
|
93
|
+
color: var(--ax-text-subtle);
|
|
94
|
+
background-color: transparent;
|
|
95
|
+
|
|
96
|
+
&[data-color="neutral"] {
|
|
97
|
+
color: var(--ax-text-default);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
23
101
|
}
|
|
24
102
|
|
|
25
103
|
.aksel-button--small,
|
|
@@ -41,18 +119,6 @@
|
|
|
41
119
|
--__axc-button-icon-size: 1.25rem;
|
|
42
120
|
}
|
|
43
121
|
|
|
44
|
-
.aksel-button--icon-only {
|
|
45
|
-
padding: var(--ax-space-12);
|
|
46
|
-
|
|
47
|
-
&.aksel-button--small {
|
|
48
|
-
padding: var(--ax-space-4);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.aksel-button--xsmall {
|
|
52
|
-
padding: var(--ax-space-2);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
122
|
@supports not selector(:focus-visible) {
|
|
57
123
|
.aksel-button:focus {
|
|
58
124
|
outline: 3px solid var(--ax-border-focus);
|
|
@@ -76,170 +142,15 @@
|
|
|
76
142
|
}
|
|
77
143
|
}
|
|
78
144
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*************************/
|
|
82
|
-
.aksel-button--primary {
|
|
83
|
-
background-color: var(--ax-bg-accent-strong);
|
|
84
|
-
color: var(--ax-text-accent-contrast);
|
|
85
|
-
|
|
86
|
-
&:hover {
|
|
87
|
-
background-color: var(--ax-bg-accent-strong-hover);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&:active {
|
|
91
|
-
background-color: var(--ax-bg-accent-strong-pressed);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&:is(:disabled, .aksel-button--disabled) {
|
|
95
|
-
background-color: var(--ax-bg-accent-strong);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@media (forced-colors: active) {
|
|
99
|
-
&:not(:disabled) {
|
|
100
|
-
background-color: highlight;
|
|
101
|
-
color: highlighttext;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
& span {
|
|
105
|
-
forced-color-adjust: none;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/*************************
|
|
111
|
-
* .aksel-button--primary-neutral *
|
|
112
|
-
*************************/
|
|
113
|
-
.aksel-button--primary-neutral {
|
|
114
|
-
background-color: var(--ax-bg-neutral-strong);
|
|
115
|
-
color: var(--ax-text-neutral-contrast);
|
|
116
|
-
|
|
117
|
-
&:hover {
|
|
118
|
-
background-color: var(--ax-bg-neutral-strong-hover);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:active {
|
|
122
|
-
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&:is(:disabled, .aksel-button--disabled) {
|
|
126
|
-
background-color: var(--ax-bg-neutral-strong);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/**************************
|
|
131
|
-
* .aksel-button--secondary *
|
|
132
|
-
**************************/
|
|
133
|
-
.aksel-button--secondary {
|
|
134
|
-
--__axc-button-border-color: var(--ax-border-accent);
|
|
135
|
-
|
|
136
|
-
background-color: transparent;
|
|
137
|
-
color: var(--ax-text-accent-subtle);
|
|
138
|
-
|
|
139
|
-
&:hover {
|
|
140
|
-
--__axc-button-border-color: var(--ax-border-accent-strong);
|
|
141
|
-
|
|
142
|
-
background-color: var(--ax-bg-accent-moderate-hoverA);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&:active {
|
|
146
|
-
background-color: var(--ax-bg-accent-moderate-pressedA);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&:is(:disabled, .aksel-button--disabled) {
|
|
150
|
-
--__axc-button-border-color: var(--ax-border-accent);
|
|
151
|
-
|
|
152
|
-
background-color: transparent;
|
|
153
|
-
color: var(--ax-text-accent-subtle);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**************************
|
|
158
|
-
* .aksel-button--secondary-neutral *
|
|
159
|
-
**************************/
|
|
160
|
-
.aksel-button--secondary-neutral {
|
|
161
|
-
--__axc-button-border-color: var(--ax-border-neutral);
|
|
162
|
-
|
|
163
|
-
background-color: transparent;
|
|
164
|
-
color: var(--ax-text-neutral);
|
|
165
|
-
|
|
166
|
-
&:hover {
|
|
167
|
-
--__axc-button-border-color: var(--ax-border-neutral-strong);
|
|
168
|
-
|
|
169
|
-
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&:active {
|
|
173
|
-
background-color: var(--ax-bg-neutral-moderate-pressedA);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&:is(:disabled, .aksel-button--disabled) {
|
|
177
|
-
--__axc-button-border-color: var(--ax-border-neutral);
|
|
178
|
-
|
|
179
|
-
color: var(--ax-text-neutral);
|
|
180
|
-
background-color: transparent;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/****************************
|
|
185
|
-
* .aksel-button--tertiary *
|
|
186
|
-
****************************/
|
|
187
|
-
.aksel-button--tertiary {
|
|
188
|
-
background-color: transparent;
|
|
189
|
-
color: var(--ax-text-accent-subtle);
|
|
190
|
-
|
|
191
|
-
&:hover {
|
|
192
|
-
background-color: var(--ax-bg-accent-moderate-hoverA);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&:active {
|
|
196
|
-
background-color: var(--ax-bg-accent-moderate-pressedA);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&:is(:disabled, .aksel-button--disabled) {
|
|
200
|
-
color: var(--ax-text-accent-subtle);
|
|
201
|
-
background-color: transparent;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/****************************
|
|
206
|
-
* .aksel-button--tertiary-neutral *
|
|
207
|
-
****************************/
|
|
208
|
-
.aksel-button--tertiary-neutral {
|
|
209
|
-
background-color: transparent;
|
|
210
|
-
color: var(--ax-text-neutral);
|
|
211
|
-
|
|
212
|
-
&:hover {
|
|
213
|
-
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&:active {
|
|
217
|
-
background-color: var(--ax-bg-neutral-moderate-pressedA);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
&:is(:disabled, .aksel-button--disabled) {
|
|
221
|
-
color: var(--ax-text-neutral);
|
|
222
|
-
background-color: transparent;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/*************************
|
|
227
|
-
* .aksel-button--danger *
|
|
228
|
-
*************************/
|
|
229
|
-
.aksel-button--danger {
|
|
230
|
-
background-color: var(--ax-bg-danger-strong);
|
|
231
|
-
color: var(--ax-text-danger-contrast);
|
|
232
|
-
|
|
233
|
-
&:hover {
|
|
234
|
-
background-color: var(--ax-bg-danger-strong-hover);
|
|
235
|
-
}
|
|
145
|
+
.aksel-button--icon-only {
|
|
146
|
+
padding: var(--ax-space-12);
|
|
236
147
|
|
|
237
|
-
|
|
238
|
-
|
|
148
|
+
&.aksel-button--small {
|
|
149
|
+
padding: var(--ax-space-4);
|
|
239
150
|
}
|
|
240
151
|
|
|
241
|
-
|
|
242
|
-
|
|
152
|
+
&.aksel-button--xsmall {
|
|
153
|
+
padding: var(--ax-space-2);
|
|
243
154
|
}
|
|
244
155
|
}
|
|
245
156
|
|
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
align-items: flex-end;
|
|
4
4
|
gap: var(--ax-space-12);
|
|
5
5
|
max-width: 40.75rem;
|
|
6
|
+
|
|
7
|
+
& .aksel-chat__bubble,
|
|
8
|
+
& .aksel-chat__avatar {
|
|
9
|
+
background-color: var(--ax-bg-moderateA);
|
|
10
|
+
border: 1px solid var(--ax-border-subtleA);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&[data-variant="subtle"] .aksel-chat__bubble,
|
|
14
|
+
&[data-variant="subtle"] .aksel-chat__avatar {
|
|
15
|
+
background-color: var(--ax-bg-softA);
|
|
16
|
+
border: 1px solid var(--ax-border-subtleA);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&[data-color="neutral"][data-variant="subtle"] .aksel-chat__bubble,
|
|
20
|
+
&[data-color="neutral"][data-variant="subtle"] .aksel-chat__avatar {
|
|
21
|
+
background-color: var(--ax-bg-raised);
|
|
22
|
+
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
23
|
+
}
|
|
6
24
|
}
|
|
7
25
|
|
|
8
26
|
.aksel-chat--right {
|
|
@@ -13,17 +31,15 @@
|
|
|
13
31
|
}
|
|
14
32
|
|
|
15
33
|
& .aksel-chat__bubble {
|
|
16
|
-
border-radius: var(--ax-
|
|
17
|
-
border-bottom-right-radius: var(--ax-
|
|
34
|
+
border-radius: var(--ax-radius-12);
|
|
35
|
+
border-bottom-right-radius: var(--ax-radius-2);
|
|
18
36
|
}
|
|
19
37
|
}
|
|
20
38
|
|
|
21
39
|
/* ------------------------------- Chat avatar ------------------------------ */
|
|
22
40
|
.aksel-chat__avatar {
|
|
23
41
|
align-items: center;
|
|
24
|
-
|
|
25
|
-
border-radius: var(--ax-border-radius-full);
|
|
26
|
-
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
42
|
+
border-radius: var(--ax-radius-full);
|
|
27
43
|
color: var(--ax-text-neutral);
|
|
28
44
|
display: flex;
|
|
29
45
|
flex-shrink: 0;
|
|
@@ -56,34 +72,17 @@
|
|
|
56
72
|
.aksel-chat__bubble {
|
|
57
73
|
padding: var(--ax-space-20);
|
|
58
74
|
width: fit-content;
|
|
59
|
-
background-color: var(--ax-bg-raised);
|
|
60
75
|
display: flex;
|
|
61
76
|
flex-direction: column;
|
|
62
77
|
gap: var(--ax-space-8);
|
|
63
|
-
border-radius: var(--ax-
|
|
64
|
-
border-bottom-left-radius: var(--ax-
|
|
65
|
-
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
78
|
+
border-radius: var(--ax-radius-12);
|
|
79
|
+
border-bottom-left-radius: var(--ax-radius-2);
|
|
66
80
|
}
|
|
67
81
|
|
|
68
82
|
.aksel-chat--small .aksel-chat__bubble {
|
|
69
83
|
padding: var(--ax-space-16);
|
|
70
84
|
}
|
|
71
85
|
|
|
72
|
-
/* -------------------------- Chat bubble variants -------------------------- */
|
|
73
|
-
.aksel-chat--info {
|
|
74
|
-
& .aksel-chat__bubble,
|
|
75
|
-
& .aksel-chat__avatar {
|
|
76
|
-
background-color: var(--ax-bg-info-moderate);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.aksel-chat--neutral {
|
|
81
|
-
& .aksel-chat__bubble,
|
|
82
|
-
& .aksel-chat__avatar {
|
|
83
|
-
background-color: var(--ax-bg-neutral-moderateA);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
86
|
/* ------------------------------ Chat top text ----------------------------- */
|
|
88
87
|
.aksel-chat__top-text {
|
|
89
88
|
color: var(--ax-text-neutral);
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
margin: 0;
|
|
25
25
|
padding: 0 var(--ax-space-12);
|
|
26
26
|
text-decoration: none;
|
|
27
|
-
border-radius: var(--ax-
|
|
27
|
+
border-radius: var(--ax-radius-full);
|
|
28
28
|
min-height: 2rem;
|
|
29
29
|
|
|
30
30
|
&:focus-visible {
|
|
@@ -69,46 +69,24 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* ------------------------------ Chips Toggle ------------------------------ */
|
|
72
|
-
.aksel-chips__toggle
|
|
73
|
-
box-shadow: inset 0 0 0 1px var(--ax-border-
|
|
74
|
-
background-color: var(--ax-bg-
|
|
75
|
-
color: var(--ax-text-
|
|
72
|
+
.aksel-chips__toggle {
|
|
73
|
+
box-shadow: inset 0 0 0 1px var(--ax-border-subtleA);
|
|
74
|
+
background-color: var(--ax-bg-moderate);
|
|
75
|
+
color: var(--ax-text-default);
|
|
76
76
|
transition: box-shadow 200ms cubic-bezier(0.15, 1, 0.3, 1);
|
|
77
77
|
|
|
78
78
|
&:hover {
|
|
79
|
-
background-color: var(--ax-bg-
|
|
80
|
-
box-shadow: inset 0 0 0 1px var(--ax-border-
|
|
79
|
+
background-color: var(--ax-bg-moderate-hover);
|
|
80
|
+
box-shadow: inset 0 0 0 1px var(--ax-border-default);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&[data-pressed="true"] {
|
|
84
84
|
box-shadow: none;
|
|
85
|
-
background-color: var(--ax-bg-
|
|
86
|
-
color: var(--ax-text-
|
|
85
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
86
|
+
color: var(--ax-text-contrast);
|
|
87
87
|
|
|
88
88
|
&:hover {
|
|
89
|
-
background-color: var(--ax-bg-
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.aksel-chips__toggle--neutral {
|
|
95
|
-
box-shadow: inset 0 0 0 1px var(--ax-border-neutral-subtleA);
|
|
96
|
-
background-color: var(--ax-bg-neutral-moderate);
|
|
97
|
-
color: var(--ax-text-neutral);
|
|
98
|
-
transition: box-shadow 200ms cubic-bezier(0.15, 1, 0.3, 1);
|
|
99
|
-
|
|
100
|
-
&:hover {
|
|
101
|
-
background-color: var(--ax-bg-neutral-moderate-hover);
|
|
102
|
-
box-shadow: inset 0 0 0 1px var(--ax-border-neutral);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&[data-pressed="true"] {
|
|
106
|
-
box-shadow: none;
|
|
107
|
-
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
108
|
-
color: var(--ax-text-neutral-contrast);
|
|
109
|
-
|
|
110
|
-
&:hover {
|
|
111
|
-
background-color: var(--ax-bg-neutral-strong-hover);
|
|
89
|
+
background-color: var(--ax-bg-strong-hover);
|
|
112
90
|
}
|
|
113
91
|
}
|
|
114
92
|
}
|
|
@@ -122,23 +100,11 @@
|
|
|
122
100
|
/* ----------------------------- Chips removable ---------------------------- */
|
|
123
101
|
.aksel-chips__removable {
|
|
124
102
|
gap: 0;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.aksel-chips__removable--action {
|
|
128
|
-
background: var(--ax-bg-accent-strong-pressed);
|
|
129
|
-
color: var(--ax-text-accent-contrast);
|
|
130
|
-
|
|
131
|
-
&:hover {
|
|
132
|
-
background: var(--ax-bg-accent-strong-hover);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.aksel-chips__removable--neutral {
|
|
137
|
-
background: var(--ax-bg-neutral-strong-pressed);
|
|
138
|
-
color: var(--ax-text-neutral-contrast);
|
|
103
|
+
background: var(--ax-bg-strong-pressed);
|
|
104
|
+
color: var(--ax-text-contrast);
|
|
139
105
|
|
|
140
106
|
&:hover {
|
|
141
|
-
background: var(--ax-bg-
|
|
107
|
+
background: var(--ax-bg-strong-hover);
|
|
142
108
|
}
|
|
143
109
|
}
|
|
144
110
|
|
|
@@ -148,7 +114,7 @@
|
|
|
148
114
|
font-size: 1.25rem;
|
|
149
115
|
display: grid;
|
|
150
116
|
place-items: center;
|
|
151
|
-
border-radius: var(--ax-
|
|
117
|
+
border-radius: var(--ax-radius-full);
|
|
152
118
|
}
|
|
153
119
|
|
|
154
120
|
.aksel-chips--icon-left {
|