mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-18 17:21:25 +00:00
2fc809dc17
Replaces hardcoded color hex values with their equivalent values from Codex, via the "mediawiki.skin.variables" system. Bug: T366197 Change-Id: Ia929a1a8d6351222acb454c8ec750e920ae6d072
35 lines
686 B
Plaintext
35 lines
686 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki Initialization desktop target Vector skin styles.
|
|
*
|
|
* @copyright See AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
/* All debug bars (includes target widgets) */
|
|
.ve-ui-debugBar {
|
|
border-top: @border-subtle;
|
|
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: @color-placeholder;
|
|
}
|
|
}
|