mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
6f446e0d1a
In I19da270a we bumped the z-index for the overlay from 4 down to 2, to avoid clashing with the toolbar. However, the site logo, search box and personal tools all have a z-index of 3, so 4 is required. Instead, bump the toolbar's z-index up by 1 to 5. Change-Id: I7e1edcf05cde054c7bcb8c13b5633930fb5ed3b5
30 lines
938 B
CSS
30 lines
938 B
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization ViewPageTarget Monobook skin high-definition styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-init-mw-viewPageTarget-toolbar {
|
|
margin: -0.6em -0.8em 1em -0.8em;
|
|
/* So that the toolbar always appears over the overlay */
|
|
z-index: 5;
|
|
}
|
|
|
|
/* Correct for Monobook's small font in toolbars and contexts, but beware:
|
|
* - Only apply this to the outer toolbar, not the inner toolbar (otherwise it multiplies)
|
|
* - Only apply this to the main surface's context, not inside dialogs (they have their own
|
|
* font size fixes)
|
|
*/
|
|
.ve-init-mw-viewPageTarget-toolbar,
|
|
.ve-init-mw-viewPageTarget-surface .ve-ui-context {
|
|
font-size: 1.25em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.ve-ui-overlay {
|
|
/* So that the overlay always appears over the site logo, search box and personal tools */
|
|
z-index: 4;
|
|
font-size: 127%;
|
|
}
|