mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-19 09:41:09 +00:00
6869bc90fd
Bug: T309443 Change-Id: Ia9e9dacb7f293e2529e8d0766e1117a61e34b3e5
44 lines
1.3 KiB
CSS
44 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWLinkAnnotationInspector styles.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; 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%;
|
|
}
|