mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
0e3ccfaf94
This color is chosen because it is already present as a warning color in other mediawiki elements like remove button in Link Inspector. A font weight of bold is also given to make it more prominent. Things done for this commit: * A new CSS file 've.ui.MWLinkTargetInputWidget.css' is added. * Warning text style is added to the class '.ve-ui-mwLinkTargetInputWidget-warning' in this file. * The CSS file is included in the style resources in the file 'VisualEditor.php'. Tested in latest stable firefox, chrome in Ubuntu 14.04. Bug: 62761 Change-Id: I89e96e0444f8505123f3c653cf2dd6b74fc83623
13 lines
336 B
CSS
13 lines
336 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWLinkTargetInputWidget styles.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* Warning text for invalid titles (bug 62761) */
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-warning {
|
|
color: #d45353;
|
|
font-weight: bold;
|
|
} |