mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/elements/ve.ui.MWExpandableErrorElement.css
lwatson ec11ba3ade styles: Update color in CSS from #d33 to #d73333
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
2024-02-29 15:16:24 -05:00

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;
}