@primer/view-components 0.45.1-rc.015a120e → 0.45.2
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 +6963 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_bar.css +49 -1
- package/app/components/primer/alpha/action_list.css +525 -1
- package/app/components/primer/alpha/action_list.css.json +64 -64
- package/app/components/primer/alpha/auto_complete.css +131 -1
- package/app/components/primer/alpha/auto_complete.css.json +3 -3
- package/app/components/primer/alpha/banner.css +146 -1
- package/app/components/primer/alpha/banner.css.json +2 -2
- package/app/components/primer/alpha/button_marketing.css +183 -1
- package/app/components/primer/alpha/button_marketing.css.json +6 -6
- package/app/components/primer/alpha/dialog.css +377 -1
- package/app/components/primer/alpha/dialog.css.json +2 -2
- package/app/components/primer/alpha/dropdown.css +296 -1
- package/app/components/primer/alpha/dropdown.css.json +19 -19
- package/app/components/primer/alpha/layout.css +374 -1
- package/app/components/primer/alpha/layout.css.json +10 -10
- package/app/components/primer/alpha/menu.css +124 -1
- package/app/components/primer/alpha/menu.css.json +5 -5
- package/app/components/primer/alpha/overlay.css +25 -1
- package/app/components/primer/alpha/segmented_control.css +161 -1
- package/app/components/primer/alpha/segmented_control.css.json +5 -5
- package/app/components/primer/alpha/select_panel.css +10 -1
- package/app/components/primer/alpha/skeleton_box.css +36 -1
- package/app/components/primer/alpha/stack.css +255 -1
- package/app/components/primer/alpha/stack.css.json +84 -84
- package/app/components/primer/alpha/stack_item.css +27 -1
- package/app/components/primer/alpha/stack_item.css.json +6 -6
- package/app/components/primer/alpha/tab_nav.css +112 -1
- package/app/components/primer/alpha/tab_nav.css.json +5 -5
- package/app/components/primer/alpha/text_field.css +792 -1
- package/app/components/primer/alpha/text_field.css.json +39 -39
- package/app/components/primer/alpha/toggle_switch.css +230 -1
- package/app/components/primer/alpha/toggle_switch.css.json +10 -10
- package/app/components/primer/alpha/tree_view.css +396 -1
- package/app/components/primer/alpha/tree_view.css.json +25 -25
- package/app/components/primer/alpha/underline_nav.css +150 -1
- package/app/components/primer/alpha/underline_nav.css.json +6 -6
- package/app/components/primer/beta/avatar.css +77 -1
- package/app/components/primer/beta/avatar_stack.css +134 -1
- package/app/components/primer/beta/avatar_stack.css.json +6 -7
- package/app/components/primer/beta/blankslate.css +168 -1
- package/app/components/primer/beta/border_box.css +218 -1
- package/app/components/primer/beta/border_box.css.json +3 -3
- package/app/components/primer/beta/breadcrumbs.css +29 -1
- package/app/components/primer/beta/breadcrumbs.css.json +2 -2
- package/app/components/primer/beta/button.css +359 -1
- package/app/components/primer/beta/button.css.json +17 -17
- package/app/components/primer/beta/button_group.css +20 -1
- package/app/components/primer/beta/button_group.css.json +3 -3
- package/app/components/primer/beta/counter.css +38 -1
- package/app/components/primer/beta/flash.css +152 -1
- package/app/components/primer/beta/label.css +109 -1
- package/app/components/primer/beta/label.css.json +3 -3
- package/app/components/primer/beta/link.css +79 -1
- package/app/components/primer/beta/link.css.json +1 -1
- package/app/components/primer/beta/popover.css +215 -1
- package/app/components/primer/beta/popover.css.json +23 -23
- package/app/components/primer/beta/progress_bar.css +38 -1
- package/app/components/primer/beta/progress_bar.css.json +1 -1
- package/app/components/primer/beta/state.css +60 -1
- package/app/components/primer/beta/state.css.json +1 -1
- package/app/components/primer/beta/subhead.css +64 -1
- package/app/components/primer/beta/subhead.css.json +1 -1
- package/app/components/primer/beta/timeline_item.css +106 -1
- package/app/components/primer/beta/timeline_item.css.json +1 -1
- package/app/components/primer/beta/truncate.css +30 -1
- package/app/components/primer/beta/truncate.css.json +6 -6
- package/app/components/primer/truncate.css +23 -1
- package/app/components/primer/truncate.css.json +4 -4
- package/package.json +1 -1
@@ -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 +1,377 @@
|
|
1
|
-
|
1
|
+
/* stylelint-disable selector-max-specificity */
|
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
|
+
}
|
@@ -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:focus",
|
57
56
|
".Overlay-closeButton:hover",
|
57
|
+
".Overlay-closeButton:focus",
|
58
58
|
".Overlay-closeButton.close-button",
|
59
59
|
".Overlay--full",
|
60
|
-
".Overlay--placement-right-whenNarrow",
|
61
60
|
".Overlay.Overlay--placement-left-whenNarrow",
|
61
|
+
".Overlay--placement-right-whenNarrow",
|
62
62
|
".Overlay.Overlay--placement-right-whenNarrow",
|
63
63
|
".Overlay.Overlay--placement-bottom-whenNarrow",
|
64
64
|
".Overlay--full-whenNarrow"
|