mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/widgets/ve.ui.MWLinkTargetInputWidget.css
Ed Sanders 377f6e4eea Separate inputting of internal and external links
* 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
2015-04-29 11:17:24 +01:00

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