mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
03c8ad7744
* Toolbar was too tall ** The actions toolbar is nested in the main toolbar, so the rule increasing the font size by 25% for toolbars applied to it twice * Font size in link suggestions was too big ** Remove 25% font size increase from overlays ** Add it back on the context (otherwise it's too small) ** But only on the main surface's context (otherwise contexts in dialogs are too big) * Make highlights and context appear below, not above, toolbar menus ** z-index: 4 was too high for the overlay, because MenuToolGroup also has 4 ** But the default of z-index: 1 is too low because it puts dialogs behind the surface ** z-index: 2 seems to work Bug: 69949 Change-Id: I19da270abcdbe526ff213f0eb7d0859b48276930
26 lines
756 B
CSS
26 lines
756 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;
|
|
}
|
|
|
|
/* 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 {
|
|
z-index: 2;
|
|
}
|