mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-vector.css
Ed Sanders 06fa5166c7 Improve NWE new section styles
* Use <h2> for TextInputWidget to avoid duplicating skin styles
* Fix placeholder colour and font

Change-Id: I36c0b79ec9cbf3fa2ead0541ef5bac4a14a8781b
2017-03-03 11:59:06 +00:00

53 lines
1.2 KiB
CSS

/*!
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
*
* @copyright 2011-2017 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 #ccc;
box-shadow: 0 10px 10px -10px rgba( 0, 0, 0, 0.15 ) inset;
}
.ve-ui-debugBar ol {
margin-left: 0;
}
.ve-ui-overlay-global {
/* Enforce different font-size for all UI elements of VisualEditor */
font-size: 0.8em;
}
/* Slug animation needs more specific rules and skin-specific target margins */
.mw-body p.ve-ce-branchNode-newSlug {
margin: -0.3em 0 -0.1em 0;
}
.mw-body p.ve-ce-branchNode-newSlug-open {
margin: 0.5em 0;
}
.mw-body .external.ve-ce-linkAnnotation-active {
/* Reset -2px from VE-core */
margin-right: 0;
}
.ve-ui-surface .ve-ui-surface-placeholder {
opacity: 1;
color: #72777d;
}
.ve-ui-overlay .mw-body-content {
/* Fix font-size for surfaces inside UI overlays */
font-size: 1.09375em; /* 0.875/0.8 */
}
/* Fix font styles for overlays inside mw-body-content */
.mw-body-content .ve-ui-overlay,
.mw-body-content .ve-ui-debugBar {
font-size: 0.914286em; /* 0.8/0.875 */
line-height: normal;
}