mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-04 18:58:37 +00:00
5667832c1b
In MediaWiki, OO.ui.getTeleportTarget() is overridden to return a different element (itself attached to body), which is supposed to be styled appropriately by skins (e.g. z-index above any floating header, font-size same as body text, etc.). As a result, we no longer need to do weird things with the 'vector-body' class to achieve correct font size on Vector, and we can remove some font-size overrides for Vector and MonoBook. Bug: T348288 Bug: T339058 Change-Id: I6329b3023573b3dcfc8f471c4693be9bb1e9e430
34 lines
677 B
Plaintext
34 lines
677 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* All debug bars (includes target widgets) */
|
|
.ve-ui-debugBar {
|
|
border-top: 1px solid #c8ccd1;
|
|
box-shadow: 0 10px 10px -10px rgba( 0, 0, 0, 0.15 ) inset;
|
|
|
|
ol {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
/* Slug animation needs more specific rules and skin-specific target margins */
|
|
.mw-body-content p.ve-ce-branchNode-newSlug {
|
|
margin: -0.3em 0 -0.1em 0;
|
|
|
|
&-open {
|
|
margin: 0.5em 0;
|
|
}
|
|
}
|
|
|
|
.ve-ui-surface .ve-ui-surface-placeholder {
|
|
opacity: 1;
|
|
|
|
& > * {
|
|
color: #72777d;
|
|
}
|
|
}
|