| 1 |
/*! |
| 2 |
* VisualEditor MediaWiki UserInterface expandable error element styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
* @license The MIT License (MIT); see LICENSE.txt |
| 6 |
*/ |
| 7 |
@import 'mediawiki.skin.variables.less'; |
| 8 |
|
| 9 |
.ve-ui-mwExpandableErrorElement { |
| 10 |
&-label { |
| 11 |
display: block; |
| 12 |
margin-right: 2.5em; |
| 13 |
color: @color-error; |
| 14 |
} |
| 15 |
|
| 16 |
&-label-collapsed { |
| 17 |
white-space: nowrap; |
| 18 |
overflow: hidden; |
| 19 |
text-overflow: ellipsis; |
| 20 |
} |
| 21 |
|
| 22 |
&-label-expanded { |
| 23 |
white-space: pre-wrap; |
| 24 |
} |
| 25 |
|
| 26 |
&-label-not-expandable { |
| 27 |
white-space: nowrap; |
| 28 |
overflow: visible; |
| 29 |
text-overflow: clip; |
| 30 |
margin-right: 0; |
| 31 |
} |
| 32 |
|
| 33 |
&-button { |
| 34 |
float: right; |
| 35 |
margin-top: -0.3em; |
| 36 |
} |
| 37 |
} |