| 1 |
/*! |
| 2 |
* VisualEditor MediaWiki UserInterface MWLinkAnnotationInspector styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
* @license The MIT License (MIT); see LICENSE.txt |
| 6 |
*/ |
| 7 |
|
| 8 |
.ve-ui-mwLinkAnnotationInspector { |
| 9 |
.ve-ui-linkAnnotationWidget { |
| 10 |
.mw-widget-titleSearchWidget { |
| 11 |
position: relative; |
| 12 |
min-height: 2.4em; |
| 13 |
|
| 14 |
.oo-ui-searchWidget-query { |
| 15 |
position: static; |
| 16 |
padding: 0; |
| 17 |
height: auto; |
| 18 |
border: 0; |
| 19 |
box-shadow: none; |
| 20 |
} |
| 21 |
|
| 22 |
.oo-ui-textInputWidget { |
| 23 |
margin: 0; |
| 24 |
} |
| 25 |
|
| 26 |
.oo-ui-searchWidget-results { |
| 27 |
position: static; |
| 28 |
top: 0; |
| 29 |
padding: 0; |
| 30 |
|
| 31 |
.mw-widget-titleWidget-menu:not( :empty ) { |
| 32 |
margin-top: 0.75em; |
| 33 |
} |
| 34 |
} |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
.oo-ui-tabSelectWidget-frameless { |
| 39 |
margin: 0 0.75em; |
| 40 |
|
| 41 |
.oo-ui-tabOptionWidget { |
| 42 |
/* Prevent long sitenames from messing up the layout (T309443). */ |
| 43 |
/* OOUI already has styles with text-overflow: ellipsis, we just need to define a width to enable it. */ |
| 44 |
max-width: 50%; |
| 45 |
} |
| 46 |
} |
| 47 |
} |