@navikt/ds-css 7.5.2 → 7.6.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 +20 -0
- package/darkside/action-menu.darkside.css +1 -6
- package/darkside/button.darkside.css +128 -141
- package/darkside/chips.darkside.css +6 -0
- package/darkside/expansioncard.darkside.css +2 -9
- package/darkside/form/combobox.darkside.css +255 -217
- package/darkside/form/file-upload.darkside.css +9 -9
- package/darkside/form/form-summary.darkside.css +1 -0
- package/darkside/form/index.css +14 -16
- package/darkside/form/select.darkside.css +74 -68
- package/darkside/form/switch.darkside.css +125 -132
- package/darkside/form/text-field.darkside.css +1 -1
- package/darkside/form/textarea.darkside.css +36 -78
- package/darkside/help-text.darkside.css +0 -6
- package/darkside/index.css +24 -12
- package/darkside/internalheader.darkside.css +45 -49
- package/darkside/modal.darkside.css +1 -4
- package/darkside/popover.darkside.css +1 -4
- package/darkside/primitives/index.css +30 -34
- package/darkside/read-more.darkside.css +68 -57
- package/darkside/skeleton.darkside.css +21 -24
- package/darkside/stepper.darkside.css +181 -221
- package/darkside/tabs.darkside.css +67 -74
- package/dist/component/form.css +22 -18
- package/dist/component/form.min.css +2 -2
- package/dist/component/index.css +40 -22
- package/dist/component/index.min.css +3 -3
- package/dist/component/modal.css +8 -0
- package/dist/component/modal.min.css +1 -1
- package/dist/component/readmore.css +4 -0
- package/dist/component/readmore.min.css +1 -1
- package/dist/components.css +40 -22
- package/dist/components.min.css +3 -3
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +40 -22
- package/dist/index.min.css +3 -3
- package/form/combobox.css +9 -2
- package/form/file-upload.css +7 -9
- package/form/select.css +2 -9
- package/form/switch.css +8 -0
- package/modal.css +8 -0
- package/package.json +2 -2
- package/read-more.css +4 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.navds-skeleton {
|
|
2
|
-
background-color: var(--
|
|
2
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
3
3
|
height: 1.3em;
|
|
4
|
-
animation: akselSkeletonAnimation 0.
|
|
4
|
+
animation: akselSkeletonAnimation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
5
5
|
pointer-events: none;
|
|
6
6
|
}
|
|
7
7
|
|
|
@@ -11,33 +11,33 @@
|
|
|
11
11
|
|
|
12
12
|
.navds-skeleton--has-children {
|
|
13
13
|
color: transparent;
|
|
14
|
-
}
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
15
|
+
& > * {
|
|
16
|
+
visibility: hidden;
|
|
17
|
+
}
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
19
|
+
&.navds-skeleton--no-height {
|
|
20
|
+
height: auto;
|
|
21
|
+
}
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
&.navds-skeleton--no-width {
|
|
24
|
+
width: fit-content;
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.navds-skeleton--text {
|
|
29
29
|
height: auto;
|
|
30
30
|
transform-origin: 0 55%;
|
|
31
31
|
transform: scale(1, 0.6);
|
|
32
|
-
border-radius: var(--
|
|
33
|
-
}
|
|
32
|
+
border-radius: var(--ax-border-radius-large);
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
&:empty::before {
|
|
35
|
+
content: "\00a0";
|
|
36
|
+
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.navds-skeleton--circle {
|
|
40
|
-
border-radius: var(--
|
|
40
|
+
border-radius: var(--ax-border-radius-full);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.navds-skeleton--rectangle {
|
|
@@ -45,23 +45,20 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.navds-skeleton--rounded {
|
|
48
|
-
border-radius: var(--
|
|
48
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@keyframes akselSkeletonAnimation {
|
|
52
|
-
|
|
53
|
-
opacity:
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
100% {
|
|
57
|
-
opacity: 0.4;
|
|
52
|
+
50% {
|
|
53
|
+
opacity: 0.5;
|
|
58
54
|
}
|
|
59
55
|
}
|
|
60
56
|
|
|
61
57
|
@media (forced-colors: active) {
|
|
62
58
|
.navds-skeleton {
|
|
63
59
|
forced-color-adjust: none;
|
|
64
|
-
background-color:
|
|
60
|
+
background-color: canvastext;
|
|
65
61
|
animation-duration: 2s;
|
|
62
|
+
opacity: 0.2;
|
|
66
63
|
}
|
|
67
64
|
}
|
|
@@ -1,47 +1,44 @@
|
|
|
1
1
|
.navds-stepper {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
2
|
+
--__axc-stepper-circle-size: 1.75rem;
|
|
3
|
+
--__axc-stepper-border-width: 2px;
|
|
4
|
+
--__axc-stepper-line-length: 1rem;
|
|
5
5
|
|
|
6
|
-
color: var(--
|
|
7
|
-
font-weight:
|
|
6
|
+
color: var(--ax-text-accent);
|
|
7
|
+
font-weight: var(--ax-font-weight-bold);
|
|
8
8
|
line-height: 1;
|
|
9
9
|
list-style: none;
|
|
10
10
|
padding-left: 0;
|
|
11
11
|
margin: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.navds-stepper--horizontal {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: flex-start;
|
|
17
|
-
text-align: center;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
14
|
.navds-stepper__item {
|
|
21
15
|
display: grid;
|
|
22
16
|
grid-template-rows:
|
|
23
|
-
[line-1] auto [step-start] var(--
|
|
17
|
+
[line-1] auto [step-start] var(--__axc-stepper-circle-size)
|
|
24
18
|
[line-2 step-end] auto;
|
|
25
|
-
grid-template-columns: var(--
|
|
19
|
+
grid-template-columns: var(--__axc-stepper-circle-size) auto;
|
|
26
20
|
justify-items: flex-start;
|
|
27
|
-
gap:
|
|
21
|
+
gap: var(--ax-spacing-2);
|
|
28
22
|
}
|
|
29
23
|
|
|
30
24
|
.navds-stepper__line {
|
|
31
|
-
background-color: var(--
|
|
32
|
-
width: var(--
|
|
25
|
+
background-color: var(--ax-border-accent);
|
|
26
|
+
width: var(--__axc-stepper-border-width);
|
|
33
27
|
height: 100%;
|
|
34
|
-
min-height: var(--
|
|
28
|
+
min-height: var(--__axc-stepper-line-length);
|
|
35
29
|
justify-self: center;
|
|
36
30
|
grid-column: 1;
|
|
37
|
-
}
|
|
38
31
|
|
|
39
|
-
.navds-
|
|
40
|
-
|
|
32
|
+
.navds-stepper__item--non-interactive & {
|
|
33
|
+
background-color: var(--ax-border-neutral-strong);
|
|
34
|
+
}
|
|
41
35
|
}
|
|
42
36
|
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
/* Line before non-interactive step */
|
|
38
|
+
.navds-stepper__item:has(+ .navds-stepper__item > .navds-stepper__step[data-interactive="false"]) {
|
|
39
|
+
.navds-stepper__line--2 {
|
|
40
|
+
background-color: var(--ax-border-neutral-strong);
|
|
41
|
+
}
|
|
45
42
|
}
|
|
46
43
|
|
|
47
44
|
.navds-stepper__line--1 {
|
|
@@ -51,89 +48,45 @@
|
|
|
51
48
|
|
|
52
49
|
.navds-stepper__line--2 {
|
|
53
50
|
grid-row: line-2;
|
|
54
|
-
}
|
|
55
51
|
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
/* Hide last line under item */
|
|
53
|
+
.navds-stepper__item:last-of-type & {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
58
56
|
}
|
|
59
57
|
|
|
60
58
|
.navds-stepper__step {
|
|
61
59
|
grid-row: 2 / -1;
|
|
62
60
|
grid-column: 1 / -1;
|
|
63
61
|
display: grid;
|
|
64
|
-
grid-template-columns: [circle] var(--
|
|
65
|
-
gap: var(--
|
|
62
|
+
grid-template-columns: [circle] var(--__axc-stepper-circle-size) [content] auto;
|
|
63
|
+
gap: var(--ax-spacing-2);
|
|
66
64
|
justify-content: flex-start;
|
|
67
|
-
text-decoration: none;
|
|
68
65
|
cursor: pointer;
|
|
69
|
-
padding: var(--
|
|
70
|
-
margin: calc(var(--
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.navds-stepper__item:last-child .navds-stepper__step {
|
|
74
|
-
margin-bottom: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@media (forced-colors: active) {
|
|
78
|
-
.navds-stepper__step {
|
|
79
|
-
background-color: ButtonFace;
|
|
80
|
-
color: ButtonText;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.navds-stepper__circle.navds-stepper__circle {
|
|
84
|
-
border: 0;
|
|
85
|
-
}
|
|
66
|
+
padding: var(--__axc-stepper-border-width);
|
|
67
|
+
margin: calc(var(--__axc-stepper-border-width) * -1) calc(var(--__axc-stepper-border-width) * -1)
|
|
68
|
+
var(--__axc-stepper-circle-size);
|
|
86
69
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
border-color: ButtonText;
|
|
91
|
-
color: ButtonFace;
|
|
92
|
-
}
|
|
70
|
+
&:focus-visible {
|
|
71
|
+
outline: 2px solid var(--ax-border-focus);
|
|
72
|
+
outline-offset: 4px;
|
|
93
73
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
outline: 2px solid highlight;
|
|
97
|
-
outline-offset: 2px;
|
|
74
|
+
/* Isolate item to make outline show above line--2 */
|
|
75
|
+
isolation: isolate;
|
|
98
76
|
}
|
|
99
77
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
border-color: highlighttext;
|
|
104
|
-
color: highlighttext;
|
|
78
|
+
/* Remove last item bottom margin */
|
|
79
|
+
.navds-stepper__item:last-child & {
|
|
80
|
+
margin-bottom: 0;
|
|
105
81
|
}
|
|
106
82
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
border: none;
|
|
115
|
-
background-color: transparent;
|
|
116
|
-
font: inherit;
|
|
117
|
-
color: inherit;
|
|
118
|
-
text-align: inherit;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.navds-stepper__step--non-interactive {
|
|
122
|
-
color: var(--ac-stepper-non-interactive, var(--a-text-subtle));
|
|
123
|
-
cursor: default;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
:where(.navds-stepper__step):focus-visible {
|
|
127
|
-
outline: none;
|
|
128
|
-
box-shadow: var(--a-shadow-focus);
|
|
129
|
-
isolation: isolate;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@supports not selector(:focus-visible) {
|
|
133
|
-
.navds-stepper__step:focus {
|
|
134
|
-
outline: none;
|
|
135
|
-
box-shadow: var(--a-shadow-focus);
|
|
136
|
-
isolation: isolate;
|
|
83
|
+
&:is(button) {
|
|
84
|
+
appearance: none;
|
|
85
|
+
border: none;
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
font: inherit;
|
|
88
|
+
color: inherit;
|
|
89
|
+
text-align: inherit;
|
|
137
90
|
}
|
|
138
91
|
}
|
|
139
92
|
|
|
@@ -141,168 +94,175 @@ button.navds-stepper__step {
|
|
|
141
94
|
grid-column: circle;
|
|
142
95
|
display: inline-grid;
|
|
143
96
|
place-items: center;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
border: var(--
|
|
148
|
-
border-radius: var(--a-border-radius-full);
|
|
97
|
+
width: var(--__axc-stepper-circle-size);
|
|
98
|
+
height: var(--__axc-stepper-circle-size);
|
|
99
|
+
border: var(--__axc-stepper-border-width) solid currentColor;
|
|
100
|
+
border-radius: var(--ax-border-radius-full);
|
|
149
101
|
line-height: 1;
|
|
150
102
|
}
|
|
151
103
|
|
|
152
104
|
.navds-stepper__circle--success {
|
|
153
|
-
border: none;
|
|
154
105
|
background: none;
|
|
155
|
-
font-size:
|
|
156
|
-
color: var(--a-text-on-action);
|
|
157
|
-
background-color: var(--ac-stepper-text, var(--a-surface-action));
|
|
106
|
+
font-size: var(--__axc-stepper-circle-size);
|
|
158
107
|
}
|
|
159
108
|
|
|
160
|
-
.navds-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
padding-top: 0.035rem;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/* Horizontal */
|
|
168
|
-
:where(.navds-stepper--horizontal) .navds-stepper__item {
|
|
169
|
-
flex: 1 1 100%;
|
|
170
|
-
grid-template-columns:
|
|
171
|
-
[line-1-start] 1fr [step-start] auto [line-1-end] var(--navds-stepper-circle-size)
|
|
172
|
-
[line-2-start] auto [step-end] 1fr [line-2-end];
|
|
173
|
-
grid-template-rows: var(--navds-stepper-circle-size) auto;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
:where(.navds-stepper--horizontal) .navds-stepper__line {
|
|
177
|
-
height: var(--navds-stepper-border-width);
|
|
178
|
-
width: 100%;
|
|
179
|
-
min-height: auto;
|
|
180
|
-
grid-row: 1;
|
|
181
|
-
display: block;
|
|
182
|
-
align-self: center;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
:where(.navds-stepper--horizontal) .navds-stepper__line--1 {
|
|
186
|
-
grid-column: line-1;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
:where(.navds-stepper--horizontal) .navds-stepper__line--2 {
|
|
190
|
-
grid-column: line-2;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
:where(.navds-stepper--horizontal .navds-stepper__item:first-of-type) .navds-stepper__line--1,
|
|
194
|
-
:where(.navds-stepper--horizontal .navds-stepper__item:last-of-type) .navds-stepper__line--2 {
|
|
195
|
-
visibility: hidden;
|
|
196
|
-
}
|
|
109
|
+
.navds-stepper__step[data-interactive="true"] {
|
|
110
|
+
color: var(--ax-text-accent);
|
|
111
|
+
border-radius: var(--ax-border-radius-medium);
|
|
112
|
+
text-decoration: none;
|
|
197
113
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
grid-template-columns:
|
|
204
|
-
[content-start] auto [circle] var(--navds-stepper-circle-size)
|
|
205
|
-
[content-end] auto;
|
|
206
|
-
place-items: center center;
|
|
207
|
-
margin-bottom: 0;
|
|
208
|
-
}
|
|
114
|
+
& .navds-stepper__content {
|
|
115
|
+
text-decoration: underline;
|
|
116
|
+
text-underline-offset: 0.1em;
|
|
117
|
+
text-decoration-thickness: 0.05em;
|
|
118
|
+
}
|
|
209
119
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
120
|
+
&:hover,
|
|
121
|
+
&:active {
|
|
122
|
+
& .navds-stepper__content {
|
|
123
|
+
text-decoration-thickness: 0.111em;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
214
126
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
127
|
+
&:hover {
|
|
128
|
+
& .navds-stepper__circle {
|
|
129
|
+
color: var(--ax-text-accent-strong);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
220
132
|
|
|
221
|
-
|
|
222
|
-
:
|
|
223
|
-
|
|
224
|
-
}
|
|
133
|
+
& .navds-stepper__circle {
|
|
134
|
+
color: var(--ax-text-accent);
|
|
135
|
+
border-color: var(--ax-border-accent-strong);
|
|
136
|
+
}
|
|
225
137
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
138
|
+
&[data-active="true"] {
|
|
139
|
+
& .navds-stepper__content {
|
|
140
|
+
color: var(--ax-text-accent-strong);
|
|
141
|
+
text-decoration: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
& .navds-stepper__circle {
|
|
145
|
+
color: var(--ax-text-accent-contrast);
|
|
146
|
+
background-color: var(--ax-bg-accent-strong-pressed);
|
|
147
|
+
border-color: var(--ax-bg-accent-strong-pressed);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
229
150
|
|
|
230
|
-
|
|
231
|
-
|
|
151
|
+
&[data-active="false"] {
|
|
152
|
+
&:hover {
|
|
153
|
+
& .navds-stepper__circle {
|
|
154
|
+
background-color: var(--ax-bg-accent-moderate-hoverA);
|
|
155
|
+
border-color: var(--ax-border-accent-strong);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
232
159
|
}
|
|
233
160
|
|
|
234
|
-
|
|
235
|
-
text-
|
|
236
|
-
|
|
161
|
+
.navds-stepper__step[data-interactive="false"] {
|
|
162
|
+
color: var(--ax-text-neutral);
|
|
163
|
+
cursor: default;
|
|
237
164
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
165
|
+
& .navds-stepper__circle {
|
|
166
|
+
color: var(--ax-text-neutral);
|
|
167
|
+
border-color: var(--ax-border-neutral-strong);
|
|
168
|
+
}
|
|
243
169
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
170
|
+
&[data-active="true"] {
|
|
171
|
+
& .navds-stepper__content {
|
|
172
|
+
color: var(--ax-text-neutral-strong);
|
|
173
|
+
}
|
|
247
174
|
|
|
248
|
-
|
|
249
|
-
|
|
175
|
+
& .navds-stepper__circle {
|
|
176
|
+
color: var(--ax-text-neutral-contrast);
|
|
177
|
+
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
178
|
+
border-color: var(--ax-bg-neutral-strong-pressed);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
250
181
|
}
|
|
251
182
|
|
|
252
|
-
|
|
253
|
-
:
|
|
254
|
-
|
|
183
|
+
.navds-stepper__content {
|
|
184
|
+
min-width: fit-content;
|
|
185
|
+
line-height: 1.5;
|
|
186
|
+
grid-column: content;
|
|
187
|
+
padding-top: 0.035rem;
|
|
255
188
|
}
|
|
256
189
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
190
|
+
/* Horizontal */
|
|
191
|
+
.navds-stepper[data-orientation="horizontal"] {
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: flex-start;
|
|
194
|
+
text-align: center;
|
|
260
195
|
|
|
261
|
-
.navds-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
196
|
+
& .navds-stepper__line {
|
|
197
|
+
height: var(--__axc-stepper-border-width);
|
|
198
|
+
width: 100%;
|
|
199
|
+
min-height: auto;
|
|
200
|
+
grid-row: 1;
|
|
201
|
+
display: block;
|
|
202
|
+
align-self: center;
|
|
203
|
+
}
|
|
266
204
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
color: var(--ac-stepper-non-interactive-active-text, var(--a-text-on-inverted));
|
|
271
|
-
}
|
|
205
|
+
& .navds-stepper__line--1 {
|
|
206
|
+
grid-column: line-1;
|
|
207
|
+
}
|
|
272
208
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}
|
|
209
|
+
& .navds-stepper__line--2 {
|
|
210
|
+
grid-column: line-2;
|
|
211
|
+
}
|
|
276
212
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
213
|
+
& .navds-stepper__item {
|
|
214
|
+
flex: 1 1 100%;
|
|
215
|
+
grid-template-columns:
|
|
216
|
+
[line-1-start] 1fr [step-start] auto [line-1-end] var(--__axc-stepper-circle-size)
|
|
217
|
+
[line-2-start] auto [step-end] 1fr [line-2-end];
|
|
218
|
+
grid-template-rows: var(--__axc-stepper-circle-size) auto;
|
|
219
|
+
|
|
220
|
+
&:first-of-type .navds-stepper__line--1,
|
|
221
|
+
&:last-of-type .navds-stepper__line--2 {
|
|
222
|
+
visibility: hidden;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
280
225
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
226
|
+
& .navds-stepper__step {
|
|
227
|
+
grid-row: 1 / -1;
|
|
228
|
+
grid-column: step;
|
|
229
|
+
display: grid;
|
|
230
|
+
grid-template-rows: [circle] var(--__axc-stepper-circle-size) [content] auto;
|
|
231
|
+
grid-template-columns:
|
|
232
|
+
[content-start] auto [circle] var(--__axc-stepper-circle-size)
|
|
233
|
+
[content-end] auto;
|
|
234
|
+
place-items: center center;
|
|
235
|
+
margin-bottom: 0;
|
|
236
|
+
}
|
|
285
237
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
238
|
+
& .navds-stepper__circle {
|
|
239
|
+
grid-row: circle;
|
|
240
|
+
grid-column: 2;
|
|
241
|
+
}
|
|
290
242
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
243
|
+
& .navds-stepper__content {
|
|
244
|
+
grid-row: content;
|
|
245
|
+
grid-column: 1 / -1;
|
|
246
|
+
max-width: 24ch;
|
|
247
|
+
}
|
|
294
248
|
}
|
|
295
249
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
250
|
+
@media (forced-colors: active) {
|
|
251
|
+
.navds-stepper__circle.navds-stepper__circle {
|
|
252
|
+
border: 0;
|
|
253
|
+
outline: 2px solid ButtonText;
|
|
254
|
+
outline-offset: 2px;
|
|
255
|
+
}
|
|
300
256
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
}
|
|
257
|
+
.navds-stepper__line.navds-stepper__line {
|
|
258
|
+
background-color: ButtonText;
|
|
259
|
+
}
|
|
304
260
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
261
|
+
.navds-stepper__step[data-active="true"][data-interactive] {
|
|
262
|
+
.navds-stepper__circle {
|
|
263
|
+
forced-color-adjust: none;
|
|
264
|
+
background-color: highlight;
|
|
265
|
+
color: highlighttext;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
308
268
|
}
|