mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-05 03:08:37 +00:00
38dfa608f8
Change-Id: I49e05c9680e1fe7db8e01df627a6d5fa2836aac8
46 lines
1 KiB
Plaintext
46 lines
1 KiB
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;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
|
|
&-open {
|
|
margin: 0.5em 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 */
|
|
/* Increase specificity to deal with :not selector hack in core's typography.less */
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
font-size: 1em !important;
|
|
}
|