mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
5461c56380
Change-Id: Ia41a08424f840d353eb7fc213815f7992da4a2ef
50 lines
1.1 KiB
CSS
50 lines
1.1 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
|
|
*
|
|
* @copyright 2011-2019 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;
|
|
}
|
|
|
|
.ve-ui-debugBar ol {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.ve-ui-overlay-global {
|
|
/* Same as main content font-size in Vector */
|
|
font-size: 0.875em;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.mw-body-content p.ve-ce-branchNode-newSlug-open {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
/* stylelint-disable-next-line selector-class-pattern */
|
|
.mw-body .external.ve-ce-linkAnnotation.ve-ce-annotation-active {
|
|
/* Reset -2px from VE-core */
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ve-ui-surface .ve-ui-surface-placeholder {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ve-ui-surface .ve-ui-surface-placeholder > * {
|
|
color: #72777d;
|
|
}
|
|
|
|
.ve-ui-overlay .mw-body-content {
|
|
/* Fix font-size for surfaces inside UI overlays */
|
|
font-size: 1em;
|
|
}
|