mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/inspectors/ve.ui.MWLinkAnnotationInspector.css

44 lines
1.2 KiB
CSS
Raw Normal View History

/*!
* VisualEditor MediaWiki UserInterface MWLinkAnnotationInspector styles.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleSearchWidget {
position: relative;
min-height: 2.4em;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleSearchWidget .oo-ui-searchWidget-query {
position: static;
padding: 0;
height: auto;
border: 0;
box-shadow: none;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .oo-ui-textInputWidget {
margin: 0;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleSearchWidget .oo-ui-searchWidget-results {
position: static;
top: 0;
padding: 0;
}
.ve-ui-mwLinkAnnotationInspector .ve-ui-linkAnnotationWidget .mw-widget-titleWidget-menu:not( :empty ) {
margin-top: 0.75em;
}
.ve-ui-mwLinkAnnotationInspector .oo-ui-tabSelectWidget-frameless {
margin: 0 0.75em;
}
.ve-ui-mwLinkAnnotationInspector .oo-ui-tabSelectWidget-frameless .oo-ui-tabOptionWidget {
/* Prevent long sitenames from messing up the layout (T309443). */
/* OOUI already has styles with text-overflow: ellipsis, we just need to define a width to enable it. */
max-width: 50%;
}