mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
377f6e4eea
* If the user switches to external links, clear the input * If the user types something with a protocol, automatically switch them to external links. If they manually switch back to internal, remember that and don't auto switch them again. * If the user inputs something without a protocol into the external link box, prepend 'http://' Bug: T93699 Bug: T93700 Change-Id: Ia0e3a04f34077e7bd56254112dafd86ad865cbe2
39 lines
848 B
CSS
39 lines
848 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWLinkTargetInputWidget styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwLinkTargetInputWidget {
|
|
margin-top: 2.75em;
|
|
}
|
|
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-linkTypeSelect {
|
|
position: absolute;
|
|
top: -1.75em;
|
|
}
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-linkTypeSelect .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button {
|
|
height: auto;
|
|
margin: 0;
|
|
padding: 0 0.5em;
|
|
color: #888;
|
|
}
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-linkTypeSelect .oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
|
|
background: #eee;
|
|
}
|
|
|
|
.ve-ui-mwLinkTargetInputWidget .oo-ui-iconElement-icon {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
/* Warning text for invalid titles (bug 62761) */
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-warning {
|
|
color: #d45353;
|
|
font-weight: bold;
|
|
}
|