mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-05 22:22:54 +00:00
eee17a8f09
Because of the z-indexes of major elements of the mono book skin, and because the overlay containers are appended to the body, the overlays can't be positioned between the surface and the toolbar. Before this fix, the overlays are appearing beneath the surface. This fix will retain proper positioning of the overlays between the surface and the toolbar for Vector, and will overlay everything in Monobook. Later, we will have the overlay container more tightly integrated with the surface to avoid this stacking problem. Change-Id: Ibb1553099cc1e35e6a0928a99b584885508ca5b6
30 lines
485 B
CSS
30 lines
485 B
CSS
/*!
|
|
* VisualEditor Surface styles.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-surface:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.ve-ui-surface-overlay {
|
|
font-family: sans-serif;
|
|
line-height: 1.5em;
|
|
font-size: 1em;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.skin-monobook .ve-ui-surface-overlay {
|
|
z-index: 2;
|
|
}
|