mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-21 02:22:51 +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
38 lines
635 B
Plaintext
38 lines
635 B
Plaintext
/*!
|
|
* VisualEditor MediaWiki UserInterface expandable error element styles.
|
|
*
|
|
* @copyright See AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
.ve-ui-mwExpandableErrorElement {
|
|
&-label {
|
|
display: block;
|
|
margin-right: 2.5em;
|
|
color: @color-error;
|
|
}
|
|
|
|
&-label-collapsed {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
&-label-expanded {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
&-label-not-expandable {
|
|
white-space: nowrap;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
margin-right: 0;
|
|
}
|
|
|
|
&-button {
|
|
float: right;
|
|
margin-top: -0.3em;
|
|
}
|
|
}
|