2 @import 'mediawiki.skin.variables.less';
3 @import 'mediawiki.mixins.less';
5 /* stylelint-disable selector-class-pattern */
13 .mw-search-createlink,
19 // If more than one message is present at the same time, add a bit of margin in between
20 .searchdidyoumean + .searchresults .mw-search-createlink,
21 .mw-search-nonefound + .mw-search-createlink {
25 // Default top margin for the search result
31 /* needs extra specificity to override `.mw-body p` selector */
32 .mw-body .mw-search-nonefound {
40 .mw-search-form-wrapper {
57 .mw-search-results-container,
58 .mw-search-results-info {
62 @media only screen and ( min-width: @min-width-breakpoint-tablet ) {
63 .mw-search-results-container,
64 .mw-search-results-info {
65 width: ~'calc( 100% / 12 * 7 )';
72 .searchResultImage-thumbnail {
84 .searchResultImage-thumbnail-placeholder {
85 background-color: @background-color-neutral-subtle;
86 box-sizing: border-box;
89 border: @border-subtle;
90 fill: @color-placeholder;
92 justify-content: center;
98 /* Note: below !important required to override an unrelated !important in minerva skin */
99 /* stylelint-disable-next-line declaration-no-important */
100 height: 100% !important;
102 object-position: top;
103 border: @border-subtle;
107 .searchResultImage-text {
112 /* Don't show thumbnails for interwiki results */
113 .mw-search-interwiki-results .searchResultImage-thumbnail {
117 .mw-search-visualclear {
121 .mw-search-result-data {
122 color: @color-subtle;
126 .mw-search-profile-tabs {
127 background-color: @background-color-neutral-subtle;
129 border: @border-subtle;
130 border-radius: @border-radius-base;
131 // ooui's @max-width-base
137 padding-left: 0.25em;
161 text-decoration: none;
169 padding-right: 0.75em;
170 color: @color-subtle;
174 #mw-search-top-table div.oo-ui-actionFieldLayout {
179 /* Advanced options menu */
180 /* ===================== */
183 background-color: @background-color-neutral-subtle;
184 /* Support: Firefox, needs `clear: both` on `fieldset` when zoom level > 100%, see T176499 */
186 padding: 0.5em 0.75em 0.75em 0.75em;
188 border: @border-subtle;
189 border-radius: 0 0 @border-radius-base @border-radius-base;
203 border-bottom: @border-subtle;
205 margin-bottom: 0.5em;
212 .column-break-inside-avoid;
213 /* padding because margin triggers a Safari bug on columns, see T377900 */
214 padding-bottom: 1.5em;
224 #mw-search-interwiki {
227 border: @border-base;
232 #mw-search-interwiki li {
236 .mw-search-interwiki-more {
241 #mw-search-interwiki-caption {
247 .mw-search-interwiki-project {
248 background-color: @background-color-neutral;
251 padding: 0.15em 0.15em 0.2em 0.2em;
252 border-top: @border-subtle;
255 .mw-search-interwiki-header {
257 border-bottom: @border-base;
263 margin-bottom: 0.8em;
270 #mw-search-togglebox {
274 margin-right: 0.25em;
282 .client-nojs #mw-search-togglebox {