@primer/view-components 0.45.2 → 0.46.0-rc.4285adec
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/app/assets/styles/primer_view_components.css +1 -6963
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_bar.css +1 -49
- package/app/components/primer/alpha/action_list.css +1 -525
- package/app/components/primer/alpha/action_list.css.json +64 -64
- package/app/components/primer/alpha/auto_complete.css +1 -131
- package/app/components/primer/alpha/auto_complete.css.json +3 -3
- package/app/components/primer/alpha/banner.css +1 -146
- package/app/components/primer/alpha/banner.css.json +2 -2
- package/app/components/primer/alpha/button_marketing.css +1 -183
- package/app/components/primer/alpha/button_marketing.css.json +6 -6
- package/app/components/primer/alpha/dialog.css +1 -377
- package/app/components/primer/alpha/dialog.css.json +2 -2
- package/app/components/primer/alpha/dropdown.css +1 -296
- package/app/components/primer/alpha/dropdown.css.json +19 -19
- package/app/components/primer/alpha/layout.css +1 -374
- package/app/components/primer/alpha/layout.css.json +10 -10
- package/app/components/primer/alpha/menu.css +1 -124
- package/app/components/primer/alpha/menu.css.json +5 -5
- package/app/components/primer/alpha/overlay.css +1 -25
- package/app/components/primer/alpha/segmented_control.css +1 -161
- package/app/components/primer/alpha/segmented_control.css.json +5 -5
- package/app/components/primer/alpha/select_panel.css +1 -10
- package/app/components/primer/alpha/skeleton_box.css +1 -36
- package/app/components/primer/alpha/stack.css +1 -255
- package/app/components/primer/alpha/stack.css.json +84 -84
- package/app/components/primer/alpha/stack_item.css +1 -27
- package/app/components/primer/alpha/stack_item.css.json +6 -6
- package/app/components/primer/alpha/tab_nav.css +1 -112
- package/app/components/primer/alpha/tab_nav.css.json +5 -5
- package/app/components/primer/alpha/text_field.css +1 -792
- package/app/components/primer/alpha/text_field.css.json +39 -39
- package/app/components/primer/alpha/toggle_switch.css +1 -230
- package/app/components/primer/alpha/toggle_switch.css.json +10 -10
- package/app/components/primer/alpha/tree_view.css +1 -396
- package/app/components/primer/alpha/tree_view.css.json +25 -25
- package/app/components/primer/alpha/underline_nav.css +1 -150
- package/app/components/primer/alpha/underline_nav.css.json +6 -6
- package/app/components/primer/beta/avatar.css +1 -77
- package/app/components/primer/beta/avatar_stack.css +1 -134
- package/app/components/primer/beta/avatar_stack.css.json +6 -6
- package/app/components/primer/beta/blankslate.css +1 -168
- package/app/components/primer/beta/border_box.css +1 -218
- package/app/components/primer/beta/border_box.css.json +3 -3
- package/app/components/primer/beta/breadcrumbs.css +1 -29
- package/app/components/primer/beta/breadcrumbs.css.json +2 -2
- package/app/components/primer/beta/button.css +1 -359
- package/app/components/primer/beta/button.css.json +17 -17
- package/app/components/primer/beta/button_group.css +1 -20
- package/app/components/primer/beta/button_group.css.json +3 -3
- package/app/components/primer/beta/counter.css +1 -38
- package/app/components/primer/beta/flash.css +1 -152
- package/app/components/primer/beta/label.css +1 -109
- package/app/components/primer/beta/label.css.json +3 -3
- package/app/components/primer/beta/link.css +1 -79
- package/app/components/primer/beta/link.css.json +1 -1
- package/app/components/primer/beta/popover.css +1 -215
- package/app/components/primer/beta/popover.css.json +23 -23
- package/app/components/primer/beta/progress_bar.css +1 -38
- package/app/components/primer/beta/progress_bar.css.json +1 -1
- package/app/components/primer/beta/state.css +1 -60
- package/app/components/primer/beta/state.css.json +1 -1
- package/app/components/primer/beta/subhead.css +1 -64
- package/app/components/primer/beta/subhead.css.json +1 -1
- package/app/components/primer/beta/timeline_item.css +1 -106
- package/app/components/primer/beta/timeline_item.css.json +1 -1
- package/app/components/primer/beta/truncate.css +1 -30
- package/app/components/primer/beta/truncate.css.json +6 -6
- package/app/components/primer/truncate.css +1 -23
- package/app/components/primer/truncate.css.json +4 -4
- package/package.json +1 -1
- package/static/arguments.json +1 -7
- package/static/info_arch.json +1 -7
@@ -2,25 +2,25 @@
|
|
2
2
|
"name": "alpha/button_marketing",
|
3
3
|
"selectors": [
|
4
4
|
".btn-mktg",
|
5
|
-
".btn-mktg
|
5
|
+
".btn-mktg:before",
|
6
6
|
".btn-mktg:hover",
|
7
|
-
":is(.btn-mktg:hover,.btn-mktg:focus,.btn-mktg:focus-visible,.btn-mktg.focus)
|
7
|
+
":is(.btn-mktg:hover,.btn-mktg:focus,.btn-mktg:focus-visible,.btn-mktg.focus):before",
|
8
8
|
".btn-mktg:focus",
|
9
9
|
".btn-mktg:focus:not(:focus-visible)",
|
10
10
|
".btn-mktg:focus-visible",
|
11
|
-
".btn-mktg:active
|
11
|
+
".btn-mktg:active:before",
|
12
12
|
".btn-mktg.disabled",
|
13
13
|
".btn-mktg[disabled]",
|
14
14
|
".btn-muted-mktg",
|
15
|
-
".btn-muted-mktg
|
15
|
+
".btn-muted-mktg:before",
|
16
16
|
".btn-muted-mktg:hover",
|
17
17
|
".btn-muted-mktg:active",
|
18
18
|
".btn-muted-mktg:disabled",
|
19
19
|
".btn-subtle-mktg",
|
20
|
-
".btn-subtle-mktg
|
20
|
+
".btn-subtle-mktg:before",
|
21
21
|
".btn-subtle-mktg:hover",
|
22
22
|
".btn-signup-mktg",
|
23
|
-
".btn-signup-mktg
|
23
|
+
".btn-signup-mktg:before",
|
24
24
|
".btn-signup-mktg:focus",
|
25
25
|
".btn-signup-mktg:focus:not(:focus-visible)",
|
26
26
|
".btn-signup-mktg:focus-visible",
|
@@ -1,377 +1 @@
|
|
1
|
-
|
2
|
-
/* stylelint-disable selector-max-compound-selectors */
|
3
|
-
/* stylelint-disable max-nesting-depth */
|
4
|
-
/* stylelint-disable primer/responsive-widths */
|
5
|
-
/* stylelint-disable primer/spacing */
|
6
|
-
/* stylelint-disable selector-no-qualifying-type */
|
7
|
-
/* stylelint-disable selector-max-type */
|
8
|
-
/* Overlay */
|
9
|
-
/* The --dialog-scrollgutter property is used only on the body element to
|
10
|
-
* simulate scrollbar-gutter:stable. This property is not and should not
|
11
|
-
* be used elsewhere in the DOM. There is a performance penalty to
|
12
|
-
* setting inherited properties which can cause a large style recalc to
|
13
|
-
* occur, so it benefits us to prevent inheritance for this property.
|
14
|
-
* See https://web.dev/blog/at-property-performance
|
15
|
-
*/
|
16
|
-
@property --dialog-scrollgutter {
|
17
|
-
initial-value: 0;
|
18
|
-
inherits: false;
|
19
|
-
syntax: "<length>";
|
20
|
-
}
|
21
|
-
body:has(dialog:modal.Overlay--disableScroll) {
|
22
|
-
padding-right: var(--dialog-scrollgutter) !important;
|
23
|
-
overflow: hidden !important;
|
24
|
-
}
|
25
|
-
dialog.Overlay:not([open]) {
|
26
|
-
display: none;
|
27
|
-
}
|
28
|
-
.Overlay--hidden {
|
29
|
-
display: none !important;
|
30
|
-
}
|
31
|
-
.Overlay--visibilityHidden {
|
32
|
-
height: 0;
|
33
|
-
overflow: hidden;
|
34
|
-
visibility: hidden;
|
35
|
-
opacity: 0;
|
36
|
-
}
|
37
|
-
/* This is for @oddbird/popover-polyfill;
|
38
|
-
* A FOUC occurs in browsers which do not support :popover-open.
|
39
|
-
* We can try to hide the popover if :popover-open is not supported.
|
40
|
-
*/
|
41
|
-
@supports not selector(:popover-open) {
|
42
|
-
[popover]:not(.\:popover-open) {
|
43
|
-
display: none;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
.Overlay {
|
47
|
-
position: static;
|
48
|
-
display: flex;
|
49
|
-
width: min(var(--overlay-width), 100vw - 2rem);
|
50
|
-
min-width: 192px;
|
51
|
-
max-height: min(calc(100vh - 2rem), var(--overlay-height));
|
52
|
-
padding: 0;
|
53
|
-
margin: auto;
|
54
|
-
color: var(--fgColor-default);
|
55
|
-
white-space: normal;
|
56
|
-
flex-direction: column;
|
57
|
-
background-color: var(--overlay-bgColor);
|
58
|
-
border: 0;
|
59
|
-
border-radius: var(--borderRadius-large);
|
60
|
-
box-shadow: var(--shadow-floating-small);
|
61
|
-
opacity: 1;
|
62
|
-
inset: 0;
|
63
|
-
}
|
64
|
-
.Overlay.Overlay--size-auto {
|
65
|
-
min-width: 192px;
|
66
|
-
max-width: calc(100vw - 2rem);
|
67
|
-
max-height: calc(100vh - 2rem);
|
68
|
-
}
|
69
|
-
.Overlay.Overlay--size-full {
|
70
|
-
width: 100vw;
|
71
|
-
height: 100vh;
|
72
|
-
}
|
73
|
-
.Overlay.Overlay--size-xsmall {
|
74
|
-
--overlay-width: 192px;
|
75
|
-
|
76
|
-
max-height: calc(100vh - 2rem);
|
77
|
-
}
|
78
|
-
.Overlay.Overlay--size-small {
|
79
|
-
--overlay-height: 256px;
|
80
|
-
--overlay-width: 320px;
|
81
|
-
}
|
82
|
-
.Overlay.Overlay--size-small-portrait {
|
83
|
-
--overlay-height: 432px;
|
84
|
-
--overlay-width: 320px;
|
85
|
-
}
|
86
|
-
.Overlay.Overlay--size-medium {
|
87
|
-
--overlay-height: 320px;
|
88
|
-
--overlay-width: 480px;
|
89
|
-
}
|
90
|
-
.Overlay.Overlay--size-medium-portrait {
|
91
|
-
--overlay-height: 600px;
|
92
|
-
--overlay-width: 480px;
|
93
|
-
}
|
94
|
-
.Overlay.Overlay--size-large {
|
95
|
-
--overlay-height: 432px;
|
96
|
-
--overlay-width: 640px;
|
97
|
-
}
|
98
|
-
.Overlay.Overlay--size-xlarge {
|
99
|
-
--overlay-height: 600px;
|
100
|
-
--overlay-width: 960px;
|
101
|
-
}
|
102
|
-
.Overlay.Overlay--height-auto {
|
103
|
-
height: auto;
|
104
|
-
}
|
105
|
-
.Overlay.Overlay--placement-left,.Overlay.Overlay--placement-right {
|
106
|
-
position: fixed;
|
107
|
-
height: 100%;
|
108
|
-
max-height: unset;
|
109
|
-
}
|
110
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
111
|
-
.Overlay.Overlay--motion-scaleFade,.Overlay.Overlay--placement-left,.Overlay.Overlay--placement-right {
|
112
|
-
animation: 200ms cubic-bezier(0.33, 1, 0.68, 1) 0s 1 normal none running Overlay--motion-scaleFade;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
.Overlay.Overlay--placement-left {
|
116
|
-
inset: 0 auto 0 0;
|
117
|
-
border-top-left-radius: 0;
|
118
|
-
border-bottom-left-radius: 0;
|
119
|
-
animation-name: Overlay--motion-slideInRight;
|
120
|
-
}
|
121
|
-
.Overlay.Overlay--placement-right {
|
122
|
-
inset: 0 0 0 auto;
|
123
|
-
border-top-right-radius: 0;
|
124
|
-
border-bottom-right-radius: 0;
|
125
|
-
animation-name: Overlay--motion-slideInLeft;
|
126
|
-
}
|
127
|
-
/* start deprecate in favor of Alpha::Dialog */
|
128
|
-
.Overlay.Overlay--height-xsmall {
|
129
|
-
height: min(192px, 100vh - 2rem);
|
130
|
-
}
|
131
|
-
.Overlay.Overlay--height-small {
|
132
|
-
height: min(256px, 100vh - 2rem);
|
133
|
-
}
|
134
|
-
.Overlay.Overlay--height-medium {
|
135
|
-
height: min(320px, 100vh - 2rem);
|
136
|
-
}
|
137
|
-
.Overlay.Overlay--height-large {
|
138
|
-
height: min(432px, 100vh - 2rem);
|
139
|
-
}
|
140
|
-
.Overlay.Overlay--height-xlarge {
|
141
|
-
height: min(600px, 100vh - 2rem);
|
142
|
-
}
|
143
|
-
.Overlay.Overlay--width-auto {
|
144
|
-
width: auto;
|
145
|
-
}
|
146
|
-
.Overlay.Overlay--width-small {
|
147
|
-
width: min(256px, 100vw - 2rem);
|
148
|
-
}
|
149
|
-
.Overlay.Overlay--width-medium {
|
150
|
-
width: min(320px, 100vw - 2rem);
|
151
|
-
}
|
152
|
-
.Overlay.Overlay--width-large {
|
153
|
-
width: min(480px, 100vw - 2rem);
|
154
|
-
}
|
155
|
-
.Overlay.Overlay--width-xlarge {
|
156
|
-
width: min(640px, 100vw - 2rem);
|
157
|
-
}
|
158
|
-
.Overlay.Overlay--width-xxlarge {
|
159
|
-
width: min(960px, 100vw - 2rem);
|
160
|
-
}
|
161
|
-
/* end deprecate */
|
162
|
-
.Overlay:modal {
|
163
|
-
position: fixed;
|
164
|
-
}
|
165
|
-
@keyframes Overlay--motion-scaleFade {
|
166
|
-
0% {
|
167
|
-
opacity: 0;
|
168
|
-
transform: scale(0.5);
|
169
|
-
}
|
170
|
-
|
171
|
-
100% {
|
172
|
-
opacity: 1;
|
173
|
-
transform: scale(1);
|
174
|
-
}
|
175
|
-
}
|
176
|
-
/* for <form> element that wraps entire contents of overlay */
|
177
|
-
.Overlay-form {
|
178
|
-
display: flex;
|
179
|
-
overflow: auto;
|
180
|
-
flex-direction: column;
|
181
|
-
flex-grow: 1;
|
182
|
-
}
|
183
|
-
.Overlay-header {
|
184
|
-
z-index: 1;
|
185
|
-
display: flex;
|
186
|
-
color: var(--fgColor-default);
|
187
|
-
flex-direction: column;
|
188
|
-
}
|
189
|
-
.Overlay-header.Overlay-header--divided {
|
190
|
-
padding-bottom: var(--stack-padding-condensed);
|
191
|
-
/* stylelint-disable-next-line primer/box-shadow */
|
192
|
-
box-shadow: inset 0 calc(var(--borderWidth-thin) * -1) var(--borderColor-default);
|
193
|
-
}
|
194
|
-
:is(.Overlay-header.Overlay-header--large .Overlay-headerContentWrap) .Overlay-titleWrap {
|
195
|
-
gap: var(--stack-gap-condensed);
|
196
|
-
}
|
197
|
-
:is(:is(.Overlay-header.Overlay-header--large .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-title {
|
198
|
-
font: var(--text-title-shorthand-small);
|
199
|
-
}
|
200
|
-
:is(:is(.Overlay-header.Overlay-header--large .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-description {
|
201
|
-
font-size: var(--text-body-size-medium);
|
202
|
-
}
|
203
|
-
.Overlay-header .Overlay-headerContentWrap {
|
204
|
-
display: flex;
|
205
|
-
align-items: flex-start;
|
206
|
-
gap: var(--stack-gap-condensed);
|
207
|
-
padding: var(--stack-gap-condensed) var(--stack-gap-condensed) 0 var(--stack-gap-condensed);
|
208
|
-
}
|
209
|
-
:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-actionWrap {
|
210
|
-
display: flex;
|
211
|
-
flex-direction: row;
|
212
|
-
gap: var(--stack-gap-condensed);
|
213
|
-
}
|
214
|
-
:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-titleWrap {
|
215
|
-
display: flex;
|
216
|
-
padding: calc(var(--stack-gap-condensed) * 0.75) 0 calc(var(--stack-gap-condensed) * 0.75)
|
217
|
-
var(--stack-gap-condensed);
|
218
|
-
flex-direction: column;
|
219
|
-
flex-grow: 1;
|
220
|
-
gap: var(--control-small-gap);
|
221
|
-
}
|
222
|
-
:is(:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-title {
|
223
|
-
margin: 0;
|
224
|
-
font-size: var(--text-body-size-medium);
|
225
|
-
font-weight: var(--base-text-weight-semibold);
|
226
|
-
}
|
227
|
-
:is(:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-description {
|
228
|
-
margin: 0;
|
229
|
-
font-size: var(--text-body-size-small);
|
230
|
-
font-weight: var(--base-text-weight-normal);
|
231
|
-
color: var(--fgColor-muted);
|
232
|
-
}
|
233
|
-
.Overlay-headerFilter {
|
234
|
-
padding: var(--stack-gap-condensed) var(--stack-gap-condensed) 0 var(--stack-gap-condensed);
|
235
|
-
}
|
236
|
-
/* generic body content slot */
|
237
|
-
.Overlay-body {
|
238
|
-
padding: var(--stack-padding-normal);
|
239
|
-
overflow-y: auto;
|
240
|
-
scrollbar-width: thin;
|
241
|
-
font-size: var(--text-body-size-medium);
|
242
|
-
flex-grow: 1;
|
243
|
-
}
|
244
|
-
.Overlay-body.Overlay-body--paddingCondensed {
|
245
|
-
padding: var(--stack-padding-condensed);
|
246
|
-
padding-top: 0;
|
247
|
-
}
|
248
|
-
.Overlay-body.Overlay-body--paddingNone {
|
249
|
-
padding: 0;
|
250
|
-
}
|
251
|
-
/* generic footer slot */
|
252
|
-
.Overlay-footer {
|
253
|
-
z-index: 1;
|
254
|
-
display: flex;
|
255
|
-
padding: 0 var(--stack-padding-normal) var(--stack-padding-normal) var(--stack-padding-normal);
|
256
|
-
flex-direction: row;
|
257
|
-
flex-shrink: 0;
|
258
|
-
flex-wrap: wrap;
|
259
|
-
}
|
260
|
-
.Overlay-footer.Overlay-footer--divided {
|
261
|
-
padding-top: var(--stack-padding-normal);
|
262
|
-
/* stylelint-disable-next-line primer/box-shadow */
|
263
|
-
box-shadow: inset 0 var(--borderWidth-thin) var(--borderColor-default);
|
264
|
-
}
|
265
|
-
.Overlay-footer.Overlay-footer--alignStart {
|
266
|
-
justify-content: flex-start;
|
267
|
-
gap: var(--stack-gap-condensed);
|
268
|
-
}
|
269
|
-
.Overlay-footer.Overlay-footer--alignCenter {
|
270
|
-
justify-content: center;
|
271
|
-
gap: var(--stack-gap-condensed);
|
272
|
-
}
|
273
|
-
.Overlay-footer.Overlay-footer--alignEnd {
|
274
|
-
justify-content: flex-end;
|
275
|
-
gap: var(--stack-gap-condensed);
|
276
|
-
}
|
277
|
-
/* TODO: replace with refactored IconButton */
|
278
|
-
.Overlay-closeButton {
|
279
|
-
position: relative;
|
280
|
-
display: grid;
|
281
|
-
width: var(--base-size-32);
|
282
|
-
height: var(--base-size-32);
|
283
|
-
padding: 0;
|
284
|
-
color: var(--fgColor-muted);
|
285
|
-
cursor: pointer;
|
286
|
-
-webkit-user-select: none;
|
287
|
-
user-select: none;
|
288
|
-
background-color: transparent;
|
289
|
-
border: var(--borderWidth-thin) solid transparent;
|
290
|
-
border-radius: var(--borderRadius-medium);
|
291
|
-
transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
|
292
|
-
transition-property: color, background-color, border-color;
|
293
|
-
place-content: center;
|
294
|
-
align-self: flex-start;
|
295
|
-
flex-shrink: 0;
|
296
|
-
}
|
297
|
-
.Overlay-closeButton:hover,.Overlay-closeButton:focus {
|
298
|
-
background-color: var(--button-default-bgColor-hover);
|
299
|
-
/* stylelint-disable-next-line primer/colors */
|
300
|
-
border: var(--borderWidth-thin) solid var(--control-bgColor-hover);
|
301
|
-
}
|
302
|
-
/* Override .close-button's `border: 0` that triggers a border-color transition on hover */
|
303
|
-
.Overlay-closeButton.close-button {
|
304
|
-
border: var(--borderWidth-thin) solid transparent;
|
305
|
-
}
|
306
|
-
/* variants must be mixins so we can extend within a media query (@extend is not supported inside media queries) */
|
307
|
-
/* border-radius repeats within placement options to ensure the original radius is reset when two classes co-exist */
|
308
|
-
/* full width */
|
309
|
-
.Overlay--full {
|
310
|
-
width: 100%;
|
311
|
-
max-width: 100vw;
|
312
|
-
height: 100%;
|
313
|
-
max-height: 100vh;
|
314
|
-
border-radius: unset !important;
|
315
|
-
flex-grow: 1;
|
316
|
-
}
|
317
|
-
/* responsive variants */
|
318
|
-
/* --viewportRange-narrowLandscape */
|
319
|
-
@media (max-width: 767px) {
|
320
|
-
.Overlay.Overlay--placement-left-whenNarrow, .Overlay--placement-right-whenNarrow {
|
321
|
-
position: fixed;
|
322
|
-
height: 100%;
|
323
|
-
max-height: 100vh;
|
324
|
-
}
|
325
|
-
|
326
|
-
.Overlay.Overlay--placement-left-whenNarrow {
|
327
|
-
inset: 0 auto 0 0;
|
328
|
-
border-top-left-radius: 0;
|
329
|
-
border-bottom-left-radius: 0;
|
330
|
-
animation-name: Overlay--motion-slideInLeft;
|
331
|
-
}
|
332
|
-
|
333
|
-
.Overlay.Overlay--placement-right-whenNarrow {
|
334
|
-
inset: 0 0 0 auto;
|
335
|
-
border-top-right-radius: 0;
|
336
|
-
border-bottom-right-radius: 0;
|
337
|
-
animation-name: Overlay--motion-slideInLeft;
|
338
|
-
}
|
339
|
-
|
340
|
-
.Overlay.Overlay--placement-bottom-whenNarrow {
|
341
|
-
width: 100%;
|
342
|
-
max-width: 100vw;
|
343
|
-
border-bottom-right-radius: 0;
|
344
|
-
border-bottom-left-radius: 0;
|
345
|
-
animation-name: Overlay--motion-slideUp;
|
346
|
-
inset: auto 0 0;
|
347
|
-
}
|
348
|
-
|
349
|
-
.Overlay--full-whenNarrow {
|
350
|
-
width: 100%;
|
351
|
-
max-width: 100vw;
|
352
|
-
height: 100%;
|
353
|
-
max-height: 100vh;
|
354
|
-
border-radius: unset !important;
|
355
|
-
flex-grow: 1;
|
356
|
-
}
|
357
|
-
}
|
358
|
-
@keyframes Overlay--motion-slideDown {
|
359
|
-
from {
|
360
|
-
transform: translateY(-100%);
|
361
|
-
}
|
362
|
-
}
|
363
|
-
@keyframes Overlay--motion-slideUp {
|
364
|
-
from {
|
365
|
-
transform: translateY(100%);
|
366
|
-
}
|
367
|
-
}
|
368
|
-
@keyframes Overlay--motion-slideInRight {
|
369
|
-
from {
|
370
|
-
transform: translateX(-100%);
|
371
|
-
}
|
372
|
-
}
|
373
|
-
@keyframes Overlay--motion-slideInLeft {
|
374
|
-
from {
|
375
|
-
transform: translateX(100%);
|
376
|
-
}
|
377
|
-
}
|
1
|
+
@property --dialog-scrollgutter{initial-value:0;inherits:false;syntax:"<length>"}body:has(dialog:modal.Overlay--disableScroll){overflow:hidden!important;padding-right:var(--dialog-scrollgutter)!important}dialog.Overlay:not([open]){display:none}.Overlay--hidden{display:none!important}.Overlay--visibilityHidden{height:0;opacity:0;overflow:hidden;visibility:hidden}@supports not selector(:popover-open){[popover]:not(.\:popover-open){display:none}}.Overlay{background-color:var(--overlay-bgColor);border:0;border-radius:var(--borderRadius-large);box-shadow:var(--shadow-floating-small);color:var(--fgColor-default);display:flex;flex-direction:column;inset:0;margin:auto;max-height:min(calc(100vh - 2rem),var(--overlay-height));min-width:192px;opacity:1;padding:0;position:static;white-space:normal;width:min(var(--overlay-width),100vw - 2rem)}.Overlay.Overlay--size-auto{max-height:calc(100vh - 2rem);max-width:calc(100vw - 2rem);min-width:192px}.Overlay.Overlay--size-full{height:100vh;width:100vw}.Overlay.Overlay--size-xsmall{--overlay-width:192px;max-height:calc(100vh - 2rem)}.Overlay.Overlay--size-small{--overlay-height:256px;--overlay-width:320px}.Overlay.Overlay--size-small-portrait{--overlay-height:432px;--overlay-width:320px}.Overlay.Overlay--size-medium{--overlay-height:320px;--overlay-width:480px}.Overlay.Overlay--size-medium-portrait{--overlay-height:600px;--overlay-width:480px}.Overlay.Overlay--size-large{--overlay-height:432px;--overlay-width:640px}.Overlay.Overlay--size-xlarge{--overlay-height:600px;--overlay-width:960px}.Overlay.Overlay--height-auto{height:auto}.Overlay.Overlay--placement-left,.Overlay.Overlay--placement-right{height:100%;max-height:unset;position:fixed}@media screen and (prefers-reduced-motion:no-preference){.Overlay.Overlay--motion-scaleFade,.Overlay.Overlay--placement-left,.Overlay.Overlay--placement-right{animation:Overlay--motion-scaleFade .2s cubic-bezier(.33,1,.68,1) 0s 1 normal none running}}.Overlay.Overlay--placement-left{animation-name:Overlay--motion-slideInRight;border-bottom-left-radius:0;border-top-left-radius:0;inset:0 auto 0 0}.Overlay.Overlay--placement-right{animation-name:Overlay--motion-slideInLeft;border-bottom-right-radius:0;border-top-right-radius:0;inset:0 0 0 auto}.Overlay.Overlay--height-xsmall{height:min(192px,100vh - 2rem)}.Overlay.Overlay--height-small{height:min(256px,100vh - 2rem)}.Overlay.Overlay--height-medium{height:min(320px,100vh - 2rem)}.Overlay.Overlay--height-large{height:min(432px,100vh - 2rem)}.Overlay.Overlay--height-xlarge{height:min(600px,100vh - 2rem)}.Overlay.Overlay--width-auto{width:auto}.Overlay.Overlay--width-small{width:min(256px,100vw - 2rem)}.Overlay.Overlay--width-medium{width:min(320px,100vw - 2rem)}.Overlay.Overlay--width-large{width:min(480px,100vw - 2rem)}.Overlay.Overlay--width-xlarge{width:min(640px,100vw - 2rem)}.Overlay.Overlay--width-xxlarge{width:min(960px,100vw - 2rem)}.Overlay:modal{position:fixed}@keyframes Overlay--motion-scaleFade{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.Overlay-form{flex-grow:1;overflow:auto}.Overlay-form,.Overlay-header{display:flex;flex-direction:column}.Overlay-header{color:var(--fgColor-default);z-index:1}.Overlay-header.Overlay-header--divided{box-shadow:inset 0 calc(var(--borderWidth-thin)*-1) var(--borderColor-default);padding-bottom:var(--stack-padding-condensed)}:is(.Overlay-header.Overlay-header--large .Overlay-headerContentWrap) .Overlay-titleWrap{gap:var(--stack-gap-condensed)}:is(:is(.Overlay-header.Overlay-header--large .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-title{font:var(--text-title-shorthand-small)}:is(:is(.Overlay-header.Overlay-header--large .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-description{font-size:var(--text-body-size-medium)}.Overlay-header .Overlay-headerContentWrap{align-items:flex-start;display:flex;gap:var(--stack-gap-condensed);padding:var(--stack-gap-condensed) var(--stack-gap-condensed) 0 var(--stack-gap-condensed)}:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-actionWrap{display:flex;flex-direction:row;gap:var(--stack-gap-condensed)}:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-titleWrap{display:flex;flex-direction:column;flex-grow:1;gap:var(--control-small-gap);padding:calc(var(--stack-gap-condensed)*.75) 0 calc(var(--stack-gap-condensed)*.75) var(--stack-gap-condensed)}:is(:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-title{font-size:var(--text-body-size-medium);font-weight:var(--base-text-weight-semibold);margin:0}:is(:is(.Overlay-header .Overlay-headerContentWrap) .Overlay-titleWrap) .Overlay-description{color:var(--fgColor-muted);font-size:var(--text-body-size-small);font-weight:var(--base-text-weight-normal);margin:0}.Overlay-headerFilter{padding:var(--stack-gap-condensed) var(--stack-gap-condensed) 0 var(--stack-gap-condensed)}.Overlay-body{flex-grow:1;font-size:var(--text-body-size-medium);overflow-y:auto;padding:var(--stack-padding-normal);scrollbar-width:thin}.Overlay-body.Overlay-body--paddingCondensed{padding:var(--stack-padding-condensed);padding-top:0}.Overlay-body.Overlay-body--paddingNone{padding:0}.Overlay-footer{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:wrap;padding:0 var(--stack-padding-normal) var(--stack-padding-normal) var(--stack-padding-normal);z-index:1}.Overlay-footer.Overlay-footer--divided{box-shadow:inset 0 var(--borderWidth-thin) var(--borderColor-default);padding-top:var(--stack-padding-normal)}.Overlay-footer.Overlay-footer--alignStart{gap:var(--stack-gap-condensed);justify-content:flex-start}.Overlay-footer.Overlay-footer--alignCenter{gap:var(--stack-gap-condensed);justify-content:center}.Overlay-footer.Overlay-footer--alignEnd{gap:var(--stack-gap-condensed);justify-content:flex-end}.Overlay-closeButton{align-self:flex-start;background-color:initial;border:var(--borderWidth-thin) solid #0000;border-radius:var(--borderRadius-medium);color:var(--fgColor-muted);cursor:pointer;display:grid;flex-shrink:0;height:var(--base-size-32);padding:0;place-content:center;position:relative;transition:.2s cubic-bezier(.3,0,.5,1);transition-property:color,background-color,border-color;-webkit-user-select:none;user-select:none;width:var(--base-size-32)}.Overlay-closeButton:focus,.Overlay-closeButton:hover{background-color:var(--button-default-bgColor-hover);border:var(--borderWidth-thin) solid var(--control-bgColor-hover)}.Overlay-closeButton.close-button{border:var(--borderWidth-thin) solid #0000}.Overlay--full{border-radius:unset!important;flex-grow:1;height:100%;max-height:100vh;max-width:100vw;width:100%}@media (max-width:767px){.Overlay--placement-right-whenNarrow,.Overlay.Overlay--placement-left-whenNarrow{height:100%;max-height:100vh;position:fixed}.Overlay.Overlay--placement-left-whenNarrow{animation-name:Overlay--motion-slideInLeft;border-bottom-left-radius:0;border-top-left-radius:0;inset:0 auto 0 0}.Overlay.Overlay--placement-right-whenNarrow{animation-name:Overlay--motion-slideInLeft;border-bottom-right-radius:0;border-top-right-radius:0;inset:0 0 0 auto}.Overlay.Overlay--placement-bottom-whenNarrow{animation-name:Overlay--motion-slideUp;border-bottom-left-radius:0;border-bottom-right-radius:0;inset:auto 0 0;max-width:100vw;width:100%}.Overlay--full-whenNarrow{border-radius:unset!important;flex-grow:1;height:100%;max-height:100vh;max-width:100vw;width:100%}}@keyframes Overlay--motion-slideDown{0%{transform:translateY(-100%)}}@keyframes Overlay--motion-slideUp{0%{transform:translateY(100%)}}@keyframes Overlay--motion-slideInRight{0%{transform:translateX(-100%)}}@keyframes Overlay--motion-slideInLeft{0%{transform:translateX(100%)}}
|
@@ -53,12 +53,12 @@
|
|
53
53
|
".Overlay-footer.Overlay-footer--alignCenter",
|
54
54
|
".Overlay-footer.Overlay-footer--alignEnd",
|
55
55
|
".Overlay-closeButton",
|
56
|
-
".Overlay-closeButton:hover",
|
57
56
|
".Overlay-closeButton:focus",
|
57
|
+
".Overlay-closeButton:hover",
|
58
58
|
".Overlay-closeButton.close-button",
|
59
59
|
".Overlay--full",
|
60
|
-
".Overlay.Overlay--placement-left-whenNarrow",
|
61
60
|
".Overlay--placement-right-whenNarrow",
|
61
|
+
".Overlay.Overlay--placement-left-whenNarrow",
|
62
62
|
".Overlay.Overlay--placement-right-whenNarrow",
|
63
63
|
".Overlay.Overlay--placement-bottom-whenNarrow",
|
64
64
|
".Overlay--full-whenNarrow"
|