@navikt/ds-css 7.9.0 → 7.9.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 +12 -0
- package/README.md +6 -6
- package/darkside/accordion.darkside.css +8 -9
- package/darkside/action-menu.darkside.css +12 -12
- package/darkside/alert.darkside.css +8 -8
- package/darkside/button.darkside.css +20 -22
- package/darkside/chat.darkside.css +7 -7
- package/darkside/chips.darkside.css +19 -19
- package/darkside/copybutton.darkside.css +13 -13
- package/darkside/date.darkside.css +17 -17
- package/darkside/expansioncard.darkside.css +10 -10
- package/darkside/form/combobox.darkside.css +20 -20
- package/darkside/form/error-summary.darkside.css +10 -10
- package/darkside/form/fieldset.darkside.css +1 -1
- package/darkside/form/file-upload.darkside.css +12 -12
- package/darkside/form/form-progress.darkside.css +3 -3
- package/darkside/form/form-summary.darkside.css +17 -17
- package/darkside/form/form.darkside.css +3 -3
- package/darkside/form/radio-checkbox.darkside.css +8 -8
- package/darkside/form/search.darkside.css +8 -8
- package/darkside/form/select.darkside.css +5 -5
- package/darkside/form/switch.darkside.css +10 -10
- package/darkside/form/text-field.darkside.css +5 -5
- package/darkside/form/textarea.darkside.css +4 -4
- package/darkside/guide-panel.darkside.css +8 -8
- package/darkside/help-text.darkside.css +2 -2
- package/darkside/internalheader.darkside.css +9 -9
- package/darkside/link.darkside.css +1 -1
- package/darkside/list.darkside.css +5 -5
- package/darkside/loader.darkside.css +1 -1
- package/darkside/modal.darkside.css +10 -10
- package/darkside/pagination.darkside.css +3 -3
- package/darkside/popover.darkside.css +2 -2
- package/darkside/primitives/page.darkside.css +1 -1
- package/darkside/progress-bar.darkside.css +2 -2
- package/darkside/read-more.darkside.css +13 -13
- package/darkside/skeleton.darkside.css +1 -1
- package/darkside/stepper.darkside.css +11 -11
- package/darkside/table.darkside.css +18 -22
- package/darkside/tabs.darkside.css +11 -11
- package/darkside/tag.darkside.css +21 -21
- package/darkside/timeline.darkside.css +19 -19
- package/darkside/toggle-group.darkside.css +7 -7
- package/darkside/tooltip.darkside.css +5 -5
- package/darkside/typography.darkside.css +19 -19
- package/dist/component/link.css +1 -1
- package/dist/component/link.min.css +1 -1
- package/dist/component/table.css +2 -6
- package/dist/component/table.min.css +1 -1
- package/dist/component/tag.css +6 -6
- package/dist/component/tag.min.css +1 -1
- package/dist/components.css +9 -13
- package/dist/components.min.css +1 -1
- package/dist/darkside/component/accordion.css +8 -9
- package/dist/darkside/component/accordion.min.css +1 -1
- package/dist/darkside/component/actionmenu.css +12 -12
- package/dist/darkside/component/actionmenu.min.css +1 -1
- package/dist/darkside/component/alert.css +6 -6
- package/dist/darkside/component/alert.min.css +1 -1
- package/dist/darkside/component/button.css +20 -22
- package/dist/darkside/component/button.min.css +1 -1
- package/dist/darkside/component/chat.css +7 -7
- package/dist/darkside/component/chat.min.css +1 -1
- package/dist/darkside/component/chips.css +19 -19
- package/dist/darkside/component/chips.min.css +1 -1
- package/dist/darkside/component/copybutton.css +13 -13
- package/dist/darkside/component/copybutton.min.css +1 -1
- package/dist/darkside/component/date.css +17 -17
- package/dist/darkside/component/date.min.css +1 -1
- package/dist/darkside/component/expansioncard.css +10 -10
- package/dist/darkside/component/expansioncard.min.css +1 -1
- package/dist/darkside/component/form.css +106 -106
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/guidepanel.css +8 -8
- package/dist/darkside/component/guidepanel.min.css +1 -1
- package/dist/darkside/component/helptext.css +2 -2
- package/dist/darkside/component/helptext.min.css +1 -1
- package/dist/darkside/component/internalheader.css +9 -9
- package/dist/darkside/component/internalheader.min.css +1 -1
- package/dist/darkside/component/link.css +1 -1
- package/dist/darkside/component/link.min.css +1 -1
- package/dist/darkside/component/list.css +5 -5
- package/dist/darkside/component/list.min.css +1 -1
- package/dist/darkside/component/loader.css +1 -1
- package/dist/darkside/component/loader.min.css +1 -1
- package/dist/darkside/component/modal.css +8 -8
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/component/pagination.css +3 -3
- package/dist/darkside/component/pagination.min.css +1 -1
- package/dist/darkside/component/popover.css +2 -2
- package/dist/darkside/component/popover.min.css +1 -1
- package/dist/darkside/component/primitives.css +1 -1
- 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 +13 -13
- package/dist/darkside/component/readmore.min.css +1 -1
- package/dist/darkside/component/skeleton.css +1 -1
- package/dist/darkside/component/skeleton.min.css +1 -1
- package/dist/darkside/component/stepper.css +11 -11
- package/dist/darkside/component/stepper.min.css +1 -1
- package/dist/darkside/component/table.css +18 -22
- package/dist/darkside/component/table.min.css +1 -1
- package/dist/darkside/component/tabs.css +11 -11
- package/dist/darkside/component/tabs.min.css +1 -1
- package/dist/darkside/component/tag.css +21 -21
- package/dist/darkside/component/tag.min.css +1 -1
- package/dist/darkside/component/timeline.css +19 -19
- package/dist/darkside/component/timeline.min.css +1 -1
- package/dist/darkside/component/togglegroup.css +7 -7
- package/dist/darkside/component/togglegroup.min.css +1 -1
- package/dist/darkside/component/tooltip.css +5 -5
- package/dist/darkside/component/tooltip.min.css +1 -1
- package/dist/darkside/component/typography.css +19 -19
- package/dist/darkside/component/typography.min.css +1 -1
- package/dist/darkside/components.css +385 -392
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/tokens.css +460 -477
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +845 -869
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/accordion.css +8 -9
- package/dist/darkside/version/7.9.2/component/accordion.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/actionmenu.css +12 -12
- package/dist/darkside/version/7.9.2/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/alert.css +6 -6
- package/dist/darkside/version/7.9.2/component/alert.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/button.css +20 -22
- package/dist/darkside/version/7.9.2/component/button.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/chat.css +7 -7
- package/dist/darkside/version/7.9.2/component/chat.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/chips.css +19 -19
- package/dist/darkside/version/7.9.2/component/chips.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/copybutton.css +13 -13
- package/dist/darkside/version/7.9.2/component/copybutton.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/date.css +17 -17
- package/dist/darkside/version/7.9.2/component/date.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/expansioncard.css +10 -10
- package/dist/darkside/version/7.9.2/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/form.css +106 -106
- package/dist/darkside/version/7.9.2/component/form.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/guidepanel.css +8 -8
- package/dist/darkside/version/7.9.2/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/helptext.css +2 -2
- package/dist/darkside/version/7.9.2/component/helptext.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/internalheader.css +9 -9
- package/dist/darkside/version/7.9.2/component/internalheader.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/link.css +1 -1
- package/dist/darkside/version/7.9.2/component/link.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/list.css +5 -5
- package/dist/darkside/version/7.9.2/component/list.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/loader.css +1 -1
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/loader.min.css +1 -1
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/modal.css +8 -8
- package/dist/darkside/version/7.9.2/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/pagination.css +3 -3
- package/dist/darkside/version/7.9.2/component/pagination.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/popover.css +2 -2
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/popover.min.css +1 -1
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/primitives.css +1 -1
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/primitives.min.css +1 -1
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/progressbar.css +2 -2
- package/dist/darkside/version/7.9.2/component/progressbar.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/readmore.css +13 -13
- package/dist/darkside/version/7.9.2/component/readmore.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/skeleton.css +1 -1
- package/dist/darkside/version/7.9.2/component/skeleton.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/stepper.css +11 -11
- package/dist/darkside/version/7.9.2/component/stepper.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/table.css +18 -22
- package/dist/darkside/version/7.9.2/component/table.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/tabs.css +11 -11
- package/dist/darkside/version/7.9.2/component/tabs.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/tag.css +21 -21
- package/dist/darkside/version/7.9.2/component/tag.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/timeline.css +19 -19
- package/dist/darkside/version/7.9.2/component/timeline.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/togglegroup.css +7 -7
- package/dist/darkside/version/7.9.2/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/tooltip.css +5 -5
- package/dist/darkside/version/7.9.2/component/tooltip.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/component/typography.css +19 -19
- package/dist/darkside/version/7.9.2/component/typography.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/components.css +385 -392
- package/dist/darkside/version/7.9.2/components.min.css +1 -0
- package/dist/darkside/version/7.9.2/global/tokens.css +879 -0
- package/dist/darkside/version/7.9.2/global/tokens.min.css +1 -0
- package/dist/darkside/version/{7.9.0 → 7.9.2}/index.css +845 -869
- package/dist/darkside/version/7.9.2/index.min.css +1 -0
- package/dist/global/tokens.css +23 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +32 -14
- package/dist/index.min.css +2 -2
- package/link.css +1 -1
- package/package.json +4 -4
- package/table.css +2 -6
- package/tag.css +6 -6
- package/dist/darkside/version/7.9.0/component/accordion.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/actionmenu.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/alert.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/button.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/chat.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/chips.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/copybutton.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/date.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/expansioncard.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/form.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/guidepanel.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/helptext.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/internalheader.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/link.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/list.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/modal.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/pagination.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/progressbar.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/readmore.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/skeleton.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/stepper.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/table.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/tabs.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/tag.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/timeline.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/togglegroup.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/tooltip.min.css +0 -1
- package/dist/darkside/version/7.9.0/component/typography.min.css +0 -1
- package/dist/darkside/version/7.9.0/components.min.css +0 -1
- package/dist/darkside/version/7.9.0/global/tokens.css +0 -896
- package/dist/darkside/version/7.9.0/global/tokens.min.css +0 -1
- package/dist/darkside/version/7.9.0/index.min.css +0 -1
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/linkpanel.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/linkpanel.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/theme.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/component/theme.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/baseline.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/baseline.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/fonts.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/fonts.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/print.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.9.0 → 7.9.2}/global/reset.min.css +0 -0
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
/* ------------------------------ Search input ------------------------------ */
|
|
35
35
|
.navds-search__input {
|
|
36
|
-
padding-right: var(--ax-
|
|
36
|
+
padding-right: var(--ax-space-40);
|
|
37
37
|
|
|
38
38
|
&:focus-visible {
|
|
39
39
|
outline: none;
|
|
@@ -48,33 +48,33 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.navds-search__input--simple {
|
|
51
|
-
padding-left: var(--ax-
|
|
51
|
+
padding-left: var(--ax-space-40);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* ------------------------------ Search sizing ----------------------------- */
|
|
55
55
|
.navds-form-field--small {
|
|
56
56
|
& .navds-search__input {
|
|
57
|
-
padding-right: var(--ax-
|
|
57
|
+
padding-right: var(--ax-space-28);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
& .navds-search__input--simple {
|
|
61
|
-
padding-left: var(--ax-
|
|
61
|
+
padding-left: var(--ax-space-28);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
& .navds-search__search-icon {
|
|
65
|
-
left: var(--ax-
|
|
65
|
+
left: var(--ax-space-4);
|
|
66
66
|
font-size: 1.25rem;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
& .navds-search__button-clear {
|
|
70
|
-
right: var(--ax-
|
|
70
|
+
right: var(--ax-space-4);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* ------------------------------- Search icon ------------------------------ */
|
|
75
75
|
.navds-search__search-icon {
|
|
76
76
|
position: absolute;
|
|
77
|
-
left: var(--ax-
|
|
77
|
+
left: var(--ax-space-8);
|
|
78
78
|
top: 50%;
|
|
79
79
|
transform: translateY(-50%);
|
|
80
80
|
pointer-events: none;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
/* --------------------------- Search Clear-button -------------------------- */
|
|
89
89
|
.navds-search__button-clear {
|
|
90
90
|
position: absolute;
|
|
91
|
-
right: var(--ax-
|
|
91
|
+
right: var(--ax-space-8);
|
|
92
92
|
top: 50%;
|
|
93
93
|
transform: translateY(-50%);
|
|
94
94
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
min-height: 3rem;
|
|
10
10
|
display: inline-block;
|
|
11
11
|
position: relative;
|
|
12
|
-
padding: var(--ax-
|
|
13
|
-
padding-right: var(--ax-
|
|
12
|
+
padding: var(--ax-space-8);
|
|
13
|
+
padding-right: var(--ax-space-40);
|
|
14
14
|
|
|
15
15
|
&:hover {
|
|
16
16
|
border-color: var(--ax-border-accent-strong);
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
.navds-select__chevron {
|
|
44
44
|
position: absolute;
|
|
45
45
|
font-size: 1.5rem;
|
|
46
|
-
right: var(--ax-
|
|
46
|
+
right: var(--ax-space-8);
|
|
47
47
|
pointer-events: none;
|
|
48
48
|
align-self: center;
|
|
49
49
|
color: var(--ax-text-default);
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
/* ----------------------------- Select Readonly ---------------------------- */
|
|
103
103
|
.navds-select--readonly {
|
|
104
104
|
& .navds-select__input {
|
|
105
|
-
background-color: var(--ax-bg-
|
|
106
|
-
border-color: var(--ax-border-
|
|
105
|
+
background-color: var(--ax-bg-moderate);
|
|
106
|
+
border-color: var(--ax-border-subtleA);
|
|
107
107
|
cursor: default;
|
|
108
108
|
|
|
109
109
|
@media (forced-colors: active) {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.navds-switch--small & {
|
|
44
|
-
padding: calc(var(--ax-
|
|
44
|
+
padding: calc(var(--ax-space-8) - var(--ax-space-2)) 0 calc(var(--ax-space-8) - var(--ax-space-2)) 3.25rem;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.navds-switch--right.navds-switch--small & {
|
|
48
|
-
padding: calc(var(--ax-
|
|
48
|
+
padding: calc(var(--ax-space-8) - var(--ax-space-2)) 3.25rem calc(var(--ax-space-8) - var(--ax-space-2)) 0;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
height: 1.5rem;
|
|
69
69
|
background-color: var(--ax-bg-input);
|
|
70
70
|
position: absolute;
|
|
71
|
-
top: var(--ax-
|
|
71
|
+
top: var(--ax-space-12);
|
|
72
72
|
left: 0;
|
|
73
73
|
border-radius: var(--ax-border-radius-full);
|
|
74
74
|
border: 2px solid var(--ax-border-default);
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
78
78
|
|
|
79
79
|
.navds-switch--small > & {
|
|
80
|
-
top: var(--ax-
|
|
80
|
+
top: var(--ax-space-4);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.navds-switch__input:checked ~ & {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
|
|
109
109
|
/* ------------------------------ Switch Thumb ------------------------------ */
|
|
110
110
|
.navds-switch__thumb {
|
|
111
|
-
background-color: var(--ax-bg-
|
|
111
|
+
background-color: var(--ax-bg-strong);
|
|
112
112
|
border-radius: var(--ax-border-radius-full);
|
|
113
113
|
width: 1.125rem;
|
|
114
114
|
height: 1.125rem;
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
& > .navds-switch__input:hover ~ .navds-switch__track,
|
|
184
184
|
& > .navds-switch__input:checked ~ .navds-switch__track,
|
|
185
185
|
& > .navds-switch__input:checked:hover ~ .navds-switch__track {
|
|
186
|
-
background-color: var(--ax-bg-
|
|
187
|
-
border-color: var(--ax-border-
|
|
186
|
+
background-color: var(--ax-bg-moderate);
|
|
187
|
+
border-color: var(--ax-border-subtleA);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
& > .navds-switch__label-wrapper,
|
|
@@ -202,12 +202,12 @@
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
& .navds-switch__thumb {
|
|
205
|
-
background-color: var(--ax-bg-
|
|
205
|
+
background-color: var(--ax-bg-strong);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
& > .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
|
|
209
|
-
background-color: var(--ax-bg-
|
|
210
|
-
color: var(--ax-text-
|
|
209
|
+
background-color: var(--ax-bg-strong);
|
|
210
|
+
color: var(--ax-text-contrast);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.navds-text-field__input {
|
|
2
2
|
appearance: none;
|
|
3
|
-
padding: var(--ax-
|
|
3
|
+
padding: var(--ax-space-8);
|
|
4
4
|
background: var(--ax-bg-input);
|
|
5
5
|
border-radius: var(--ax-border-radius-medium);
|
|
6
6
|
border: 1px solid var(--ax-border-default);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&::placeholder {
|
|
28
|
-
color: var(--ax-text-
|
|
28
|
+
color: var(--ax-text-subtle);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&[size] {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.navds-form-field--small .navds-text-field__input {
|
|
37
|
-
padding: 0 var(--ax-
|
|
37
|
+
padding: 0 var(--ax-space-8);
|
|
38
38
|
min-height: 2rem;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.navds-text-field--readonly .navds-text-field__input {
|
|
47
|
-
background-color: var(--ax-bg-
|
|
48
|
-
border-color: var(--ax-border-
|
|
47
|
+
background-color: var(--ax-bg-moderate);
|
|
48
|
+
border-color: var(--ax-border-subtleA);
|
|
49
49
|
cursor: default;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
|
|
3
3
|
height: var(--__axc-textarea-height);
|
|
4
4
|
appearance: none;
|
|
5
|
-
padding: var(--ax-
|
|
5
|
+
padding: var(--ax-space-8);
|
|
6
6
|
background-color: var(--ax-bg-input);
|
|
7
7
|
border-radius: var(--ax-border-radius-medium);
|
|
8
8
|
border: 1px solid var(--ax-border-default);
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.navds-form-field--small & {
|
|
35
|
-
padding: var(--ax-
|
|
35
|
+
padding: var(--ax-space-6);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.navds-textarea--readonly & {
|
|
39
|
-
background-color: var(--ax-bg-
|
|
40
|
-
border-color: var(--ax-border-
|
|
39
|
+
background-color: var(--ax-bg-moderate);
|
|
40
|
+
border-color: var(--ax-border-subtleA);
|
|
41
41
|
cursor: default;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -51,23 +51,23 @@
|
|
|
51
51
|
position: relative;
|
|
52
52
|
|
|
53
53
|
.navds-guide-panel:is([data-poster="true"], [data-responsive="true"]) > & {
|
|
54
|
-
margin-top: var(--ax-
|
|
54
|
+
margin-top: var(--ax-space-20);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.navds-guide-panel[data-poster="false"] > & {
|
|
58
|
-
margin-left: var(--ax-
|
|
58
|
+
margin-left: var(--ax-space-20);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
@media (min-width: 480px) {
|
|
62
62
|
.navds-guide-panel[data-responsive="true"] > & {
|
|
63
63
|
margin-top: 0;
|
|
64
|
-
margin-left: var(--ax-
|
|
64
|
+
margin-left: var(--ax-space-20);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.navds-guide-panel__content-inner {
|
|
70
|
-
padding: var(--ax-
|
|
70
|
+
padding: var(--ax-space-12) var(--ax-space-16);
|
|
71
71
|
border-radius: var(--ax-border-radius-xlarge);
|
|
72
72
|
background-color: var(--ax-bg-raised);
|
|
73
73
|
position: relative;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
@media (min-width: 480px) {
|
|
81
81
|
& {
|
|
82
|
-
padding: var(--ax-
|
|
82
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.navds-guide-panel[data-responsive="true"] & {
|
|
@@ -94,20 +94,20 @@
|
|
|
94
94
|
|
|
95
95
|
.navds-guide-panel:is([data-poster="true"], [data-responsive="true"]) & {
|
|
96
96
|
left: 50%;
|
|
97
|
-
top: calc(var(--ax-
|
|
97
|
+
top: calc(var(--ax-space-16) * -1 - 2px);
|
|
98
98
|
transform: translateX(-48%);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.navds-guide-panel[data-poster="false"] & {
|
|
102
102
|
top: calc(var(--__axc-guide-panel-guide-size) / 2);
|
|
103
|
-
left: calc(var(--ax-
|
|
103
|
+
left: calc(var(--ax-space-20) * -1 - 2px);
|
|
104
104
|
transform: translateY(-48%) rotateZ(-90deg) scaleX(-1);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@media (min-width: 480px) {
|
|
108
108
|
.navds-guide-panel[data-responsive="true"] & {
|
|
109
109
|
top: calc(var(--__axc-guide-panel-guide-size) / 2);
|
|
110
|
-
left: calc(var(--ax-
|
|
110
|
+
left: calc(var(--ax-space-20) * -1 - 2px);
|
|
111
111
|
transform: translateY(-48%) rotateZ(-90deg) scaleX(-1);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
align-items: center;
|
|
10
10
|
color: var(--ax-bg-accent-strong);
|
|
11
11
|
font-size: 1.25rem;
|
|
12
|
-
padding: calc(var(--ax-
|
|
12
|
+
padding: calc(var(--ax-space-4) / 2);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.navds-help-text__icon {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.navds-help-text__popover.navds-popover {
|
|
20
20
|
background-color: var(--ax-bg-info-moderate);
|
|
21
|
-
max-width: min(65ch, calc(100vw - var(--ax-
|
|
21
|
+
max-width: min(65ch, calc(100vw - var(--ax-space-24)));
|
|
22
22
|
border-radius: var(--ax-border-radius-large);
|
|
23
23
|
border: 1px solid var(--ax-border-info);
|
|
24
24
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
line-height: normal;
|
|
24
24
|
text-align: left;
|
|
25
25
|
padding-block: 0;
|
|
26
|
-
padding-inline: var(--ax-
|
|
26
|
+
padding-inline: var(--ax-space-24) var(--ax-space-20);
|
|
27
27
|
border-right: 1px solid var(--ax-border-subtleA);
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&:hover {
|
|
39
|
-
background: var(--ax-bg-
|
|
39
|
+
background: var(--ax-bg-moderate-hover);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&:is(:hover, :active):not(button, a) {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.navds-internalheader__user {
|
|
48
|
-
padding: 0 var(--ax-
|
|
48
|
+
padding: 0 var(--ax-space-20);
|
|
49
49
|
border-left: 1px solid var(--ax-border-subtleA);
|
|
50
50
|
display: flex;
|
|
51
51
|
align-items: center;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
.navds-internalheader__button {
|
|
55
55
|
border: none;
|
|
56
56
|
margin: 0;
|
|
57
|
-
padding: 0 var(--ax-
|
|
57
|
+
padding: 0 var(--ax-space-12);
|
|
58
58
|
overflow: visible;
|
|
59
59
|
background: transparent;
|
|
60
60
|
font: inherit;
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
display: flex;
|
|
65
65
|
align-items: center;
|
|
66
66
|
justify-self: center;
|
|
67
|
-
gap: var(--ax-
|
|
67
|
+
gap: var(--ax-space-8);
|
|
68
68
|
border-left: 1px solid var(--ax-border-subtleA);
|
|
69
69
|
color: var(--ax-text-default);
|
|
70
70
|
|
|
71
71
|
&:hover {
|
|
72
|
-
background: var(--ax-bg-
|
|
72
|
+
background: var(--ax-bg-moderate-hover);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -91,11 +91,11 @@
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&:active {
|
|
94
|
-
background: var(--ax-bg-
|
|
94
|
+
background: var(--ax-bg-moderate-pressed);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.navds-internalheader__user-button {
|
|
99
|
-
padding-left: var(--ax-
|
|
100
|
-
gap: var(--ax-
|
|
99
|
+
padding-left: var(--ax-space-20);
|
|
100
|
+
gap: var(--ax-space-16);
|
|
101
101
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.navds-list ul,
|
|
2
2
|
.navds-list ol {
|
|
3
3
|
padding: 0;
|
|
4
|
-
margin-block: var(--ax-
|
|
4
|
+
margin-block: var(--ax-space-16);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.navds-list--small ul,
|
|
8
8
|
.navds-list--small ol {
|
|
9
|
-
margin-block: var(--ax-
|
|
9
|
+
margin-block: var(--ax-space-12);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.navds-list {
|
|
13
13
|
& .navds-list :where(ul, ol) {
|
|
14
|
-
margin-block: var(--ax-
|
|
14
|
+
margin-block: var(--ax-space-8) 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
& ol {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
& > .navds-list__item {
|
|
32
32
|
display: grid;
|
|
33
33
|
grid-template-columns: auto 1fr;
|
|
34
|
-
gap: var(--ax-
|
|
34
|
+
gap: var(--ax-space-8);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
& > li > .navds-list__item-marker {
|
|
@@ -61,7 +61,7 @@ _:future,
|
|
|
61
61
|
/* stylelint-enable selector-type-no-unknown */
|
|
62
62
|
|
|
63
63
|
.navds-list__item {
|
|
64
|
-
margin-block-end: var(--ax-
|
|
64
|
+
margin-block-end: var(--ax-space-8);
|
|
65
65
|
|
|
66
66
|
&:last-child {
|
|
67
67
|
margin-block-end: 0;
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
width: 450px;
|
|
61
61
|
|
|
62
62
|
& .navds-modal__header {
|
|
63
|
-
padding: var(--ax-
|
|
63
|
+
padding: var(--ax-space-12) var(--ax-space-16);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
& .navds-modal__body {
|
|
67
|
-
padding: var(--ax-
|
|
67
|
+
padding: var(--ax-space-12) var(--ax-space-16);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
& .navds-modal__footer {
|
|
71
|
-
padding: var(--ax-
|
|
71
|
+
padding: var(--ax-space-12) var(--ax-space-16);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -116,19 +116,19 @@
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.navds-modal__button {
|
|
119
|
-
margin-left: var(--ax-
|
|
119
|
+
margin-left: var(--ax-space-16);
|
|
120
120
|
float: right;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.navds-modal__header {
|
|
124
|
-
padding: var(--ax-
|
|
124
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.navds-modal__header-icon {
|
|
128
128
|
& svg {
|
|
129
129
|
display: inline;
|
|
130
130
|
vertical-align: -0.25rem;
|
|
131
|
-
margin-right: var(--ax-
|
|
131
|
+
margin-right: var(--ax-space-4);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.navds-modal__body {
|
|
141
|
-
padding: var(--ax-
|
|
141
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
142
142
|
overflow: auto;
|
|
143
143
|
overscroll-behavior: contain;
|
|
144
144
|
position: relative; /* Needed to make sr-only elements position correctly - see Storybook */
|
|
@@ -157,14 +157,14 @@
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.navds-modal__header + .navds-modal__body {
|
|
160
|
-
padding-top: var(--ax-
|
|
160
|
+
padding-top: var(--ax-space-0);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.navds-modal__footer {
|
|
164
164
|
display: flex;
|
|
165
165
|
flex-flow: row-reverse wrap;
|
|
166
|
-
gap: var(--ax-
|
|
167
|
-
padding: var(--ax-
|
|
166
|
+
gap: var(--ax-space-16);
|
|
167
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.navds-modal__footer :nth-of-type(2) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
padding: 0;
|
|
8
8
|
list-style: none;
|
|
9
9
|
display: flex;
|
|
10
|
-
gap: var(--ax-
|
|
10
|
+
gap: var(--ax-space-12);
|
|
11
11
|
|
|
12
12
|
& li {
|
|
13
13
|
list-style: none;
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.navds-pagination__item[data-selected="true"] {
|
|
35
|
-
background-color: var(--ax-bg-
|
|
36
|
-
color: var(--ax-text-
|
|
35
|
+
background-color: var(--ax-bg-strong-pressed);
|
|
36
|
+
color: var(--ax-text-contrast);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.navds-pagination--invisible {
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
border-radius: var(--ax-border-radius-xlarge);
|
|
7
7
|
|
|
8
8
|
/* Creates a small gutter between screen-edges on smaller devices */
|
|
9
|
-
max-width: calc(100vw - var(--ax-
|
|
9
|
+
max-width: calc(100vw - var(--ax-space-24));
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.navds-popover__content {
|
|
13
|
-
padding: var(--ax-
|
|
13
|
+
padding: var(--ax-space-16) var(--ax-space-20);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.navds-popover--hidden {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.navds-progress-bar {
|
|
2
|
-
background: var(--ax-bg-
|
|
2
|
+
background: var(--ax-bg-moderateA);
|
|
3
3
|
position: relative;
|
|
4
4
|
border-radius: var(--ax-border-radius-full);
|
|
5
5
|
overflow: hidden;
|
|
6
|
-
box-shadow: inset 0 0 0 1px var(--ax-border-
|
|
6
|
+
box-shadow: inset 0 0 0 1px var(--ax-border-subtleA);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.navds-progress-bar--small {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.navds-read-more {
|
|
2
2
|
--__axc-read-more-icon-size: 1.5rem;
|
|
3
3
|
--__axc-read-more-pi-start: 0px;
|
|
4
|
-
--__axc-read-more-pi-end: var(--ax-
|
|
5
|
-
--__axc-read-more-pb: var(--ax-
|
|
4
|
+
--__axc-read-more-pi-end: var(--ax-space-4);
|
|
5
|
+
--__axc-read-more-pb: var(--ax-space-4);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* ----------------------------- ReadMore Button ---------------------------- */
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
background: none;
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: flex-start;
|
|
16
|
-
gap: var(--ax-
|
|
16
|
+
gap: var(--ax-space-4);
|
|
17
17
|
color: var(--ax-text-accent);
|
|
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);
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
border-radius: var(--ax-border-radius-medium);
|
|
35
35
|
|
|
36
36
|
&:hover {
|
|
37
|
-
background-color: var(--ax-bg-
|
|
37
|
+
background-color: var(--ax-bg-hoverA);
|
|
38
38
|
color: var(--ax-text-accent-strong);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -52,24 +52,24 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&.navds-read-more--large {
|
|
55
|
-
--__axc-read-more-pi-start: var(--ax-
|
|
56
|
-
--__axc-read-more-pi-end: var(--ax-
|
|
55
|
+
--__axc-read-more-pi-start: var(--ax-space-12);
|
|
56
|
+
--__axc-read-more-pi-end: var(--ax-space-24);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&.navds-read-more--small,
|
|
60
60
|
&.navds-read-more--medium {
|
|
61
|
-
--__axc-read-more-pi-start: var(--ax-
|
|
62
|
-
--__axc-read-more-pi-end: var(--ax-
|
|
61
|
+
--__axc-read-more-pi-start: var(--ax-space-8);
|
|
62
|
+
--__axc-read-more-pi-end: var(--ax-space-16);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/* ---------------------------- ReadMore Content ---------------------------- */
|
|
67
67
|
.navds-read-more__content {
|
|
68
|
-
margin-top: var(--ax-
|
|
69
|
-
border-left: 2px solid var(--ax-border-
|
|
68
|
+
margin-top: var(--ax-space-8);
|
|
69
|
+
border-left: 2px solid var(--ax-border-subtleA);
|
|
70
70
|
color: var(--ax-text-default);
|
|
71
71
|
margin-left: calc(var(--__axc-read-more-pi-start) + var(--__axc-read-more-icon-size) / 2 - 1px);
|
|
72
|
-
padding-left: calc(var(--__axc-read-more-icon-size) / 2 - 1px + var(--ax-
|
|
72
|
+
padding-left: calc(var(--__axc-read-more-icon-size) / 2 - 1px + var(--ax-space-4));
|
|
73
73
|
|
|
74
74
|
&[data-state="closed"] {
|
|
75
75
|
display: none;
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
|
|
85
85
|
/* ----------------------------- ReadMore Sizes ----------------------------- */
|
|
86
86
|
.navds-read-more--large {
|
|
87
|
-
--__axc-read-more-pb: var(--ax-
|
|
87
|
+
--__axc-read-more-pb: var(--ax-space-12);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.navds-read-more--small {
|
|
91
91
|
--__axc-read-more-icon-size: 1.25rem;
|
|
92
|
-
--__axc-read-more-pb: var(--ax-
|
|
92
|
+
--__axc-read-more-pb: var(--ax-space-2);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/* ------------------------- ReadMore high-contrast ------------------------- */
|