File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
src/Umbraco.Commerce.Cart/Client/src/styles Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 44
44
}
45
45
46
46
.ucc-modal-background {
47
- display : none;
48
47
position : fixed;
49
48
top : 0 ;
50
49
left : 0 ;
51
50
width : 100% ;
52
51
height : 100% ;
53
52
background-color : var (--ucc-modal-overlay-color );
53
+ opacity : 0 ;
54
+ visibility : hidden;
55
+ transition : opacity 0.25s ease-in-out, visibility 0.25s ;
54
56
}
55
- .ucc-modal-container--open .ucc-modal-background {
56
- display : block;
57
+
58
+ @media (min-width : 768px ) {
59
+
60
+ .ucc-modal-container--open .ucc-modal-background {
61
+ opacity : 1 ;
62
+ visibility : visible;
63
+ }
64
+
65
+ .ucc-modal-container : not (.ucc-modal-container--open ) .ucc-modal-background {
66
+ transition : opacity 0.25s ease-in-out, visibility 0s 0.25s ;
67
+ }
68
+
57
69
}
58
70
59
71
.ucc-modal {
You can’t perform that action at this time.
0 commit comments