@swisspost/design-system-styles 10.0.0-next.75 → 10.0.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/basics.css +1 -1
- package/cargo-compact.css +1 -1
- package/cargo-default.css +1 -1
- package/cargo-tokens-compact.css +1 -1
- package/cargo-tokens-default.css +1 -1
- package/components/badge.css +1 -1
- package/components/form-footer.css +1 -1
- package/components/header/_custom-properties.scss +13 -3
- package/components/header/_post-header.scss +16 -6
- package/components/header/_user-menu.scss +45 -0
- package/components/header/index.css +1 -1
- package/components/header/index.scss +1 -0
- package/components/radio-button.css +1 -1
- package/components/selection-card.css +1 -1
- package/components/tables.css +1 -1
- package/components/tables.scss +11 -11
- package/components/tabs/_tab-title.scss +381 -108
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.scss +0 -1
- package/components/text-highlight.css +1 -1
- package/components/toast.css +1 -1
- package/components/toast.scss +9 -10
- package/icons/temp/arrowtwodirections-solid.css +4 -0
- package/icons/temp/arrowtwodirections.css +4 -0
- package/icons/temp/average-solid.css +4 -0
- package/icons/temp/average.css +4 -0
- package/icons/temp/calendarsaturday-solid.css +4 -0
- package/icons/temp/calendarsaturday.css +4 -0
- package/icons/temp/calendarupdate-solid.css +4 -0
- package/icons/temp/calendarupdate.css +4 -0
- package/icons/temp/containerletter-solid.css +4 -0
- package/icons/temp/containerletter.css +4 -0
- package/icons/temp/deliverystand-solid.css +4 -0
- package/icons/temp/deliverystand.css +4 -0
- package/icons/temp/dispoboxtls-solid.css +4 -0
- package/icons/temp/dispoboxtls.css +4 -0
- package/icons/temp/fire-solid.css +4 -0
- package/icons/temp/fire.css +4 -0
- package/icons/temp/forwardingorder-solid.css +4 -0
- package/icons/temp/forwardingorder.css +4 -0
- package/icons/temp/locationreload-solid.css +4 -0
- package/icons/temp/locationreload.css +4 -0
- package/icons/temp/parceltls-solid.css +4 -0
- package/icons/temp/parceltls.css +4 -0
- package/icons/temp/postcardletter-solid.css +4 -0
- package/icons/temp/postcardletter.css +4 -0
- package/icons/temp/rollboxreducing-solid.css +4 -0
- package/icons/temp/rollboxreducing.css +4 -0
- package/icons/temp/stock-solid.css +4 -0
- package/icons/temp/stock.css +4 -0
- package/icons/temp/stockalert-solid.css +4 -0
- package/icons/temp/stockalert.css +4 -0
- package/icons/temp/strong-solid.css +4 -0
- package/icons/temp/strong.css +4 -0
- package/icons/temp/webcam-solid.css +4 -0
- package/icons/temp/webcam.css +4 -0
- package/layout/_containers.scss +4 -4
- package/layout/index.css +1 -1
- package/package.json +4 -4
- package/post-compact.css +1 -1
- package/post-default.css +1 -1
- package/post-tokens-compact.css +1 -1
- package/post-tokens-default.css +1 -1
- package/tokens/temp/_appearance.scss +1 -1
- package/tokens/temp/_components.scss +6 -6
- package/tokens/temp/_core.scss +1 -1
- package/tokens/temp/_device.scss +4 -4
- package/tokens/temp/_elements.scss +1 -1
- package/tokens/temp/_helpers.scss +1 -1
- package/tokens/temp/_index.scss +1 -1
- package/tokens/temp/_palette.scss +1 -1
- package/tokens/temp/_scheme.scss +1 -1
- package/tokens/temp/_schemestatic.scss +1 -1
- package/tokens/temp/_theme.scss +1 -1
- package/tokens/temp/_utilities-formatted.scss +1 -1
- package/tokens/temp/_utilities.scss +1 -1
- package/utilities/_env-variables.scss +1 -1
- package/components/tabs/_tabs-wrapper.scss +0 -61
|
@@ -1,167 +1,440 @@
|
|
|
1
|
-
@use './../../mixins/color' as color-mx;
|
|
2
1
|
@use './../../mixins/utilities' as utilities-mx;
|
|
3
2
|
@use './../../variables/color';
|
|
4
|
-
@use './../../variables/spacing';
|
|
5
3
|
@use './../../variables/components/nav';
|
|
6
|
-
|
|
7
4
|
@use './../../functions/tokens';
|
|
8
|
-
@use './../../tokens/
|
|
5
|
+
@use './../../tokens/components' as components;
|
|
6
|
+
@use './../../tokens/helpers';
|
|
7
|
+
|
|
8
|
+
tokens.$default-map: components.$post-tabs;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
$tabs-outline-offset: calc(
|
|
11
|
+
tokens.get('focus-outline-offset2', helpers.$post-focus) + -1 *
|
|
12
|
+
(tokens.get('post-tabs-border-width'))
|
|
13
|
+
);
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
.
|
|
14
|
-
|
|
15
|
+
$adjusted-border-radius: calc(
|
|
16
|
+
tokens.get('focus-border-radius', helpers.$post-focus) - $tabs-outline-offset
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
// Common for all variants
|
|
20
|
+
post-tab-item.tab-title,
|
|
21
|
+
post-tab-item.nav-item a {
|
|
15
22
|
position: relative;
|
|
16
23
|
box-sizing: border-box;
|
|
17
|
-
padding: nav.$nav-link-padding;
|
|
18
|
-
transition: background-color 100ms;
|
|
19
|
-
border-right: 1px solid transparent;
|
|
20
|
-
border-left: 1px solid transparent;
|
|
21
|
-
opacity: 0.7;
|
|
22
|
-
color: color.$black;
|
|
23
|
-
text-decoration: none;
|
|
24
24
|
background-color: transparent;
|
|
25
25
|
cursor: pointer;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
font-weight: tokens.get('post-tabs-tab-font-weight');
|
|
26
30
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
post-icon {
|
|
32
|
+
@include utilities-mx.high-contrast-mode() {
|
|
33
|
+
forced-color-adjust: auto;
|
|
34
|
+
color: inherit;
|
|
35
|
+
}
|
|
31
36
|
}
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
@include utilities-mx.focus-style() {
|
|
39
|
+
outline-offset: $tabs-outline-offset !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Content Tabs Variant
|
|
44
|
+
post-tab-item.tab-title {
|
|
45
|
+
transition:
|
|
46
|
+
background-color 100ms,
|
|
47
|
+
color 100ms;
|
|
48
|
+
border-radius: $adjusted-border-radius;
|
|
49
|
+
color: tokens.get('post-tabs-content-tab-enabled-fg');
|
|
40
50
|
|
|
51
|
+
// Indicator line as pseudo-element so border-radius on focus doesn't affect it
|
|
52
|
+
&::after {
|
|
53
|
+
content: '';
|
|
54
|
+
position: absolute;
|
|
55
|
+
inset-block-end: 0;
|
|
56
|
+
inset-inline: 0;
|
|
57
|
+
height: tokens.get('post-tabs-border-width');
|
|
58
|
+
background-color: transparent;
|
|
59
|
+
transition: background-color 100ms;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// selected
|
|
63
|
+
&[aria-selected='true'] {
|
|
41
64
|
&::after {
|
|
42
|
-
|
|
43
|
-
display: block;
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: nav.$nav-tabs-focus-box-shadow-width;
|
|
46
|
-
right: nav.$nav-tabs-focus-box-shadow-width - 1px;
|
|
47
|
-
bottom: 0;
|
|
48
|
-
left: nav.$nav-tabs-focus-box-shadow-width - 1px;
|
|
49
|
-
box-shadow: nav.$nav-tabs-focus-box-shadow;
|
|
65
|
+
background-color: tokens.get('post-tabs-content-tab-selected-border-color');
|
|
50
66
|
}
|
|
67
|
+
color: tokens.get('post-tabs-content-tab-selected-fg');
|
|
51
68
|
}
|
|
52
69
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
background-color:
|
|
70
|
+
// hovered
|
|
71
|
+
&:hover:not([disabled]) {
|
|
72
|
+
&::after {
|
|
73
|
+
background-color: tokens.get('post-tabs-content-tab-hovered-border-color');
|
|
57
74
|
}
|
|
75
|
+
color: tokens.get('post-tabs-content-tab-hovered-fg');
|
|
58
76
|
}
|
|
59
77
|
|
|
78
|
+
// disabled
|
|
79
|
+
&[disabled] {
|
|
80
|
+
color: tokens.get('post-tabs-content-tab-disabled-fg');
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// HCM
|
|
60
85
|
@include utilities-mx.high-contrast-mode() {
|
|
61
|
-
|
|
62
|
-
border-left-color: Canvas;
|
|
63
|
-
border-right-color: Canvas;
|
|
64
|
-
color: LinkText;
|
|
86
|
+
transition: none;
|
|
65
87
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
&:focus-within,
|
|
69
|
-
&:focus-visible {
|
|
70
|
-
outline: tokens.get('utility-gap-2') solid Highlight;
|
|
71
|
-
outline-offset: calc(tokens.get('utility-gap-4') * -1);
|
|
88
|
+
&::after {
|
|
89
|
+
background-color: Canvas;
|
|
72
90
|
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
91
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
box-sizing: border-box;
|
|
80
|
-
cursor: default;
|
|
81
|
-
|
|
82
|
-
&:focus,
|
|
83
|
-
&:focus-visible {
|
|
84
|
-
outline: none;
|
|
85
|
-
box-shadow: none;
|
|
92
|
+
&[disabled] {
|
|
93
|
+
color: GrayText;
|
|
94
|
+
}
|
|
86
95
|
|
|
87
|
-
|
|
88
|
-
|
|
96
|
+
&:hover:not([disabled]),
|
|
97
|
+
&[aria-selected='true'] {
|
|
98
|
+
&::after {
|
|
99
|
+
background-color: Highlight;
|
|
100
|
+
}
|
|
101
|
+
color: Highlight !important;
|
|
89
102
|
}
|
|
90
103
|
}
|
|
104
|
+
}
|
|
91
105
|
|
|
106
|
+
// Page Tabs Variant
|
|
107
|
+
post-tab-item.nav-item {
|
|
92
108
|
a {
|
|
93
|
-
|
|
109
|
+
// enabled
|
|
94
110
|
text-decoration: none;
|
|
95
|
-
display: block;
|
|
96
111
|
width: 100%;
|
|
97
112
|
height: 100%;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
113
|
+
transition:
|
|
114
|
+
background-color 100ms,
|
|
115
|
+
border-color 100ms,
|
|
116
|
+
color 100ms,
|
|
117
|
+
padding-block 200ms,
|
|
118
|
+
height 200ms;
|
|
119
|
+
|
|
120
|
+
border-block-start: tokens.get('post-tabs-border-width') solid transparent;
|
|
121
|
+
border-inline-start: tokens.get('post-tabs-border-width') solid transparent;
|
|
122
|
+
border-inline-end: tokens.get('post-tabs-border-width') solid transparent;
|
|
123
|
+
background-color: tokens.get('post-tabs-page-tab-enabled-bg');
|
|
124
|
+
border-color: tokens.get('post-tabs-page-tab-enabled-border-color');
|
|
125
|
+
color: tokens.get('post-tabs-page-tab-enabled-fg');
|
|
103
126
|
|
|
104
|
-
|
|
105
|
-
|
|
127
|
+
// Dark background needs the inverted focus ring color
|
|
128
|
+
&:not([aria-current='page']) {
|
|
129
|
+
@include utilities-mx.focus-style-custom {
|
|
130
|
+
outline-color: tokens.get('focus-outline-color-inverted', helpers.$post-focus) !important;
|
|
131
|
+
outline-offset: $tabs-outline-offset !important;
|
|
132
|
+
}
|
|
106
133
|
}
|
|
107
134
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
background-color:
|
|
111
|
-
color: color
|
|
135
|
+
// hovered
|
|
136
|
+
&:hover {
|
|
137
|
+
background-color: tokens.get('post-tabs-page-tab-hovered-bg');
|
|
138
|
+
border-color: tokens.get('post-tabs-page-tab-hovered-border-color');
|
|
139
|
+
color: tokens.get('post-tabs-page-tab-hovered-fg');
|
|
112
140
|
}
|
|
113
141
|
|
|
114
|
-
|
|
115
|
-
|
|
142
|
+
// selected
|
|
143
|
+
&[aria-current='page'] {
|
|
144
|
+
background-color: tokens.get('post-tabs-page-tab-selected-bg');
|
|
145
|
+
color: tokens.get('post-tabs-page-tab-selected-fg');
|
|
146
|
+
border-color: tokens.get('post-tabs-page-tab-selected-border-color');
|
|
147
|
+
|
|
148
|
+
@include utilities-mx.focus-style-custom {
|
|
149
|
+
outline-color: tokens.get('post-tabs-page-tab-selected-fg') !important;
|
|
150
|
+
outline-offset: $tabs-outline-offset !important;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// selected — hovered
|
|
154
|
+
&:hover {
|
|
155
|
+
color: tokens.get('post-tabs-page-tab-selected-hovered-fg');
|
|
156
|
+
background-color: tokens.get('post-tabs-page-tab-selected-bg');
|
|
157
|
+
border-color: tokens.get('post-tabs-page-tab-selected-hovered-border-color');
|
|
158
|
+
}
|
|
116
159
|
}
|
|
160
|
+
|
|
161
|
+
// HCM
|
|
162
|
+
@include utilities-mx.high-contrast-mode() {
|
|
163
|
+
color: LinkText;
|
|
164
|
+
border-color: LinkText;
|
|
165
|
+
forced-color-adjust: none;
|
|
166
|
+
transition:
|
|
167
|
+
padding-block 200ms,
|
|
168
|
+
height 200ms; // No color transition in HCM
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
border-color: Highlight;
|
|
172
|
+
background-color: white;
|
|
173
|
+
color: HighlightText !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&[aria-current='page'] {
|
|
177
|
+
background-color: Highlight;
|
|
178
|
+
border-color: Highlight;
|
|
179
|
+
color: HighlightText !important;
|
|
180
|
+
|
|
181
|
+
&:hover {
|
|
182
|
+
border-color: Highlight;
|
|
183
|
+
color: HighlightText !important;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// disabled
|
|
190
|
+
&[disabled] a:not([aria-current='page']) {
|
|
191
|
+
background-color: tokens.get('post-tabs-page-tab-disabled-bg');
|
|
192
|
+
border-color: tokens.get('post-tabs-page-tab-disabled-border-color');
|
|
193
|
+
color: tokens.get('post-tabs-page-tab-disabled-fg');
|
|
194
|
+
border-style: tokens.get('post-tabs-tab-disabled-border-style');
|
|
195
|
+
pointer-events: none;
|
|
196
|
+
border-block-end: none;
|
|
197
|
+
|
|
198
|
+
// Disabled tabs are still keyboard-focusable, so keep focus ring visible.
|
|
199
|
+
@include utilities-mx.focus-style-custom {
|
|
200
|
+
outline-color: tokens.get('post-tabs-page-tab-selected-fg') !important;
|
|
201
|
+
outline-offset: $tabs-outline-offset !important;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@include utilities-mx.high-contrast-mode() {
|
|
205
|
+
color: GrayText;
|
|
206
|
+
border-color: GrayText;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// Active state — all variants
|
|
212
|
+
post-tab-item.tab-title[aria-selected='true'],
|
|
213
|
+
post-tab-item.nav-item a[aria-current='page'] {
|
|
214
|
+
z-index: 1;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// Large variant (default)
|
|
218
|
+
post-tabs:not([size='small']) post-tab-item {
|
|
219
|
+
post-icon {
|
|
220
|
+
margin-block: tokens.get('post-tabs-large-tab-icon-padding-block');
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&.tab-title {
|
|
224
|
+
padding-inline: tokens.get('post-tabs-large-tab-padding-inline');
|
|
225
|
+
gap: tokens.get('post-tabs-large-tab-gap-inline');
|
|
226
|
+
height: tokens.get('post-tabs-content-large-tab-height');
|
|
227
|
+
padding-block: tokens.get('post-tabs-content-large-tab-padding-block');
|
|
117
228
|
}
|
|
118
229
|
|
|
119
|
-
|
|
230
|
+
// large page
|
|
231
|
+
&.nav-item {
|
|
120
232
|
a {
|
|
233
|
+
// enabled
|
|
234
|
+
padding-inline: tokens.get('post-tabs-large-tab-padding-inline');
|
|
235
|
+
gap: tokens.get('post-tabs-large-tab-gap-inline');
|
|
236
|
+
border-radius: tokens.get('post-tabs-page-large-tab-border-radius')
|
|
237
|
+
tokens.get('post-tabs-page-large-tab-border-radius') 0 0;
|
|
238
|
+
padding-block: tokens.get('post-tabs-page-large-tab-enabled-padding-block');
|
|
239
|
+
height: tokens.get('post-tabs-page-large-tab-enabled-height');
|
|
240
|
+
|
|
241
|
+
post-icon {
|
|
242
|
+
width: tokens.get('post-tabs-large-icon-size');
|
|
243
|
+
height: tokens.get('post-tabs-large-icon-size');
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// selected
|
|
247
|
+
&[aria-current='page'] {
|
|
248
|
+
padding-block: tokens.get('post-tabs-page-large-tab-selected-padding-block');
|
|
249
|
+
height: tokens.get('post-tabs-page-large-tab-selected-height');
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// hovered
|
|
121
253
|
&:hover {
|
|
122
|
-
|
|
254
|
+
height: tokens.get('post-tabs-page-large-tab-hovered-height');
|
|
255
|
+
padding-block: tokens.get('post-tabs-page-large-tab-hovered-padding-block');
|
|
123
256
|
}
|
|
124
257
|
|
|
125
|
-
|
|
126
|
-
|
|
258
|
+
// focused
|
|
259
|
+
&:focus,
|
|
260
|
+
&:focus-visible,
|
|
261
|
+
&:focus-within {
|
|
262
|
+
padding-block: tokens.get('post-tabs-page-large-tab-focused-padding-block');
|
|
263
|
+
height: tokens.get('post-tabs-page-large-tab-focused-height');
|
|
127
264
|
}
|
|
128
265
|
}
|
|
266
|
+
|
|
267
|
+
// disabled
|
|
268
|
+
&[disabled] a:not([aria-current='page']) {
|
|
269
|
+
padding-block: tokens.get('post-tabs-page-large-tab-disabled-padding-block');
|
|
270
|
+
height: tokens.get('post-tabs-page-large-tab-disabled-height');
|
|
271
|
+
}
|
|
129
272
|
}
|
|
130
273
|
}
|
|
131
274
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
275
|
+
// Small variant
|
|
276
|
+
post-tabs[size='small'] post-tab-item {
|
|
277
|
+
font-size: tokens.get('post-tabs-small-font-size');
|
|
278
|
+
|
|
279
|
+
post-icon {
|
|
280
|
+
margin-block: tokens.get('post-tabs-small-tab-icon-padding-block');
|
|
281
|
+
width: tokens.get('post-tabs-small-icon-size');
|
|
282
|
+
height: tokens.get('post-tabs-small-icon-size');
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// content tabs
|
|
286
|
+
&.tab-title {
|
|
287
|
+
padding-inline: tokens.get('post-tabs-small-tab-padding-inline');
|
|
288
|
+
gap: tokens.get('post-tabs-small-tab-gap-inline');
|
|
289
|
+
height: tokens.get('post-tabs-content-small-tab-height');
|
|
290
|
+
padding-block: tokens.get('post-tabs-content-small-tab-padding-block');
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
// page variant
|
|
294
|
+
&.nav-item {
|
|
295
|
+
a {
|
|
296
|
+
// enabled
|
|
297
|
+
padding-inline: tokens.get('post-tabs-small-tab-padding-inline');
|
|
298
|
+
gap: tokens.get('post-tabs-small-tab-gap-inline');
|
|
299
|
+
height: tokens.get('post-tabs-page-small-tab-enabled-height');
|
|
300
|
+
border-radius: tokens.get('post-tabs-page-small-tab-border-radius')
|
|
301
|
+
tokens.get('post-tabs-page-small-tab-border-radius') 0 0;
|
|
302
|
+
padding-block: tokens.get('post-tabs-page-small-tab-enabled-padding-block');
|
|
303
|
+
|
|
304
|
+
// selected
|
|
305
|
+
&[aria-current='page'] {
|
|
306
|
+
padding-block: tokens.get('post-tabs-page-small-tab-selected-padding-block');
|
|
307
|
+
height: tokens.get('post-tabs-page-small-tab-selected-height');
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// hovered
|
|
311
|
+
&:hover {
|
|
312
|
+
padding-block: tokens.get('post-tabs-page-small-tab-hovered-padding-block');
|
|
313
|
+
height: tokens.get('post-tabs-page-small-tab-hovered-height');
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
// focused
|
|
317
|
+
&:focus,
|
|
318
|
+
&:focus-visible,
|
|
319
|
+
&:focus-within {
|
|
320
|
+
padding-block: tokens.get('post-tabs-page-small-tab-focused-padding-block');
|
|
321
|
+
height: tokens.get('post-tabs-page-small-tab-focused-height');
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// disabled
|
|
326
|
+
&[disabled] a:not([aria-current='page']) {
|
|
327
|
+
padding-block: tokens.get('post-tabs-page-small-tab-disabled-padding-block');
|
|
328
|
+
height: tokens.get('post-tabs-page-small-tab-disabled-height');
|
|
329
|
+
}
|
|
330
|
+
}
|
|
141
331
|
}
|
|
142
332
|
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
333
|
+
// SSR
|
|
334
|
+
|
|
335
|
+
// Show by default the first panel for SSR if no explicit prop is set
|
|
336
|
+
post-tabs[active-tab] {
|
|
337
|
+
// Content Tabs: Style active post-tab-item for SSR if there is a [active-tab] set
|
|
338
|
+
post-tab-item.tab-title.ssr {
|
|
339
|
+
&::after {
|
|
340
|
+
background-color: color-mix(
|
|
341
|
+
in srgb,
|
|
342
|
+
tokens.get('post-tabs-content-tab-selected-border-color') calc(var(--active, 0) * 100%),
|
|
343
|
+
transparent
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
z-index: calc(var(--active, 0) * 1);
|
|
348
|
+
|
|
349
|
+
@include utilities-mx.high-contrast-mode() {
|
|
350
|
+
forced-color-adjust: none;
|
|
351
|
+
transition: none;
|
|
352
|
+
&::after {
|
|
353
|
+
background-color: color-mix(in srgb, Highlight calc(var(--active, 0) * 100%), Canvas);
|
|
354
|
+
}
|
|
355
|
+
color: color-mix(in srgb, Highlight calc(var(--active, 0) * 100%), ButtonText);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// Page Tabs: Style active post-tab-item for SSR if there is a [active-tab] set
|
|
360
|
+
post-tab-item.nav-item.ssr a {
|
|
361
|
+
background-color: color-mix(
|
|
362
|
+
in srgb,
|
|
363
|
+
tokens.get('post-tabs-page-tab-selected-bg') calc(var(--active, 0) * 100%),
|
|
364
|
+
tokens.get('post-tabs-page-tab-enabled-bg')
|
|
365
|
+
);
|
|
366
|
+
color: color-mix(
|
|
367
|
+
in srgb,
|
|
368
|
+
tokens.get('post-tabs-page-tab-selected-fg') calc(var(--active, 0) * 100%),
|
|
369
|
+
tokens.get('post-tabs-page-tab-enabled-fg')
|
|
370
|
+
);
|
|
371
|
+
padding-block: calc(
|
|
372
|
+
tokens.get('post-tabs-page-large-tab-selected-padding-block') + var(--active, 0) *
|
|
373
|
+
(
|
|
374
|
+
tokens.get('post-tabs-page-large-tab-enabled-padding-block') - tokens.get(
|
|
375
|
+
'post-tabs-page-large-tab-selected-padding-block'
|
|
376
|
+
)
|
|
377
|
+
)
|
|
378
|
+
);
|
|
379
|
+
z-index: calc(var(--active, 0) * 1);
|
|
380
|
+
|
|
381
|
+
@include utilities-mx.high-contrast-mode() {
|
|
382
|
+
&[style*='--active: 1'] {
|
|
383
|
+
background-color: Highlight;
|
|
384
|
+
border-color: Highlight;
|
|
385
|
+
color: HighlightText;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
&[size='small'] post-tab-item.nav-item.ssr a {
|
|
391
|
+
padding-block: calc(
|
|
392
|
+
tokens.get('post-tabs-page-small-tab-selected-padding-block') + var(--active, 0) *
|
|
393
|
+
(
|
|
394
|
+
tokens.get('post-tabs-page-small-tab-enabled-padding-block') - tokens.get(
|
|
395
|
+
'post-tabs-page-small-tab-selected-padding-block'
|
|
396
|
+
)
|
|
397
|
+
)
|
|
398
|
+
);
|
|
399
|
+
}
|
|
154
400
|
}
|
|
155
401
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
.nav-item.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
402
|
+
// Style the first item for SSR when no [active-tab] is set
|
|
403
|
+
post-tabs:not([active-tab]) {
|
|
404
|
+
&:has(post-tab-item.tab-title.ssr, post-tab-item.nav-item.ssr) post-tab-panel:first-of-type {
|
|
405
|
+
display: block !important;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
// Content Tabs: first item is active
|
|
409
|
+
post-tab-item.tab-title.ssr:first-of-type {
|
|
410
|
+
&::after {
|
|
411
|
+
background-color: tokens.get('post-tabs-content-tab-selected-border-color');
|
|
412
|
+
}
|
|
413
|
+
z-index: 1;
|
|
414
|
+
|
|
415
|
+
@include utilities-mx.high-contrast-mode() {
|
|
416
|
+
&::after {
|
|
417
|
+
background-color: Highlight;
|
|
418
|
+
}
|
|
419
|
+
color: Highlight;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
162
422
|
|
|
163
|
-
|
|
423
|
+
// Page Tabs: first item is active
|
|
424
|
+
post-tab-item.nav-item.ssr:first-of-type a {
|
|
425
|
+
background-color: tokens.get('post-tabs-page-tab-selected-bg');
|
|
426
|
+
color: tokens.get('post-tabs-page-tab-selected-fg');
|
|
427
|
+
padding-block: tokens.get('post-tabs-page-large-tab-selected-padding-block');
|
|
428
|
+
z-index: 1;
|
|
429
|
+
|
|
430
|
+
@include utilities-mx.high-contrast-mode() {
|
|
164
431
|
background-color: Highlight;
|
|
432
|
+
border-color: Highlight;
|
|
433
|
+
color: HighlightText;
|
|
165
434
|
}
|
|
166
435
|
}
|
|
436
|
+
|
|
437
|
+
&[size='small'] post-tab-item.nav-item.ssr:first-of-type a {
|
|
438
|
+
padding-block: tokens.get('post-tabs-page-small-tab-selected-padding-block');
|
|
439
|
+
}
|
|
167
440
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.tabs-wrapper{position:relative;padding-top:1rem;border:0;background-color:rgba(0,0,0,.02)}.tabs-wrapper::after{content:"";position:absolute;bottom:0;width:100%;height:1px;background-color:#ccc}.tabs-wrapper .tabs{background-color:rgba(0,0,0,0) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tabs-wrapper::after{background-color:ButtonBorder}}.tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;white-space:nowrap;margin-block:0;padding-inline-start:0;list-style:none}.tabs::after{content:"";display:block;flex:1 0 auto;width:1rem}.tab-content{padding-top:1rem}.tab-title,.nav-item a{display:inline-block;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);opacity:.7;color:#000;text-decoration:none;background-color:rgba(0,0,0,0);cursor:pointer}.tab-title:hover,.nav-item a:hover{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.tab-title:focus-visible,.nav-item a:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(0,0,0,.6);color:#fff;box-shadow:none}.tab-title:focus-visible::after,.nav-item a:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title:hover,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title:focus-visible,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:hover,:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:focus-visible{background-color:rgba(255,255,255,.2)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title,.nav-item a{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title:hover,.tab-title:focus,.tab-title:focus-within,.tab-title:focus-visible,.nav-item a:hover,.nav-item a:focus,.nav-item a:focus-within,.nav-item a:focus-visible{outline:var(--post-core-dimension-2) solid Highlight;outline-offset:calc(var(--post-core-dimension-4)*-1)}}.nav-item{display:inline-block;position:relative;box-sizing:border-box;cursor:default}.nav-item:focus,.nav-item:focus-visible{outline:none;box-shadow:none}.nav-item:focus::after,.nav-item:focus-visible::after{display:none}.nav-item a{color:inherit;text-decoration:none;display:block;width:100%;height:100%;box-sizing:border-box;position:relative;outline:none;cursor:pointer;border-radius:0}.nav-item a:focus{outline:none}.nav-item a:active{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.nav-item a:focus-visible{outline:none !important}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .nav-item a:focus-visible{background-color:rgba(255,255,255,.2)}.tab-title.active,.nav-item.active a{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:#000;font-weight:700}.tab-title.active::before,.nav-item.active a::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:var(--post-core-dimension-4);background-color:#fc0}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title.active,.nav-item.active a{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title.active::before,.nav-item.active a::before{background-color:Highlight}}
|
|
1
|
+
post-tab-item.tab-title,post-tab-item.nav-item a{position:relative;box-sizing:border-box;background-color:rgba(0,0,0,0);cursor:pointer;display:flex;justify-content:center;align-items:center;font-weight:var(--post-device-font-weight-bold)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tab-item.tab-title post-icon,post-tab-item.nav-item a post-icon{forced-color-adjust:auto;color:inherit}}post-tab-item.tab-title,post-tab-item.nav-item a{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}post-tab-item.tab-title:is(:focus-visible,:has(:focus-visible),.pretend-focus),post-tab-item.nav-item a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tab-item.tab-title:is(:focus-visible,:has(:focus-visible),.pretend-focus),post-tab-item.nav-item a:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){post-tab-item.tab-title:is(:focus-visible,:focus-within,.pretend-focus),post-tab-item.nav-item a:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tab-item.tab-title:is(:focus-visible,:focus-within,.pretend-focus),post-tab-item.nav-item a:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}post-tab-item.tab-title{transition:background-color 100ms,color 100ms;border-radius:calc(var(--post-device-border-radius-focus) - (var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))));color:var(--post-scheme-color-interactive-primary-enabled-fg1)}post-tab-item.tab-title::after{content:"";position:absolute;inset-block-end:0;inset-inline:0;height:var(--post-device-border-width-default);background-color:rgba(0,0,0,0);transition:background-color 100ms}post-tab-item.tab-title[aria-selected=true]{color:var(--post-scheme-color-interactive-primary-selected-fg1)}post-tab-item.tab-title[aria-selected=true]::after{background-color:var(--post-scheme-color-interactive-primary-selected-stroke1)}post-tab-item.tab-title:hover:not([disabled]){color:var(--post-scheme-color-interactive-primary-hover-fg1)}post-tab-item.tab-title:hover:not([disabled])::after{background-color:var(--post-scheme-color-interactive-primary-hover-stroke)}post-tab-item.tab-title[disabled]{color:var(--post-scheme-color-interactive-primary-disabled-fg1);pointer-events:none}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tab-item.tab-title{transition:none}post-tab-item.tab-title::after{background-color:Canvas}post-tab-item.tab-title[disabled]{color:GrayText}post-tab-item.tab-title:hover:not([disabled]),post-tab-item.tab-title[aria-selected=true]{color:Highlight !important}post-tab-item.tab-title:hover:not([disabled])::after,post-tab-item.tab-title[aria-selected=true]::after{background-color:Highlight}}post-tab-item.nav-item a{text-decoration:none;width:100%;height:100%;transition:background-color 100ms,border-color 100ms,color 100ms,padding-block 200ms,height 200ms;border-block-start:var(--post-device-border-width-default) solid rgba(0,0,0,0);border-inline-start:var(--post-device-border-width-default) solid rgba(0,0,0,0);border-inline-end:var(--post-device-border-width-default) solid rgba(0,0,0,0);background-color:var(--post-palette-color-nested-tabs-page-tab-enabled-bg);border-color:var(--post-palette-color-nested-tabs-page-tab-enabled-stroke);color:var(--post-palette-color-nested-tabs-page-tab-enabled-fg)}post-tab-item.nav-item a:not([aria-current=page]):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:var(--post-scheme-color-interactive-focus-stroke-inverted) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}@supports not selector(:has(:focus-visible)){post-tab-item.nav-item a:not([aria-current=page]):is(:focus-visible,:focus-within,.pretend-focus){outline-color:var(--post-scheme-color-interactive-focus-stroke-inverted) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}}post-tab-item.nav-item a:hover{background-color:var(--post-palette-color-nested-tabs-page-tab-hovered-bg);border-color:var(--post-palette-color-nested-tabs-page-tab-hovered-stroke);color:var(--post-palette-color-nested-tabs-page-tab-hovered-fg)}post-tab-item.nav-item a[aria-current=page]{background-color:var(--post-palette-color-nested-tabs-page-tab-selected-bg);color:var(--post-scheme-color-interactive-tabs-selected-fg);border-color:var(--post-palette-color-nested-tabs-page-tab-selected-stroke)}post-tab-item.nav-item a[aria-current=page]:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:var(--post-scheme-color-interactive-tabs-selected-fg) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}@supports not selector(:has(:focus-visible)){post-tab-item.nav-item a[aria-current=page]:is(:focus-visible,:focus-within,.pretend-focus){outline-color:var(--post-scheme-color-interactive-tabs-selected-fg) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}}post-tab-item.nav-item a[aria-current=page]:hover{color:var(--post-scheme-color-interactive-tabs-selected-hovered-fg);background-color:var(--post-palette-color-nested-tabs-page-tab-selected-bg);border-color:var(--post-scheme-color-interactive-tabs-selected-hovered-stroke)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tab-item.nav-item a{color:LinkText;border-color:LinkText;forced-color-adjust:none;transition:padding-block 200ms,height 200ms}post-tab-item.nav-item a:hover{border-color:Highlight;background-color:#fff;color:HighlightText !important}post-tab-item.nav-item a[aria-current=page]{background-color:Highlight;border-color:Highlight;color:HighlightText !important}post-tab-item.nav-item a[aria-current=page]:hover{border-color:Highlight;color:HighlightText !important}}post-tab-item.nav-item[disabled] a:not([aria-current=page]){background-color:var(--post-palette-color-nested-tabs-page-tab-disabled-bg);border-color:var(--post-scheme-color-interactive-tabs-disabled-stroke);color:var(--post-scheme-color-interactive-tabs-disabled-fg);border-style:var(--post-core-border-style-dash);pointer-events:none;border-block-end:none}post-tab-item.nav-item[disabled] a:not([aria-current=page]):is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:var(--post-scheme-color-interactive-tabs-selected-fg) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}@supports not selector(:has(:focus-visible)){post-tab-item.nav-item[disabled] a:not([aria-current=page]):is(:focus-visible,:focus-within,.pretend-focus){outline-color:var(--post-scheme-color-interactive-tabs-selected-fg) !important;outline-offset:calc(var(--post-device-spacing-padding-28) + -1*(var(--post-device-border-width-default))) !important}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tab-item.nav-item[disabled] a:not([aria-current=page]){color:GrayText;border-color:GrayText}}post-tab-item.tab-title[aria-selected=true],post-tab-item.nav-item a[aria-current=page]{z-index:1}post-tabs:not([size=small]) post-tab-item post-icon{margin-block:var(--post-device-spacing-padding-38)}post-tabs:not([size=small]) post-tab-item.tab-title{padding-inline:var(--post-device-spacing-padding-37);gap:var(--post-device-spacing-gap-15);height:var(--post-device-sizing-interactive-tab-content-large-height);padding-block:var(--post-device-spacing-padding-39)}post-tabs:not([size=small]) post-tab-item.nav-item a{padding-inline:var(--post-device-spacing-padding-37);gap:var(--post-device-spacing-gap-15);border-radius:var(--post-device-border-radius-7) var(--post-device-border-radius-7) 0 0;padding-block:var(--post-device-spacing-padding-block-33);height:var(--post-device-sizing-interactive-tab-page-large-height-1)}post-tabs:not([size=small]) post-tab-item.nav-item a post-icon{width:var(--post-device-sizing-interactive-icon-size5);height:var(--post-device-sizing-interactive-icon-size5)}post-tabs:not([size=small]) post-tab-item.nav-item a[aria-current=page]{padding-block:var(--post-device-spacing-padding-block-31);height:var(--post-device-sizing-interactive-tab-page-large-height-2)}post-tabs:not([size=small]) post-tab-item.nav-item a:hover{height:var(--post-device-sizing-interactive-tab-page-large-height-2);padding-block:var(--post-device-spacing-padding-block-31)}post-tabs:not([size=small]) post-tab-item.nav-item a:focus,post-tabs:not([size=small]) post-tab-item.nav-item a:focus-visible,post-tabs:not([size=small]) post-tab-item.nav-item a:focus-within{padding-block:var(--post-device-spacing-padding-block-31);height:var(--post-device-sizing-interactive-tab-page-large-height-2)}post-tabs:not([size=small]) post-tab-item.nav-item[disabled] a:not([aria-current=page]){padding-block:var(--post-device-spacing-padding-block-33);height:var(--post-device-sizing-interactive-tab-page-large-height-1)}post-tabs[size=small] post-tab-item{font-size:var(--post-device-font-size-7)}post-tabs[size=small] post-tab-item post-icon{margin-block:var(--post-device-spacing-padding-41);width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4)}post-tabs[size=small] post-tab-item.tab-title{padding-inline:var(--post-device-spacing-padding-5);gap:var(--post-device-spacing-gap-inline-8);height:var(--post-device-sizing-interactive-tab-content-small-height);padding-block:var(--post-device-spacing-padding-40)}post-tabs[size=small] post-tab-item.nav-item a{padding-inline:var(--post-device-spacing-padding-5);gap:var(--post-device-spacing-gap-inline-8);height:var(--post-device-sizing-interactive-tab-page-small-height-1);border-radius:var(--post-device-border-radius-2) var(--post-device-border-radius-2) 0 0;padding-block:var(--post-device-spacing-padding-block-34)}post-tabs[size=small] post-tab-item.nav-item a[aria-current=page]{padding-block:var(--post-device-spacing-padding-block-32);height:var(--post-device-sizing-interactive-tab-page-small-height-2)}post-tabs[size=small] post-tab-item.nav-item a:hover{padding-block:var(--post-device-spacing-padding-block-32);height:var(--post-device-sizing-interactive-tab-page-small-height-2)}post-tabs[size=small] post-tab-item.nav-item a:focus,post-tabs[size=small] post-tab-item.nav-item a:focus-visible,post-tabs[size=small] post-tab-item.nav-item a:focus-within{padding-block:var(--post-device-spacing-padding-block-32);height:var(--post-device-sizing-interactive-tab-page-small-height-2)}post-tabs[size=small] post-tab-item.nav-item[disabled] a:not([aria-current=page]){padding-block:var(--post-device-spacing-padding-block-34);height:var(--post-device-sizing-interactive-tab-page-small-height-1)}post-tabs[active-tab] post-tab-item.tab-title.ssr{z-index:calc(var(--active, 0)*1)}post-tabs[active-tab] post-tab-item.tab-title.ssr::after{background-color:color-mix(in srgb, var(--post-scheme-color-interactive-primary-selected-stroke1) calc(var(--active, 0) * 100%), transparent)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tabs[active-tab] post-tab-item.tab-title.ssr{forced-color-adjust:none;transition:none;color:color-mix(in srgb, Highlight calc(var(--active, 0) * 100%), ButtonText)}post-tabs[active-tab] post-tab-item.tab-title.ssr::after{background-color:color-mix(in srgb, Highlight calc(var(--active, 0) * 100%), Canvas)}}post-tabs[active-tab] post-tab-item.nav-item.ssr a{background-color:color-mix(in srgb, var(--post-palette-color-nested-tabs-page-tab-selected-bg) calc(var(--active, 0) * 100%), var(--post-palette-color-nested-tabs-page-tab-enabled-bg));color:color-mix(in srgb, var(--post-scheme-color-interactive-tabs-selected-fg) calc(var(--active, 0) * 100%), var(--post-palette-color-nested-tabs-page-tab-enabled-fg));padding-block:calc(var(--post-device-spacing-padding-block-31) + var(--active, 0)*(var(--post-device-spacing-padding-block-33) - var(--post-device-spacing-padding-block-31)));z-index:calc(var(--active, 0)*1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tabs[active-tab] post-tab-item.nav-item.ssr a[style*="--active: 1"]{background-color:Highlight;border-color:Highlight;color:HighlightText}}post-tabs[active-tab][size=small] post-tab-item.nav-item.ssr a{padding-block:calc(var(--post-device-spacing-padding-block-32) + var(--active, 0)*(var(--post-device-spacing-padding-block-34) - var(--post-device-spacing-padding-block-32)))}post-tabs:not([active-tab]):has(post-tab-item.tab-title.ssr,post-tab-item.nav-item.ssr) post-tab-panel:first-of-type{display:block !important}post-tabs:not([active-tab]) post-tab-item.tab-title.ssr:first-of-type{z-index:1}post-tabs:not([active-tab]) post-tab-item.tab-title.ssr:first-of-type::after{background-color:var(--post-scheme-color-interactive-primary-selected-stroke1)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tabs:not([active-tab]) post-tab-item.tab-title.ssr:first-of-type{color:Highlight}post-tabs:not([active-tab]) post-tab-item.tab-title.ssr:first-of-type::after{background-color:Highlight}}post-tabs:not([active-tab]) post-tab-item.nav-item.ssr:first-of-type a{background-color:var(--post-palette-color-nested-tabs-page-tab-selected-bg);color:var(--post-scheme-color-interactive-tabs-selected-fg);padding-block:var(--post-device-spacing-padding-block-31);z-index:1}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-tabs:not([active-tab]) post-tab-item.nav-item.ssr:first-of-type a{background-color:Highlight;border-color:Highlight;color:HighlightText}}post-tabs:not([active-tab])[size=small] post-tab-item.nav-item.ssr:first-of-type a{padding-block:var(--post-device-spacing-padding-block-32)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.text-highlighted{background-color:var(--post-scheme-color-signal-information-light);color:var(--post-scheme-color-interactive-primary-enabled-
|
|
1
|
+
.text-highlighted{background-color:var(--post-scheme-color-signal-information-light);color:var(--post-scheme-color-interactive-primary-enabled-fg5);padding:var(--post-device-spacing-padding-5);margin-block-start:var(--post-core-dimension-24);margin-block-end:var(--post-core-dimension-24);border-radius:var(--post-device-border-radius-1)}
|
package/components/toast.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.toast-container .toast button.toast-close-button{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;min-height:var(--post-device-sizing-interactive-button-height-1);gap:var(--post-device-spacing-gap-inline-10);padding:0 var(--post-device-spacing-padding-inline-6)}.toast-container .toast button.toast-close-button:not(:disabled):hover{text-decoration:none}.toast-container .toast button.toast-close-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.toast-container .toast button.toast-close-button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.toast-container .toast button.toast-close-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast-container .toast button.toast-close-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.toast-container .toast button.toast-close-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast-container .toast button.toast-close-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast-container .toast button.toast-close-button:is(a){color:LinkText;border:unset}.toast-container .toast button.toast-close-button:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}.toast-container .toast button.toast-close-button:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}.toast-container .toast button.toast-close-button:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}.toast-container .toast button.toast-close-button>post-icon{width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.toast{min-height:calc(var(--post-device-sizing-notification-icon-3) + 2*var(--post-device-spacing-padding-3));box-sizing:border-box;box-shadow:var(--post-device-elevation-300);border-radius:var(--post-device-border-radius-2);padding:var(--post-device-spacing-padding-3) var(--post-device-spacing-padding-11);padding-inline-start:calc(var(--post-device-spacing-padding-11) + var(--post-device-sizing-notification-icon-3) + var(--post-device-spacing-gap-inline-2));font-weight:var(--post-core-font-weight-400);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);position:relative;color:var(--post-current-fg);background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);color-scheme:var(--post-core-bg-scheme-light)}.toast::before{background-image:var(--post-signal-icon-info);background-size:contain;background-repeat:no-repeat;background-position:center}.toast::before{content:"";display:block;position:absolute;height:var(--post-device-sizing-notification-icon-3);width:var(--post-device-sizing-notification-icon-3);left:var(--post-device-spacing-padding-11);top:var(--post-device-spacing-padding-3)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast{filter:none !important;border:2px solid CanvasText}}.toast{display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.toast a{font-weight:var(--post-core-font-weight-400)}.toast hr{margin-block:var(--post-core-dimension-4) var(--post-core-dimension-12) !important}.toast>*{margin:0}.toast .toast-title{font-weight:var(--post-core-font-weight-700)}.toast-dismissible{pointer-events:auto;position:relative}.toast-dismissible:not(.alert-action){padding-inline-end:calc(var(--post-device-spacing-padding-11) + var(--post-device-spacing-gap-inline-2) + var(--post-core-dimension-24))}.toast-info{background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);color-scheme:var(--post-core-bg-scheme-light)}.toast-info::before{background-image:var(--post-signal-icon-info);background-size:contain;background-repeat:no-repeat;background-position:center}.toast-success{background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke);color-scheme:var(--post-core-bg-scheme-light)}.toast-success::before{background-image:var(--post-signal-icon-success);background-size:contain;background-repeat:no-repeat;background-position:center}.toast-warning{background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke);color-scheme:var(--post-core-bg-scheme-light)}.toast-warning::before{background-image:var(--post-signal-icon-warning);background-size:contain;background-repeat:no-repeat;background-position:center}.toast-error{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.toast-error::before{background-image:var(--post-signal-icon-error);background-size:contain;background-repeat:no-repeat;background-position:center}.toast-container{position:fixed;z-index:1080;display:flex;flex-direction:column;gap:1.5rem}.toast-container .toast{width:25rem;background-image:unset}.toast-container .toast button.toast-close-button{position:absolute;inset-block-start:0;inset-inline-end:0;transform:translate(50%, -50%);background-color:var(--post-scheme-color-interactive-primary-enabled-bg1);border-color:var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);padding:0;width:var(--post-device-sizing-interactive-button-height-1);height:var(--post-device-sizing-interactive-button-height-1);min-height:0;vertical-align:text-bottom;padding:0;width:var(--post-device-sizing-interactive-button-height-4);height:var(--post-device-sizing-interactive-button-height-4);min-height:0;vertical-align:text-bottom}.toast-container .toast button.toast-close-button.btn-link{width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.toast-container .toast button.toast-close-button>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.toast-container .toast button.toast-close-button.btn-link{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.toast-container .toast button.toast-close-button>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.toast-container .toast button.toast-close-button:hover,.toast-container .toast button.toast-close-button:focus{opacity:1}.toast-container .toast button.toast-close-button:not(:disabled):hover,.toast-container .toast button.toast-close-button.pretend-hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg);border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}.toast-container .toast button.toast-close-button span{display:none}.toast-container .toast button.toast-close-button::before{content:"";display:block;width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5);mask-image:var(--post-icon-closex);background-color:currentColor}:root,:host{--post-icon-closex: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2xvc2V4Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEzLjY2IDIuMzVjLjI5LjI5LjI5Ljc3IDAgMS4wNkw5LjA3IDhsNC41OSA0LjU5Yy4yOS4yOS4yOS43NyAwIDEuMDZzLS43Ny4yOS0xLjA2IDBMOC4wMSA5LjA2bC00LjU5IDQuNTljLS4yOS4yOS0uNzcuMjktMS4wNiAwcy0uMjktLjc3IDAtMS4wNkw2Ljk1IDhsLTQuNi00LjU5Yy0uMjktLjI5LS4yOS0uNzcgMC0xLjA2cy43Ny0uMjkgMS4wNiAwTDggNi45NGw0LjU5LTQuNTljLjI5LS4yOS43Ny0uMjkgMS4wNiAwWiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjAuNDcgMy41MmMuMzQuMzQuMzQuOSAwIDEuMjRsLTcuMjU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xlPSJkaXNwbGF5OiB2YXIoLS1zNDAsIG5vbmUpIiBocmVmPSIjczQwIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQ4LCBub25lKSIgaHJlZj0iI3M0OCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM2NCwgbm9uZSkiIGhyZWY9IiNzNjQiLz48L3N5bWJvbD48L2RlZnM+PHN0eWxlPkBtZWRpYSAobWF4LXdpZHRoOiAyMy45OHB4KSB7Z3stLXMxNjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiAyNHB4KSBhbmQgKG1heC13aWR0aDogMzEuOThweCkge2d7LS1zMjQ6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMzJweCkgYW5kIChtYXgtd2lkdGg6IDM5Ljk4cHgpIHtney0tczMyOmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDQwcHgpIGFuZCAobWF4LXdpZHRoOiA0Ny45OHB4KSB7Z3stLXM0MDpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0OHB4KSBhbmQgKG1heC13aWR0aDogNjMuOThweCkge2d7LS1zNDg6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNjRweCkge2d7LS1zNjQ6YmxvY2s7fX08L3N0eWxlPjxnPjx1c2UgaHJlZj0iI2ktY2xvc2V4Ii8+PC9nPjwvc3ZnPg==")}@media screen and (max-width: 779.98px){.toast-container .toast{max-width:25rem}}@media screen and (max-width: 779.98px){.toast-container{right:1.5rem;left:1.5rem}.toast-container .toast{width:100%}}.toast-top-center,.toast-top-full-width,.toast-top-left,.toast-top-right{top:1.5rem}.toast-bottom-center,.toast-bottom-full-width,.toast-bottom-right,.toast-bottom-left{bottom:1.5rem}.toast-top-left,.toast-bottom-left,.toast-top-full-width,.toast-bottom-full-width,.toast-center-left{left:1.5rem}.toast-top-right,.toast-bottom-right,.toast-top-full-width,.toast-bottom-full-width,.toast-center-right{right:1.5rem}.toast-top-center,.toast-bottom-center{left:50%;transform:translateX(-50%)}.toast-center-left,.toast-center-right{top:50%;transform:translateY(-50%)}.toast-center-center{top:50%;left:50%;transform:translate(-50%, -50%)}.toast-top-full-width .toast,.toast-bottom-full-width .toast{width:100% !important}
|
|
1
|
+
.toast-container .toast button.toast-close-button{display:inline-flex;position:relative;align-items:center;justify-content:center;max-width:100%;overflow:hidden;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;border-width:var(--post-device-border-width-default);border-style:solid;border-color:rgba(0,0,0,0);border-radius:var(--post-device-border-radius-round);background-color:rgba(0,0,0,0);box-shadow:none;font-family:inherit;font-size:var(--post-device-font-size-6);font-weight:var(--post-device-font-weight-bold);text-decoration:none;white-space:nowrap;cursor:pointer;min-height:var(--post-device-sizing-interactive-button-height-1);gap:var(--post-device-spacing-gap-inline-10);padding:0 var(--post-device-spacing-padding-inline-6)}.toast-container .toast button.toast-close-button:not(:disabled):hover{text-decoration:none}.toast-container .toast button.toast-close-button:disabled{border-style:var(--post-core-border-style-dash);cursor:unset}.toast-container .toast button.toast-close-button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.toast-container .toast button.toast-close-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast-container .toast button.toast-close-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.toast-container .toast button.toast-close-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast-container .toast button.toast-close-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast-container .toast button.toast-close-button:is(a){color:LinkText;border:unset}.toast-container .toast button.toast-close-button:is(button){background-color:ButtonFace !important;border:1px solid ButtonBorder !important}.toast-container .toast button.toast-close-button:not(:disabled,.disabled):is(button):hover{background-color:Highlight !important}.toast-container .toast button.toast-close-button:not(:disabled,.disabled):is(button):hover>post-icon{color:HighlightText !important}}.toast-container .toast button.toast-close-button>post-icon{width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.toast{min-height:calc(var(--post-device-sizing-notification-icon-3) + 2*var(--post-device-spacing-padding-3));box-sizing:border-box;box-shadow:var(--post-device-elevation-300);border-radius:var(--post-device-border-radius-2);padding:var(--post-device-spacing-padding-3) var(--post-device-spacing-padding-11);padding-inline-start:calc(var(--post-device-spacing-padding-11) + var(--post-device-sizing-notification-icon-3) + var(--post-device-spacing-gap-inline-2));font-weight:var(--post-core-font-weight-400);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);position:relative;color:var(--post-current-fg);background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);color-scheme:var(--post-core-bg-scheme-light)}.toast::before{background-image:var(--post-signal-icon-info);background-size:contain;background-repeat:no-repeat;background-position:center}.toast::before{content:"";display:block;position:absolute;height:var(--post-device-sizing-notification-icon-3);width:var(--post-device-sizing-notification-icon-3);left:var(--post-device-spacing-padding-11);top:var(--post-device-spacing-padding-3)}@media(forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.toast{filter:none !important;border:2px solid CanvasText}}.toast{display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.toast a{font-weight:var(--post-core-font-weight-400)}.toast hr{margin-block:var(--post-core-dimension-4) var(--post-core-dimension-12) !important}.toast>*{margin:0}.toast .toast-title{font-weight:var(--post-core-font-weight-700)}.toast-dismissible{pointer-events:auto;position:relative}.toast-dismissible:not(.alert-action){padding-inline-end:calc(var(--post-device-spacing-padding-11) + var(--post-device-spacing-gap-inline-2) + var(--post-core-dimension-24))}.toast-info{background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);--post-current-fg: var(--post-scheme-color-interactive-notification-info-fg)}.toast-info::before{background-image:var(--post-signal-icon-info)}.toast-success{background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke);--post-current-fg: var(--post-scheme-color-interactive-notification-success-fg)}.toast-success::before{background-image:var(--post-signal-icon-success)}.toast-warning{background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke);--post-current-fg: var(--post-scheme-color-interactive-notification-warning-fg)}.toast-warning::before{background-image:var(--post-signal-icon-warning)}.toast-error{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);--post-current-fg: var(--post-scheme-color-interactive-notification-error-fg)}.toast-error::before{background-image:var(--post-signal-icon-error)}.toast-container{position:fixed;z-index:1080;display:flex;flex-direction:column;gap:1.5rem}.toast-container .toast{width:25rem;background-image:unset}.toast-container .toast button.toast-close-button{position:absolute;inset-block-start:0;inset-inline-end:0;transform:translate(50%, -50%);background-color:var(--post-scheme-color-interactive-primary-enabled-bg1);border-color:var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);padding:0;width:var(--post-device-sizing-interactive-button-height-1);height:var(--post-device-sizing-interactive-button-height-1);min-height:0;vertical-align:text-bottom;padding:0;width:var(--post-device-sizing-interactive-button-height-4);height:var(--post-device-sizing-interactive-button-height-4);min-height:0;vertical-align:text-bottom}.toast-container .toast button.toast-close-button.btn-link{width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.toast-container .toast button.toast-close-button>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-4);height:var(--post-device-sizing-interactive-button-icon-4)}.toast-container .toast button.toast-close-button.btn-link{width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.toast-container .toast button.toast-close-button>post-icon{display:block;width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5)}.toast-container .toast button.toast-close-button:hover,.toast-container .toast button.toast-close-button:focus{opacity:1}.toast-container .toast button.toast-close-button:not(:disabled):hover,.toast-container .toast button.toast-close-button.pretend-hover{background-color:var(--post-scheme-color-interactive-primary-hover-bg);border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}.toast-container .toast button.toast-close-button span{display:none}.toast-container .toast button.toast-close-button::before{content:"";display:block;width:var(--post-device-sizing-interactive-button-icon-5);height:var(--post-device-sizing-interactive-button-icon-5);mask-image:var(--post-icon-closex);background-color:currentColor}:root,:host{--post-icon-closex: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2xvc2V4Ij48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEzLjY2IDIuMzVjLjI5LjI5LjI5Ljc3IDAgMS4wNkw5LjA3IDhsNC41OSA0LjU5Yy4yOS4yOS4yOS43NyAwIDEuMDZzLS43Ny4yOS0xLjA2IDBMOC4wMSA5LjA2bC00LjU5IDQuNTljLS4yOS4yOS0uNzcuMjktMS4wNiAwcy0uMjktLjc3IDAtMS4wNkw2Ljk1IDhsLTQuNi00LjU5Yy0uMjktLjI5LS4yOS0uNzcgMC0xLjA2cy43Ny0uMjkgMS4wNiAwTDggNi45NGw0LjU5LTQuNTljLjI5LS4yOS43Ny0uMjkgMS4wNiAwWiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAw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R5bGU9ImRpc3BsYXk6IHZhcigtLXMzMiwgbm9uZSkiIGhyZWY9IiNzMzIiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNDAsIG5vbmUpIiBocmVmPSIjczQwIi8+PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQ4LCBub25lKSIgaHJlZj0iI3M0OCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM2NCwgbm9uZSkiIGhyZWY9IiNzNjQiLz48L3N5bWJvbD48L2RlZnM+PHN0eWxlPkBtZWRpYSAobWF4LXdpZHRoOiAyMy45OHB4KSB7Z3stLXMxNjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiAyNHB4KSBhbmQgKG1heC13aWR0aDogMzEuOThweCkge2d7LS1zMjQ6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMzJweCkgYW5kIChtYXgtd2lkdGg6IDM5Ljk4cHgpIHtney0tczMyOmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDQwcHgpIGFuZCAobWF4LXdpZHRoOiA0Ny45OHB4KSB7Z3stLXM0MDpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0OHB4KSBhbmQgKG1heC13aWR0aDogNjMuOThweCkge2d7LS1zNDg6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNjRweCkge2d7LS1zNjQ6YmxvY2s7fX08L3N0eWxlPjxnPjx1c2UgaHJlZj0iI2ktY2xvc2V4Ii8+PC9nPjwvc3ZnPg==")}@media screen and (max-width: 779.98px){.toast-container .toast{max-width:25rem}}@media screen and (max-width: 779.98px){.toast-container{right:1.5rem;left:1.5rem}.toast-container .toast{width:100%}}.toast-top-center,.toast-top-full-width,.toast-top-left,.toast-top-right{top:1.5rem}.toast-bottom-center,.toast-bottom-full-width,.toast-bottom-right,.toast-bottom-left{bottom:1.5rem}.toast-top-left,.toast-bottom-left,.toast-top-full-width,.toast-bottom-full-width,.toast-center-left{left:1.5rem}.toast-top-right,.toast-bottom-right,.toast-top-full-width,.toast-bottom-full-width,.toast-center-right{right:1.5rem}.toast-top-center,.toast-bottom-center{left:50%;transform:translateX(-50%)}.toast-center-left,.toast-center-right{top:50%;transform:translateY(-50%)}.toast-center-center{top:50%;left:50%;transform:translate(-50%, -50%)}.toast-top-full-width .toast,.toast-bottom-full-width .toast{width:100% !important}
|