mediawiki-extensions-Cite/modules/ve-cite/ve.ui.MWReferenceContextItem.less
thiemowmde aa6a5c3bf2 Start using design tokens in .less files relevant for VE
Note this actually changes the "subtle" color to be darker. As far
as I understand this is an intentional decision. The old color token
from OOUI is deprecated and intentionally made darker in Codex.
See Ie667c35 and most notably T313502.

Change-Id: I37ad25aa6821d61fe3321e1390d1ccf987075250
2024-07-19 17:45:17 +02:00

28 lines
583 B
Plaintext

/*!
* VisualEditor MediaWiki UserInterface reference context item styles.
*
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
* @license MIT
*/
@import 'mediawiki.skin.variables.less';
.ve-ui-mwReferenceContextItem {
&-muted {
color: @color-subtle;
font-style: italic;
line-height: 1.5;
}
.ve-ui-previewElement {
/* Reference links can often be too long, so break them up */
word-break: break-word;
word-wrap: break-word;
overflow-wrap: break-word;
+ .ve-ui-mwReferenceContextItem-muted {
margin-top: 0.5em;
}
}
}