@navikt/ds-css 7.5.0 → 7.5.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/button.darkside.css +8 -6
- package/darkside/copybutton.darkside.css +1 -1
- package/darkside/expansioncard.darkside.css +123 -175
- package/darkside/form/error-summary.darkside.css +30 -36
- package/darkside/form/fieldset.darkside.css +2 -10
- package/darkside/form/file-upload.darkside.css +106 -110
- package/darkside/form/form-progress.darkside.css +30 -25
- package/darkside/form/form-summary.darkside.css +28 -24
- package/darkside/form/form.darkside.css +6 -14
- package/darkside/form/radio-checkbox.darkside.css +73 -142
- package/darkside/form/text-field.darkside.css +38 -81
- package/darkside/help-text.darkside.css +16 -40
- package/darkside/index.css +1 -1
- package/darkside/link.darkside.css +40 -56
- package/darkside/list.darkside.css +36 -35
- package/darkside/loader.darkside.css +72 -58
- package/darkside/modal.darkside.css +59 -54
- package/darkside/pagination.darkside.css +12 -44
- package/darkside/popover.darkside.css +12 -75
- package/darkside/progress-bar.darkside.css +12 -12
- package/dist/component/form.css +5 -1
- package/dist/component/form.min.css +1 -1
- package/dist/component/index.css +8 -2
- package/dist/component/index.min.css +2 -2
- package/dist/component/loader.css +1 -0
- package/dist/component/loader.min.css +1 -1
- package/dist/components.css +8 -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 +8 -2
- package/dist/index.min.css +2 -2
- package/form/combobox.css +4 -0
- package/form/form-progress.css +2 -1
- package/loader.css +1 -0
- package/package.json +2 -2
|
@@ -1,78 +1,84 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/* Makes it easier for user to use FileItem in semantic lists */
|
|
2
|
+
.navds-file-upload {
|
|
3
|
+
& :is(ul, li) {
|
|
4
|
+
list-style: none;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
* FileUpload.Dropzone
|
|
12
|
-
*/
|
|
13
|
-
|
|
10
|
+
/* --------------------------- FileUpload Dropzone -------------------------- */
|
|
14
11
|
.navds-dropzone__area {
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--__ac-dropzone-animation-over-under: cubic-bezier(0.3, 1.4, 0.3, 1);
|
|
12
|
+
--__axc-dropzone-background: var(--ax-bg-input);
|
|
13
|
+
--__axc-dropzone-padding: var(--ax-spacing-6);
|
|
14
|
+
--__axc-dropzone-icon-padding: var(--ax-spacing-2);
|
|
15
|
+
--__axc-dropzone-animation-length-long: 400ms;
|
|
16
|
+
--__axc-dropzone-animation-length-short: 250ms;
|
|
17
|
+
--__axc-dropzone-animation-ease-out: cubic-bezier(0.3, 1, 0.3, 1);
|
|
18
|
+
--__axc-dropzone-animation-over-under: cubic-bezier(0.3, 1, 0.3, 1);
|
|
23
19
|
|
|
24
20
|
position: relative;
|
|
25
21
|
width: 100%;
|
|
26
22
|
display: flex;
|
|
27
23
|
align-items: center;
|
|
28
24
|
flex-direction: column;
|
|
29
|
-
gap: var(--
|
|
25
|
+
gap: var(--ax-spacing-4);
|
|
30
26
|
text-align: center;
|
|
31
|
-
padding: var(--
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
transition: background-color var(--__ac-dropzone-animation-length-short) var(--__ac-dropzone-animation-ease-out);
|
|
27
|
+
padding: var(--__axc-dropzone-padding);
|
|
28
|
+
border: 1px dashed var(--ax-border-default);
|
|
29
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
30
|
+
background-color: var(--__axc-dropzone-background);
|
|
31
|
+
color: var(--ax-text-default);
|
|
32
|
+
transition: background-color var(--__axc-dropzone-animation-length-short) var(--__axc-dropzone-animation-ease-out);
|
|
38
33
|
cursor: pointer;
|
|
39
|
-
}
|
|
40
34
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
outline-color: var(--a-border-default);
|
|
44
|
-
}
|
|
35
|
+
&:hover:not([data-disabled="true"]) {
|
|
36
|
+
border-color: var(--ax-border-accent-strong);
|
|
45
37
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
38
|
+
& > .navds-dropzone__area-button {
|
|
39
|
+
color: var(--ax-text-accent-strong);
|
|
40
|
+
background-color: var(--ax-bg-accent-moderate-hover);
|
|
41
|
+
box-shadow: inset 0 0 0 2px var(--ax-bg-accent-strong-hover);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:active .navds-dropzone__area-button {
|
|
46
|
+
background-color: var(--ax-bg-accent-strong-pressed);
|
|
47
|
+
color: var(--ax-text-accent-contrast);
|
|
48
|
+
box-shadow: none;
|
|
49
|
+
}
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
&[data-disabled="true"] {
|
|
52
|
+
cursor: default;
|
|
53
|
+
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.navds-dropzone--dragging
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
56
|
+
.navds-dropzone--dragging {
|
|
57
|
+
& > .navds-dropzone__area {
|
|
58
|
+
--__axc-dropzone-background: var(--ax-bg-input);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& > .navds-dropzone__area::after {
|
|
62
|
+
color: var(--ax-text-accent-strong);
|
|
63
|
+
background-color: var(--ax-bg-accent-moderateA);
|
|
64
|
+
content: "";
|
|
65
|
+
inset: 0;
|
|
66
|
+
margin: -1px;
|
|
67
|
+
border: 1px dashed var(--ax-border-accent-strong);
|
|
68
|
+
position: absolute;
|
|
69
|
+
-webkit-backdrop-filter: blur(8px);
|
|
70
|
+
backdrop-filter: blur(8px);
|
|
71
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
72
|
+
animation: akselDropzoneDragoverAnimation var(--__axc-dropzone-animation-length-short)
|
|
73
|
+
var(--__axc-dropzone-animation-ease-out);
|
|
74
|
+
}
|
|
69
75
|
}
|
|
70
76
|
|
|
71
77
|
@keyframes akselDropzoneDragoverAnimation {
|
|
72
78
|
0% {
|
|
73
79
|
-webkit-backdrop-filter: blur(0);
|
|
74
80
|
backdrop-filter: blur(0);
|
|
75
|
-
background-color:
|
|
81
|
+
background-color: transparent;
|
|
76
82
|
}
|
|
77
83
|
|
|
78
84
|
70% {
|
|
@@ -81,54 +87,41 @@
|
|
|
81
87
|
}
|
|
82
88
|
|
|
83
89
|
100% {
|
|
84
|
-
background-color: var(--
|
|
90
|
+
background-color: var(--ax-bg-accent-moderateA);
|
|
85
91
|
}
|
|
86
92
|
}
|
|
87
93
|
|
|
88
94
|
.navds-dropzone__area-icon {
|
|
89
95
|
display: grid;
|
|
90
|
-
padding: var(--
|
|
96
|
+
padding: var(--__axc-dropzone-icon-padding);
|
|
91
97
|
visibility: hidden;
|
|
92
98
|
}
|
|
93
99
|
|
|
94
|
-
.navds-dropzone--error
|
|
95
|
-
|
|
96
|
-
outline
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
.navds-dropzone__area:hover > .navds-dropzone__area-button {
|
|
100
|
-
color: var(--ac-button-secondary-hover-text, var(--__ac-button-secondary-hover-text, var(--a-text-action-on-action-subtle)));
|
|
101
|
-
background-color: var(
|
|
102
|
-
--ac-button-secondary-hover-bg,
|
|
103
|
-
var(--__ac-button-secondary-hover-bg, var(--a-surface-action-subtle-hover))
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.navds-dropzone__area:active .navds-dropzone__area-button {
|
|
108
|
-
color: var(--ac-button-secondary-active-text, var(--__ac-button-secondary-active-text, var(--a-text-on-action)));
|
|
109
|
-
background-color: var(--ac-button-secondary-active-bg, var(--__ac-button-secondary-active-bg, var(--a-surface-action-active)));
|
|
110
|
-
box-shadow: none;
|
|
100
|
+
.navds-dropzone--error > .navds-dropzone__area {
|
|
101
|
+
border-color: transparent;
|
|
102
|
+
outline: 2px solid var(--ax-border-danger);
|
|
103
|
+
outline-offset: -1px;
|
|
111
104
|
}
|
|
112
105
|
|
|
113
106
|
.navds-dropzone__area-release {
|
|
114
|
-
top: var(--
|
|
107
|
+
top: var(--__axc-dropzone-padding);
|
|
115
108
|
display: grid;
|
|
116
109
|
position: absolute;
|
|
117
110
|
z-index: 1;
|
|
118
111
|
pointer-events: none;
|
|
119
112
|
transition:
|
|
120
|
-
top var(--
|
|
121
|
-
transform var(--
|
|
113
|
+
top var(--__axc-dropzone-animation-length-long) var(--__axc-dropzone-animation-over-under),
|
|
114
|
+
transform var(--__axc-dropzone-animation-length-long) var(--__axc-dropzone-animation-over-under);
|
|
122
115
|
}
|
|
123
116
|
|
|
124
117
|
.navds-dropzone__area-release__icon {
|
|
125
118
|
display: grid;
|
|
126
|
-
padding: var(--
|
|
127
|
-
border-radius: var(--
|
|
128
|
-
background-color: var(--
|
|
119
|
+
padding: var(--__axc-dropzone-icon-padding);
|
|
120
|
+
border-radius: var(--ax-border-radius-full);
|
|
121
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
129
122
|
transition:
|
|
130
|
-
background-color 300ms var(--
|
|
131
|
-
font-size 300ms var(--
|
|
123
|
+
background-color 300ms var(--__axc-dropzone-animation-ease-out),
|
|
124
|
+
font-size 300ms var(--__axc-dropzone-animation-ease-out);
|
|
132
125
|
font-size: 1.5rem;
|
|
133
126
|
}
|
|
134
127
|
|
|
@@ -142,52 +135,55 @@
|
|
|
142
135
|
}
|
|
143
136
|
|
|
144
137
|
.navds-dropzone--dragging .navds-dropzone__area-release > .navds-dropzone__area-release__text {
|
|
145
|
-
transition: visibility var(--
|
|
138
|
+
transition: visibility var(--__axc-dropzone-animation-length-long) var(--__axc-dropzone-animation-over-under);
|
|
146
139
|
visibility: visible;
|
|
147
140
|
}
|
|
148
141
|
|
|
149
142
|
.navds-dropzone--dragging .navds-dropzone__area-release {
|
|
150
|
-
color: var(--
|
|
143
|
+
color: var(--ax-text-accent-strong);
|
|
151
144
|
top: 50%;
|
|
152
145
|
transform: translateY(-50%);
|
|
153
146
|
}
|
|
154
147
|
|
|
155
148
|
.navds-dropzone__area-disabled {
|
|
156
|
-
color: var(--
|
|
149
|
+
color: var(--ax-text-subtle);
|
|
157
150
|
display: flex;
|
|
158
151
|
align-items: center;
|
|
159
152
|
flex-direction: column;
|
|
160
|
-
gap: var(--
|
|
153
|
+
gap: var(--ax-spacing-2);
|
|
161
154
|
}
|
|
162
155
|
|
|
163
|
-
|
|
164
|
-
* FileUpload.Item
|
|
165
|
-
*/
|
|
166
|
-
|
|
156
|
+
/* ----------------------------- FileUpload Item ---------------------------- */
|
|
167
157
|
.navds-file-item__inner {
|
|
168
|
-
|
|
158
|
+
background-color: var(--ax-bg-raised);
|
|
159
|
+
border: 1px solid var(--ax-border-subtleA);
|
|
169
160
|
outline-offset: -1px;
|
|
170
161
|
transition: outline-color 250ms cubic-bezier(0, 0.3, 0.15, 1);
|
|
171
|
-
border-radius: var(--
|
|
172
|
-
padding: var(--
|
|
162
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
163
|
+
padding: var(--ax-spacing-3);
|
|
173
164
|
display: flex;
|
|
174
|
-
gap: var(--
|
|
165
|
+
gap: var(--ax-spacing-3);
|
|
175
166
|
align-items: flex-start;
|
|
176
167
|
}
|
|
177
168
|
|
|
178
169
|
.navds-file-item--error > .navds-file-item__inner {
|
|
179
|
-
outline: 2px solid var(--
|
|
170
|
+
outline: 2px solid var(--ax-border-danger);
|
|
180
171
|
}
|
|
181
172
|
|
|
182
173
|
.navds-file-item__icon {
|
|
183
|
-
background-color: var(--
|
|
184
|
-
color: var(--
|
|
185
|
-
border-radius: var(--
|
|
186
|
-
min-height:
|
|
187
|
-
min-width:
|
|
174
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
175
|
+
color: var(--ax-text-default);
|
|
176
|
+
border-radius: var(--ax-border-radius-full);
|
|
177
|
+
min-height: 2.5rem;
|
|
178
|
+
min-width: 2.5rem;
|
|
188
179
|
display: grid;
|
|
189
180
|
place-content: center;
|
|
190
181
|
transition: background-color 250ms cubic-bezier(0, 0.3, 0.15, 1);
|
|
182
|
+
|
|
183
|
+
& > svg {
|
|
184
|
+
height: 1.5rem;
|
|
185
|
+
width: 1.5rem;
|
|
186
|
+
}
|
|
191
187
|
}
|
|
192
188
|
|
|
193
189
|
.navds-file-item__icon--loading {
|
|
@@ -203,28 +199,28 @@
|
|
|
203
199
|
}
|
|
204
200
|
|
|
205
201
|
.navds-file-item__error {
|
|
206
|
-
color: var(--
|
|
202
|
+
color: var(--ax-text-danger);
|
|
207
203
|
display: grid;
|
|
208
204
|
transition-property: grid-template-rows, padding-top;
|
|
209
205
|
transition-duration: 250ms;
|
|
210
206
|
transition-timing-function: cubic-bezier(0, 0.3, 0.15, 1);
|
|
211
207
|
overflow: hidden;
|
|
212
208
|
grid-template-rows: 0fr;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.navds-file-item--error .navds-file-item__error {
|
|
216
|
-
grid-template-rows: 1fr;
|
|
217
|
-
padding-top: var(--a-spacing-1);
|
|
218
|
-
}
|
|
219
209
|
|
|
220
|
-
.navds-file-item__error
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
210
|
+
& .navds-file-item__error {
|
|
211
|
+
grid-template-rows: 1fr;
|
|
212
|
+
padding-top: var(--ax-spacing-1);
|
|
213
|
+
}
|
|
224
214
|
}
|
|
225
215
|
|
|
226
216
|
.navds-file-item__error-content {
|
|
227
217
|
min-height: 0;
|
|
228
218
|
display: flex;
|
|
229
|
-
gap: var(--
|
|
219
|
+
gap: var(--ax-spacing-1);
|
|
220
|
+
|
|
221
|
+
& > svg {
|
|
222
|
+
flex-shrink: 0;
|
|
223
|
+
height: 1rem;
|
|
224
|
+
margin-top: 0.1rem;
|
|
225
|
+
}
|
|
230
226
|
}
|
|
@@ -1,52 +1,57 @@
|
|
|
1
1
|
.navds-form-progress__bar {
|
|
2
|
-
margin-bottom: var(--
|
|
2
|
+
margin-bottom: var(--ax-spacing-2);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.navds-form-progress__button
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.navds-form-progress__button:hover svg {
|
|
11
|
-
transform: translateY(1px);
|
|
12
|
-
}
|
|
5
|
+
.navds-form-progress__button {
|
|
6
|
+
&:focus-visible {
|
|
7
|
+
z-index: 1;
|
|
8
|
+
}
|
|
13
9
|
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
&[data-state="open"] {
|
|
11
|
+
& svg {
|
|
12
|
+
transform: rotate(-180deg);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
.navds-form-progress__button[data-state="
|
|
19
|
-
|
|
17
|
+
.navds-form-progress__button[data-state="closed"] .navds-form-progress__btn-txt-hide,
|
|
18
|
+
.navds-form-progress__button[data-state="open"] .navds-form-progress__btn-txt-show {
|
|
19
|
+
display: none;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.navds-form-progress__collapsible {
|
|
23
23
|
display: grid;
|
|
24
24
|
grid-template-rows: 0fr;
|
|
25
25
|
overflow: hidden;
|
|
26
|
-
transition: grid-template-rows
|
|
27
|
-
}
|
|
26
|
+
transition: grid-template-rows 250ms cubic-bezier(0.2, 0, 0, 1);
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
28
|
+
&[hidden] {
|
|
29
|
+
display: grid !important;
|
|
30
|
+
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
&[data-state="open"] {
|
|
33
|
+
grid-template-rows: 1fr;
|
|
34
|
+
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.navds-form-progress__collapsible-content {
|
|
38
38
|
min-height: 0;
|
|
39
|
-
|
|
39
|
+
opacity: 0.01;
|
|
40
40
|
visibility: hidden;
|
|
41
|
+
transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
|
|
42
|
+
transition-duration: 250ms;
|
|
43
|
+
transition-property: opacity, visibility;
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
.navds-form-progress__collapsible[data-state="open"] .navds-form-progress__collapsible-content {
|
|
44
47
|
visibility: visible;
|
|
48
|
+
opacity: 1;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
.navds-form-progress__stepper {
|
|
48
|
-
border:
|
|
49
|
-
border-radius: var(--
|
|
50
|
-
padding: var(--
|
|
51
|
-
margin-top: var(--
|
|
52
|
+
border: 1px solid var(--ax-border-subtle);
|
|
53
|
+
border-radius: var(--ax-border-radius-large);
|
|
54
|
+
padding: var(--ax-spacing-4);
|
|
55
|
+
margin-top: var(--ax-spacing-1);
|
|
56
|
+
background: var(--ax-bg-raised);
|
|
52
57
|
}
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
.navds-form-summary {
|
|
2
2
|
overflow: hidden;
|
|
3
|
-
border: 1px solid var(--
|
|
4
|
-
border-radius: var(--
|
|
5
|
-
background: var(--
|
|
3
|
+
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
4
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
5
|
+
background: var(--ax-bg-raised);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.navds-form-summary__header {
|
|
9
|
-
background
|
|
10
|
-
padding: var(--
|
|
9
|
+
background: var(--ax-bg-neutral-moderateA);
|
|
10
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-6);
|
|
11
11
|
display: flex;
|
|
12
12
|
justify-content: space-between;
|
|
13
|
-
gap: 0 var(--
|
|
13
|
+
gap: 0 var(--ax-spacing-3);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@media (max-width: 479px) {
|
|
17
17
|
.navds-form-summary__header {
|
|
18
|
-
padding: var(--
|
|
18
|
+
padding: var(--ax-spacing-3) var(--ax-spacing-4);
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.navds-form-summary__edit {
|
|
24
24
|
flex-shrink: 0;
|
|
25
|
-
margin-top: var(--
|
|
25
|
+
margin-top: var(--ax-spacing-1);
|
|
26
26
|
align-self: flex-start;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.navds-form-summary > .navds-form-summary__answers {
|
|
30
|
-
border-top: 1px solid var(--
|
|
30
|
+
border-top: 1px solid var(--ax-border-subtleA);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.navds-form-summary__answers {
|
|
34
|
-
padding: var(--
|
|
34
|
+
padding: var(--ax-spacing-5) var(--ax-spacing-6) var(--ax-spacing-6);
|
|
35
35
|
margin: 0;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
@media (max-width: 479px) {
|
|
39
39
|
.navds-form-summary__answers {
|
|
40
|
-
padding: var(--
|
|
40
|
+
padding: var(--ax-spacing-4);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.navds-form-summary__answer:not(:last-child) {
|
|
45
|
-
margin-bottom: var(--
|
|
46
|
-
padding-bottom: var(--
|
|
47
|
-
border-bottom: 1px solid var(--
|
|
45
|
+
margin-bottom: var(--ax-spacing-4);
|
|
46
|
+
padding-bottom: var(--ax-spacing-4);
|
|
47
|
+
border-bottom: 1px solid var(--ax-border-subtleA);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.navds-form-summary__answer:has(.navds-form-summary__answer) {
|
|
51
|
-
padding-bottom: var(--
|
|
51
|
+
padding-bottom: var(--ax-spacing-6);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.navds-form-summary__answer:has(.navds-form-summary__answer):last-child {
|
|
@@ -57,22 +57,26 @@
|
|
|
57
57
|
|
|
58
58
|
@media (max-width: 479px) {
|
|
59
59
|
.navds-form-summary__answer:not(:last-child) {
|
|
60
|
-
margin-bottom: var(--
|
|
61
|
-
padding-bottom: var(--
|
|
60
|
+
margin-bottom: var(--ax-spacing-3);
|
|
61
|
+
padding-bottom: var(--ax-spacing-3);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.navds-form-summary__answer:has(.navds-form-summary__answer) {
|
|
65
|
-
padding-bottom: var(--
|
|
65
|
+
padding-bottom: var(--ax-spacing-5);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.navds-form-summary__value:first-of-type {
|
|
70
|
-
margin-top: var(--
|
|
70
|
+
margin-top: var(--ax-spacing-1);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.navds-form-summary__value
|
|
74
|
-
margin-top: var(--
|
|
75
|
-
padding: var(--
|
|
76
|
-
background: var(--
|
|
77
|
-
border-radius: var(--
|
|
73
|
+
.navds-form-summary__value .navds-form-summary__answers {
|
|
74
|
+
margin-top: var(--ax-spacing-2);
|
|
75
|
+
padding: var(--ax-spacing-4);
|
|
76
|
+
background: var(--ax-bg-info-moderateA);
|
|
77
|
+
border-radius: var(--ax-border-radius-large);
|
|
78
|
+
|
|
79
|
+
& .navds-form-summary__answer {
|
|
80
|
+
border-color: var(--ax-border-info-subtleA);
|
|
81
|
+
}
|
|
78
82
|
}
|
|
@@ -1,27 +1,19 @@
|
|
|
1
|
-
[data-theme="dark"] {
|
|
2
|
-
--__ac-form-description: var(--a-text-on-inverted);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
[data-theme="light"] {
|
|
6
|
-
--__ac-form-description: initial;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
1
|
.navds-form-field {
|
|
10
2
|
display: grid;
|
|
11
3
|
justify-items: start;
|
|
12
|
-
gap: var(--
|
|
4
|
+
gap: var(--ax-spacing-2);
|
|
13
5
|
}
|
|
14
6
|
|
|
15
7
|
.navds-form-field__description {
|
|
16
8
|
margin-top: -0.375rem;
|
|
17
|
-
color: var(--
|
|
9
|
+
color: var(--ax-text-subtle);
|
|
18
10
|
}
|
|
19
11
|
|
|
20
12
|
.navds-form-field .navds-error-message,
|
|
21
13
|
.navds-fieldset .navds-error-message,
|
|
22
14
|
.navds-file-item .navds-error-message {
|
|
23
15
|
display: flex;
|
|
24
|
-
gap: var(--
|
|
16
|
+
gap: var(--ax-spacing-2);
|
|
25
17
|
}
|
|
26
18
|
|
|
27
19
|
.navds-form-field .navds-error-message::before,
|
|
@@ -40,7 +32,7 @@
|
|
|
40
32
|
}
|
|
41
33
|
|
|
42
34
|
.navds-form-field__subdescription {
|
|
43
|
-
color: var(--
|
|
35
|
+
color: var(--ax-text-subtle);
|
|
44
36
|
}
|
|
45
37
|
|
|
46
38
|
.navds-form-field--readonly > :where(.navds-form-field__label) {
|
|
@@ -48,8 +40,8 @@
|
|
|
48
40
|
}
|
|
49
41
|
|
|
50
42
|
.navds-form-field__readonly-icon {
|
|
51
|
-
margin-top: var(--
|
|
52
|
-
margin-right: var(--
|
|
43
|
+
margin-top: var(--ax-spacing-05);
|
|
44
|
+
margin-right: var(--ax-spacing-2);
|
|
53
45
|
flex-shrink: 0;
|
|
54
46
|
align-self: flex-start;
|
|
55
47
|
}
|