mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage-default.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

36 lines
697 B
Plaintext

/*!
* VisualEditor MediaWiki UserInterface MWParameterPage styles.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
@import 'mediawiki.skin.variables.less';
.ve-ui-mwParameterPage {
&-info {
/* To collapse the top margin of the first <p> in the .ve-ui-mwParameterPage-doc below */
margin-bottom: -0.4em;
}
&-label {
font-size: 1.1em;
line-height: 1.705em;
}
&-doc {
line-height: 1.3em;
overflow-wrap: break-word;
}
&-inlineDescription .ve-ui-expandableContent-collapsible > :first-child {
margin-top: 0;
}
&-doc-required,
&-doc-deprecated,
&-inlineDescription &-doc-example {
font-style: italic;
color: @color-subtle;
}
}