@navikt/ds-css 7.8.0 → 7.9.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 +23 -0
- package/button.css +9 -1
- 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 +10 -2
- 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 -15
- 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/toggle-group.darkside.css +19 -9
- package/darkside/tooltip.darkside.css +82 -57
- package/darkside/typography.darkside.css +12 -12
- package/dist/component/button.css +9 -1
- package/dist/component/button.min.css +2 -2
- package/dist/component/form.css +37 -37
- package/dist/component/form.min.css +1 -1
- 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/component/typography.css +12 -0
- package/dist/component/typography.min.css +1 -1
- package/dist/components.css +73 -48
- package/dist/components.min.css +3 -3
- 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 +279 -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 +1862 -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 +116 -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 +254 -0
- package/dist/darkside/component/typography.min.css +1 -0
- package/dist/darkside/components.css +7493 -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 +896 -0
- package/dist/darkside/global/tokens.min.css +1 -0
- package/dist/darkside/index.css +8693 -0
- package/dist/darkside/index.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/accordion.css +174 -0
- package/dist/darkside/version/7.9.0/component/accordion.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/actionmenu.css +182 -0
- package/dist/darkside/version/7.9.0/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/alert.css +105 -0
- package/dist/darkside/version/7.9.0/component/alert.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/button.css +279 -0
- package/dist/darkside/version/7.9.0/component/button.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/chat.css +103 -0
- package/dist/darkside/version/7.9.0/component/chat.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/chips.css +176 -0
- package/dist/darkside/version/7.9.0/component/chips.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/copybutton.css +176 -0
- package/dist/darkside/version/7.9.0/component/copybutton.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/date.css +262 -0
- package/dist/darkside/version/7.9.0/component/date.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/dropdown.css +92 -0
- package/dist/darkside/version/7.9.0/component/dropdown.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/expansioncard.css +167 -0
- package/dist/darkside/version/7.9.0/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/form.css +1862 -0
- package/dist/darkside/version/7.9.0/component/form.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/guidepanel.css +113 -0
- package/dist/darkside/version/7.9.0/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/helptext.css +53 -0
- package/dist/darkside/version/7.9.0/component/helptext.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/internalheader.css +100 -0
- package/dist/darkside/version/7.9.0/component/internalheader.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/link.css +60 -0
- package/dist/darkside/version/7.9.0/component/link.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/linkpanel.css +48 -0
- package/dist/darkside/version/7.9.0/component/linkpanel.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/list.css +88 -0
- package/dist/darkside/version/7.9.0/component/list.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/loader.css +119 -0
- package/dist/darkside/version/7.9.0/component/loader.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/modal.css +175 -0
- package/dist/darkside/version/7.9.0/component/modal.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/pagination.css +43 -0
- package/dist/darkside/version/7.9.0/component/pagination.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/panel.css +12 -0
- package/dist/darkside/version/7.9.0/component/panel.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/popover.css +18 -0
- package/dist/darkside/version/7.9.0/component/popover.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/primitives.css +1291 -0
- package/dist/darkside/version/7.9.0/component/primitives.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/progressbar.css +106 -0
- package/dist/darkside/version/7.9.0/component/progressbar.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/readmore.css +95 -0
- package/dist/darkside/version/7.9.0/component/readmore.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/skeleton.css +66 -0
- package/dist/darkside/version/7.9.0/component/skeleton.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/stepper.css +234 -0
- package/dist/darkside/version/7.9.0/component/stepper.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/table.css +225 -0
- package/dist/darkside/version/7.9.0/component/table.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/tabs.css +138 -0
- package/dist/darkside/version/7.9.0/component/tabs.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/tag.css +128 -0
- package/dist/darkside/version/7.9.0/component/tag.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/theme.css +17 -0
- package/dist/darkside/version/7.9.0/component/theme.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/timeline.css +338 -0
- package/dist/darkside/version/7.9.0/component/timeline.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/togglegroup.css +116 -0
- package/dist/darkside/version/7.9.0/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/tooltip.css +108 -0
- package/dist/darkside/version/7.9.0/component/tooltip.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/typography.css +254 -0
- package/dist/darkside/version/7.9.0/component/typography.min.css +1 -0
- package/dist/darkside/version/7.9.0/components.css +7493 -0
- package/dist/darkside/version/7.9.0/components.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/baseline.css +47 -0
- package/dist/darkside/version/7.9.0/global/baseline.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/fonts.css +109 -0
- package/dist/darkside/version/7.9.0/global/fonts.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/print.css +52 -0
- package/dist/darkside/version/7.9.0/global/print.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/reset.css +93 -0
- package/dist/darkside/version/7.9.0/global/reset.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/tokens.css +896 -0
- package/dist/darkside/version/7.9.0/global/tokens.min.css +1 -0
- package/dist/darkside/version/7.9.0/index.css +8693 -0
- package/dist/darkside/version/7.9.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 +74 -49
- package/dist/index.min.css +4 -4
- package/form/form.css +0 -13
- package/form/select.css +5 -1
- package/form/switch.css +30 -19
- package/form/textarea.css +3 -6
- package/link.css +1 -1
- package/package.json +23 -9
- package/table.css +1 -1
- package/tag.css +12 -6
- package/tokens.json +3 -3
- package/typography.css +12 -0
- 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
|
}
|
|
@@ -13,11 +13,10 @@
|
|
|
13
13
|
border-radius: var(--ax-border-radius-medium);
|
|
14
14
|
background-color: transparent;
|
|
15
15
|
box-shadow: inset 0 0 0 1px var(--ax-border-default);
|
|
16
|
-
padding: var(--ax-spacing-1);
|
|
17
|
-
gap: var(--ax-spacing-1);
|
|
18
16
|
display: inline-grid;
|
|
19
17
|
grid-auto-flow: column;
|
|
20
18
|
grid-auto-columns: 1fr;
|
|
19
|
+
gap: 1px;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
/* Button */
|
|
@@ -26,13 +25,14 @@
|
|
|
26
25
|
align-items: center;
|
|
27
26
|
justify-content: center;
|
|
28
27
|
padding: var(--ax-spacing-1) var(--ax-spacing-3);
|
|
29
|
-
min-height:
|
|
28
|
+
min-height: 3rem;
|
|
30
29
|
border: none;
|
|
31
30
|
cursor: pointer;
|
|
32
31
|
background-color: transparent;
|
|
33
32
|
color: var(--ax-text-default);
|
|
34
|
-
border-radius: var(--ax-border-radius-
|
|
33
|
+
border-radius: var(--ax-border-radius-medium);
|
|
35
34
|
min-width: fit-content;
|
|
35
|
+
position: relative;
|
|
36
36
|
|
|
37
37
|
&:hover {
|
|
38
38
|
background-color: var(--ax-bg-accent-moderate-hoverA);
|
|
@@ -42,12 +42,23 @@
|
|
|
42
42
|
&:focus-visible {
|
|
43
43
|
outline: 2px solid var(--ax-border-focus);
|
|
44
44
|
outline-offset: 2px;
|
|
45
|
+
z-index: 1;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
|
-
&[
|
|
48
|
+
&[data-selected="true"] {
|
|
48
49
|
background-color: var(--ax-bg-accent-strong-pressed);
|
|
49
50
|
color: var(--ax-text-accent-contrast);
|
|
50
51
|
}
|
|
52
|
+
|
|
53
|
+
&:not([data-selected="true"], :first-child, &[data-selected="true"] + &)::before {
|
|
54
|
+
content: "";
|
|
55
|
+
display: block;
|
|
56
|
+
width: 1px;
|
|
57
|
+
height: 50%;
|
|
58
|
+
background-color: var(--ax-border-subtleA);
|
|
59
|
+
left: -1px;
|
|
60
|
+
position: absolute;
|
|
61
|
+
}
|
|
51
62
|
}
|
|
52
63
|
|
|
53
64
|
.navds-toggle-group__button-inner {
|
|
@@ -70,7 +81,7 @@
|
|
|
70
81
|
background-color: var(--ax-bg-neutral-moderate-hoverA);
|
|
71
82
|
}
|
|
72
83
|
|
|
73
|
-
&[
|
|
84
|
+
&[data-selected="true"] {
|
|
74
85
|
background-color: var(--ax-bg-neutral-strong-pressed);
|
|
75
86
|
color: var(--ax-text-neutral-contrast);
|
|
76
87
|
}
|
|
@@ -80,7 +91,7 @@
|
|
|
80
91
|
.navds-toggle-group--small {
|
|
81
92
|
& .navds-toggle-group__button {
|
|
82
93
|
padding: var(--ax-spacing-05) var(--ax-spacing-3);
|
|
83
|
-
min-height:
|
|
94
|
+
min-height: 2rem;
|
|
84
95
|
}
|
|
85
96
|
|
|
86
97
|
& .navds-toggle-group__button-inner > svg {
|
|
@@ -94,14 +105,13 @@
|
|
|
94
105
|
border: 2px solid transparent;
|
|
95
106
|
}
|
|
96
107
|
|
|
97
|
-
.navds-toggle-group__button[aria-checked="true"]:hover,
|
|
98
108
|
.navds-toggle-group__button:hover {
|
|
99
109
|
background-color: highlighttext;
|
|
100
110
|
color: highlight;
|
|
101
111
|
outline: 1px solid highlight;
|
|
102
112
|
}
|
|
103
113
|
|
|
104
|
-
.navds-toggle-group__button[
|
|
114
|
+
.navds-toggle-group__button[data-selected="true"] {
|
|
105
115
|
background-color: selecteditem;
|
|
106
116
|
color: selecteditemtext;
|
|
107
117
|
forced-color-adjust: none;
|