@navikt/ds-css 7.4.0 → 7.4.2
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 +8 -0
- package/darkside/accordion.darkside.css +198 -0
- package/darkside/action-menu.darkside.css +227 -0
- package/darkside/alert.darkside.css +113 -0
- package/darkside/baseline/theme.darkside.css +4 -2
- package/darkside/button.darkside.css +318 -4
- package/darkside/chat.darkside.css +120 -0
- package/darkside/chips.darkside.css +234 -0
- package/darkside/copybutton.darkside.css +226 -0
- package/darkside/date.darkside.css +344 -0
- package/darkside/dropdown.darkside.css +91 -0
- package/darkside/expansioncard.darkside.css +235 -0
- package/darkside/form/combobox.darkside.css +441 -0
- package/darkside/form/confirmation-panel.darkside.css +53 -0
- package/darkside/form/error-summary.darkside.css +55 -0
- package/darkside/form/fieldset.darkside.css +51 -0
- package/darkside/form/file-upload.darkside.css +230 -0
- package/darkside/form/form-progress.darkside.css +52 -0
- package/darkside/form/form-summary.darkside.css +78 -0
- package/darkside/form/form.darkside.css +61 -0
- package/darkside/form/index.css +16 -0
- package/darkside/form/radio-checkbox.darkside.css +356 -0
- package/darkside/form/search.darkside.css +228 -0
- package/darkside/form/select.darkside.css +115 -0
- package/darkside/form/switch.darkside.css +269 -0
- package/darkside/form/text-field.darkside.css +112 -0
- package/darkside/form/textarea.darkside.css +144 -0
- package/darkside/guide-panel.darkside.css +96 -0
- package/darkside/help-text.darkside.css +85 -0
- package/darkside/index copy.css +37 -0
- package/darkside/index.css +36 -1
- package/darkside/internalheader.darkside.css +105 -0
- package/darkside/link-panel.darkside.css +47 -0
- package/darkside/link.darkside.css +79 -0
- package/darkside/list.darkside.css +85 -0
- package/darkside/loader.darkside.css +119 -0
- package/darkside/modal.darkside.css +209 -0
- package/darkside/pagination.darkside.css +73 -0
- package/darkside/panel.darkside.css +10 -0
- package/darkside/popover.darkside.css +84 -0
- package/darkside/primitives/base.darkside.css +809 -0
- package/darkside/primitives/bleed.darkside.css +103 -0
- package/darkside/primitives/box.darkside.css +66 -0
- package/darkside/primitives/hgrid.darkside.css +80 -0
- package/darkside/primitives/index.css +36 -0
- package/darkside/primitives/page.darkside.css +63 -0
- package/darkside/primitives/responsive.darkside.css +59 -0
- package/darkside/primitives/stack.darkside.css +155 -0
- package/darkside/progress-bar.darkside.css +108 -0
- package/darkside/read-more.darkside.css +91 -0
- package/darkside/skeleton.darkside.css +67 -0
- package/darkside/stepper.darkside.css +308 -0
- package/darkside/table.darkside.css +286 -0
- package/darkside/tabs.darkside.css +154 -0
- package/darkside/tag.darkside.css +194 -0
- package/darkside/timeline.darkside.css +449 -0
- package/darkside/toggle-group.darkside.css +181 -0
- package/darkside/tooltip.darkside.css +81 -0
- package/darkside/typography.darkside.css +253 -0
- package/dist/component/form.css +0 -1
- package/dist/component/form.min.css +1 -1
- package/dist/component/index.css +1 -2
- package/dist/component/index.min.css +2 -2
- package/dist/components.css +1 -2
- package/dist/components.min.css +2 -2
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +1 -2
- package/dist/index.min.css +2 -2
- package/form/combobox.css +0 -1
- package/package.json +2 -2
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.navds-read-more__button {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
margin: 0;
|
|
4
|
+
border: none;
|
|
5
|
+
background: none;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
gap: var(--a-spacing-05);
|
|
9
|
+
color: var(--ac-read-more-text, var(--a-text-action));
|
|
10
|
+
border-radius: var(--a-border-radius-small);
|
|
11
|
+
padding: var(--a-spacing-1) var(--a-spacing-2) var(--a-spacing-1) var(--a-spacing-05);
|
|
12
|
+
text-align: start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.navds-read-more--small .navds-read-more__button {
|
|
16
|
+
padding: var(--a-spacing-05) var(--a-spacing-1-alt) var(--a-spacing-05) var(--a-spacing-05);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (forced-colors: active) {
|
|
20
|
+
.navds-read-more__button {
|
|
21
|
+
background-color: ButtonFace;
|
|
22
|
+
border: solid 1px ButtonText;
|
|
23
|
+
color: ButtonText;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.navds-read-more__button.navds-read-more__button:focus-visible {
|
|
27
|
+
box-shadow: none;
|
|
28
|
+
outline: 2px solid highlight;
|
|
29
|
+
outline-offset: 2px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.navds-read-more__button:hover {
|
|
34
|
+
background-color: var(--ac-read-more-hover-bg, var(--a-surface-hover));
|
|
35
|
+
color: var(--ac-read-more-hover-text, var(--a-text-action-hover));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.navds-read-more__button:active {
|
|
39
|
+
background-color: var(--ac-read-more-active-bg, var(--a-surface-active));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.navds-read-more__button:focus-visible {
|
|
43
|
+
outline: none;
|
|
44
|
+
box-shadow: var(--a-shadow-focus);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@supports not selector(:focus-visible) {
|
|
48
|
+
.navds-read-more__button:focus {
|
|
49
|
+
outline: none;
|
|
50
|
+
box-shadow: var(--a-shadow-focus);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.navds-read-more__content {
|
|
55
|
+
margin-top: var(--a-spacing-1);
|
|
56
|
+
border-left: 2px solid var(--ac-read-more-line, var(--a-border-divider));
|
|
57
|
+
margin-left: 0.8125rem;
|
|
58
|
+
padding-left: 0.8125rem;
|
|
59
|
+
color: var(--a-text-default);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.navds-read-more--small .navds-read-more__content {
|
|
63
|
+
margin-left: 0.6875rem;
|
|
64
|
+
padding-left: 0.6875rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.navds-read-more__content--closed {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.navds-read-more__expand-icon {
|
|
72
|
+
font-size: 1.5rem;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.navds-read-more--small .navds-read-more__expand-icon {
|
|
77
|
+
font-size: 1.25rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.navds-read-more__button:hover > .navds-read-more__expand-icon {
|
|
81
|
+
position: relative;
|
|
82
|
+
top: 1px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.navds-read-more--open > .navds-read-more__button > .navds-read-more__expand-icon {
|
|
86
|
+
transform: rotate(-180deg);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.navds-read-more--open > .navds-read-more__button:hover > .navds-read-more__expand-icon {
|
|
90
|
+
top: -1px;
|
|
91
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.navds-skeleton {
|
|
2
|
+
background-color: var(--ac-skeleton-bg, var(--a-surface-neutral-moderate));
|
|
3
|
+
height: 1.3em;
|
|
4
|
+
animation: akselSkeletonAnimation 0.8s linear infinite alternate;
|
|
5
|
+
pointer-events: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.navds-skeleton--inline {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.navds-skeleton--has-children {
|
|
13
|
+
color: transparent;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.navds-skeleton--has-children > * {
|
|
17
|
+
visibility: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.navds-skeleton--has-children.navds-skeleton--no-height {
|
|
21
|
+
height: auto;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.navds-skeleton--has-children.navds-skeleton--no-width {
|
|
25
|
+
width: fit-content;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.navds-skeleton--text {
|
|
29
|
+
height: auto;
|
|
30
|
+
transform-origin: 0 55%;
|
|
31
|
+
transform: scale(1, 0.6);
|
|
32
|
+
border-radius: var(--a-border-radius-medium);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.navds-skeleton--text:empty::before {
|
|
36
|
+
content: "\00a0";
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.navds-skeleton--circle {
|
|
40
|
+
border-radius: var(--a-border-radius-full);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.navds-skeleton--rectangle {
|
|
44
|
+
border-radius: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.navds-skeleton--rounded {
|
|
48
|
+
border-radius: var(--a-border-radius-xlarge);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes akselSkeletonAnimation {
|
|
52
|
+
0% {
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
opacity: 0.4;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (forced-colors: active) {
|
|
62
|
+
.navds-skeleton {
|
|
63
|
+
forced-color-adjust: none;
|
|
64
|
+
background-color: var(--a-surface-neutral);
|
|
65
|
+
animation-duration: 2s;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
.navds-stepper {
|
|
2
|
+
--navds-stepper-circle-size: 1.75rem;
|
|
3
|
+
--navds-stepper-border-width: 2px;
|
|
4
|
+
--navds-stepper-line-length: 1rem;
|
|
5
|
+
|
|
6
|
+
color: var(--ac-stepper-text, var(--a-surface-action));
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
line-height: 1;
|
|
9
|
+
list-style: none;
|
|
10
|
+
padding-left: 0;
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.navds-stepper--horizontal {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.navds-stepper__item {
|
|
21
|
+
display: grid;
|
|
22
|
+
grid-template-rows:
|
|
23
|
+
[line-1] auto [step-start] var(--navds-stepper-circle-size)
|
|
24
|
+
[line-2 step-end] auto;
|
|
25
|
+
grid-template-columns: var(--navds-stepper-circle-size) auto;
|
|
26
|
+
justify-items: flex-start;
|
|
27
|
+
gap: 0.5rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.navds-stepper__line {
|
|
31
|
+
background-color: var(--ac-stepper-line, var(--a-border-default));
|
|
32
|
+
width: var(--navds-stepper-border-width);
|
|
33
|
+
height: 100%;
|
|
34
|
+
min-height: var(--navds-stepper-line-length);
|
|
35
|
+
justify-self: center;
|
|
36
|
+
grid-column: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.navds-stepper__step--behind.navds-stepper__step--completed + .navds-stepper__line {
|
|
40
|
+
background-color: var(--ac-stepper-line-completed, var(--a-border-selected));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.navds-stepper__item--behind.navds-stepper__item--completed + .navds-stepper__item > .navds-stepper__line--1 {
|
|
44
|
+
background-color: var(--ac-stepper-line-completed, var(--a-border-selected));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.navds-stepper__line--1 {
|
|
48
|
+
grid-row: line-1;
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.navds-stepper__line--2 {
|
|
53
|
+
grid-row: line-2;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:where(.navds-stepper__item:last-of-type) .navds-stepper__line--2 {
|
|
57
|
+
display: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.navds-stepper__step {
|
|
61
|
+
grid-row: 2 / -1;
|
|
62
|
+
grid-column: 1 / -1;
|
|
63
|
+
display: grid;
|
|
64
|
+
grid-template-columns: [circle] var(--navds-stepper-circle-size) [content] auto;
|
|
65
|
+
gap: var(--a-spacing-2);
|
|
66
|
+
justify-content: flex-start;
|
|
67
|
+
text-decoration: none;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
padding: var(--navds-stepper-border-width);
|
|
70
|
+
margin: calc(var(--navds-stepper-border-width) * -1) calc(var(--navds-stepper-border-width) * -1) 1.75rem;
|
|
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
|
+
}
|
|
86
|
+
|
|
87
|
+
.navds-stepper__step .navds-stepper__circle {
|
|
88
|
+
forced-color-adjust: none;
|
|
89
|
+
background-color: ButtonText;
|
|
90
|
+
border-color: ButtonText;
|
|
91
|
+
color: ButtonFace;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.navds-stepper__step.navds-stepper__step:focus-visible {
|
|
95
|
+
box-shadow: none;
|
|
96
|
+
outline: 2px solid highlight;
|
|
97
|
+
outline-offset: 2px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.navds-stepper__step.navds-stepper__step--active .navds-stepper__circle {
|
|
101
|
+
forced-color-adjust: none;
|
|
102
|
+
background-color: highlight;
|
|
103
|
+
border-color: highlighttext;
|
|
104
|
+
color: highlighttext;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.navds-stepper__line {
|
|
108
|
+
background-color: ButtonText;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
button.navds-stepper__step {
|
|
113
|
+
appearance: none;
|
|
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;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.navds-stepper__circle {
|
|
141
|
+
grid-column: circle;
|
|
142
|
+
display: inline-grid;
|
|
143
|
+
place-items: center;
|
|
144
|
+
flex-shrink: 0;
|
|
145
|
+
width: var(--navds-stepper-circle-size);
|
|
146
|
+
height: var(--navds-stepper-circle-size);
|
|
147
|
+
border: var(--navds-stepper-border-width) solid currentColor;
|
|
148
|
+
border-radius: var(--a-border-radius-full);
|
|
149
|
+
line-height: 1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.navds-stepper__circle--success {
|
|
153
|
+
border: none;
|
|
154
|
+
background: none;
|
|
155
|
+
font-size: 1.75rem;
|
|
156
|
+
color: var(--a-text-on-action);
|
|
157
|
+
background-color: var(--ac-stepper-text, var(--a-surface-action));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.navds-stepper__content {
|
|
161
|
+
min-width: fit-content;
|
|
162
|
+
line-height: 1.5;
|
|
163
|
+
grid-column: content;
|
|
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
|
+
}
|
|
197
|
+
|
|
198
|
+
:where(.navds-stepper--horizontal) .navds-stepper__step {
|
|
199
|
+
grid-row: 1 / -1;
|
|
200
|
+
grid-column: step;
|
|
201
|
+
display: grid;
|
|
202
|
+
grid-template-rows: [circle] var(--navds-stepper-circle-size) [content] auto;
|
|
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
|
+
}
|
|
209
|
+
|
|
210
|
+
:where(.navds-stepper--horizontal) .navds-stepper__circle {
|
|
211
|
+
grid-row: circle;
|
|
212
|
+
grid-column: 2;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
:where(.navds-stepper--horizontal) .navds-stepper__content {
|
|
216
|
+
grid-row: content;
|
|
217
|
+
grid-column: 1 / -1;
|
|
218
|
+
max-width: 24ch;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* Active step */
|
|
222
|
+
:where(.navds-stepper__step--active) .navds-stepper__content {
|
|
223
|
+
color: var(--ac-stepper-active, var(--a-text-action-selected));
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.navds-stepper__step:hover:where(:not(.navds-stepper__step--non-interactive)) {
|
|
227
|
+
color: var(--ac-stepper-hover-active, var(--a-text-action-hover));
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
:where(.navds-stepper__step:hover) .navds-stepper__content {
|
|
231
|
+
text-decoration: underline;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
:where(.navds-stepper__step--non-interactive:hover, .navds-stepper__step--active:hover) .navds-stepper__content {
|
|
235
|
+
text-decoration: none;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
:where(.navds-stepper__step--active) .navds-stepper__circle {
|
|
239
|
+
background-color: var(--ac-stepper-active-bg, var(--a-surface-action-selected));
|
|
240
|
+
border-color: var(--ac-stepper-active-border, var(--a-border-action-selected));
|
|
241
|
+
color: var(--ac-stepper-active-text, var(--a-text-on-action));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:where(.navds-stepper__step:not(.navds-stepper__step--active):hover) .navds-stepper__circle {
|
|
245
|
+
background-color: var(--ac-stepper-hover-bg, var(--a-surface-action-subtle-hover));
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:where(.navds-stepper__step:not(.navds-stepper__step--active):hover) .navds-stepper__circle--success {
|
|
249
|
+
background-color: var(--ac-stepper-text, var(--a-surface-action-hover));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Non-interactive */
|
|
253
|
+
:where(.navds-stepper__step--non-interactive.navds-stepper__step--active) .navds-stepper__content {
|
|
254
|
+
color: var(--ac-stepper-non-interactive-active, var(--a-text-default));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.navds-stepper__step--non-interactive.navds-stepper__step--behind.navds-stepper__step--completed + .navds-stepper__line {
|
|
258
|
+
background-color: var(--ac-stepper-non-interactive-line-completed, var(--a-border-strong));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.navds-stepper__item--non-interactive.navds-stepper__item--behind.navds-stepper__item--completed
|
|
262
|
+
+ .navds-stepper__item
|
|
263
|
+
> .navds-stepper__line--1 {
|
|
264
|
+
background-color: var(--ac-stepper-non-interactive-line-completed, var(--a-border-strong));
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
:where(.navds-stepper__step--non-interactive.navds-stepper__step--active) .navds-stepper__circle {
|
|
268
|
+
background-color: var(--ac-stepper-non-interactive-active-bg, var(--a-surface-inverted));
|
|
269
|
+
border-color: var(--ac-stepper-non-interactive-active-border, var(--a-surface-inverted));
|
|
270
|
+
color: var(--ac-stepper-non-interactive-active-text, var(--a-text-on-inverted));
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:where(.navds-stepper__step--non-interactive:hover) .navds-stepper__circle {
|
|
274
|
+
background-color: transparent;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
:where(.navds-stepper__step--non-interactive.navds-stepper__step--active:hover) .navds-stepper__circle {
|
|
278
|
+
background-color: var(--ac-stepper-non-interactive-active-bg, var(--a-surface-inverted));
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
:where(.navds-stepper__step--completed.navds-stepper__step--active) .navds-stepper__circle {
|
|
282
|
+
background-color: inherit;
|
|
283
|
+
color: var(--ac-stepper-active-completed, var(--a-text-action-selected));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
:where(.navds-stepper__step--completed.navds-stepper__step--active) .navds-stepper__circle--success {
|
|
287
|
+
color: var(--a-text-on-action);
|
|
288
|
+
background-color: var(--ac-stepper-active-completed, var(--a-surface-action-selected));
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:where(.navds-stepper__step--non-interactive, .navds-stepper__step--non-interactive:hover) .navds-stepper__circle--success {
|
|
292
|
+
color: var(--a-text-on-inverted);
|
|
293
|
+
background-color: var(--ac-stepper-non-interactive-completed-bg, var(--a-surface-neutral));
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:where(.navds-stepper__step--non-interactive.navds-stepper__step--active) .navds-stepper__circle--success {
|
|
297
|
+
color: var(--a-text-on-inverted);
|
|
298
|
+
background-color: var(--ac-stepper-non-interactive-active-completed, var(--a-surface-inverted));
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
:where(.navds-stepper__step--completed.navds-stepper__step--active.navds-stepper__step--non-interactive) .navds-stepper__circle {
|
|
302
|
+
color: var(--ac-stepper-non-interactive-active-completed, var(--a-text-default));
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
:where(.navds-stepper__step--completed.navds-stepper__step--active.navds-stepper__step--non-interactive)
|
|
306
|
+
.navds-stepper__circle--success {
|
|
307
|
+
color: var(--ac-stepper-non-interactive-active-completed, var(--a-text-on-inverted));
|
|
308
|
+
}
|