mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/inspectors/ve.ui.MWLinkAnnotationInspector.less
Ed Sanders c9c7c06e76 Nest LESS files
Change-Id: Ic9fad12fe4c20793dd54cb3169b9dffe3a6a18da
2024-03-19 13:56:41 +00:00

48 lines
957 B
Plaintext

/*!
* 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;
.oo-ui-searchWidget-query {
position: static;
padding: 0;
height: auto;
border: 0;
box-shadow: none;
}
.oo-ui-textInputWidget {
margin: 0;
}
.oo-ui-searchWidget-results {
position: static;
top: 0;
padding: 0;
.mw-widget-titleWidget-menu:not( :empty ) {
margin-top: 0.75em;
}
}
}
}
.oo-ui-tabSelectWidget-frameless {
margin: 0 0.75em;
.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%;
}
}
}