| 1 |
/*! |
| 2 |
* VisualEditor Overlay styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
*/ |
| 6 |
|
| 7 |
.ve-ui-overlay { |
| 8 |
font-family: sans-serif; |
| 9 |
position: absolute; |
| 10 |
top: 0; |
| 11 |
right: 0; |
| 12 |
left: 0; |
| 13 |
z-index: 1; |
| 14 |
|
| 15 |
> * { |
| 16 |
z-index: 1; |
| 17 |
} |
| 18 |
|
| 19 |
&-global { |
| 20 |
/* Toolbar is z-index 1 */ |
| 21 |
z-index: 2; |
| 22 |
|
| 23 |
/* Most vendor prefixes are not needed on mobile devices */ |
| 24 |
|
| 25 |
&-mobile > .oo-ui-windowManager-modal > .oo-ui-dialog { |
| 26 |
transform: translate3d( 0, -100%, 0 ); |
| 27 |
/* `opacity` is defined in OOUI styles */ |
| 28 |
transition: transform 0.3s, opacity 0.3s; |
| 29 |
|
| 30 |
&.oo-ui-window-ready { |
| 31 |
-webkit-transform: none; |
| 32 |
transform: none; |
| 33 |
} |
| 34 |
} |
| 35 |
} |
| 36 |
} |