@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
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
left: 0;
|
|
58
58
|
width: 100%;
|
|
59
59
|
height: calc(100% - var(--__axc-switch-block-padding) * 2);
|
|
60
|
-
border-radius: var(--ax-
|
|
60
|
+
border-radius: var(--ax-radius-4);
|
|
61
61
|
outline: 3px solid var(--ax-border-focus);
|
|
62
62
|
outline-offset: 3px;
|
|
63
63
|
pointer-events: none;
|
|
@@ -68,11 +68,6 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.aksel-switch__input:hover ~ .aksel-switch__label-wrapper,
|
|
72
|
-
.aksel-switch__label-wrapper:hover {
|
|
73
|
-
color: var(--ax-text-accent-subtle);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
71
|
.aksel-switch__input:disabled:hover ~ .aksel-switch__label-wrapper {
|
|
77
72
|
color: inherit;
|
|
78
73
|
}
|
|
@@ -85,24 +80,28 @@
|
|
|
85
80
|
position: absolute;
|
|
86
81
|
top: var(--ax-space-12);
|
|
87
82
|
left: 0;
|
|
88
|
-
border-radius: var(--ax-
|
|
83
|
+
border-radius: var(--ax-radius-full);
|
|
89
84
|
border: 2px solid var(--ax-border-neutral);
|
|
90
85
|
transition-property: background-color, border-color;
|
|
91
86
|
transition-duration: 100ms;
|
|
92
|
-
transition-timing-function:
|
|
87
|
+
transition-timing-function: ease;
|
|
93
88
|
|
|
94
89
|
.aksel-switch--small > & {
|
|
95
90
|
top: var(--ax-space-4);
|
|
96
91
|
}
|
|
97
92
|
|
|
98
93
|
.aksel-switch__input:checked ~ & {
|
|
99
|
-
background-color: var(--ax-bg-
|
|
100
|
-
border-color: var(--ax-bg-
|
|
94
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
95
|
+
border-color: var(--ax-bg-strong-pressed);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.aksel-switch__input:hover ~ & {
|
|
99
|
+
background-color: var(--ax-bg-neutral-moderate-hover);
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
.aksel-switch__input:hover:checked ~ & {
|
|
104
|
-
background-color: var(--ax-bg-
|
|
105
|
-
border-color: var(--ax-bg-
|
|
103
|
+
background-color: var(--ax-bg-strong-hover);
|
|
104
|
+
border-color: var(--ax-bg-strong-hover);
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
.aksel-switch__input:disabled ~ & {
|
|
@@ -111,8 +110,8 @@
|
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
.aksel-switch__input:checked:disabled ~ & {
|
|
114
|
-
background-color: var(--ax-bg-
|
|
115
|
-
border-color: var(--ax-bg-
|
|
113
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
114
|
+
border-color: var(--ax-bg-strong-pressed);
|
|
116
115
|
}
|
|
117
116
|
|
|
118
117
|
.aksel-switch--standalone > .aksel-switch__input:focus ~ & {
|
|
@@ -124,7 +123,7 @@
|
|
|
124
123
|
/* ------------------------------ Switch Thumb ------------------------------ */
|
|
125
124
|
.aksel-switch__thumb {
|
|
126
125
|
background-color: var(--ax-bg-neutral-strong);
|
|
127
|
-
border-radius: var(--ax-
|
|
126
|
+
border-radius: var(--ax-radius-full);
|
|
128
127
|
width: 1.125rem;
|
|
129
128
|
height: 1.125rem;
|
|
130
129
|
position: absolute;
|
|
@@ -139,7 +138,7 @@
|
|
|
139
138
|
.aksel-switch__input:checked ~ .aksel-switch__track > & {
|
|
140
139
|
background-color: var(--ax-bg-raised);
|
|
141
140
|
transform: translateX(1.25rem);
|
|
142
|
-
color: var(--ax-text-
|
|
141
|
+
color: var(--ax-text-subtle);
|
|
143
142
|
width: 1.25rem;
|
|
144
143
|
height: 1.25rem;
|
|
145
144
|
left: 0;
|
|
@@ -160,11 +159,11 @@
|
|
|
160
159
|
|
|
161
160
|
@media (hover: hover) and (pointer: fine) {
|
|
162
161
|
.aksel-switch__input:hover:not(:disabled) ~ .aksel-switch__track > .aksel-switch__thumb {
|
|
163
|
-
transform: translateX(0.
|
|
162
|
+
transform: translateX(0.17rem);
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
.aksel-switch__input:checked:hover:not(:disabled) ~ .aksel-switch__track > .aksel-switch__thumb {
|
|
167
|
-
transform: translateX(1.
|
|
166
|
+
transform: translateX(1.1rem);
|
|
168
167
|
}
|
|
169
168
|
}
|
|
170
169
|
|
|
@@ -207,11 +206,6 @@
|
|
|
207
206
|
cursor: default;
|
|
208
207
|
}
|
|
209
208
|
|
|
210
|
-
& > .aksel-switch__input:hover ~ .aksel-switch__label-wrapper,
|
|
211
|
-
& .aksel-switch__label-wrapper:hover {
|
|
212
|
-
color: var(--ax-text-neutral);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
209
|
& .aksel-switch__label {
|
|
216
210
|
display: inline-flex;
|
|
217
211
|
}
|
|
@@ -238,11 +232,6 @@
|
|
|
238
232
|
|
|
239
233
|
/* ------------------------ Switch Forced colors mode ----------------------- */
|
|
240
234
|
@media (forced-colors: active) {
|
|
241
|
-
.aksel-switch__input:hover ~ .aksel-switch__label-wrapper,
|
|
242
|
-
.aksel-switch__label-wrapper:hover {
|
|
243
|
-
color: highlight;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
235
|
.aksel-switch__thumb,
|
|
247
236
|
.aksel-switch--readonly .aksel-switch__thumb {
|
|
248
237
|
background-color: fieldtext !important;
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
appearance: none;
|
|
3
3
|
padding: var(--ax-space-8);
|
|
4
4
|
background: var(--ax-bg-input);
|
|
5
|
-
border-radius: var(--ax-
|
|
5
|
+
border-radius: var(--ax-radius-8);
|
|
6
6
|
border: 1px solid var(--ax-border-neutral);
|
|
7
7
|
min-height: 3rem;
|
|
8
8
|
width: 100%;
|
|
9
9
|
color: var(--ax-text-neutral);
|
|
10
10
|
|
|
11
11
|
&:hover {
|
|
12
|
-
border-color: var(--ax-border-
|
|
12
|
+
border-color: var(--ax-border-strong);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&:focus-visible {
|
|
16
|
-
border-color: var(--ax-border-
|
|
16
|
+
border-color: var(--ax-border-strong);
|
|
17
17
|
outline: 3px solid var(--ax-border-focus);
|
|
18
18
|
outline-offset: 3px;
|
|
19
19
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
appearance: none;
|
|
5
5
|
padding: var(--ax-space-8);
|
|
6
6
|
background-color: var(--ax-bg-input);
|
|
7
|
-
border-radius: var(--ax-
|
|
7
|
+
border-radius: var(--ax-radius-8);
|
|
8
8
|
border: 1px solid var(--ax-border-neutral);
|
|
9
9
|
resize: none;
|
|
10
10
|
width: 100%;
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&:hover {
|
|
19
|
-
border-color: var(--ax-border-
|
|
19
|
+
border-color: var(--ax-border-strong);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&:focus-visible {
|
|
23
23
|
outline: 3px solid var(--ax-border-focus);
|
|
24
24
|
outline-offset: 3px;
|
|
25
|
-
border-color: var(--ax-border-
|
|
25
|
+
border-color: var(--ax-border-strong);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:disabled {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
|
|
35
35
|
.aksel-guide {
|
|
36
36
|
box-sizing: border-box;
|
|
37
|
-
border: 2px solid var(--ax-border-
|
|
38
|
-
border-radius: var(--ax-
|
|
37
|
+
border: 2px solid var(--ax-border-default);
|
|
38
|
+
border-radius: var(--ax-radius-full);
|
|
39
39
|
overflow: hidden;
|
|
40
40
|
width: var(--__axc-guide-panel-guide-size);
|
|
41
41
|
height: var(--__axc-guide-panel-guide-size);
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
|
|
51
51
|
.aksel-guide-panel__content {
|
|
52
52
|
background-color: var(--ax-bg-raised);
|
|
53
|
-
border: 2px solid var(--ax-border-
|
|
54
|
-
border-radius: var(--ax-
|
|
53
|
+
border: 2px solid var(--ax-border-default);
|
|
54
|
+
border-radius: var(--ax-radius-12);
|
|
55
55
|
position: relative;
|
|
56
56
|
|
|
57
57
|
.aksel-guide-panel:is([data-poster="true"], [data-responsive="true"]) > & {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
|
|
73
73
|
.aksel-guide-panel__content-inner {
|
|
74
74
|
padding: var(--ax-space-16);
|
|
75
|
-
border-radius: var(--ax-
|
|
75
|
+
border-radius: var(--ax-radius-12);
|
|
76
76
|
background-color: var(--ax-bg-raised);
|
|
77
77
|
position: relative;
|
|
78
78
|
height: 100%;
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
border: 0;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
background-color: transparent;
|
|
6
|
-
border-radius: var(--ax-
|
|
6
|
+
border-radius: var(--ax-radius-full);
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: center;
|
|
9
9
|
align-items: center;
|
|
10
|
-
color: var(--ax-bg-
|
|
10
|
+
color: var(--ax-bg-strong);
|
|
11
11
|
font-size: 1.25rem;
|
|
12
12
|
padding: calc(var(--ax-space-4) / 2);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.aksel-help-text__icon {
|
|
16
|
-
border-radius: var(--ax-
|
|
16
|
+
border-radius: var(--ax-radius-full);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.aksel-help-text__popover.aksel-popover {
|
|
20
|
-
background-color: var(--ax-bg-
|
|
20
|
+
background-color: var(--ax-bg-moderate);
|
|
21
21
|
max-width: min(65ch, calc(100vw - var(--ax-space-24)));
|
|
22
|
-
border-radius: var(--ax-
|
|
23
|
-
border: 1px solid var(--ax-border-
|
|
22
|
+
border-radius: var(--ax-radius-8);
|
|
23
|
+
border: 1px solid var(--ax-border-default);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.aksel-help-text__icon--filled {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
|
|
34
34
|
.aksel-help-text__button:where(:hover, :focus-visible, [aria-expanded="true"]) > .aksel-help-text__icon--filled {
|
|
35
35
|
display: inherit;
|
|
36
|
-
color: var(--ax-bg-
|
|
36
|
+
color: var(--ax-bg-strong-hover);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.aksel-help-text__button[aria-expanded="true"] > .aksel-help-text__icon--filled {
|
|
40
|
-
color: var(--ax-bg-
|
|
40
|
+
color: var(--ax-bg-strong-pressed);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
@media (forced-colors: active) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.aksel-link {
|
|
2
|
-
color: var(--ax-text-
|
|
2
|
+
color: var(--ax-text-subtle);
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
gap: var(--ax-space-2);
|
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
border-radius: 1px;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
&[data-color="neutral"] {
|
|
22
|
+
color: var(--ax-text-default);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-variant="subtle"] {
|
|
26
|
+
color: var(--ax-text-subtle);
|
|
27
|
+
}
|
|
28
|
+
|
|
21
29
|
&.aksel-link--inline-text {
|
|
22
30
|
display: inline;
|
|
23
31
|
|
|
@@ -47,18 +55,6 @@
|
|
|
47
55
|
.aksel-alert:not(.aksel-alert--inline),
|
|
48
56
|
.aksel-confirmation-panel {
|
|
49
57
|
& .aksel-link {
|
|
50
|
-
color: var(--ax-text-
|
|
58
|
+
color: var(--ax-text-default);
|
|
51
59
|
}
|
|
52
60
|
}
|
|
53
|
-
|
|
54
|
-
.aksel-link--action {
|
|
55
|
-
color: var(--ax-text-accent-subtle);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.aksel-link--neutral {
|
|
59
|
-
color: var(--ax-text-neutral);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.aksel-link--subtle {
|
|
63
|
-
color: var(--ax-text-neutral-subtle);
|
|
64
|
-
}
|
|
@@ -38,22 +38,19 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* SAFARI HACK START */
|
|
41
|
-
/* stylelint-disable selector-type-no-unknown */
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
42
|
+
/* biome-ignore lint/a11y/useGenericFontNames: Hack for targeting Safari */
|
|
43
|
+
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
|
|
44
|
+
.aksel-list ol {
|
|
45
|
+
padding-left: 2.1rem;
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
padding-left: 0;
|
|
48
|
+
.aksel-list ol .aksel-list__item {
|
|
49
|
+
padding-left: 0;
|
|
50
|
+
}
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
/* SAFARI HACK END */
|
|
56
|
-
/* stylelint-enable selector-type-no-unknown */
|
|
57
54
|
|
|
58
55
|
.aksel-list__item {
|
|
59
56
|
margin-block-end: var(--ax-space-8);
|
|
@@ -61,39 +61,21 @@
|
|
|
61
61
|
animation: loader-dasharray 1.5s ease-in-out infinite;
|
|
62
62
|
stroke-dasharray: 80px, 200px;
|
|
63
63
|
stroke-dashoffset: 0;
|
|
64
|
-
stroke: var(--ax-border-
|
|
64
|
+
stroke: var(--ax-border-strong);
|
|
65
65
|
stroke-linecap: round;
|
|
66
66
|
stroke-width: var(--__axc-loader-stroke-width);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.aksel-loader__background {
|
|
70
|
-
stroke: var(--ax-border-neutral-subtleA);
|
|
71
|
-
stroke-width: var(--__axc-loader-stroke-width);
|
|
72
|
-
}
|
|
73
67
|
|
|
74
|
-
.aksel-loader
|
|
75
|
-
|
|
76
|
-
stroke: var(--ax-border-neutral-strong);
|
|
68
|
+
.aksel-loader[data-variant="inverted"] & {
|
|
69
|
+
stroke: var(--ax-border-subtle);
|
|
77
70
|
}
|
|
78
71
|
}
|
|
79
72
|
|
|
80
|
-
.aksel-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
& .aksel-loader__background {
|
|
86
|
-
stroke: var(--ax-border-accent-subtleA);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.aksel-loader--inverted {
|
|
91
|
-
& .aksel-loader__foreground {
|
|
92
|
-
stroke: var(--ax-border-neutral-subtle);
|
|
93
|
-
}
|
|
73
|
+
.aksel-loader__background {
|
|
74
|
+
stroke: var(--ax-border-subtleA);
|
|
75
|
+
stroke-width: var(--__axc-loader-stroke-width);
|
|
94
76
|
|
|
95
|
-
|
|
96
|
-
stroke: var(--ax-border-
|
|
77
|
+
.aksel-loader[data-variant="inverted"] & {
|
|
78
|
+
stroke: var(--ax-border-strong);
|
|
97
79
|
}
|
|
98
80
|
}
|
|
99
81
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
background: var(--ax-bg-raised);
|
|
4
4
|
box-shadow: var(--ax-shadow-dialog);
|
|
5
5
|
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
6
|
-
border-radius: var(--ax-
|
|
6
|
+
border-radius: var(--ax-radius-12);
|
|
7
7
|
|
|
8
8
|
/* Creates a small gutter between screen-edges on smaller devices */
|
|
9
9
|
max-width: calc(100vw - var(--ax-space-24));
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
border-width: var(--__axc-box-border-width, 0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.aksel-box-
|
|
21
|
-
--__axc-box-
|
|
22
|
-
--__axc-box-
|
|
23
|
-
--__axc-box-
|
|
24
|
-
--__axc-box-
|
|
25
|
-
--__axc-box-
|
|
26
|
-
--__axc-box-
|
|
27
|
-
--__axc-box-
|
|
20
|
+
.aksel-box-radius {
|
|
21
|
+
--__axc-box-radius-xs: initial;
|
|
22
|
+
--__axc-box-radius-sm: var(--__axc-box-radius-xs);
|
|
23
|
+
--__axc-box-radius-md: var(--__axc-box-radius-sm);
|
|
24
|
+
--__axc-box-radius-lg: var(--__axc-box-radius-md);
|
|
25
|
+
--__axc-box-radius-xl: var(--__axc-box-radius-lg);
|
|
26
|
+
--__axc-box-radius-2xl: var(--__axc-box-radius-xl);
|
|
27
|
+
--__axc-box-radius: var(--__axc-box-radius-xs);
|
|
28
28
|
|
|
29
|
-
border-radius: var(--__axc-box-
|
|
29
|
+
border-radius: var(--__axc-box-radius);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.aksel-box-shadow {
|
|
@@ -36,31 +36,31 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@media (min-width: 480px) {
|
|
39
|
-
.aksel-box-
|
|
40
|
-
--__axc-box-
|
|
39
|
+
.aksel-box-radius {
|
|
40
|
+
--__axc-box-radius: var(--__axc-box-radius-sm);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
@media (min-width: 768px) {
|
|
45
|
-
.aksel-box-
|
|
46
|
-
--__axc-box-
|
|
45
|
+
.aksel-box-radius {
|
|
46
|
+
--__axc-box-radius: var(--__axc-box-radius-md);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@media (min-width: 1024px) {
|
|
51
|
-
.aksel-box-
|
|
52
|
-
--__axc-box-
|
|
51
|
+
.aksel-box-radius {
|
|
52
|
+
--__axc-box-radius: var(--__axc-box-radius-lg);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@media (min-width: 1280px) {
|
|
57
|
-
.aksel-box-
|
|
58
|
-
--__axc-box-
|
|
57
|
+
.aksel-box-radius {
|
|
58
|
+
--__axc-box-radius: var(--__axc-box-radius-xl);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@media (min-width: 1440px) {
|
|
63
|
-
.aksel-box-
|
|
64
|
-
--__axc-box-
|
|
63
|
+
.aksel-box-radius {
|
|
64
|
+
--__axc-box-radius: var(--__axc-box-radius-2xl);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.aksel-progress-bar {
|
|
2
2
|
background: var(--ax-bg-neutral-moderateA);
|
|
3
3
|
position: relative;
|
|
4
|
-
border-radius: var(--ax-
|
|
4
|
+
border-radius: var(--ax-radius-full);
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
box-shadow: inset 0 0 0 1px var(--ax-border-neutral-subtleA);
|
|
7
7
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
--__ac-progress-bar-translate: initial;
|
|
27
27
|
|
|
28
28
|
transform: translateX(var(--__ac-progress-bar-translate));
|
|
29
|
-
background: var(--ax-bg-
|
|
29
|
+
background: var(--ax-bg-strong);
|
|
30
30
|
transform-origin: left;
|
|
31
31
|
position: absolute;
|
|
32
32
|
top: 0;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: flex-start;
|
|
16
16
|
gap: var(--ax-space-4);
|
|
17
|
-
color: var(--ax-text-
|
|
17
|
+
color: var(--ax-text-subtle);
|
|
18
18
|
padding-inline: var(--__axc-read-more-pi-start) var(--__axc-read-more-pi-end);
|
|
19
19
|
padding-block: var(--__axc-read-more-pb);
|
|
20
20
|
text-align: start;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
.aksel-read-more:is([data-volume="low"], :not([data-volume])) {
|
|
33
33
|
& .aksel-read-more__button {
|
|
34
|
-
border-radius: var(--ax-
|
|
34
|
+
border-radius: var(--ax-radius-4);
|
|
35
35
|
|
|
36
36
|
&:hover {
|
|
37
37
|
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
|
|
42
42
|
.aksel-read-more[data-volume="high"] {
|
|
43
43
|
& .aksel-read-more__button {
|
|
44
|
-
background-color: var(--ax-bg-
|
|
45
|
-
border-radius: var(--ax-
|
|
44
|
+
background-color: var(--ax-bg-moderate);
|
|
45
|
+
border-radius: var(--ax-radius-full);
|
|
46
46
|
|
|
47
47
|
&:hover {
|
|
48
|
-
background-color: var(--ax-bg-
|
|
49
|
-
color: var(--ax-text-
|
|
48
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
49
|
+
color: var(--ax-text-default);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
height: auto;
|
|
30
30
|
transform-origin: 0 55%;
|
|
31
31
|
transform: scale(1, 0.6);
|
|
32
|
-
border-radius: var(--ax-
|
|
32
|
+
border-radius: var(--ax-radius-8);
|
|
33
33
|
|
|
34
34
|
&:empty::before {
|
|
35
35
|
content: "\00a0";
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.aksel-skeleton--circle {
|
|
40
|
-
border-radius: var(--ax-
|
|
40
|
+
border-radius: var(--ax-radius-full);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.aksel-skeleton--rectangle {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.aksel-skeleton--rounded {
|
|
48
|
-
border-radius: var(--ax-
|
|
48
|
+
border-radius: var(--ax-radius-12);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@keyframes akselSkeletonAnimation {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--__axc-stepper-border-width: 2px;
|
|
4
4
|
--__axc-stepper-line-length: 1rem;
|
|
5
5
|
|
|
6
|
-
color: var(--ax-text-
|
|
6
|
+
color: var(--ax-text-subtle);
|
|
7
7
|
font-weight: var(--ax-font-weight-bold);
|
|
8
8
|
line-height: 1;
|
|
9
9
|
list-style: none;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.aksel-stepper__line {
|
|
25
|
-
background-color: var(--ax-border-
|
|
25
|
+
background-color: var(--ax-border-default);
|
|
26
26
|
width: var(--__axc-stepper-border-width);
|
|
27
27
|
height: 100%;
|
|
28
28
|
min-height: var(--__axc-stepper-line-length);
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
width: var(--__axc-stepper-circle-size);
|
|
99
99
|
height: var(--__axc-stepper-circle-size);
|
|
100
100
|
border: var(--__axc-stepper-border-width) solid currentColor;
|
|
101
|
-
border-radius: var(--ax-
|
|
101
|
+
border-radius: var(--ax-radius-full);
|
|
102
102
|
line-height: 1;
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.aksel-stepper__step[data-interactive="true"] {
|
|
111
|
-
color: var(--ax-text-
|
|
112
|
-
border-radius: var(--ax-
|
|
111
|
+
color: var(--ax-text-subtle);
|
|
112
|
+
border-radius: var(--ax-radius-4);
|
|
113
113
|
text-decoration: none;
|
|
114
114
|
|
|
115
115
|
& .aksel-stepper__content {
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
& .aksel-stepper__circle {
|
|
129
|
-
color: var(--ax-text-
|
|
130
|
-
border-color: var(--ax-border-
|
|
129
|
+
color: var(--ax-text-subtle);
|
|
130
|
+
border-color: var(--ax-border-strong);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
&[data-active="true"] {
|
|
@@ -136,17 +136,17 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
& .aksel-stepper__circle {
|
|
139
|
-
color: var(--ax-text-
|
|
140
|
-
background-color: var(--ax-bg-
|
|
141
|
-
border-color: var(--ax-bg-
|
|
139
|
+
color: var(--ax-text-contrast);
|
|
140
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
141
|
+
border-color: var(--ax-bg-strong-pressed);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
&[data-active="false"] {
|
|
146
146
|
&:hover {
|
|
147
147
|
& .aksel-stepper__circle {
|
|
148
|
-
background-color: var(--ax-bg-
|
|
149
|
-
border-color: var(--ax-border-
|
|
148
|
+
background-color: var(--ax-bg-moderate-hoverA);
|
|
149
|
+
border-color: var(--ax-border-strong);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
}
|