@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
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
height: 1rem;
|
|
13
13
|
box-sizing: content-box;
|
|
14
14
|
grid-column: 2;
|
|
15
|
-
margin-bottom: var(--
|
|
15
|
+
margin-bottom: var(--ax-spacing-1);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.navds-timeline__row-label {
|
|
19
19
|
white-space: nowrap;
|
|
20
20
|
width: auto;
|
|
21
|
-
margin-right: var(--
|
|
21
|
+
margin-right: var(--ax-spacing-4);
|
|
22
22
|
grid-column: 1;
|
|
23
23
|
min-height: 1.5rem;
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
|
-
gap: var(--
|
|
26
|
+
gap: var(--ax-spacing-2);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.navds-timeline__row-label:where(:nth-last-child(2)) {
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
|
|
33
33
|
.navds-timeline__axislabels-label {
|
|
34
34
|
position: absolute;
|
|
35
|
-
color: var(--
|
|
35
|
+
color: var(--ax-text-subtle);
|
|
36
36
|
white-space: nowrap;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.navds-timeline__row {
|
|
40
40
|
display: flex;
|
|
41
|
-
background: var(--
|
|
42
|
-
margin: var(--
|
|
41
|
+
background: var(--ax-bg-neutral);
|
|
42
|
+
margin: var(--ax-spacing-4) 0;
|
|
43
43
|
grid-column: 2;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.navds-timeline__row--active {
|
|
47
|
-
background: var(--
|
|
47
|
+
background: var(--ax-bg-accent-moderateA);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.navds-timeline__row:last-of-type {
|
|
@@ -62,13 +62,19 @@
|
|
|
62
62
|
list-style-type: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.navds-
|
|
66
|
-
|
|
65
|
+
.navds-timeline__period:focus-visible {
|
|
66
|
+
z-index: 4;
|
|
67
|
+
outline: 2px solid var(--ax-border-focus);
|
|
68
|
+
outline-offset: 2px;
|
|
69
|
+
|
|
70
|
+
&& {
|
|
71
|
+
box-shadow: 0 0 0 2px var(--ax-bg-default);
|
|
72
|
+
}
|
|
67
73
|
}
|
|
68
74
|
|
|
69
75
|
.navds-timeline__period {
|
|
70
76
|
height: 100%;
|
|
71
|
-
border-radius: var(--
|
|
77
|
+
border-radius: var(--ax-border-radius-full);
|
|
72
78
|
position: absolute;
|
|
73
79
|
padding: 0;
|
|
74
80
|
display: flex;
|
|
@@ -79,7 +85,7 @@
|
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
.navds-timeline__period--inner {
|
|
82
|
-
margin: 0 var(--
|
|
88
|
+
margin: 0 var(--ax-spacing-2);
|
|
83
89
|
overflow: hidden;
|
|
84
90
|
white-space: nowrap;
|
|
85
91
|
text-overflow: clip;
|
|
@@ -97,49 +103,83 @@
|
|
|
97
103
|
}
|
|
98
104
|
|
|
99
105
|
.navds-timeline__period--success {
|
|
100
|
-
background: var(--
|
|
101
|
-
|
|
102
|
-
|
|
106
|
+
background: var(--ax-bg-success-moderate);
|
|
107
|
+
border: solid 1px var(--ax-border-success);
|
|
108
|
+
color: var(--ax-text-success-icon);
|
|
103
109
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
110
|
+
&.navds-timeline__period--clickable:hover {
|
|
111
|
+
background: var(--ax-bg-success-moderate-hover);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.navds-timeline__period--clickable.navds-timeline__period--selected {
|
|
115
|
+
background: var(--ax-bg-success-strong-pressed);
|
|
116
|
+
border: none;
|
|
117
|
+
color: var(--ax-text-success-contrast);
|
|
118
|
+
}
|
|
107
119
|
}
|
|
108
120
|
|
|
109
121
|
.navds-timeline__period--warning {
|
|
110
|
-
background: var(--
|
|
111
|
-
|
|
112
|
-
|
|
122
|
+
background: var(--ax-bg-warning-moderate);
|
|
123
|
+
border: solid 1px var(--ax-border-warning);
|
|
124
|
+
color: var(--ax-text-warning-icon);
|
|
125
|
+
|
|
126
|
+
&.navds-timeline__period--clickable:hover {
|
|
127
|
+
background: var(--ax-bg-warning-moderate-hover);
|
|
128
|
+
}
|
|
113
129
|
|
|
114
|
-
|
|
115
|
-
|
|
130
|
+
&.navds-timeline__period--clickable.navds-timeline__period--selected {
|
|
131
|
+
background: var(--ax-bg-warning-strong-pressed);
|
|
132
|
+
border: none;
|
|
133
|
+
color: var(--ax-text-warning-contrast);
|
|
134
|
+
}
|
|
116
135
|
}
|
|
117
136
|
|
|
118
137
|
.navds-timeline__period--danger {
|
|
119
|
-
background: var(--
|
|
120
|
-
|
|
121
|
-
|
|
138
|
+
background: var(--ax-bg-danger-moderate);
|
|
139
|
+
border: solid 1px var(--ax-border-danger);
|
|
140
|
+
color: var(--ax-text-danger-icon);
|
|
141
|
+
|
|
142
|
+
&.navds-timeline__period--clickable:hover {
|
|
143
|
+
background: var(--ax-bg-danger-moderate-hover);
|
|
144
|
+
}
|
|
122
145
|
|
|
123
|
-
|
|
124
|
-
|
|
146
|
+
&.navds-timeline__period--clickable.navds-timeline__period--selected {
|
|
147
|
+
background: var(--ax-bg-danger-strong-pressed);
|
|
148
|
+
border: none;
|
|
149
|
+
color: var(--ax-text-danger-contrast);
|
|
150
|
+
}
|
|
125
151
|
}
|
|
126
152
|
|
|
127
153
|
.navds-timeline__period--info {
|
|
128
|
-
background: var(--
|
|
129
|
-
|
|
130
|
-
|
|
154
|
+
background: var(--ax-bg-info-moderate);
|
|
155
|
+
border: solid 1px var(--ax-border-info);
|
|
156
|
+
color: var(--ax-text-info-icon);
|
|
131
157
|
|
|
132
|
-
|
|
133
|
-
|
|
158
|
+
&.navds-timeline__period--clickable:hover {
|
|
159
|
+
background: var(--ax-bg-info-moderate-hover);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&.navds-timeline__period--clickable.navds-timeline__period--selected {
|
|
163
|
+
background: var(--ax-bg-info-strong-pressed);
|
|
164
|
+
border: none;
|
|
165
|
+
color: var(--ax-text-info-contrast);
|
|
166
|
+
}
|
|
134
167
|
}
|
|
135
168
|
|
|
136
169
|
.navds-timeline__period--neutral {
|
|
137
|
-
background: var(--
|
|
138
|
-
|
|
139
|
-
|
|
170
|
+
background: var(--ax-bg-neutral-moderate);
|
|
171
|
+
border: solid 1px var(--ax-border-neutral);
|
|
172
|
+
color: var(--ax-text-neutral-icon);
|
|
140
173
|
|
|
141
|
-
|
|
142
|
-
|
|
174
|
+
&.navds-timeline__period--clickable:hover {
|
|
175
|
+
background: var(--ax-bg-neutral-moderate-hover);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.navds-timeline__period--clickable.navds-timeline__period--selected {
|
|
179
|
+
background: var(--ax-bg-neutral-strong-pressed);
|
|
180
|
+
border: none;
|
|
181
|
+
color: var(--ax-text-neutral-contrast);
|
|
182
|
+
}
|
|
143
183
|
}
|
|
144
184
|
|
|
145
185
|
.navds-timeline__period--connected-both {
|
|
@@ -156,11 +196,6 @@
|
|
|
156
196
|
border-top-left-radius: 0;
|
|
157
197
|
}
|
|
158
198
|
|
|
159
|
-
.navds-timeline__period--selected {
|
|
160
|
-
box-shadow: inset 0 0 0 2px var(--ac-timeline-period-selected-border, var(--a-border-action-selected));
|
|
161
|
-
z-index: 3;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
199
|
.navds-timeline__pin-wrapper {
|
|
165
200
|
position: absolute;
|
|
166
201
|
grid-column: 2;
|
|
@@ -177,68 +212,34 @@
|
|
|
177
212
|
.navds-timeline__pin-button {
|
|
178
213
|
border: none;
|
|
179
214
|
cursor: pointer;
|
|
180
|
-
background: var(--
|
|
181
|
-
box-shadow:
|
|
182
|
-
inset 0 0 0 1px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
183
|
-
0 0 0 4px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
184
|
-
0 0 0 5px var(--a-surface-default);
|
|
215
|
+
background: var(--ax-bg-default);
|
|
216
|
+
box-shadow: inset 0 0 0 4px var(--ax-bg-danger-strong);
|
|
185
217
|
z-index: 2;
|
|
186
|
-
border-radius: var(--
|
|
187
|
-
padding: var(--
|
|
218
|
+
border-radius: var(--ax-border-radius-full);
|
|
219
|
+
padding: var(--ax-spacing-2);
|
|
188
220
|
position: relative;
|
|
189
|
-
}
|
|
190
221
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.navds-timeline__pin-button:focus-visible {
|
|
203
|
-
box-shadow:
|
|
204
|
-
inset 0 0 0 1px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
205
|
-
0 0 0 3px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
206
|
-
0 0 0 4px var(--a-surface-default),
|
|
207
|
-
0 0 0 6px var(--a-border-focus);
|
|
208
|
-
outline: none;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.navds-timeline__pin-button:hover {
|
|
212
|
-
box-shadow:
|
|
213
|
-
inset 0 0 0 1px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
214
|
-
0 0 0 4px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
215
|
-
0 0 0 5px var(--a-surface-default);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.navds-timeline__pin-button:hover:focus-visible {
|
|
219
|
-
box-shadow:
|
|
220
|
-
inset 0 0 0 1px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
221
|
-
0 0 0 3px var(--ac-timeline-pin-bg-hover, var(--a-surface-danger-hover)),
|
|
222
|
-
0 0 0 4px var(--a-surface-default),
|
|
223
|
-
0 0 0 6px var(--a-border-focus);
|
|
224
|
-
}
|
|
222
|
+
&::before {
|
|
223
|
+
content: "";
|
|
224
|
+
inset: 0;
|
|
225
|
+
position: absolute;
|
|
226
|
+
width: 25px;
|
|
227
|
+
height: 25px;
|
|
228
|
+
border-radius: var(--ax-border-radius-full);
|
|
229
|
+
left: calc(-12.5px + 3.5px);
|
|
230
|
+
top: calc(-12.5px + 3.5px);
|
|
231
|
+
}
|
|
225
232
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
box-shadow:
|
|
229
|
-
inset 0 0 0 1px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
230
|
-
0 0 0 3px var(--ac-timeline-pin-bg, var(--a-surface-danger)),
|
|
231
|
-
0 0 0 4px var(--a-surface-default),
|
|
232
|
-
0 0 0 6px var(--a-border-focus);
|
|
233
|
-
outline: none;
|
|
233
|
+
&:hover {
|
|
234
|
+
box-shadow: inset 0 0 0 4px var(--ax-bg-danger-strong-hover);
|
|
234
235
|
}
|
|
235
236
|
|
|
236
|
-
|
|
237
|
+
&:focus-visible {
|
|
237
238
|
box-shadow:
|
|
238
|
-
inset 0 0 0
|
|
239
|
-
0 0 0
|
|
240
|
-
|
|
241
|
-
|
|
239
|
+
inset 0 0 0 4px var(--ax-border-danger-strong),
|
|
240
|
+
0 0 0 2px var(--ax-bg-default);
|
|
241
|
+
outline: 2px solid var(--ax-border-focus);
|
|
242
|
+
outline-offset: 2px;
|
|
242
243
|
}
|
|
243
244
|
}
|
|
244
245
|
|
|
@@ -248,11 +249,11 @@
|
|
|
248
249
|
height: calc(100% - var(--navdsc-timeline-pin-size) * 2);
|
|
249
250
|
width: 1px;
|
|
250
251
|
margin: 0 auto;
|
|
251
|
-
background: var(--
|
|
252
|
+
background: var(--ax-border-strong);
|
|
252
253
|
}
|
|
253
254
|
|
|
254
255
|
.navds-timeline__zoom {
|
|
255
|
-
margin-top: var(--
|
|
256
|
+
margin-top: var(--ax-spacing-6);
|
|
256
257
|
float: right;
|
|
257
258
|
display: flex;
|
|
258
259
|
list-style-type: none;
|
|
@@ -262,54 +263,42 @@
|
|
|
262
263
|
all: unset;
|
|
263
264
|
cursor: pointer;
|
|
264
265
|
padding: 6px 9px 6px 8px;
|
|
265
|
-
border: 1px solid var(--
|
|
266
|
+
border: 1px solid var(--ax-border-default);
|
|
266
267
|
border-width: 1px 0 1px 1px;
|
|
267
|
-
background: var(--
|
|
268
|
+
background: var(--ax-bg-default);
|
|
268
269
|
}
|
|
269
270
|
|
|
270
271
|
.navds-timeline__zoom li:first-child .navds-timeline__zoom-button {
|
|
271
|
-
border-radius: var(--
|
|
272
|
+
border-radius: var(--ax-border-radius-medium) 0 0 var(--ax-border-radius-medium);
|
|
272
273
|
}
|
|
273
274
|
|
|
274
275
|
.navds-timeline__zoom li:last-child .navds-timeline__zoom-button {
|
|
275
276
|
border-width: 1px;
|
|
276
|
-
border-radius: 0 var(--
|
|
277
|
+
border-radius: 0 var(--ax-border-radius-medium) var(--ax-border-radius-medium) 0;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
.navds-timeline__zoom li:only-child .navds-timeline__zoom-button {
|
|
280
|
-
border-radius: var(--
|
|
281
|
+
border-radius: var(--ax-border-radius-medium);
|
|
281
282
|
}
|
|
282
283
|
|
|
283
284
|
.navds-timeline__zoom-button:not([aria-pressed="true"]):hover {
|
|
284
|
-
background: var(--
|
|
285
|
+
background: var(--ax-bg-neutral-moderate-hoverA);
|
|
285
286
|
}
|
|
286
287
|
|
|
287
288
|
.navds-timeline__zoom-button[aria-pressed="true"] {
|
|
288
|
-
background: var(--
|
|
289
|
-
color: var(--
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
.navds-timeline__period:focus-visible {
|
|
293
|
-
outline: none;
|
|
294
|
-
z-index: 4;
|
|
295
|
-
box-shadow: 0 0 0 2px var(--a-border-focus);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.navds-timeline__period--selected:focus-visible {
|
|
299
|
-
box-shadow:
|
|
300
|
-
inset 0 0 0 2px var(--ac-timeline-period-selected-border, var(--a-border-action-selected)),
|
|
301
|
-
0 0 0 2px var(--a-border-focus);
|
|
302
|
-
z-index: 3;
|
|
289
|
+
background: var(--ax-bg-neutral-strong-pressed);
|
|
290
|
+
border-color: var(--ax-bg-neutral-strong-pressed);
|
|
291
|
+
color: var(--ax-text-neutral-contrast);
|
|
303
292
|
}
|
|
304
293
|
|
|
305
294
|
.navds-timeline__zoom li:focus-within {
|
|
306
|
-
z-index:
|
|
295
|
+
z-index: 5;
|
|
307
296
|
}
|
|
308
297
|
|
|
309
298
|
.navds-timeline__zoom-button:focus-visible {
|
|
310
299
|
box-shadow:
|
|
311
|
-
0 0 0 1px var(--
|
|
312
|
-
0 0 0 3px var(--
|
|
300
|
+
0 0 0 1px var(--ax-bg-default),
|
|
301
|
+
0 0 0 3px var(--ax-border-focus);
|
|
313
302
|
border-width: 1px;
|
|
314
303
|
}
|
|
315
304
|
|
|
@@ -318,80 +307,18 @@
|
|
|
318
307
|
padding-right: 6px;
|
|
319
308
|
}
|
|
320
309
|
|
|
321
|
-
@supports not selector(:focus-visible) {
|
|
322
|
-
.navds-timeline__period:focus {
|
|
323
|
-
outline: none;
|
|
324
|
-
z-index: 4;
|
|
325
|
-
box-shadow: 0 0 0 2px var(--a-border-focus);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.navds-timeline__period--selected:focus {
|
|
329
|
-
box-shadow:
|
|
330
|
-
inset 0 0 0 2px var(--ac-timeline-period-selected-border, var(--a-border-action-selected)),
|
|
331
|
-
0 0 0 2px var(--a-border-focus);
|
|
332
|
-
z-index: 3;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.navds-timeline__zoom-button:focus {
|
|
336
|
-
box-shadow:
|
|
337
|
-
0 0 0 1px var(--a-surface-default),
|
|
338
|
-
0 0 0 3px var(--a-border-focus);
|
|
339
|
-
border-width: 1px;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.navds-timeline__zoom li:not(:last-child) .navds-timeline__zoom-button:focus {
|
|
343
|
-
margin-right: 2px;
|
|
344
|
-
padding-right: 6px;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
310
|
/**
|
|
349
311
|
* Timeline Popover
|
|
350
312
|
*/
|
|
351
313
|
|
|
352
314
|
.navds-timeline__popover {
|
|
353
|
-
z-index:
|
|
354
|
-
background-color: var(--
|
|
355
|
-
box-shadow: var(--
|
|
356
|
-
border: 1px solid;
|
|
357
|
-
border-color: var(--ac-popover-border, var(--a-border-default));
|
|
358
|
-
border-radius: var(--a-border-radius-large);
|
|
359
|
-
padding: var(--a-spacing-3);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.navds-timeline__popover:focus {
|
|
363
|
-
outline: none;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.navds-timeline__popover-arrow {
|
|
367
|
-
position: absolute;
|
|
368
|
-
z-index: -1;
|
|
369
|
-
transform: rotate(45deg);
|
|
370
|
-
background-color: var(--ac-popover-bg, var(--a-surface-default));
|
|
315
|
+
z-index: 5;
|
|
316
|
+
background-color: var(--ax-bg-raised);
|
|
317
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
371
318
|
border: 1px solid;
|
|
372
|
-
border-color: var(--
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.navds-timeline__popover[data-placement^="top"] > .navds-timeline__popover-arrow {
|
|
378
|
-
border-left-color: transparent;
|
|
379
|
-
border-top-color: transparent;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.navds-timeline__popover[data-placement^="bottom"] > .navds-timeline__popover-arrow {
|
|
383
|
-
border-bottom-color: transparent;
|
|
384
|
-
border-right-color: transparent;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.navds-timeline__popover[data-placement^="left"] > .navds-timeline__popover-arrow {
|
|
388
|
-
border-left-color: transparent;
|
|
389
|
-
border-bottom-color: transparent;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.navds-timeline__popover[data-placement^="right"] > .navds-timeline__popover-arrow {
|
|
393
|
-
border-right-color: transparent;
|
|
394
|
-
border-top-color: transparent;
|
|
319
|
+
border-color: var(--ax-border-subtleA);
|
|
320
|
+
border-radius: var(--ax-border-radius-large);
|
|
321
|
+
padding: var(--ax-spacing-4) var(--ax-spacing-5);
|
|
395
322
|
}
|
|
396
323
|
|
|
397
324
|
@media (forced-colors: active) {
|
|
@@ -426,24 +353,4 @@
|
|
|
426
353
|
outline-offset: 2px;
|
|
427
354
|
box-shadow: none;
|
|
428
355
|
}
|
|
429
|
-
|
|
430
|
-
.navds-timeline__popover[data-placement^="top"] > .navds-timeline__popover-arrow {
|
|
431
|
-
border-left-color: canvas;
|
|
432
|
-
border-top-color: canvas;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.navds-timeline__popover[data-placement^="bottom"] > .navds-timeline__popover-arrow {
|
|
436
|
-
border-bottom-color: canvas;
|
|
437
|
-
border-right-color: canvas;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.navds-timeline__popover[data-placement^="left"] > .navds-timeline__popover-arrow {
|
|
441
|
-
border-left-color: canvas;
|
|
442
|
-
border-bottom-color: canvas;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.navds-timeline__popover[data-placement^="right"] > .navds-timeline__popover-arrow {
|
|
446
|
-
border-right-color: canvas;
|
|
447
|
-
border-top-color: canvas;
|
|
448
|
-
}
|
|
449
356
|
}
|
|
@@ -1,81 +1,106 @@
|
|
|
1
|
-
@keyframes tooltipFadeIn {
|
|
2
|
-
0% {
|
|
3
|
-
opacity: 0;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
100% {
|
|
7
|
-
opacity: 1;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
.navds-tooltip {
|
|
12
|
-
z-index:
|
|
13
|
-
background-color: var(--
|
|
14
|
-
color: var(--
|
|
15
|
-
border-radius: var(--
|
|
16
|
-
padding: 0 var(--
|
|
2
|
+
z-index: 3000;
|
|
3
|
+
background-color: var(--ax-bg-raised);
|
|
4
|
+
color: var(--ax-text-default);
|
|
5
|
+
border-radius: var(--ax-border-radius-medium);
|
|
6
|
+
padding: 0 var(--ax-spacing-1-alt);
|
|
17
7
|
align-items: center;
|
|
18
|
-
filter: drop-shadow(0 2px 4px rgba(0 0 0 / 0.1)) drop-shadow(0 4px 6px rgba(0 0 0 / 0.1));
|
|
19
8
|
display: flex;
|
|
20
9
|
flex-direction: column;
|
|
21
|
-
animation-timing-function: cubic-bezier(0.
|
|
22
|
-
animation-duration:
|
|
23
|
-
animation-name: tooltipFadeIn;
|
|
10
|
+
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
11
|
+
animation-duration: 150ms;
|
|
24
12
|
text-align: center;
|
|
13
|
+
border: 1px solid var(--ax-border-subtleA);
|
|
14
|
+
box-shadow: var(--ax-shadow-dialog);
|
|
25
15
|
}
|
|
26
16
|
|
|
27
|
-
.navds-
|
|
28
|
-
|
|
29
|
-
width: 0.4375rem;
|
|
30
|
-
transform: rotate(45deg);
|
|
31
|
-
z-index: -1;
|
|
32
|
-
background-color: var(--ac-tooltip-bg, var(--a-surface-inverted));
|
|
33
|
-
position: absolute;
|
|
17
|
+
.navds-tooltip:where([data-state="open"]):where([data-side="bottom"]) {
|
|
18
|
+
animation-name: aksel-tooltip-from-bottom, aksel-tooltip-fade-in;
|
|
34
19
|
}
|
|
35
20
|
|
|
36
|
-
.navds-
|
|
37
|
-
|
|
38
|
-
display: flex;
|
|
39
|
-
gap: var(--a-spacing-1);
|
|
21
|
+
.navds-tooltip:where([data-state="open"]):where([data-side="top"]) {
|
|
22
|
+
animation-name: aksel-tooltip-from-top, aksel-tooltip-fade-in;
|
|
40
23
|
}
|
|
41
24
|
|
|
42
|
-
.navds-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
25
|
+
.navds-tooltip:where([data-state="open"]):where([data-side="left"]) {
|
|
26
|
+
animation-name: aksel-tooltip-from-left, aksel-tooltip-fade-in;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.navds-tooltip:where([data-state="open"]):where([data-side="right"]) {
|
|
30
|
+
animation-name: aksel-tooltip-from-right, aksel-tooltip-fade-in;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes aksel-tooltip-from-bottom {
|
|
34
|
+
from {
|
|
35
|
+
transform: translateY(-4px);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
to {
|
|
39
|
+
transform: translateY(0);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes aksel-tooltip-from-top {
|
|
44
|
+
from {
|
|
45
|
+
transform: translateY(4px);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
to {
|
|
49
|
+
transform: translateY(0);
|
|
50
|
+
}
|
|
53
51
|
}
|
|
54
52
|
|
|
55
|
-
@
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
@keyframes aksel-tooltip-from-left {
|
|
54
|
+
from {
|
|
55
|
+
transform: translateX(4px);
|
|
56
|
+
}
|
|
58
57
|
|
|
59
|
-
|
|
58
|
+
to {
|
|
59
|
+
transform: translateY(0);
|
|
60
60
|
}
|
|
61
|
+
}
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
@keyframes aksel-tooltip-from-right {
|
|
64
|
+
from {
|
|
65
|
+
transform: translateX(-4px);
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
border-left: var(--__a-tooltip-high-contrast-border);
|
|
68
|
+
to {
|
|
69
|
+
transform: translateY(0);
|
|
70
70
|
}
|
|
71
|
+
}
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
@keyframes aksel-tooltip-fade-in {
|
|
74
|
+
from {
|
|
75
|
+
opacity: 0.01;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
to {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.navds-tooltip__keys {
|
|
84
|
+
padding-bottom: var(--ax-spacing-1);
|
|
85
|
+
display: flex;
|
|
86
|
+
gap: var(--ax-spacing-1);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.navds-tooltip__key {
|
|
90
|
+
font-family: var(--ax-font-family);
|
|
91
|
+
color: var(--ax-text-default);
|
|
92
|
+
padding: 0 var(--ax-spacing-1);
|
|
93
|
+
min-width: 1.125rem;
|
|
94
|
+
height: 1.125rem;
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
border-radius: var(--ax-border-radius-small);
|
|
99
|
+
background: var(--ax-bg-neutral-moderateA);
|
|
100
|
+
|
|
101
|
+
@media (forced-colors: active) {
|
|
102
|
+
& {
|
|
103
|
+
outline: 1px solid;
|
|
104
|
+
}
|
|
80
105
|
}
|
|
81
106
|
}
|
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable csstools/value-no-unknown-custom-properties */
|
|
2
|
-
|
|
3
|
-
/* ------------------------- Global typo-definitions ------------------------ */
|
|
4
|
-
body,
|
|
5
|
-
:host {
|
|
6
|
-
font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
|
|
7
|
-
line-height: 1.333;
|
|
8
|
-
font-size: 1.125rem;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* ----------------------------- Typo-components ---------------------------- */
|
|
12
|
-
|
|
13
1
|
/* Heading */
|
|
14
2
|
.navds-heading {
|
|
15
3
|
font-weight: var(--ax-font-weight-bold);
|
package/dist/component/link.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.navds-link{align-items:center;color:var(--ac-link-text,var(--a-text-action));display:inline-flex;gap:var(--a-spacing-1);text-decoration:underline}.navds-link.navds-link--inline-text{display:inline}.navds-link.navds-link--inline-text>svg{display:inline;margin:.1em .1em -.1em;transform:translateY(.05em);vertical-align:initial}.navds-link.navds-link--remove-underline,.navds-link:hover{text-decoration:none}.navds-link.navds-link--remove-underline:hover{text-decoration:underline}.navds-alert .navds-link,.navds-confirmation-panel .navds-link{color:var(--a-text-default)}.navds-link:focus-visible{background-color:var(--ac-link-focus-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-focus-border,var(--a-border-focus));color:var(--ac-link-focus-text,var(--a-text-on-action));outline:2px solid #0000;text-decoration:none}@supports not selector(:focus-visible){.navds-link:focus{background-color:var(--ac-link-focus-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-focus-border,var(--a-border-focus));color:var(--ac-link-focus-text,var(--a-text-on-action));outline:2px solid #0000;text-decoration:none}}.navds-link:active{background-color:var(--ac-link-active-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-active-border,var(--a-border-focus));color:var(--ac-link-active-text,var(--a-text-on-action));outline:2px solid #0000;text-decoration:none}.navds-link svg{color:inherit;flex-shrink:0}.navds-link--action{color:var(--ac-link-action-text,var(--a-text-action))}.navds-link--neutral{color:var(--ac-link-neutral-text,var(--a-text-default))}.navds-link--subtle{color:var(--ac-link-subtle-text,var(--a-text-subtle))}
|
|
1
|
+
.navds-link{align-items:center;color:var(--ac-link-text,var(--a-text-action));display:inline-flex;gap:var(--a-spacing-1);text-decoration:underline}.navds-link.navds-link--inline-text{display:inline}.navds-link.navds-link--inline-text>svg{display:inline;margin:.1em .1em -.1em;transform:translateY(.05em);vertical-align:initial}.navds-link.navds-link--remove-underline,.navds-link:hover{text-decoration:none}.navds-link.navds-link--remove-underline:hover{text-decoration:underline}.navds-alert:not(.navds-alert--inline) .navds-link,.navds-confirmation-panel .navds-link{color:var(--a-text-default)}.navds-link:focus-visible{background-color:var(--ac-link-focus-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-focus-border,var(--a-border-focus));color:var(--ac-link-focus-text,var(--a-text-on-action));outline:2px solid #0000;text-decoration:none}@supports not selector(:focus-visible){.navds-link:focus{background-color:var(--ac-link-focus-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-focus-border,var(--a-border-focus));color:var(--ac-link-focus-text,var(--a-text-on-action));outline:2px solid #0000;text-decoration:none}}.navds-link:active{background-color:var(--ac-link-active-bg,var(--a-border-focus));box-shadow:0 0 0 2px var(--ac-link-active-border,var(--a-border-focus));color:var(--ac-link-active-text,var(--a-text-on-action));outline:2px solid #0000;text-decoration:none}.navds-link svg{color:inherit;flex-shrink:0}.navds-link--action{color:var(--ac-link-action-text,var(--a-text-action))}.navds-link--neutral{color:var(--ac-link-neutral-text,var(--a-text-default))}.navds-link--subtle{color:var(--ac-link-subtle-text,var(--a-text-subtle))}
|