mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/widgets/ve.ui.MWLinkTargetInputWidget.css
palerdot 0e3ccfaf94 MWLinkTargetInputWidget: Add styles for invalid link titles
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
2014-07-31 18:45:03 +00:00

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