@navikt/ds-css 7.6.0 → 7.8.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 +12 -0
- package/darkside/alert.darkside.css +2 -2
- package/darkside/button.darkside.css +12 -14
- package/darkside/chat.darkside.css +2 -2
- package/darkside/date.darkside.css +171 -232
- package/darkside/expansioncard.darkside.css +1 -0
- package/darkside/form/combobox.darkside.css +0 -21
- package/darkside/form/error-summary.darkside.css +2 -2
- package/darkside/form/file-upload.darkside.css +3 -4
- package/darkside/form/form-progress.darkside.css +1 -1
- package/darkside/form/form-summary.darkside.css +2 -2
- package/darkside/form/search.darkside.css +84 -158
- package/darkside/form/text-field.darkside.css +1 -1
- package/darkside/guide-panel.darkside.css +78 -60
- package/darkside/index.css +1 -4
- package/darkside/modal.darkside.css +6 -6
- package/darkside/popover.darkside.css +1 -1
- package/darkside/primitives/base.darkside.css +350 -350
- package/darkside/primitives/bleed.darkside.css +52 -52
- package/darkside/primitives/box.darkside.css +21 -21
- package/darkside/primitives/hgrid.darkside.css +28 -28
- package/darkside/primitives/index.css +0 -25
- package/darkside/primitives/page.darkside.css +6 -9
- package/darkside/primitives/stack.darkside.css +58 -58
- package/darkside/table.darkside.css +52 -97
- package/darkside/toggle-group.darkside.css +52 -120
- package/dist/component/form.css +2 -21
- package/dist/component/form.min.css +1 -1
- package/dist/component/index.css +3 -23
- package/dist/component/index.min.css +2 -2
- package/dist/components.css +3 -982
- package/dist/components.min.css +2 -4
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +3 -23
- package/dist/index.min.css +2 -2
- package/form/combobox.css +2 -22
- package/package.json +2 -2
- package/tokens.json +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @navikt/ds-css
|
|
2
2
|
|
|
3
|
+
## 7.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Combobox: Removed clear button, removed tokens staring with `--ac-combobox-clear`, deprecated props `clearButton`/`clearButtonLabel`. ([#3433](https://github.com/navikt/aksel/pull/3433))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- CSS: Resolved regression where the complete stylesheet was included in scoped 'components.css' file. ([#3427](https://github.com/navikt/aksel/pull/3427))
|
|
12
|
+
|
|
13
|
+
## 7.7.0
|
|
14
|
+
|
|
3
15
|
## 7.6.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.navds-alert {
|
|
2
2
|
border-radius: var(--ax-border-radius-xlarge);
|
|
3
3
|
border: 1px solid;
|
|
4
|
-
padding: var(--ax-spacing-4);
|
|
4
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
5
5
|
display: flex;
|
|
6
6
|
gap: var(--ax-spacing-3);
|
|
7
7
|
align-items: center;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.navds-alert--small {
|
|
28
|
-
padding: var(--ax-spacing-
|
|
28
|
+
padding: var(--ax-spacing-3) var(--ax-spacing-4);
|
|
29
29
|
gap: var(--ax-spacing-2);
|
|
30
30
|
|
|
31
31
|
> .navds-alert__icon {
|
|
@@ -92,16 +92,16 @@
|
|
|
92
92
|
&:is(:disabled, .navds-button--disabled) {
|
|
93
93
|
background-color: var(--ax-bg-accent-strong);
|
|
94
94
|
}
|
|
95
|
-
}
|
|
96
95
|
|
|
97
|
-
@media (forced-colors: active) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
@media (forced-colors: active) {
|
|
97
|
+
&:not(:disabled) {
|
|
98
|
+
background-color: highlight;
|
|
99
|
+
color: highlighttext;
|
|
100
|
+
}
|
|
102
101
|
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
& span {
|
|
103
|
+
forced-color-adjust: none;
|
|
104
|
+
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -163,13 +163,12 @@
|
|
|
163
163
|
--__axc-button-border-color: var(--ax-border-default);
|
|
164
164
|
|
|
165
165
|
background-color: transparent;
|
|
166
|
-
color: var(--ax-text-
|
|
166
|
+
color: var(--ax-text-default);
|
|
167
167
|
|
|
168
168
|
&:hover {
|
|
169
169
|
--__axc-button-border-color: var(--ax-border-strong);
|
|
170
170
|
|
|
171
171
|
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
172
|
-
color: var(--ax-text-neutral-strong);
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
&:active {
|
|
@@ -215,11 +214,10 @@
|
|
|
215
214
|
****************************/
|
|
216
215
|
.navds-button--tertiary-neutral {
|
|
217
216
|
background-color: transparent;
|
|
218
|
-
color: var(--ax-text-
|
|
217
|
+
color: var(--ax-text-default);
|
|
219
218
|
|
|
220
219
|
&:hover {
|
|
221
220
|
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
222
|
-
color: var(--ax-text-neutral-strong);
|
|
223
221
|
}
|
|
224
222
|
|
|
225
223
|
&:active {
|
|
@@ -287,14 +285,14 @@
|
|
|
287
285
|
background-color: ButtonFace;
|
|
288
286
|
}
|
|
289
287
|
|
|
290
|
-
.navds-button:hover {
|
|
288
|
+
.navds-button:not(:disabled):hover {
|
|
291
289
|
background-color: highlighttext;
|
|
292
290
|
border-color: highlight;
|
|
293
291
|
color: highlight;
|
|
294
292
|
box-shadow: none;
|
|
295
293
|
}
|
|
296
294
|
|
|
297
|
-
.navds-button:hover span {
|
|
295
|
+
.navds-button:not(:disabled):hover span {
|
|
298
296
|
forced-color-adjust: none;
|
|
299
297
|
}
|
|
300
298
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.navds-chat__bubble {
|
|
57
|
-
padding: var(--ax-spacing-4);
|
|
57
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
58
58
|
width: fit-content;
|
|
59
59
|
background-color: var(--ax-bg-raised);
|
|
60
60
|
display: flex;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.navds-chat--small .navds-chat__bubble {
|
|
69
|
-
padding: var(--ax-spacing-3);
|
|
69
|
+
padding: var(--ax-spacing-3) var(--ax-spacing-4);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* -------------------------- Chat bubble variants -------------------------- */
|
|
@@ -1,106 +1,138 @@
|
|
|
1
1
|
.navds-date {
|
|
2
|
-
padding: var(--
|
|
3
|
-
|
|
2
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-3);
|
|
3
|
+
|
|
4
|
+
.rdp-day_range_middle {
|
|
5
|
+
&.rdp-day_disabled {
|
|
6
|
+
color: var(--ax-text-default);
|
|
7
|
+
background: var(--ax-bg-neutral-moderateA);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.rdp-day_selected {
|
|
11
|
+
background-color: var(--ax-bg-accent-moderateA);
|
|
12
|
+
box-shadow: inset 0 0 0 1px var(--ax-border-accent-subtleA);
|
|
13
|
+
color: var(--ax-text-default);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
4
16
|
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
17
|
+
.rdp-month,
|
|
18
|
+
&.rdp-month {
|
|
19
|
+
display: grid;
|
|
20
|
+
gap: var(--ax-spacing-5);
|
|
21
|
+
}
|
|
9
22
|
|
|
10
|
-
.navds-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
gap: var(--a-spacing-5);
|
|
14
|
-
}
|
|
23
|
+
.navds-date__caption-label {
|
|
24
|
+
text-transform: capitalize;
|
|
25
|
+
}
|
|
15
26
|
|
|
16
|
-
.
|
|
17
|
-
|
|
18
|
-
|
|
27
|
+
.rdp-head_cell {
|
|
28
|
+
text-transform: capitalize;
|
|
29
|
+
font-size: var(--ax-font-size-small);
|
|
30
|
+
}
|
|
19
31
|
|
|
20
|
-
.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
32
|
+
.rdp-button {
|
|
33
|
+
all: unset;
|
|
34
|
+
display: block;
|
|
35
|
+
width: 2.5rem;
|
|
36
|
+
height: 2.5rem;
|
|
37
|
+
text-align: center;
|
|
38
|
+
border-radius: var(--ax-border-radius-medium);
|
|
39
|
+
}
|
|
24
40
|
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
justify-content: center;
|
|
30
|
-
width: 2rem;
|
|
31
|
-
height: 2rem;
|
|
32
|
-
border-radius: var(--a-border-radius-medium);
|
|
33
|
-
margin: var(--a-spacing-2);
|
|
34
|
-
color: var(--a-text-subtle);
|
|
35
|
-
}
|
|
41
|
+
.rdp-day_range_start {
|
|
42
|
+
border-radius: var(--ax-border-radius-xlarge) var(--ax-border-radius-medium) var(--ax-border-radius-medium)
|
|
43
|
+
var(--ax-border-radius-xlarge);
|
|
44
|
+
}
|
|
36
45
|
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
color: var(--a-text-subtle);
|
|
42
|
-
font-size: var(--a-font-size-small);
|
|
43
|
-
}
|
|
46
|
+
.rdp-day_range_end:not(.rdp-day_range_start) {
|
|
47
|
+
border-radius: var(--ax-border-radius-medium) var(--ax-border-radius-xlarge) var(--ax-border-radius-xlarge)
|
|
48
|
+
var(--ax-border-radius-medium);
|
|
49
|
+
}
|
|
44
50
|
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
box-shadow: none;
|
|
49
|
-
}
|
|
51
|
+
.rdp-day_range_start.rdp-day_range_end {
|
|
52
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
53
|
+
}
|
|
50
54
|
|
|
51
|
-
.navds-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
.navds-date__field {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
width: 100%;
|
|
59
|
+
position: relative;
|
|
60
|
+
}
|
|
54
61
|
|
|
55
|
-
.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
border-radius: var(--a-border-radius-medium);
|
|
62
|
-
}
|
|
62
|
+
.rdp-day_selected,
|
|
63
|
+
.navds-monthpicker__month--selected {
|
|
64
|
+
color: var(--ax-text-accent-contrast);
|
|
65
|
+
background: var(--ax-bg-accent-strong-pressed);
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
63
68
|
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
.rdp-day_disabled {
|
|
70
|
+
cursor: not-allowed;
|
|
71
|
+
text-decoration: line-through;
|
|
72
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
73
|
+
color: var(--ax-text-subtle);
|
|
74
|
+
}
|
|
68
75
|
|
|
69
|
-
.
|
|
70
|
-
|
|
71
|
-
var(--
|
|
72
|
-
|
|
76
|
+
.rdp-button:where(:not(.rdp-day_selected, [disabled])):hover,
|
|
77
|
+
.navds-date__month-button:where(:not(.rdp-day_selected, [disabled])):hover {
|
|
78
|
+
background: var(--ax-bg-accent-moderate-hoverA);
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
73
81
|
|
|
74
|
-
.
|
|
75
|
-
|
|
76
|
-
|
|
82
|
+
.rdp-day_today {
|
|
83
|
+
position: relative;
|
|
84
|
+
|
|
85
|
+
&::before {
|
|
86
|
+
width: 6px;
|
|
87
|
+
height: 6px;
|
|
88
|
+
display: block;
|
|
89
|
+
background-color: var(--ax-text-accent);
|
|
90
|
+
border-radius: var(--ax-border-radius-full);
|
|
91
|
+
content: "";
|
|
92
|
+
position: absolute;
|
|
93
|
+
bottom: 5px;
|
|
94
|
+
left: 50%;
|
|
95
|
+
transform: translateX(-50%);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.rdp-day_selected:not(.rdp-day_range_middle),
|
|
99
|
+
&:active {
|
|
100
|
+
&::before {
|
|
101
|
+
background-color: var(--ax-text-accent-contrast);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
77
105
|
|
|
78
|
-
.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
106
|
+
.rdp-day_outside {
|
|
107
|
+
visibility: hidden;
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
}
|
|
82
110
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
111
|
+
.navds-date__modal & {
|
|
112
|
+
padding: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.navds-date__modal-body > & {
|
|
116
|
+
padding: 0;
|
|
87
117
|
}
|
|
88
118
|
}
|
|
89
119
|
|
|
90
|
-
.navds-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
120
|
+
.navds-date__caption {
|
|
121
|
+
display: flex;
|
|
122
|
+
justify-content: space-between;
|
|
123
|
+
align-items: center;
|
|
124
|
+
gap: var(--ax-spacing-1);
|
|
125
|
+
padding-inline: var(--ax-spacing-1);
|
|
95
126
|
}
|
|
96
127
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
128
|
+
.navds-date__caption-button {
|
|
129
|
+
width: 2rem;
|
|
130
|
+
height: 2rem;
|
|
131
|
+
color: var(--ax-text-default);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.navds-date__caption__month .navds-select__container select {
|
|
135
|
+
text-transform: capitalize;
|
|
104
136
|
}
|
|
105
137
|
|
|
106
138
|
/* Monthpicker */
|
|
@@ -110,24 +142,10 @@
|
|
|
110
142
|
width: 3rem;
|
|
111
143
|
height: 3rem;
|
|
112
144
|
text-transform: capitalize;
|
|
113
|
-
border-radius: var(--
|
|
145
|
+
border-radius: var(--ax-border-radius-medium);
|
|
114
146
|
cursor: pointer;
|
|
115
147
|
}
|
|
116
148
|
|
|
117
|
-
.navds-date__month-button:focus-visible,
|
|
118
|
-
.navds-monthpicker__caption-button:focus-visible {
|
|
119
|
-
box-shadow: var(--a-shadow-focus);
|
|
120
|
-
z-index: 1;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@supports not selector(:focus-visible) {
|
|
124
|
-
.navds-date__month-button:focus,
|
|
125
|
-
.navds-monthpicker__caption-button:focus {
|
|
126
|
-
box-shadow: var(--a-shadow-focus);
|
|
127
|
-
z-index: 1;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
149
|
.navds-date__year-label {
|
|
132
150
|
display: flex;
|
|
133
151
|
align-items: center;
|
|
@@ -137,86 +155,28 @@
|
|
|
137
155
|
.navds-date__standalone-wrapper {
|
|
138
156
|
height: fit-content;
|
|
139
157
|
width: fit-content;
|
|
140
|
-
}
|
|
141
158
|
|
|
142
|
-
.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.navds-date .rdp-day_selected,
|
|
157
|
-
.navds-monthpicker__month--selected {
|
|
158
|
-
color: var(--ac-date-selected-text, var(--a-text-on-action));
|
|
159
|
-
background: var(--ac-date-selected-bg, var(--a-surface-action-selected));
|
|
160
|
-
cursor: pointer;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.navds-date .rdp-day_disabled {
|
|
164
|
-
cursor: not-allowed;
|
|
165
|
-
text-decoration: line-through;
|
|
166
|
-
background-color: var(--ac-date-disabled-bg, var(--a-surface-neutral-subtle));
|
|
167
|
-
color: var(--ac-date-disabled-text, var(--a-text-subtle));
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.navds-date .rdp-button:where(:not(.rdp-day_selected, [disabled])):hover,
|
|
171
|
-
.navds-date__month-button:where(:not(.rdp-day_selected, [disabled])):hover {
|
|
172
|
-
background: var(--ac-date-hover-bg, var(--a-surface-action-subtle-hover));
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.navds-date .rdp-day_today {
|
|
177
|
-
box-shadow: 0 0 0 1px var(--ac-date-today-border, var(--a-border-action-selected));
|
|
178
|
-
text-decoration: underline;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.navds-date__caption {
|
|
182
|
-
display: flex;
|
|
183
|
-
justify-content: space-between;
|
|
184
|
-
align-items: center;
|
|
185
|
-
gap: var(--a-spacing-1);
|
|
186
|
-
padding-inline: var(--a-spacing-1);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.navds-date__caption-button,
|
|
190
|
-
.navds-date__caption-button:disabled,
|
|
191
|
-
.navds-date__caption-button:disabled:hover {
|
|
192
|
-
color: var(--ac-date-caption-text, var(--a-text-default));
|
|
159
|
+
.rdp-cell > button.rdp-day,
|
|
160
|
+
button.navds-date__month-button {
|
|
161
|
+
&:focus-visible {
|
|
162
|
+
outline: 2px solid var(--ax-border-focus);
|
|
163
|
+
outline-offset: 1px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:active:not(:disabled) {
|
|
167
|
+
color: var(--ax-text-accent-contrast);
|
|
168
|
+
background-color: var(--ax-bg-accent-strong-pressed);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
193
171
|
}
|
|
194
172
|
|
|
195
173
|
.navds-date__field-input {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
.navds-form-field--small .navds-date__field-input {
|
|
200
|
-
padding-right: var(--a-spacing-8);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/* Error-handling */
|
|
204
|
-
.navds-date__field--error .navds-date__field-input:not(:hover, :disabled) {
|
|
205
|
-
border-color: var(--ac-date-input-error-border, var(--a-border-danger));
|
|
206
|
-
box-shadow: inset 0 0 0 1px var(--ac-date-input-error-border, var(--a-border-danger));
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.navds-date__field--error .navds-date__field-input:focus-visible:not(:hover, :disabled) {
|
|
210
|
-
box-shadow:
|
|
211
|
-
inset 0 0 0 1px var(--ac-date-input-error-border, var(--a-border-danger)),
|
|
212
|
-
var(--a-shadow-focus);
|
|
213
|
-
}
|
|
174
|
+
&.navds-text-field__input {
|
|
175
|
+
padding-right: var(--ax-spacing-12);
|
|
176
|
+
}
|
|
214
177
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
box-shadow:
|
|
218
|
-
inset 0 0 0 1px var(--ac-date-input-error-border, var(--a-border-danger)),
|
|
219
|
-
var(--a-shadow-focus);
|
|
178
|
+
.navds-form-field--small & {
|
|
179
|
+
padding-right: var(--ax-spacing-8);
|
|
220
180
|
}
|
|
221
181
|
}
|
|
222
182
|
|
|
@@ -225,74 +185,65 @@
|
|
|
225
185
|
right: 0.0625rem;
|
|
226
186
|
top: 50%;
|
|
227
187
|
transform: translateY(-50%);
|
|
228
|
-
color: var(--
|
|
188
|
+
color: var(--ax-text-default);
|
|
229
189
|
display: inline-flex;
|
|
230
190
|
cursor: pointer;
|
|
231
191
|
margin: 0;
|
|
232
192
|
text-decoration: none;
|
|
233
193
|
border: none;
|
|
234
194
|
background: none;
|
|
235
|
-
border-radius: calc(var(--
|
|
236
|
-
padding: var(--
|
|
195
|
+
border-radius: calc(var(--ax-border-radius-medium) - 1px);
|
|
196
|
+
padding: var(--ax-spacing-3);
|
|
237
197
|
align-items: center;
|
|
238
198
|
justify-content: center;
|
|
239
199
|
font-size: 1.5rem;
|
|
240
200
|
height: calc(100% - 0.125rem);
|
|
241
201
|
border-start-start-radius: 0;
|
|
242
202
|
border-end-start-radius: 0;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.navds-form-field--small .navds-date__field-button {
|
|
246
|
-
padding: var(--a-spacing-1);
|
|
247
|
-
}
|
|
248
203
|
|
|
249
|
-
.navds-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
204
|
+
.navds-form-field--small & {
|
|
205
|
+
padding: var(--ax-spacing-1);
|
|
206
|
+
}
|
|
253
207
|
|
|
254
|
-
.navds-form-field--disabled
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
208
|
+
.navds-form-field--disabled & {
|
|
209
|
+
opacity: 1;
|
|
210
|
+
cursor: not-allowed;
|
|
211
|
+
}
|
|
258
212
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
}
|
|
213
|
+
/* Readonly */
|
|
214
|
+
.navds-date__field--readonly & {
|
|
215
|
+
cursor: default;
|
|
216
|
+
}
|
|
264
217
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
outline: none;
|
|
268
|
-
box-shadow: var(--a-shadow-focus);
|
|
218
|
+
&:focus-visible {
|
|
219
|
+
outline-color: var(--ax-border-focus);
|
|
269
220
|
}
|
|
270
221
|
}
|
|
271
222
|
|
|
272
|
-
.navds-
|
|
273
|
-
|
|
223
|
+
.navds-date__field-wrapper {
|
|
224
|
+
display: inline-flex;
|
|
225
|
+
align-items: center;
|
|
226
|
+
position: relative;
|
|
227
|
+
width: fit-content;
|
|
274
228
|
}
|
|
275
229
|
|
|
276
|
-
.navds-
|
|
277
|
-
|
|
278
|
-
|
|
230
|
+
.navds-date__week-row {
|
|
231
|
+
display: flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
gap: var(--ax-spacing-05);
|
|
279
234
|
}
|
|
280
235
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
cursor: default;
|
|
284
|
-
color: var(--a-gray-500);
|
|
236
|
+
.navds-date__weeknumber {
|
|
237
|
+
--__axc-button-border-width: 1px;
|
|
285
238
|
}
|
|
286
239
|
|
|
287
|
-
.navds-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
240
|
+
.navds-date__weeknumber-number {
|
|
241
|
+
font-size: 0.875rem;
|
|
242
|
+
color: var(--ax-text-subtle);
|
|
291
243
|
|
|
292
|
-
.navds-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
gap: var(--a-spacing-05);
|
|
244
|
+
.navds-date__weeknumber:active & {
|
|
245
|
+
color: var(--ax-text-neutral-contrast);
|
|
246
|
+
}
|
|
296
247
|
}
|
|
297
248
|
|
|
298
249
|
.navds-date__week-wrapper {
|
|
@@ -303,37 +254,25 @@
|
|
|
303
254
|
margin: 0;
|
|
304
255
|
}
|
|
305
256
|
|
|
306
|
-
.navds-date__modal.navds-date {
|
|
307
|
-
padding: 0;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
257
|
.navds-date__modal-body {
|
|
311
258
|
display: flex;
|
|
312
259
|
flex-direction: column;
|
|
313
260
|
align-items: flex-end;
|
|
314
|
-
padding: var(--
|
|
315
|
-
gap: var(--
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.navds-date__modal-body > .navds-date {
|
|
319
|
-
padding: 0;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.navds-date__popover:where(.navds-popover) {
|
|
323
|
-
border: none;
|
|
261
|
+
padding: var(--ax-spacing-4);
|
|
262
|
+
gap: var(--ax-spacing-2);
|
|
324
263
|
}
|
|
325
264
|
|
|
326
265
|
@media (min-width: 480px) {
|
|
327
266
|
.navds-date {
|
|
328
|
-
padding: var(--
|
|
267
|
+
padding: var(--ax-spacing-5) var(--ax-spacing-4);
|
|
329
268
|
}
|
|
330
269
|
|
|
331
270
|
.navds-date__modal-body {
|
|
332
|
-
padding: var(--
|
|
271
|
+
padding: var(--ax-spacing-6);
|
|
333
272
|
}
|
|
334
273
|
|
|
335
274
|
.navds-date__caption {
|
|
336
|
-
gap: var(--
|
|
275
|
+
gap: var(--ax-spacing-2);
|
|
337
276
|
}
|
|
338
277
|
|
|
339
278
|
.navds-date .rdp-button,
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
/* ------------------------ ExpansionCard Small-size ------------------------ */
|
|
18
18
|
.navds-expansioncard--small {
|
|
19
19
|
--__axc-expansioncard-padding-inline: var(--ax-spacing-4);
|
|
20
|
+
--__axc-expansioncard-padding-block: var(--ax-spacing-3);
|
|
20
21
|
|
|
21
22
|
& > .navds-expansioncard__header .navds-expansioncard__title--small {
|
|
22
23
|
margin-top: var(--ax-spacing-05);
|
|
@@ -69,7 +69,6 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.navds-combobox__button-clear svg,
|
|
73
72
|
.navds-combobox__button-toggle-list svg,
|
|
74
73
|
.navds-combobox__list svg {
|
|
75
74
|
width: var(--__axc-combobox-icon-size);
|
|
@@ -203,19 +202,6 @@
|
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
204
|
|
|
206
|
-
.navds-combobox__button-clear {
|
|
207
|
-
border-radius: var(--ax-border-radius-medium);
|
|
208
|
-
color: var(--ax-text-subtle);
|
|
209
|
-
display: flex;
|
|
210
|
-
justify-content: center;
|
|
211
|
-
align-items: center;
|
|
212
|
-
cursor: pointer;
|
|
213
|
-
background: none;
|
|
214
|
-
border: none;
|
|
215
|
-
font-size: 1rem;
|
|
216
|
-
padding: 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
205
|
.navds-combobox__input::-webkit-search-cancel-button {
|
|
220
206
|
display: none;
|
|
221
207
|
}
|
|
@@ -231,10 +217,7 @@
|
|
|
231
217
|
border: none;
|
|
232
218
|
font-size: 1rem;
|
|
233
219
|
padding: 0;
|
|
234
|
-
}
|
|
235
220
|
|
|
236
|
-
.navds-combobox__button-clear,
|
|
237
|
-
.navds-combobox__button-toggle-list {
|
|
238
221
|
&:hover {
|
|
239
222
|
color: var(--ax-text-accent);
|
|
240
223
|
|
|
@@ -405,10 +388,6 @@
|
|
|
405
388
|
}
|
|
406
389
|
|
|
407
390
|
@media (forced-colors: active) {
|
|
408
|
-
.navds-combobox__button-clear:hover {
|
|
409
|
-
color: highlight;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
391
|
.navds-combobox__wrapper-inner:has(.navds-combobox__input:focus-visible) {
|
|
413
392
|
outline-color: highlight;
|
|
414
393
|
}
|