mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
cb704dee84
* A subclass of MenuItemWidget from OOUI, MWLinkMenuItemWidget, is introduced that, when used in MWLinkTargetInputWidget for both external and internal links, returns actual page links. * MWInternalLinkMenuItemWidget is extended from MWLinkMenuItemWidget to support the internal links. * LinkCache is being used in MWInternalLinkMenuItemWidet to stylize the links. Thus, getting rid of some old css classes. Bug: 51205 Change-Id: I3ac18dabd514ca539fff1db3c67ae97931c3d4fc
21 lines
442 B
CSS
21 lines
442 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
|
|
*/
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu {
|
|
width: 20em;
|
|
margin-top: -7px;
|
|
}
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu .oo-ui-menuWidget-item {
|
|
padding: 0.33em 1.25em;
|
|
color: #0645AD;
|
|
}
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-extlink {
|
|
color: #36b;
|
|
}
|