@navikt/ds-css 7.8.0 → 7.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/config/bundle.darkside.ts +270 -0
- package/config/tests/bundle.test.ts +46 -0
- package/darkside/baseline/{utilities.darkside.css → baseline.darkside.css} +9 -0
- package/darkside/baseline/tokens.darkside.css +1 -0
- package/darkside/button.darkside.css +1 -1
- package/darkside/copybutton.darkside.css +1 -1
- package/darkside/dropdown.darkside.css +1 -1
- package/darkside/form/combobox.darkside.css +1 -1
- package/darkside/form/fieldset.darkside.css +1 -1
- package/darkside/form/form.darkside.css +2 -2
- package/darkside/form/radio-checkbox.darkside.css +1 -1
- package/darkside/form/search.darkside.css +2 -2
- package/darkside/form/switch.darkside.css +1 -1
- package/darkside/index.css +9 -11
- package/darkside/link.darkside.css +2 -2
- package/darkside/tag.darkside.css +85 -147
- package/darkside/timeline.darkside.css +118 -211
- package/darkside/tooltip.darkside.css +82 -57
- package/darkside/typography.darkside.css +0 -12
- package/dist/component/link.css +1 -1
- package/dist/component/link.min.css +1 -1
- package/dist/component/table.css +1 -1
- package/dist/component/table.min.css +1 -1
- package/dist/component/tag.css +12 -6
- package/dist/component/tag.min.css +1 -1
- package/dist/components.css +14 -8
- package/dist/components.min.css +1 -1
- package/dist/darkside/component/accordion.css +174 -0
- package/dist/darkside/component/accordion.min.css +1 -0
- package/dist/darkside/component/actionmenu.css +182 -0
- package/dist/darkside/component/actionmenu.min.css +1 -0
- package/dist/darkside/component/alert.css +105 -0
- package/dist/darkside/component/alert.min.css +1 -0
- package/dist/darkside/component/button.css +271 -0
- package/dist/darkside/component/button.min.css +1 -0
- package/dist/darkside/component/chat.css +103 -0
- package/dist/darkside/component/chat.min.css +1 -0
- package/dist/darkside/component/chips.css +176 -0
- package/dist/darkside/component/chips.min.css +1 -0
- package/dist/darkside/component/copybutton.css +176 -0
- package/dist/darkside/component/copybutton.min.css +1 -0
- package/dist/darkside/component/date.css +262 -0
- package/dist/darkside/component/date.min.css +1 -0
- package/dist/darkside/component/dropdown.css +92 -0
- package/dist/darkside/component/dropdown.min.css +1 -0
- package/dist/darkside/component/expansioncard.css +167 -0
- package/dist/darkside/component/expansioncard.min.css +1 -0
- package/dist/darkside/component/form.css +1871 -0
- package/dist/darkside/component/form.min.css +1 -0
- package/dist/darkside/component/guidepanel.css +113 -0
- package/dist/darkside/component/guidepanel.min.css +1 -0
- package/dist/darkside/component/helptext.css +53 -0
- package/dist/darkside/component/helptext.min.css +1 -0
- package/dist/darkside/component/internalheader.css +100 -0
- package/dist/darkside/component/internalheader.min.css +1 -0
- package/dist/darkside/component/link.css +60 -0
- package/dist/darkside/component/link.min.css +1 -0
- package/dist/darkside/component/linkpanel.css +48 -0
- package/dist/darkside/component/linkpanel.min.css +1 -0
- package/dist/darkside/component/list.css +88 -0
- package/dist/darkside/component/list.min.css +1 -0
- package/dist/darkside/component/loader.css +119 -0
- package/dist/darkside/component/loader.min.css +1 -0
- package/dist/darkside/component/modal.css +175 -0
- package/dist/darkside/component/modal.min.css +1 -0
- package/dist/darkside/component/pagination.css +43 -0
- package/dist/darkside/component/pagination.min.css +1 -0
- package/dist/darkside/component/panel.css +12 -0
- package/dist/darkside/component/panel.min.css +1 -0
- package/dist/darkside/component/popover.css +18 -0
- package/dist/darkside/component/popover.min.css +1 -0
- package/dist/darkside/component/primitives.css +1291 -0
- package/dist/darkside/component/primitives.min.css +1 -0
- package/dist/darkside/component/progressbar.css +106 -0
- package/dist/darkside/component/progressbar.min.css +1 -0
- package/dist/darkside/component/readmore.css +95 -0
- package/dist/darkside/component/readmore.min.css +1 -0
- package/dist/darkside/component/skeleton.css +66 -0
- package/dist/darkside/component/skeleton.min.css +1 -0
- package/dist/darkside/component/stepper.css +234 -0
- package/dist/darkside/component/stepper.min.css +1 -0
- package/dist/darkside/component/table.css +225 -0
- package/dist/darkside/component/table.min.css +1 -0
- package/dist/darkside/component/tabs.css +138 -0
- package/dist/darkside/component/tabs.min.css +1 -0
- package/dist/darkside/component/tag.css +128 -0
- package/dist/darkside/component/tag.min.css +1 -0
- package/dist/darkside/component/theme.css +17 -0
- package/dist/darkside/component/theme.min.css +1 -0
- package/dist/darkside/component/timeline.css +338 -0
- package/dist/darkside/component/timeline.min.css +1 -0
- package/dist/darkside/component/togglegroup.css +105 -0
- package/dist/darkside/component/togglegroup.min.css +1 -0
- package/dist/darkside/component/tooltip.css +108 -0
- package/dist/darkside/component/tooltip.min.css +1 -0
- package/dist/darkside/component/typography.css +242 -0
- package/dist/darkside/component/typography.min.css +1 -0
- package/dist/darkside/components.css +7471 -0
- package/dist/darkside/components.min.css +1 -0
- package/dist/darkside/global/baseline.css +47 -0
- package/dist/darkside/global/baseline.min.css +1 -0
- package/dist/darkside/global/fonts.css +109 -0
- package/dist/darkside/global/fonts.min.css +1 -0
- package/dist/darkside/global/print.css +52 -0
- package/dist/darkside/global/print.min.css +1 -0
- package/dist/darkside/global/reset.css +93 -0
- package/dist/darkside/global/reset.min.css +1 -0
- package/dist/darkside/global/tokens.css +895 -0
- package/dist/darkside/global/tokens.min.css +1 -0
- package/dist/darkside/index.css +8670 -0
- package/dist/darkside/index.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/accordion.css +174 -0
- package/dist/darkside/version/7.8.1/component/accordion.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/actionmenu.css +182 -0
- package/dist/darkside/version/7.8.1/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/alert.css +105 -0
- package/dist/darkside/version/7.8.1/component/alert.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/button.css +271 -0
- package/dist/darkside/version/7.8.1/component/button.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/chat.css +103 -0
- package/dist/darkside/version/7.8.1/component/chat.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/chips.css +176 -0
- package/dist/darkside/version/7.8.1/component/chips.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/copybutton.css +176 -0
- package/dist/darkside/version/7.8.1/component/copybutton.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/date.css +262 -0
- package/dist/darkside/version/7.8.1/component/date.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/dropdown.css +92 -0
- package/dist/darkside/version/7.8.1/component/dropdown.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/expansioncard.css +167 -0
- package/dist/darkside/version/7.8.1/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/form.css +1871 -0
- package/dist/darkside/version/7.8.1/component/form.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/guidepanel.css +113 -0
- package/dist/darkside/version/7.8.1/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/helptext.css +53 -0
- package/dist/darkside/version/7.8.1/component/helptext.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/internalheader.css +100 -0
- package/dist/darkside/version/7.8.1/component/internalheader.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/link.css +60 -0
- package/dist/darkside/version/7.8.1/component/link.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/linkpanel.css +48 -0
- package/dist/darkside/version/7.8.1/component/linkpanel.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/list.css +88 -0
- package/dist/darkside/version/7.8.1/component/list.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/loader.css +119 -0
- package/dist/darkside/version/7.8.1/component/loader.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/modal.css +175 -0
- package/dist/darkside/version/7.8.1/component/modal.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/pagination.css +43 -0
- package/dist/darkside/version/7.8.1/component/pagination.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/panel.css +12 -0
- package/dist/darkside/version/7.8.1/component/panel.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/popover.css +18 -0
- package/dist/darkside/version/7.8.1/component/popover.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/primitives.css +1291 -0
- package/dist/darkside/version/7.8.1/component/primitives.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/progressbar.css +106 -0
- package/dist/darkside/version/7.8.1/component/progressbar.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/readmore.css +95 -0
- package/dist/darkside/version/7.8.1/component/readmore.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/skeleton.css +66 -0
- package/dist/darkside/version/7.8.1/component/skeleton.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/stepper.css +234 -0
- package/dist/darkside/version/7.8.1/component/stepper.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/table.css +225 -0
- package/dist/darkside/version/7.8.1/component/table.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/tabs.css +138 -0
- package/dist/darkside/version/7.8.1/component/tabs.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/tag.css +128 -0
- package/dist/darkside/version/7.8.1/component/tag.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/theme.css +17 -0
- package/dist/darkside/version/7.8.1/component/theme.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/timeline.css +338 -0
- package/dist/darkside/version/7.8.1/component/timeline.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/togglegroup.css +105 -0
- package/dist/darkside/version/7.8.1/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/tooltip.css +108 -0
- package/dist/darkside/version/7.8.1/component/tooltip.min.css +1 -0
- package/dist/darkside/version/7.8.1/component/typography.css +242 -0
- package/dist/darkside/version/7.8.1/component/typography.min.css +1 -0
- package/dist/darkside/version/7.8.1/components.css +7471 -0
- package/dist/darkside/version/7.8.1/components.min.css +1 -0
- package/dist/darkside/version/7.8.1/global/baseline.css +47 -0
- package/dist/darkside/version/7.8.1/global/baseline.min.css +1 -0
- package/dist/darkside/version/7.8.1/global/fonts.css +109 -0
- package/dist/darkside/version/7.8.1/global/fonts.min.css +1 -0
- package/dist/darkside/version/7.8.1/global/print.css +52 -0
- package/dist/darkside/version/7.8.1/global/print.min.css +1 -0
- package/dist/darkside/version/7.8.1/global/reset.css +93 -0
- package/dist/darkside/version/7.8.1/global/reset.min.css +1 -0
- package/dist/darkside/version/7.8.1/global/tokens.css +895 -0
- package/dist/darkside/version/7.8.1/global/tokens.min.css +1 -0
- package/dist/darkside/version/7.8.1/index.css +8670 -0
- package/dist/darkside/version/7.8.1/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +15 -9
- package/dist/index.min.css +2 -2
- package/link.css +1 -1
- package/package.json +23 -9
- package/table.css +1 -1
- package/tag.css +12 -6
- package/darkside/index copy.css +0 -37
- package/dist/component/index.css +0 -10103
- package/dist/component/index.min.css +0 -9
- /package/darkside/{baseline/theme.darkside.css → theme.darkside.css} +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@layer aksel.components {
|
|
2
|
+
.navds-loader {
|
|
3
|
+
stroke-width: 6px;
|
|
4
|
+
--__axc-loader-stroke-width: 5.9;
|
|
5
|
+
width: 1.5rem;
|
|
6
|
+
animation: 1.8s linear infinite loader-rotate;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.navds-loader.navds-loader--3xlarge {
|
|
12
|
+
stroke-width: 5px;
|
|
13
|
+
--__axc-loader-stroke-width: 4.8;
|
|
14
|
+
width: 5.5rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.navds-loader.navds-loader--2xlarge {
|
|
18
|
+
stroke-width: 6px;
|
|
19
|
+
--__axc-loader-stroke-width: 5.8;
|
|
20
|
+
width: 4rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.navds-loader.navds-loader--xlarge {
|
|
24
|
+
stroke-width: 6px;
|
|
25
|
+
--__axc-loader-stroke-width: 5.8;
|
|
26
|
+
width: 2.5rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.navds-loader.navds-loader--large {
|
|
30
|
+
stroke-width: 7px;
|
|
31
|
+
--__axc-loader-stroke-width: 6.8;
|
|
32
|
+
width: 2rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.navds-loader.navds-loader--medium {
|
|
36
|
+
stroke-width: 7px;
|
|
37
|
+
--__axc-loader-stroke-width: 6.8;
|
|
38
|
+
width: 1.5rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.navds-loader.navds-loader--small {
|
|
42
|
+
stroke-width: 8px;
|
|
43
|
+
--__axc-loader-stroke-width: 7.8;
|
|
44
|
+
width: 1.25rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.navds-loader.navds-loader--xsmall {
|
|
48
|
+
stroke-width: 8px;
|
|
49
|
+
--__axc-loader-stroke-width: 7.8;
|
|
50
|
+
width: 1rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.navds-loader__foreground {
|
|
54
|
+
stroke-dasharray: 80 200;
|
|
55
|
+
stroke-dashoffset: 0;
|
|
56
|
+
stroke: var(--ax-border-strong);
|
|
57
|
+
stroke-linecap: round;
|
|
58
|
+
stroke-width: var(--__axc-loader-stroke-width);
|
|
59
|
+
animation: 1.5s ease-in-out infinite loader-dasharray;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.navds-loader__background {
|
|
63
|
+
stroke: var(--ax-border-neutral-subtleA);
|
|
64
|
+
stroke-width: var(--__axc-loader-stroke-width);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.navds-loader--neutral .navds-loader__foreground {
|
|
68
|
+
stroke: var(--ax-border-strong);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.navds-loader--interaction .navds-loader__foreground {
|
|
72
|
+
stroke: var(--ax-border-accent-strong);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.navds-loader--interaction .navds-loader__background {
|
|
76
|
+
stroke: var(--ax-border-accent-subtleA);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.navds-loader--inverted .navds-loader__foreground {
|
|
80
|
+
stroke: var(--ax-border-subtle);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.navds-loader--inverted .navds-loader__background {
|
|
84
|
+
stroke: var(--ax-border-strong);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.navds-loader--transparent .navds-loader__background {
|
|
88
|
+
stroke: rgba(0, 0, 0, 0);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@keyframes loader-rotate {
|
|
92
|
+
100% {
|
|
93
|
+
transform: rotate(360deg);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@keyframes loader-dasharray {
|
|
98
|
+
0% {
|
|
99
|
+
stroke-dasharray: 1 200;
|
|
100
|
+
stroke-dashoffset: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
50% {
|
|
104
|
+
stroke-dasharray: 100 200;
|
|
105
|
+
stroke-dashoffset: -15px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
100% {
|
|
109
|
+
stroke-dasharray: 100 200;
|
|
110
|
+
stroke-dashoffset: -120px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (forced-colors: active) {
|
|
115
|
+
.navds-loader__background {
|
|
116
|
+
stroke: canvastext;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer aksel.components{.navds-loader{stroke-width:6px;--__axc-loader-stroke-width:5.9;width:1.5rem;animation:1.8s linear infinite loader-rotate;display:inline-block;position:relative}.navds-loader.navds-loader--3xlarge{stroke-width:5px;--__axc-loader-stroke-width:4.8;width:5.5rem}.navds-loader.navds-loader--2xlarge{stroke-width:6px;--__axc-loader-stroke-width:5.8;width:4rem}.navds-loader.navds-loader--xlarge{stroke-width:6px;--__axc-loader-stroke-width:5.8;width:2.5rem}.navds-loader.navds-loader--large{stroke-width:7px;--__axc-loader-stroke-width:6.8;width:2rem}.navds-loader.navds-loader--medium{stroke-width:7px;--__axc-loader-stroke-width:6.8;width:1.5rem}.navds-loader.navds-loader--small{stroke-width:8px;--__axc-loader-stroke-width:7.8;width:1.25rem}.navds-loader.navds-loader--xsmall{stroke-width:8px;--__axc-loader-stroke-width:7.8;width:1rem}.navds-loader__foreground{stroke-dasharray:80 200;stroke-dashoffset:0;stroke:var(--ax-border-strong);stroke-linecap:round;stroke-width:var(--__axc-loader-stroke-width);animation:1.5s ease-in-out infinite loader-dasharray}.navds-loader__background{stroke:var(--ax-border-neutral-subtleA);stroke-width:var(--__axc-loader-stroke-width)}.navds-loader--neutral .navds-loader__foreground{stroke:var(--ax-border-strong)}.navds-loader--interaction .navds-loader__foreground{stroke:var(--ax-border-accent-strong)}.navds-loader--interaction .navds-loader__background{stroke:var(--ax-border-accent-subtleA)}.navds-loader--inverted .navds-loader__foreground{stroke:var(--ax-border-subtle)}.navds-loader--inverted .navds-loader__background{stroke:var(--ax-border-strong)}.navds-loader--transparent .navds-loader__background{stroke:rgba(0,0,0,0)}@keyframes loader-rotate{100%{transform:rotate(360deg)}}@keyframes loader-dasharray{0%{stroke-dasharray:1 200;stroke-dashoffset:0}50%{stroke-dasharray:100 200;stroke-dashoffset:-15px}100%{stroke-dasharray:100 200;stroke-dashoffset:-120px}}@media (forced-colors:active){.navds-loader__background{stroke:canvastext}}}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
@layer aksel.components {
|
|
2
|
+
.navds-modal__document-body {
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.navds-modal {
|
|
7
|
+
--__axc-modal-bg: var(--ax-bg-raised);
|
|
8
|
+
background-color: var(--__axc-modal-bg);
|
|
9
|
+
border: 1px solid var(--ax-border-subtleA);
|
|
10
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
11
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
max-height: 100%;
|
|
14
|
+
color: var(--ax-text-default);
|
|
15
|
+
padding: 0;
|
|
16
|
+
position: fixed;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.navds-modal[open] {
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
animation: .35s cubic-bezier(.15, 1, .3, 1) akselModalFadeIn;
|
|
22
|
+
display: flex;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.navds-modal--polyfilled {
|
|
26
|
+
width: fit-content;
|
|
27
|
+
height: fit-content;
|
|
28
|
+
margin: auto;
|
|
29
|
+
top: 50%;
|
|
30
|
+
left: 0;
|
|
31
|
+
right: 0;
|
|
32
|
+
transform: translate(0, -50%);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.navds-modal--polyfilled:not([open]) {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.navds-modal--polyfilled .navds-modal--polyfilled {
|
|
40
|
+
overflow: auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
._dialog_overlay {
|
|
44
|
+
position: fixed;
|
|
45
|
+
inset: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.navds-modal--medium {
|
|
49
|
+
width: 700px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.navds-modal--small {
|
|
53
|
+
width: 450px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.navds-modal--small .navds-modal__header, .navds-modal--small .navds-modal__body, .navds-modal--small .navds-modal__footer {
|
|
57
|
+
padding: var(--ax-spacing-3) var(--ax-spacing-4);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (min-width: 480px) {
|
|
61
|
+
.navds-modal {
|
|
62
|
+
max-width: calc(100% - 2em);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.navds-modal--autowidth {
|
|
66
|
+
max-width: min(700px, 100% - 2em);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (min-height: 480px) {
|
|
71
|
+
.navds-modal {
|
|
72
|
+
max-height: calc(100% - 2em);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.navds-modal--top {
|
|
76
|
+
max-height: calc(100% - 4em);
|
|
77
|
+
margin-top: 2em;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.navds-modal::backdrop {
|
|
82
|
+
background: rgba(2, 20, 49, .49);
|
|
83
|
+
animation: .35s cubic-bezier(.15, 1, .3, 1) akselModalBackdropFadeIn;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.navds-modal--polyfilled + .backdrop {
|
|
87
|
+
background: rgba(2, 20, 49, .49);
|
|
88
|
+
position: fixed;
|
|
89
|
+
inset: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.navds-modal__button {
|
|
93
|
+
margin-left: var(--ax-spacing-4);
|
|
94
|
+
float: right;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.navds-modal__header {
|
|
98
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.navds-modal__header-icon svg {
|
|
102
|
+
vertical-align: -.25rem;
|
|
103
|
+
margin-right: var(--ax-spacing-1);
|
|
104
|
+
display: inline;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.navds-modal__label {
|
|
108
|
+
font-weight: var(--ax-font-weight-bold);
|
|
109
|
+
color: var(--ax-text-subtle);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.navds-modal__body {
|
|
113
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
114
|
+
overscroll-behavior: contain;
|
|
115
|
+
background: linear-gradient(var(--__axc-modal-bg) 30%, transparent) top, linear-gradient(transparent, var(--__axc-modal-bg) 60%) bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .3), transparent) top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .3), transparent) bottom;
|
|
116
|
+
background-repeat: no-repeat;
|
|
117
|
+
background-size: 100% 40px, 100% 50px, 100% 16px, 100% 16px;
|
|
118
|
+
background-attachment: local, local, scroll, scroll;
|
|
119
|
+
position: relative;
|
|
120
|
+
overflow: auto;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.navds-modal__header + .navds-modal__body {
|
|
124
|
+
padding-top: var(--ax-spacing-0);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.navds-modal__footer {
|
|
128
|
+
gap: var(--ax-spacing-4);
|
|
129
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
130
|
+
flex-flow: row-reverse wrap;
|
|
131
|
+
display: flex;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.navds-modal__footer :nth-of-type(2) {
|
|
135
|
+
margin-left: auto;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.navds-modal--polyfilled .navds-modal--polyfilled.navds-date__nested-modal {
|
|
139
|
+
min-width: fit-content;
|
|
140
|
+
max-width: 100vw;
|
|
141
|
+
max-height: 100vh;
|
|
142
|
+
animation: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@keyframes akselModalFadeIn {
|
|
146
|
+
0% {
|
|
147
|
+
opacity: .0001;
|
|
148
|
+
transform: translate3d(0, calc(2% + 4px), 0);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
50% {
|
|
152
|
+
opacity: 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
100% {
|
|
156
|
+
transform: none;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
@keyframes akselModalBackdropFadeIn {
|
|
161
|
+
from {
|
|
162
|
+
opacity: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
to {
|
|
166
|
+
opacity: 1;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@media (forced-colors: active) {
|
|
171
|
+
.navds-modal {
|
|
172
|
+
outline: 2px solid rgba(0, 0, 0, 0);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer aksel.components{.navds-modal__document-body{overflow:hidden}.navds-modal{--__axc-modal-bg:var(--ax-bg-raised);background-color:var(--__axc-modal-bg);border:1px solid var(--ax-border-subtleA);border-radius:var(--ax-border-radius-xlarge);box-shadow:var(--ax-shadow-dialog);max-width:100%;max-height:100%;color:var(--ax-text-default);padding:0;position:fixed}.navds-modal[open]{flex-direction:column;animation:.35s cubic-bezier(.15,1,.3,1) akselModalFadeIn;display:flex}.navds-modal--polyfilled{width:fit-content;height:fit-content;margin:auto;top:50%;left:0;right:0;transform:translate(0,-50%)}.navds-modal--polyfilled:not([open]){display:none}.navds-modal--polyfilled .navds-modal--polyfilled{overflow:auto}._dialog_overlay{position:fixed;inset:0}.navds-modal--medium{width:700px}.navds-modal--small{width:450px}.navds-modal--small .navds-modal__body,.navds-modal--small .navds-modal__footer,.navds-modal--small .navds-modal__header{padding:var(--ax-spacing-3) var(--ax-spacing-4)}@media (min-width:480px){.navds-modal{max-width:calc(100% - 2em)}.navds-modal--autowidth{max-width:min(700px,100% - 2em)}}@media (min-height:480px){.navds-modal{max-height:calc(100% - 2em)}.navds-modal--top{max-height:calc(100% - 4em);margin-top:2em}}.navds-modal::backdrop{background:rgba(2,20,49,.49);animation:.35s cubic-bezier(.15,1,.3,1) akselModalBackdropFadeIn}.navds-modal--polyfilled+.backdrop{background:rgba(2,20,49,.49);position:fixed;inset:0}.navds-modal__button{margin-left:var(--ax-spacing-4);float:right}.navds-modal__header{padding:var(--ax-spacing-4) var(--ax-spacing-5)}.navds-modal__header-icon svg{vertical-align:-.25rem;margin-right:var(--ax-spacing-1);display:inline}.navds-modal__label{font-weight:var(--ax-font-weight-bold);color:var(--ax-text-subtle)}.navds-modal__body{padding:var(--ax-spacing-4) var(--ax-spacing-5);overscroll-behavior:contain;background:linear-gradient(var(--__axc-modal-bg) 30%,transparent) top,linear-gradient(transparent,var(--__axc-modal-bg) 60%) bottom,radial-gradient(farthest-side at 50% 0,rgba(0,0,0,.3),transparent) top,radial-gradient(farthest-side at 50% 100%,rgba(0,0,0,.3),transparent) bottom;background-repeat:no-repeat;background-size:100% 40px,100% 50px,100% 16px,100% 16px;background-attachment:local,local,scroll,scroll;position:relative;overflow:auto}.navds-modal__header+.navds-modal__body{padding-top:var(--ax-spacing-0)}.navds-modal__footer{gap:var(--ax-spacing-4);padding:var(--ax-spacing-4) var(--ax-spacing-5);flex-flow:row-reverse wrap;display:flex}.navds-modal__footer :nth-of-type(2){margin-left:auto}.navds-modal--polyfilled .navds-modal--polyfilled.navds-date__nested-modal{min-width:fit-content;max-width:100vw;max-height:100vh;animation:none}@keyframes akselModalFadeIn{0%{opacity:.0001;transform:translate3d(0,calc(2% + 4px),0)}50%{opacity:1}100%{transform:none}}@keyframes akselModalBackdropFadeIn{from{opacity:0}to{opacity:1}}@media (forced-colors:active){.navds-modal{outline:2px solid rgba(0,0,0,0)}}}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@layer aksel.components {
|
|
2
|
+
.navds-pagination {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.navds-pagination__list {
|
|
7
|
+
gap: var(--ax-spacing-3);
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
list-style: none;
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.navds-pagination__list li {
|
|
15
|
+
list-style: none;
|
|
16
|
+
display: flex;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.navds-pagination__ellipsis {
|
|
20
|
+
cursor: default;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
width: 3rem;
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.navds-pagination--small .navds-pagination__ellipsis {
|
|
28
|
+
width: 2rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.navds-pagination--xsmall .navds-pagination__ellipsis {
|
|
32
|
+
width: 1.5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.navds-pagination__item[data-selected="true"] {
|
|
36
|
+
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
37
|
+
color: var(--ax-text-neutral-contrast);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.navds-pagination--invisible {
|
|
41
|
+
visibility: hidden;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer aksel.components{.navds-pagination{position:relative}.navds-pagination__list{gap:var(--ax-spacing-3);margin:0;padding:0;list-style:none;display:flex}.navds-pagination__list li{list-style:none;display:flex}.navds-pagination__ellipsis{cursor:default;justify-content:center;align-items:center;width:3rem;display:flex}.navds-pagination--small .navds-pagination__ellipsis{width:2rem}.navds-pagination--xsmall .navds-pagination__ellipsis{width:1.5rem}.navds-pagination__item[data-selected=true]{background-color:var(--ax-bg-neutral-strong-pressed);color:var(--ax-text-neutral-contrast)}.navds-pagination--invisible{visibility:hidden}}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@layer aksel.components {
|
|
2
|
+
.navds-panel {
|
|
3
|
+
background-color: var(--ac-panel-bg, var(--a-surface-default));
|
|
4
|
+
padding: var(--a-spacing-4);
|
|
5
|
+
border-radius: var(--a-border-radius-small);
|
|
6
|
+
border: 1px solid rgba(0, 0, 0, 0);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.navds-panel--border {
|
|
10
|
+
border-color: var(--ac-panel-border, var(--a-border-default));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer aksel.components{.navds-panel{background-color:var(--ac-panel-bg,var(--a-surface-default));padding:var(--a-spacing-4);border-radius:var(--a-border-radius-small);border:1px solid transparent}.navds-panel--border{border-color:var(--ac-panel-border,var(--a-border-default))}}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@layer aksel.components {
|
|
2
|
+
.navds-popover {
|
|
3
|
+
z-index: 1000;
|
|
4
|
+
background: var(--ax-bg-raised);
|
|
5
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
6
|
+
border: 1px solid var(--ax-border-subtleA);
|
|
7
|
+
border-radius: var(--ax-border-radius-xlarge);
|
|
8
|
+
max-width: calc(100vw - var(--ax-spacing-6));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.navds-popover__content {
|
|
12
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.navds-popover--hidden {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer aksel.components{.navds-popover{z-index:1000;background:var(--ax-bg-raised);box-shadow:var(--ax-shadow-dialog);border:1px solid var(--ax-border-subtleA);border-radius:var(--ax-border-radius-xlarge);max-width:calc(100vw - var(--ax-spacing-6))}.navds-popover__content{padding:var(--ax-spacing-4) var(--ax-spacing-5)}.navds-popover--hidden{display:none}}
|