mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-26 07:15:32 +00:00
79082ebf82
Changes in MediaWiki core to the padding of div#content in Vector (see 9d988924a0350228745375e074420a0e1214f7e3 ) made the toolbar in VisualEditor's ViewPageTarget integration for Vector render incorrectly. This adjusts the toolbar margins to match the changes in content padding. Bug: 61224 Change-Id: Ie6b47f5d1929533669118ba51202c1fccda4a0d6
33 lines
817 B
CSS
33 lines
817 B
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization ViewPageTarget Vector skin styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-viewPageTarget-surface {
|
|
margin: 0.8em -1.5em 0 -1.5em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-surface .ve-ce-documentNode {
|
|
font-size: 0.8em;
|
|
padding: 0 1.875em; /* 1.5/0.8 */
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-surface .oo-ui-menuWidget {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar {
|
|
margin: -1em -1em 1em -1em;
|
|
-webkit-transition: margin 200ms ease-out;
|
|
-moz-transition: margin 200ms ease-out;
|
|
-o-transition: margin 200ms ease-out;
|
|
transition: margin 200ms ease-out;
|
|
position: relative;
|
|
}
|
|
|
|
.ve-ui-surface-overlay-global {
|
|
z-index: 101; /* #p-personal is z-index 100 in vector :( */
|
|
}
|