mediawiki-extensions-Visual.../modules/ve-mw/init/styles/ve.init.mw.DesktopTarget-vector.less
Jan Drewniak 2fc809dc17 Replace hardcoded colors with Codex design tokens
Replaces hardcoded color hex values with their equivalent
values from Codex, via the "mediawiki.skin.variables" system.

Bug: T366197
Change-Id: Ia929a1a8d6351222acb454c8ec750e920ae6d072
2024-06-07 14:40:07 -04:00

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;
}
}