File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
theme-saas/src/dialog-box Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 155
155
@apply top- 0;
156
156
@apply w- full;
157
157
@apply h- full;
158
- @apply opacity- 30;
159
- @apply bg- black;
160
158
}
161
159
162
160
.v-modal-enter {
231
229
232
230
@keyframes dialog- fade - in {
233
231
0% {
234
- transform : translate3d (0 , -20px , 0 );
235
232
@apply opacity- 0;
236
233
}
237
234
238
235
100% {
239
- transform : translate3d (0 , 0 , 0 );
240
236
@apply opacity- 100;
241
237
}
242
238
}
243
239
244
240
@keyframes dialog- fade - out {
245
241
0% {
246
- transform : translate3d (0 , 0 , 0 );
247
242
@apply opacity- 100;
248
243
}
249
244
250
245
100% {
251
- transform : translate3d (0 , -20px , 0 );
252
246
@apply opacity- 0;
253
247
}
254
248
}
Original file line number Diff line number Diff line change 35
35
margin : 0 ;
36
36
display : block ;
37
37
align-items : normal ;
38
+
39
+ & .is-modal {
40
+ background : var (--tv-DialogBox-mask-bg-color );
41
+ }
38
42
}
39
43
40
44
& .is-fullscreen {
205
209
top : 0 ;
206
210
width : 100% ;
207
211
height : 100% ;
208
- background : var (--tv-DialogBox-mask-bg-color );
209
212
}
210
213
211
214
.v-modal-enter {
283
286
284
287
@keyframes dialog- fade - in {
285
288
0% {
286
- transform : translate3d (0 , -20px , 0 );
287
289
opacity : 0 ;
288
290
}
289
291
290
292
100% {
291
- transform : translate3d (0 , 0 , 0 );
292
293
opacity : 1 ;
293
294
}
294
295
}
295
296
296
297
@keyframes dialog- fade - out {
297
298
0% {
298
- transform : translate3d (0 , 0 , 0 );
299
299
opacity : 1 ;
300
300
}
301
301
302
302
100% {
303
- transform : translate3d (0 , -20px , 0 );
304
303
opacity : 0 ;
305
304
}
306
305
}
Original file line number Diff line number Diff line change 18
18
>
19
19
<div
20
20
v-show =" visible"
21
- :class =" ['tiny-dialog-box__wrapper', dialogClass]"
21
+ :class =" ['tiny-dialog-box__wrapper', dialogClass, { 'is-modal': modal } ]"
22
22
@click.self =" handleWrapperClick"
23
23
@mouseup =" useMouseEventUp"
24
24
@mousedown =" useMouseEventDown"
You can’t perform that action at this time.
0 commit comments