| 1 |
/*! |
| 2 |
* MediaWiki Widgets - MediaSearchWidget styles. |
| 3 |
* |
| 4 |
* @copyright 2011-2024 VisualEditor Team and others; see AUTHORS.txt |
| 5 |
* @license The MIT License (MIT); see LICENSE.txt |
| 6 |
*/ |
| 7 |
|
| 8 |
.mw-widget-mediaSearchWidget { |
| 9 |
.oo-ui-searchWidget-query .oo-ui-inputWidget { |
| 10 |
max-width: none; |
| 11 |
} |
| 12 |
|
| 13 |
> .oo-ui-searchWidget-results { |
| 14 |
display: block; |
| 15 |
line-height: 1em; |
| 16 |
} |
| 17 |
|
| 18 |
&-noResults { |
| 19 |
font-style: italic; |
| 20 |
} |
| 21 |
|
| 22 |
&-recentUploads { |
| 23 |
margin: 0.5em 0 1em 0; |
| 24 |
font-weight: bold; |
| 25 |
} |
| 26 |
|
| 27 |
&-noResults, |
| 28 |
&-recentUploads { |
| 29 |
&.oo-ui-labelWidget { |
| 30 |
display: block; |
| 31 |
} |
| 32 |
} |
| 33 |
} |