@navikt/ds-css 7.10.0 → 7.12.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 +10 -0
- package/config/tests/bundle.test.ts +7 -2
- package/darkside/accordion.darkside.css +53 -60
- package/darkside/action-menu.darkside.css +13 -13
- package/darkside/baseline/baseline.darkside.css +2 -1
- package/darkside/baseline/fonts.darkside.css +12 -12
- package/darkside/button.darkside.css +24 -32
- package/darkside/chat.darkside.css +5 -5
- package/darkside/chips.darkside.css +14 -14
- package/darkside/copybutton.darkside.css +1 -134
- package/darkside/date.darkside.css +18 -24
- package/darkside/expansioncard.darkside.css +9 -17
- package/darkside/form/combobox.darkside.css +21 -22
- package/darkside/form/error-summary.darkside.css +3 -3
- package/darkside/form/fieldset.darkside.css +1 -1
- package/darkside/form/file-upload.darkside.css +19 -28
- package/darkside/form/form-progress.darkside.css +19 -21
- package/darkside/form/form-summary.darkside.css +8 -8
- package/darkside/form/form.darkside.css +2 -2
- package/darkside/form/radio-checkbox.darkside.css +46 -27
- package/darkside/form/search.darkside.css +6 -10
- package/darkside/form/select.darkside.css +13 -13
- package/darkside/form/switch.darkside.css +43 -28
- package/darkside/form/text-field.darkside.css +9 -9
- package/darkside/form/textarea.darkside.css +11 -11
- package/darkside/guide-panel.darkside.css +6 -2
- package/darkside/help-text.darkside.css +3 -3
- package/darkside/index.css +0 -1
- package/darkside/internalheader.darkside.css +10 -10
- package/darkside/link.darkside.css +8 -7
- package/darkside/list.darkside.css +1 -6
- package/darkside/loader.darkside.css +5 -5
- package/darkside/modal.darkside.css +4 -3
- package/darkside/pagination.darkside.css +2 -2
- package/darkside/popover.darkside.css +8 -2
- package/darkside/primitives/page.darkside.css +2 -2
- package/darkside/progress-bar.darkside.css +2 -2
- package/darkside/read-more.darkside.css +5 -6
- package/darkside/skeleton.darkside.css +1 -1
- package/darkside/stepper.darkside.css +13 -24
- package/darkside/table.darkside.css +41 -24
- package/darkside/tabs.darkside.css +7 -7
- package/darkside/tag.darkside.css +21 -21
- package/darkside/theme.darkside.css +1 -1
- package/darkside/timeline.darkside.css +31 -26
- package/darkside/toggle-group.darkside.css +11 -11
- package/darkside/tooltip.darkside.css +4 -4
- package/darkside/typography.darkside.css +5 -2
- package/dist/component/expansioncard.css +1 -0
- package/dist/component/expansioncard.min.css +1 -1
- package/dist/component/form.css +4 -0
- package/dist/component/form.min.css +1 -1
- package/dist/component/modal.css +1 -0
- package/dist/component/modal.min.css +1 -1
- package/dist/component/table.css +2 -2
- 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 +16 -8
- package/dist/components.min.css +2 -2
- package/dist/darkside/component/accordion.css +44 -57
- package/dist/darkside/component/accordion.min.css +1 -1
- package/dist/darkside/component/actionmenu.css +13 -13
- package/dist/darkside/component/actionmenu.min.css +1 -1
- package/dist/darkside/component/button.css +24 -30
- package/dist/darkside/component/button.min.css +1 -1
- package/dist/darkside/component/chat.css +5 -5
- package/dist/darkside/component/chat.min.css +1 -1
- package/dist/darkside/component/chips.css +14 -14
- package/dist/darkside/component/chips.min.css +1 -1
- package/dist/darkside/component/copybutton.css +1 -126
- package/dist/darkside/component/copybutton.min.css +1 -1
- package/dist/darkside/component/date.css +18 -22
- package/dist/darkside/component/date.min.css +1 -1
- package/dist/darkside/component/expansioncard.css +9 -17
- package/dist/darkside/component/expansioncard.min.css +1 -1
- package/dist/darkside/component/form.css +181 -174
- package/dist/darkside/component/form.min.css +1 -1
- package/dist/darkside/component/guidepanel.css +6 -2
- package/dist/darkside/component/guidepanel.min.css +1 -1
- package/dist/darkside/component/helptext.css +3 -3
- package/dist/darkside/component/helptext.min.css +1 -1
- package/dist/darkside/component/internalheader.css +10 -10
- package/dist/darkside/component/internalheader.min.css +1 -1
- package/dist/darkside/component/link.css +8 -7
- package/dist/darkside/component/link.min.css +1 -1
- package/dist/darkside/component/list.css +1 -5
- package/dist/darkside/component/list.min.css +1 -1
- package/dist/darkside/component/loader.css +5 -5
- package/dist/darkside/component/loader.min.css +1 -1
- package/dist/darkside/component/modal.css +4 -3
- package/dist/darkside/component/modal.min.css +1 -1
- package/dist/darkside/component/pagination.css +2 -2
- package/dist/darkside/component/pagination.min.css +1 -1
- package/dist/darkside/component/popover.css +8 -2
- package/dist/darkside/component/popover.min.css +1 -1
- package/dist/darkside/component/primitives.css +2 -2
- 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 +5 -6
- 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 +13 -22
- package/dist/darkside/component/stepper.min.css +1 -1
- package/dist/darkside/component/table.css +38 -22
- package/dist/darkside/component/table.min.css +1 -1
- package/dist/darkside/component/tabs.css +7 -7
- package/dist/darkside/component/tabs.min.css +1 -1
- package/dist/darkside/component/tag.css +25 -25
- package/dist/darkside/component/tag.min.css +1 -1
- package/dist/darkside/component/theme.css +1 -1
- package/dist/darkside/component/theme.min.css +1 -1
- package/dist/darkside/component/timeline.css +31 -26
- package/dist/darkside/component/timeline.min.css +1 -1
- package/dist/darkside/component/togglegroup.css +11 -11
- package/dist/darkside/component/togglegroup.min.css +1 -1
- package/dist/darkside/component/tooltip.css +4 -4
- package/dist/darkside/component/tooltip.min.css +1 -1
- package/dist/darkside/component/typography.css +5 -2
- package/dist/darkside/component/typography.min.css +1 -1
- package/dist/darkside/components.css +497 -671
- package/dist/darkside/components.min.css +1 -1
- package/dist/darkside/global/baseline.css +1 -1
- package/dist/darkside/global/baseline.min.css +1 -1
- package/dist/darkside/global/fonts.css +12 -12
- package/dist/darkside/global/fonts.min.css +1 -1
- package/dist/darkside/global/tokens.css +400 -422
- package/dist/darkside/global/tokens.min.css +1 -1
- package/dist/darkside/index.css +910 -1106
- package/dist/darkside/index.min.css +1 -1
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/accordion.css +44 -57
- package/dist/darkside/version/7.12.0/component/accordion.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/actionmenu.css +13 -13
- package/dist/darkside/version/7.12.0/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/button.css +24 -30
- package/dist/darkside/version/7.12.0/component/button.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/chat.css +5 -5
- package/dist/darkside/version/7.12.0/component/chat.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/chips.css +14 -14
- package/dist/darkside/version/7.12.0/component/chips.min.css +1 -0
- package/dist/darkside/version/7.12.0/component/copybutton.css +23 -0
- package/dist/darkside/version/7.12.0/component/copybutton.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/date.css +18 -22
- package/dist/darkside/version/7.12.0/component/date.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/expansioncard.css +9 -17
- package/dist/darkside/version/7.12.0/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/form.css +181 -174
- package/dist/darkside/version/7.12.0/component/form.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/guidepanel.css +6 -2
- package/dist/darkside/version/7.12.0/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/helptext.css +3 -3
- package/dist/darkside/version/7.12.0/component/helptext.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/internalheader.css +10 -10
- package/dist/darkside/version/7.12.0/component/internalheader.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/link.css +8 -7
- package/dist/darkside/version/7.12.0/component/link.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/list.css +1 -5
- package/dist/darkside/version/7.12.0/component/list.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/loader.css +5 -5
- package/dist/darkside/version/7.12.0/component/loader.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/modal.css +4 -3
- package/dist/darkside/version/7.12.0/component/modal.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/pagination.css +2 -2
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/pagination.min.css +1 -1
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/popover.css +8 -2
- package/dist/darkside/version/7.12.0/component/popover.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/primitives.css +2 -2
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/primitives.min.css +1 -1
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/progressbar.css +2 -2
- package/dist/darkside/version/7.12.0/component/progressbar.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/readmore.css +5 -6
- package/dist/darkside/version/7.12.0/component/readmore.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/skeleton.css +1 -1
- package/dist/darkside/version/7.12.0/component/skeleton.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/stepper.css +13 -22
- package/dist/darkside/version/7.12.0/component/stepper.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/table.css +38 -22
- package/dist/darkside/version/7.12.0/component/table.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/tabs.css +7 -7
- package/dist/darkside/version/7.12.0/component/tabs.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/tag.css +25 -25
- package/dist/darkside/version/7.12.0/component/tag.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/theme.css +1 -1
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/theme.min.css +1 -1
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/timeline.css +31 -26
- package/dist/darkside/version/7.12.0/component/timeline.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/togglegroup.css +11 -11
- package/dist/darkside/version/7.12.0/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/tooltip.css +4 -4
- package/dist/darkside/version/7.12.0/component/tooltip.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/component/typography.css +5 -2
- package/dist/darkside/version/7.12.0/component/typography.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/components.css +497 -671
- package/dist/darkside/version/7.12.0/components.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/global/baseline.css +1 -1
- package/dist/darkside/version/7.12.0/global/baseline.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/global/fonts.css +12 -12
- package/dist/darkside/version/{7.10.0 → 7.12.0}/global/fonts.min.css +1 -1
- package/dist/darkside/version/7.12.0/global/tokens.css +817 -0
- package/dist/darkside/version/7.12.0/global/tokens.min.css +1 -0
- package/dist/darkside/version/{7.10.0 → 7.12.0}/index.css +910 -1106
- package/dist/darkside/version/7.12.0/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +17 -9
- package/dist/index.min.css +3 -3
- package/expansioncard.css +1 -0
- package/form/radio-checkbox.css +5 -0
- package/modal.css +1 -0
- package/package.json +4 -4
- package/table.css +2 -2
- package/tag.css +6 -6
- package/darkside/link-panel.darkside.css +0 -47
- package/dist/darkside/component/linkpanel.css +0 -48
- package/dist/darkside/component/linkpanel.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/accordion.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/actionmenu.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/button.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/chat.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/chips.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/copybutton.css +0 -148
- package/dist/darkside/version/7.10.0/component/copybutton.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/date.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/expansioncard.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/form.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/guidepanel.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/helptext.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/internalheader.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/link.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/linkpanel.css +0 -48
- package/dist/darkside/version/7.10.0/component/linkpanel.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/list.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/loader.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/modal.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/popover.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/progressbar.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/readmore.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/skeleton.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/stepper.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/table.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/tabs.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/tag.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/timeline.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/togglegroup.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/tooltip.min.css +0 -1
- package/dist/darkside/version/7.10.0/component/typography.min.css +0 -1
- package/dist/darkside/version/7.10.0/components.min.css +0 -1
- package/dist/darkside/version/7.10.0/global/baseline.min.css +0 -1
- package/dist/darkside/version/7.10.0/global/tokens.css +0 -839
- package/dist/darkside/version/7.10.0/global/tokens.min.css +0 -1
- package/dist/darkside/version/7.10.0/index.min.css +0 -1
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/component/alert.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/component/alert.min.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/component/dropdown.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/component/dropdown.min.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/component/panel.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/component/panel.min.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/global/print.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/global/print.min.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/global/reset.css +0 -0
- /package/dist/darkside/version/{7.10.0 → 7.12.0}/global/reset.min.css +0 -0
|
@@ -1,108 +1,4 @@
|
|
|
1
|
-
.navds-copybutton {
|
|
2
|
-
--__axc-copybutton-padding: var(--ax-space-12) var(--ax-space-20) var(--ax-space-12) var(--ax-space-16);
|
|
3
|
-
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
margin: 0;
|
|
6
|
-
text-decoration: none;
|
|
7
|
-
border: none;
|
|
8
|
-
border-radius: var(--ax-border-radius-medium);
|
|
9
|
-
padding: var(--__axc-copybutton-padding);
|
|
10
|
-
display: grid;
|
|
11
|
-
place-content: center;
|
|
12
|
-
background-color: transparent;
|
|
13
|
-
transition: color 0.2s cubic-bezier(0.05, 0.7, 0.1, 1);
|
|
14
|
-
|
|
15
|
-
&.navds-copybutton--icon-only {
|
|
16
|
-
--__axc-copybutton-padding: var(--ax-space-12);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.navds-copybutton--icon-right {
|
|
20
|
-
--__axc-copybutton-padding: var(--ax-space-12) var(--ax-space-16) var(--ax-space-12) var(--ax-space-20);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:hover {
|
|
24
|
-
background-color: var(--ax-bg-moderate-hoverA);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:focus-visible {
|
|
28
|
-
outline: 2px solid var(--ax-border-focus);
|
|
29
|
-
outline-offset: 2px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:disabled {
|
|
33
|
-
cursor: not-allowed;
|
|
34
|
-
opacity: var(--ax-opacity-disabled);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:disabled:hover {
|
|
38
|
-
background-color: transparent;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@media (forced-colors: active) {
|
|
43
|
-
.navds-copybutton {
|
|
44
|
-
background-color: ButtonFace;
|
|
45
|
-
border: solid 1px ButtonText;
|
|
46
|
-
color: ButtonText;
|
|
47
|
-
|
|
48
|
-
&:disabled {
|
|
49
|
-
opacity: 1;
|
|
50
|
-
border-color: GrayText;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* -------------------------- CopyButton small size ------------------------- */
|
|
56
|
-
.navds-copybutton--small {
|
|
57
|
-
min-height: 2rem;
|
|
58
|
-
min-width: 2rem;
|
|
59
|
-
|
|
60
|
-
--__axc-copybutton-padding: var(--ax-space-4) var(--ax-space-12) var(--ax-space-4) var(--ax-space-8);
|
|
61
|
-
|
|
62
|
-
&.navds-copybutton--icon-right {
|
|
63
|
-
--__axc-copybutton-padding: var(--ax-space-4) var(--ax-space-8) var(--ax-space-4) var(--ax-space-12);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.navds-copybutton--icon-only {
|
|
67
|
-
--__axc-copybutton-padding: var(--ax-space-4);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
& > .navds-copybutton__content {
|
|
71
|
-
gap: var(--ax-space-4);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* ------------------------- CopyButton xsmall size ------------------------- */
|
|
76
|
-
.navds-copybutton--xsmall {
|
|
77
|
-
min-height: 1.5rem;
|
|
78
|
-
min-width: 1.5rem;
|
|
79
|
-
|
|
80
|
-
--__axc-copybutton-padding: var(--ax-space-2) var(--ax-space-8) var(--ax-space-2) var(--ax-space-4);
|
|
81
|
-
|
|
82
|
-
&.navds-copybutton--icon-right {
|
|
83
|
-
--__axc-copybutton-padding: var(--ax-space-2) var(--ax-space-4) var(--ax-space-2) var(--ax-space-8);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.navds-copybutton--icon-only {
|
|
87
|
-
--__axc-copybutton-padding: var(--ax-space-2);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
& .navds-copybutton__icon {
|
|
91
|
-
font-size: 1.25rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
& > .navds-copybutton__content {
|
|
95
|
-
gap: var(--ax-space-2);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* ----------------------------- CopyButton Icon ---------------------------- */
|
|
100
|
-
.navds-copybutton__icon {
|
|
101
|
-
font-size: 1.5rem;
|
|
102
|
-
display: flex;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.navds-copybutton--active .navds-copybutton__icon {
|
|
1
|
+
.navds-copybutton[data-active="true"] .navds-copybutton__icon {
|
|
106
2
|
animation: akselCopyButtonIconAnimation 2s cubic-bezier(0.05, 0.7, 0.1, 1);
|
|
107
3
|
}
|
|
108
4
|
|
|
@@ -123,32 +19,3 @@
|
|
|
123
19
|
transform: translateY(0);
|
|
124
20
|
}
|
|
125
21
|
}
|
|
126
|
-
|
|
127
|
-
/* ---------------------------- CopyButton Action --------------------------- */
|
|
128
|
-
.navds-copybutton--action {
|
|
129
|
-
color: var(--ax-text-accent);
|
|
130
|
-
|
|
131
|
-
&.navds-copybutton--active {
|
|
132
|
-
color: var(--ax-text-success);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&:disabled {
|
|
136
|
-
color: var(--ax-text-accent);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* --------------------------- CopyButton Neutral --------------------------- */
|
|
141
|
-
.navds-copybutton--neutral {
|
|
142
|
-
color: var(--ax-text-subtle);
|
|
143
|
-
|
|
144
|
-
&:disabled {
|
|
145
|
-
color: var(--ax-text-subtle);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.navds-copybutton__content {
|
|
150
|
-
display: inline-flex;
|
|
151
|
-
align-items: center;
|
|
152
|
-
justify-content: center;
|
|
153
|
-
gap: var(--ax-space-6);
|
|
154
|
-
}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
.rdp-day_range_middle {
|
|
5
5
|
&.rdp-day_disabled {
|
|
6
|
-
color: var(--ax-text-
|
|
7
|
-
background: var(--ax-bg-moderateA);
|
|
6
|
+
color: var(--ax-text-neutral);
|
|
7
|
+
background: var(--ax-bg-neutral-moderateA);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
&.rdp-day_selected {
|
|
11
|
-
background-color: var(--ax-bg-accent-
|
|
11
|
+
background-color: var(--ax-bg-accent-moderate-pressedA);
|
|
12
12
|
box-shadow: inset 0 0 0 1px var(--ax-border-accent-subtleA);
|
|
13
|
-
color: var(--ax-text-
|
|
13
|
+
color: var(--ax-text-neutral);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -35,21 +35,19 @@
|
|
|
35
35
|
width: 2.5rem;
|
|
36
36
|
height: 2.5rem;
|
|
37
37
|
text-align: center;
|
|
38
|
-
border-radius: var(--ax-border-radius-
|
|
38
|
+
border-radius: var(--ax-border-radius-large);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.rdp-day_range_start {
|
|
42
|
-
border-radius: var(--ax-border-radius-xlarge) var(--ax-border-radius-
|
|
43
|
-
var(--ax-border-radius-xlarge);
|
|
42
|
+
border-radius: 100% var(--ax-border-radius-xlarge) var(--ax-border-radius-xlarge) 100%;
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
.rdp-day_range_end:not(.rdp-day_range_start) {
|
|
47
|
-
border-radius: var(--ax-border-radius-
|
|
48
|
-
var(--ax-border-radius-medium);
|
|
46
|
+
border-radius: var(--ax-border-radius-large) 100% 100% var(--ax-border-radius-large);
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
.rdp-day_range_start.rdp-day_range_end {
|
|
52
|
-
border-radius: var(--ax-border-radius-
|
|
50
|
+
border-radius: var(--ax-border-radius-large);
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
.navds-date__field {
|
|
@@ -69,8 +67,8 @@
|
|
|
69
67
|
.rdp-day_disabled {
|
|
70
68
|
cursor: not-allowed;
|
|
71
69
|
text-decoration: line-through;
|
|
72
|
-
background-color: var(--ax-bg-moderateA);
|
|
73
|
-
color: var(--ax-text-subtle);
|
|
70
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
71
|
+
color: var(--ax-text-neutral-subtle);
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
.rdp-button:where(:not(.rdp-day_selected, [disabled])):hover,
|
|
@@ -86,7 +84,7 @@
|
|
|
86
84
|
width: 6px;
|
|
87
85
|
height: 6px;
|
|
88
86
|
display: block;
|
|
89
|
-
background-color: var(--ax-text-accent);
|
|
87
|
+
background-color: var(--ax-text-accent-subtle);
|
|
90
88
|
border-radius: var(--ax-border-radius-full);
|
|
91
89
|
content: "";
|
|
92
90
|
position: absolute;
|
|
@@ -128,7 +126,7 @@
|
|
|
128
126
|
.navds-date__caption-button {
|
|
129
127
|
width: 2rem;
|
|
130
128
|
height: 2rem;
|
|
131
|
-
color: var(--ax-text-
|
|
129
|
+
color: var(--ax-text-neutral);
|
|
132
130
|
}
|
|
133
131
|
|
|
134
132
|
.navds-date__caption__month .navds-select__container select {
|
|
@@ -142,7 +140,7 @@
|
|
|
142
140
|
width: 3rem;
|
|
143
141
|
height: 3rem;
|
|
144
142
|
text-transform: capitalize;
|
|
145
|
-
border-radius: var(--ax-border-radius-
|
|
143
|
+
border-radius: var(--ax-border-radius-large);
|
|
146
144
|
cursor: pointer;
|
|
147
145
|
}
|
|
148
146
|
|
|
@@ -159,8 +157,8 @@
|
|
|
159
157
|
.rdp-cell > button.rdp-day,
|
|
160
158
|
button.navds-date__month-button {
|
|
161
159
|
&:focus-visible {
|
|
162
|
-
outline:
|
|
163
|
-
outline-offset:
|
|
160
|
+
outline: 3px solid var(--ax-border-focus);
|
|
161
|
+
outline-offset: 3px;
|
|
164
162
|
}
|
|
165
163
|
|
|
166
164
|
&:active:not(:disabled) {
|
|
@@ -185,14 +183,14 @@
|
|
|
185
183
|
right: 0.0625rem;
|
|
186
184
|
top: 50%;
|
|
187
185
|
transform: translateY(-50%);
|
|
188
|
-
color: var(--ax-text-
|
|
186
|
+
color: var(--ax-text-neutral);
|
|
189
187
|
display: inline-flex;
|
|
190
188
|
cursor: pointer;
|
|
191
189
|
margin: 0;
|
|
192
190
|
text-decoration: none;
|
|
193
191
|
border: none;
|
|
194
192
|
background: none;
|
|
195
|
-
border-radius: calc(var(--ax-border-radius-
|
|
193
|
+
border-radius: calc(var(--ax-border-radius-large) - 1px);
|
|
196
194
|
padding: var(--ax-space-12);
|
|
197
195
|
align-items: center;
|
|
198
196
|
justify-content: center;
|
|
@@ -239,11 +237,7 @@
|
|
|
239
237
|
|
|
240
238
|
.navds-date__weeknumber-number {
|
|
241
239
|
font-size: 0.875rem;
|
|
242
|
-
color: var(--ax-text-subtle);
|
|
243
|
-
|
|
244
|
-
.navds-date__weeknumber:active & {
|
|
245
|
-
color: var(--ax-text-contrast);
|
|
246
|
-
}
|
|
240
|
+
color: var(--ax-text-neutral-subtle);
|
|
247
241
|
}
|
|
248
242
|
|
|
249
243
|
.navds-date__week-wrapper {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
.navds-expansioncard {
|
|
2
2
|
--__axc-expansioncard-border-radius: calc(var(--ax-border-radius-xlarge) - 1px);
|
|
3
|
-
--__axc-expansioncard-padding-block: var(--ax-space-
|
|
3
|
+
--__axc-expansioncard-padding-block: var(--ax-space-20);
|
|
4
4
|
--__axc-expansioncard-padding-inline: var(--ax-space-20);
|
|
5
5
|
|
|
6
6
|
border-radius: var(--ax-border-radius-xlarge);
|
|
7
7
|
background-color: var(--ax-bg-raised);
|
|
8
8
|
height: fit-content;
|
|
9
|
-
border: 1px solid var(--ax-border-
|
|
9
|
+
border: 1px solid var(--ax-border-neutral);
|
|
10
10
|
|
|
11
11
|
&:has(.navds-expansioncard__header:hover) {
|
|
12
|
-
box-shadow: 0 0 0 1px var(--ax-border-strong);
|
|
13
|
-
border-color: var(--ax-border-strong);
|
|
12
|
+
box-shadow: 0 0 0 1px var(--ax-border-neutral-strong);
|
|
13
|
+
border-color: var(--ax-border-neutral-strong);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* ------------------------ ExpansionCard Small-size ------------------------ */
|
|
18
18
|
.navds-expansioncard--small {
|
|
19
19
|
--__axc-expansioncard-padding-inline: var(--ax-space-16);
|
|
20
|
-
--__axc-expansioncard-padding-block: var(--ax-space-
|
|
20
|
+
--__axc-expansioncard-padding-block: var(--ax-space-16);
|
|
21
21
|
|
|
22
22
|
& > .navds-expansioncard__header .navds-expansioncard__title--small {
|
|
23
23
|
margin-top: var(--ax-space-2);
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
justify-content: space-between;
|
|
46
46
|
|
|
47
47
|
&:hover {
|
|
48
|
-
background-color: var(--ax-bg-
|
|
48
|
+
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
&[data-open="true"] {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
/* Divider between header and content */
|
|
56
56
|
&::after {
|
|
57
57
|
content: "";
|
|
58
|
-
background-color: var(--ax-border-
|
|
58
|
+
background-color: var(--ax-border-neutral-subtleA);
|
|
59
59
|
bottom: 0;
|
|
60
60
|
left: var(--__axc-expansioncard-padding-inline);
|
|
61
61
|
height: 1px;
|
|
@@ -98,15 +98,7 @@
|
|
|
98
98
|
align-self: flex-start;
|
|
99
99
|
|
|
100
100
|
&:focus-visible {
|
|
101
|
-
outline:
|
|
102
|
-
outline-offset: 2px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@supports not selector(:focus-visible) {
|
|
106
|
-
&:focus {
|
|
107
|
-
outline: 2px solid var(--ax-border-focus);
|
|
108
|
-
outline-offset: 2px;
|
|
109
|
-
}
|
|
101
|
+
outline: 3px solid var(--ax-border-focus);
|
|
110
102
|
}
|
|
111
103
|
|
|
112
104
|
/* Makes the whole header clickable */
|
|
@@ -122,7 +114,7 @@
|
|
|
122
114
|
}
|
|
123
115
|
|
|
124
116
|
.navds-expansioncard__header:hover > .navds-expansioncard__header-button {
|
|
125
|
-
background-color: var(--ax-bg-moderate-hoverA);
|
|
117
|
+
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
126
118
|
}
|
|
127
119
|
|
|
128
120
|
.navds-expansioncard__header-chevron {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
width: 100%;
|
|
12
12
|
position: relative;
|
|
13
|
-
border-radius: var(--ax-border-radius-
|
|
13
|
+
border-radius: var(--ax-border-radius-large);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.navds-form-field:not(:is(.navds-combobox--disabled, .navds-combobox--readonly)) {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
& .navds-combobox__wrapper {
|
|
34
34
|
&:hover {
|
|
35
|
-
border-color: var(--ax-border-
|
|
35
|
+
border-color: var(--ax-border-neutral);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
& *:hover {
|
|
@@ -54,22 +54,22 @@
|
|
|
54
54
|
|
|
55
55
|
& .navds-combobox__selected-options {
|
|
56
56
|
& .navds-chips__chip {
|
|
57
|
-
background-color: var(--ax-bg-moderateA);
|
|
57
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
& .navds-combobox__button-toggle-list {
|
|
62
|
-
color: var(--ax-bg-moderate);
|
|
62
|
+
color: var(--ax-bg-neutral-moderate);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
& .navds-combobox__wrapper {
|
|
66
|
-
border-color: var(--ax-border-subtle);
|
|
66
|
+
border-color: var(--ax-border-neutral-subtle);
|
|
67
67
|
overflow: clip;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
& .navds-text-field__input,
|
|
71
71
|
& .navds-combobox__input {
|
|
72
|
-
background-color: var(--ax-bg-moderate);
|
|
72
|
+
background-color: var(--ax-bg-neutral-moderate);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.navds-combobox__wrapper-inner {
|
|
83
|
-
border: 1px solid var(--ax-border-
|
|
84
|
-
border-radius: var(--ax-border-radius-
|
|
83
|
+
border: 1px solid var(--ax-border-neutral);
|
|
84
|
+
border-radius: var(--ax-border-radius-large);
|
|
85
85
|
|
|
86
86
|
&:has(.navds-combobox__input:focus-visible) {
|
|
87
87
|
outline: 3px solid var(--ax-border-focus);
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
|
|
92
92
|
&:has(.navds-combobox__input:focus-visible).navds-combobox__wrapper-inner--virtually-unfocused {
|
|
93
93
|
outline: none;
|
|
94
|
-
border-color: var(--ax-border-
|
|
94
|
+
border-color: var(--ax-border-neutral);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&.navds-text-field__input {
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.navds-combobox--disabled &:hover {
|
|
122
|
-
border-color: var(--ax-border-
|
|
122
|
+
border-color: var(--ax-border-neutral);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -215,8 +215,7 @@
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.navds-combobox__button-toggle-list {
|
|
218
|
-
|
|
219
|
-
color: var(--ax-text-default);
|
|
218
|
+
color: var(--ax-text-neutral);
|
|
220
219
|
display: flex;
|
|
221
220
|
justify-content: center;
|
|
222
221
|
align-items: center;
|
|
@@ -227,10 +226,10 @@
|
|
|
227
226
|
padding: 0;
|
|
228
227
|
|
|
229
228
|
&:hover {
|
|
230
|
-
color: var(--ax-text-accent);
|
|
229
|
+
color: var(--ax-text-accent-subtle);
|
|
231
230
|
|
|
232
231
|
&:active {
|
|
233
|
-
color: var(--ax-text-accent
|
|
232
|
+
color: var(--ax-text-accent);
|
|
234
233
|
}
|
|
235
234
|
}
|
|
236
235
|
}
|
|
@@ -245,12 +244,12 @@
|
|
|
245
244
|
right: 0;
|
|
246
245
|
z-index: 10;
|
|
247
246
|
top: calc(100% + var(--ax-space-8));
|
|
248
|
-
border: 1px solid var(--ax-border-subtleA);
|
|
247
|
+
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
249
248
|
display: flex;
|
|
250
249
|
flex-direction: column;
|
|
251
250
|
border-radius: var(--ax-border-radius-large);
|
|
252
251
|
background-color: var(--ax-bg-raised);
|
|
253
|
-
color: var(--ax-text-
|
|
252
|
+
color: var(--ax-text-neutral);
|
|
254
253
|
overscroll-behavior: contain;
|
|
255
254
|
box-shadow: var(--ax-shadow-dialog);
|
|
256
255
|
|
|
@@ -273,7 +272,7 @@
|
|
|
273
272
|
justify-content: space-between;
|
|
274
273
|
padding-block: var(--__axc-combobox-list-item-padding-block);
|
|
275
274
|
padding-inline: var(--__axc-combobox-list-item-padding-inline);
|
|
276
|
-
border-radius: var(--ax-border-radius-
|
|
275
|
+
border-radius: var(--ax-border-radius-large);
|
|
277
276
|
border: 0;
|
|
278
277
|
margin-inline: var(--ax-space-8);
|
|
279
278
|
margin-block: var(--ax-space-2);
|
|
@@ -290,10 +289,10 @@
|
|
|
290
289
|
}
|
|
291
290
|
|
|
292
291
|
.navds-combobox__list-item--max-selected {
|
|
293
|
-
background-color: var(--ax-bg-moderateA);
|
|
292
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
294
293
|
margin: 0;
|
|
295
294
|
border-radius: 0;
|
|
296
|
-
border-bottom: 1px solid var(--ax-border-subtle);
|
|
295
|
+
border-bottom: 1px solid var(--ax-border-neutral-subtle);
|
|
297
296
|
padding-block: var(--ax-space-8);
|
|
298
297
|
line-height: var(--ax-font-line-height-large);
|
|
299
298
|
}
|
|
@@ -328,11 +327,11 @@
|
|
|
328
327
|
& mark {
|
|
329
328
|
background-color: transparent;
|
|
330
329
|
font-weight: var(--ax-font-weight-bold);
|
|
331
|
-
color: var(--ax-text-
|
|
330
|
+
color: var(--ax-text-neutral);
|
|
332
331
|
}
|
|
333
332
|
|
|
334
333
|
& svg {
|
|
335
|
-
color: var(--ax-text-
|
|
334
|
+
color: var(--ax-text-neutral);
|
|
336
335
|
}
|
|
337
336
|
}
|
|
338
337
|
|
|
@@ -355,7 +354,7 @@
|
|
|
355
354
|
margin-block-start: calc(var(--ax-space-4) * -1);
|
|
356
355
|
|
|
357
356
|
& svg {
|
|
358
|
-
color: var(--ax-text-
|
|
357
|
+
color: var(--ax-text-neutral);
|
|
359
358
|
}
|
|
360
359
|
|
|
361
360
|
&:only-child {
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
padding: var(--ax-space-16) var(--ax-space-20);
|
|
4
4
|
border: 4px solid var(--ax-border-danger);
|
|
5
5
|
border-radius: var(--ax-border-radius-xlarge);
|
|
6
|
-
outline-offset:
|
|
6
|
+
outline-offset: 3px;
|
|
7
7
|
|
|
8
8
|
&:focus-visible,
|
|
9
9
|
&:has(.navds-error-summary__heading:focus-visible) {
|
|
10
|
-
outline:
|
|
10
|
+
outline: 3px solid var(--ax-border-focus);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@supports not selector(:focus-visible) {
|
|
15
15
|
.navds-error-summary:focus {
|
|
16
|
-
outline:
|
|
16
|
+
outline: 3px solid var(--ax-border-focus);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
gap: var(--ax-space-16);
|
|
16
16
|
text-align: center;
|
|
17
17
|
padding: var(--ax-space-16) var(--ax-space-20);
|
|
18
|
-
border: 1px dashed var(--ax-border-
|
|
18
|
+
border: 1px dashed var(--ax-border-neutral);
|
|
19
19
|
border-radius: var(--ax-border-radius-xlarge);
|
|
20
20
|
background-color: var(--__axc-dropzone-background);
|
|
21
|
-
color: var(--ax-text-
|
|
21
|
+
color: var(--ax-text-neutral);
|
|
22
22
|
transition: background-color var(--__axc-dropzone-animation-length-short) var(--__axc-dropzone-animation-ease-out);
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
|
|
@@ -26,19 +26,23 @@
|
|
|
26
26
|
border-color: var(--ax-border-accent-strong);
|
|
27
27
|
|
|
28
28
|
& > .navds-dropzone__area-button {
|
|
29
|
-
color: var(--ax-text-accent-strong);
|
|
30
29
|
background-color: var(--ax-bg-accent-moderate-hover);
|
|
31
30
|
box-shadow: inset 0 0 0 2px var(--ax-bg-accent-strong-hover);
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
&:active
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
&:active:not([data-disabled="true"]) {
|
|
35
|
+
& > .navds-dropzone__area-button {
|
|
36
|
+
background-color: var(--ax-bg-accent-strong-pressed);
|
|
37
|
+
color: var(--ax-text-accent-contrast);
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
}
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
&[data-disabled="true"] {
|
|
43
|
+
--__axc-dropzone-background: var(--ax-bg-neutral-soft);
|
|
44
|
+
|
|
45
|
+
border-color: var(--ax-border-neutral-subtleA);
|
|
42
46
|
cursor: default;
|
|
43
47
|
}
|
|
44
48
|
}
|
|
@@ -49,7 +53,7 @@
|
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
& > .navds-dropzone__area::after {
|
|
52
|
-
color: var(--ax-text-accent
|
|
56
|
+
color: var(--ax-text-accent);
|
|
53
57
|
background-color: var(--ax-bg-accent-moderateA);
|
|
54
58
|
content: "";
|
|
55
59
|
inset: 0;
|
|
@@ -108,7 +112,7 @@
|
|
|
108
112
|
display: grid;
|
|
109
113
|
padding: var(--__axc-dropzone-icon-padding);
|
|
110
114
|
border-radius: var(--ax-border-radius-full);
|
|
111
|
-
background-color: var(--ax-bg-moderateA);
|
|
115
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
112
116
|
transition:
|
|
113
117
|
background-color 300ms var(--__axc-dropzone-animation-ease-out),
|
|
114
118
|
font-size 300ms var(--__axc-dropzone-animation-ease-out);
|
|
@@ -130,13 +134,13 @@
|
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
.navds-dropzone--dragging .navds-dropzone__area-release {
|
|
133
|
-
color: var(--ax-text-accent-
|
|
137
|
+
color: var(--ax-text-accent-subtle);
|
|
134
138
|
top: 50%;
|
|
135
139
|
transform: translateY(-50%);
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
.navds-dropzone__area-disabled {
|
|
139
|
-
color: var(--ax-text-subtle);
|
|
143
|
+
color: var(--ax-text-neutral-subtle);
|
|
140
144
|
display: flex;
|
|
141
145
|
align-items: center;
|
|
142
146
|
flex-direction: column;
|
|
@@ -154,7 +158,7 @@ li.navds-file-item {
|
|
|
154
158
|
|
|
155
159
|
.navds-file-item__inner {
|
|
156
160
|
background-color: var(--ax-bg-raised);
|
|
157
|
-
border: 1px solid var(--ax-border-subtleA);
|
|
161
|
+
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
158
162
|
outline-offset: -1px;
|
|
159
163
|
transition: outline-color 250ms cubic-bezier(0, 0.3, 0.15, 1);
|
|
160
164
|
border-radius: var(--ax-border-radius-xlarge);
|
|
@@ -169,8 +173,8 @@ li.navds-file-item {
|
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
.navds-file-item__icon {
|
|
172
|
-
background-color: var(--ax-bg-moderateA);
|
|
173
|
-
color: var(--ax-text-
|
|
176
|
+
background-color: var(--ax-bg-neutral-moderateA);
|
|
177
|
+
color: var(--ax-text-neutral);
|
|
174
178
|
border-radius: var(--ax-border-radius-full);
|
|
175
179
|
min-height: 2.5rem;
|
|
176
180
|
min-width: 2.5rem;
|
|
@@ -198,7 +202,6 @@ li.navds-file-item {
|
|
|
198
202
|
}
|
|
199
203
|
|
|
200
204
|
.navds-file-item__error {
|
|
201
|
-
color: var(--ax-text-danger);
|
|
202
205
|
display: grid;
|
|
203
206
|
transition-property: grid-template-rows, padding-top;
|
|
204
207
|
transition-duration: 250ms;
|
|
@@ -206,20 +209,8 @@ li.navds-file-item {
|
|
|
206
209
|
overflow: hidden;
|
|
207
210
|
grid-template-rows: 0fr;
|
|
208
211
|
|
|
209
|
-
|
|
212
|
+
.navds-file-item--error & {
|
|
210
213
|
grid-template-rows: 1fr;
|
|
211
214
|
padding-top: var(--ax-space-4);
|
|
212
215
|
}
|
|
213
216
|
}
|
|
214
|
-
|
|
215
|
-
.navds-file-item__error-content {
|
|
216
|
-
min-height: 0;
|
|
217
|
-
display: flex;
|
|
218
|
-
gap: var(--ax-space-4);
|
|
219
|
-
|
|
220
|
-
& > svg {
|
|
221
|
-
flex-shrink: 0;
|
|
222
|
-
height: 1rem;
|
|
223
|
-
margin-top: 0.1rem;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
@@ -21,37 +21,35 @@
|
|
|
21
21
|
|
|
22
22
|
.navds-form-progress__collapsible {
|
|
23
23
|
display: grid;
|
|
24
|
-
|
|
24
|
+
visibility: hidden;
|
|
25
25
|
overflow: hidden;
|
|
26
|
-
|
|
26
|
+
border: 1px solid var(--ax-border-neutral-subtleA);
|
|
27
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
28
|
+
background: var(--ax-bg-raised);
|
|
29
|
+
padding-inline: var(--ax-space-20);
|
|
30
|
+
padding-block: 0;
|
|
31
|
+
opacity: 0.001;
|
|
32
|
+
transition-duration: 1s;
|
|
33
|
+
transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
|
|
34
|
+
transition-property: margin-top, opacity, visibility, padding-block-start, grid-template-rows;
|
|
35
|
+
grid-template-rows: 0fr;
|
|
36
|
+
|
|
37
|
+
/* border-block leaves 2px of space when closes, so offset 2px with margin */
|
|
38
|
+
margin-top: -2px;
|
|
27
39
|
|
|
28
40
|
&[hidden] {
|
|
29
|
-
display: grid
|
|
41
|
+
display: grid;
|
|
30
42
|
}
|
|
31
43
|
|
|
32
44
|
&[data-state="open"] {
|
|
45
|
+
margin-top: var(--ax-space-4);
|
|
33
46
|
grid-template-rows: 1fr;
|
|
47
|
+
visibility: visible;
|
|
48
|
+
padding-block: var(--ax-space-16);
|
|
49
|
+
opacity: 1;
|
|
34
50
|
}
|
|
35
51
|
}
|
|
36
52
|
|
|
37
53
|
.navds-form-progress__collapsible-content {
|
|
38
54
|
min-height: 0;
|
|
39
|
-
opacity: 0.01;
|
|
40
|
-
visibility: hidden;
|
|
41
|
-
transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
|
|
42
|
-
transition-duration: 250ms;
|
|
43
|
-
transition-property: opacity, visibility;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.navds-form-progress__collapsible[data-state="open"] .navds-form-progress__collapsible-content {
|
|
47
|
-
visibility: visible;
|
|
48
|
-
opacity: 1;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.navds-form-progress__stepper {
|
|
52
|
-
border: 1px solid var(--ax-border-subtle);
|
|
53
|
-
border-radius: var(--ax-border-radius-large);
|
|
54
|
-
padding: var(--ax-space-16) var(--ax-space-20);
|
|
55
|
-
margin-top: var(--ax-space-4);
|
|
56
|
-
background: var(--ax-bg-raised);
|
|
57
55
|
}
|