mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 22:16:15 +00:00
ec11ba3ade
This patch promotes a consistent design decision across projects in MediaWiki core, extensions, and skins. The darker red color meets the W3C Web Content Accessibility Guidelines (WCAG) at Level AA that text or images of text must have a contrast ratio of at least 4.5:1 (or 3:1 for large text). Bug: T343239 Change-Id: I517a8f5bee4f62267b37e66a8da7500ca547217e
35 lines
680 B
CSS
35 lines
680 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface expandable error element styles.
|
|
*
|
|
* @copyright See AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwExpandableErrorElement-label {
|
|
display: block;
|
|
margin-right: 2.5em;
|
|
color: #d73333;
|
|
}
|
|
|
|
.ve-ui-mwExpandableErrorElement-label-collapsed {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.ve-ui-mwExpandableErrorElement-label-expanded {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.ve-ui-mwExpandableErrorElement-label-not-expandable {
|
|
white-space: nowrap;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ve-ui-mwExpandableErrorElement-button {
|
|
float: right;
|
|
margin-top: -0.3em;
|
|
}
|