File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed 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
+ & .has-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, modal ? 'has-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