X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.special.search.styles.css;h=dcb51fa34bc1fa813f0f0fc6b56aa3885a534ca0;hb=8c2eb40f59e3514fcecb7c4e4a5cf79c4eae8ba8;hp=59a15a97b804a78dbc2f9fea53d6b65b2b9102de;hpb=a479750da672066b4189b115d1141a23d8c5cae3;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.special.search.styles.css b/resources/src/mediawiki.special.search.styles.css index 59a15a97b8..dcb51fa34b 100644 --- a/resources/src/mediawiki.special.search.styles.css +++ b/resources/src/mediawiki.special.search.styles.css @@ -1,5 +1,7 @@ /* Special:Search */ +/* stylelint-disable selector-class-pattern */ + /* * Fixes sister projects box moving down the extract * of the first result (T18886). @@ -14,9 +16,11 @@ .searchresult { display: inline !ie; } + .searchresults { margin: 1em 0 1em 0.4em; } + /* needs extra specificity to override `.mw-body p` selector */ .mw-body .mw-search-nonefound { margin: 0; @@ -35,49 +39,60 @@ .mw-search-visualclear { clear: both; } + .mw-search-results li { padding-bottom: 1.2em; list-style: none; list-style-image: none; } + .mw-search-results li a { font-size: 108%; } + .mw-search-result-data { color: #008000; font-size: 97%; } + .mw-search-profile-tabs { background-color: #f8f9fa; margin-top: 1em; border: 1px solid #c8ccd1; border-radius: 2px; } + .search-types { float: left; padding-left: 0.25em; } + .search-types ul { margin: 0; padding: 0; list-style: none; } + .search-types li { float: left; margin: 0; padding: 0; } + .search-types a { display: block; padding: 0.5em; } + .search-types .current a { color: #222; cursor: default; } + .search-types .current a:hover { text-decoration: none; } + .results-info { float: right; padding: 0.5em; @@ -85,13 +100,14 @@ color: #54595d; font-size: 95%; } + #mw-search-top-table div.oo-ui-actionFieldLayout { float: left; width: 100%; } /* Advanced options menu */ -/*==========================*/ +/* ===================== */ #mw-searchoptions { /* Support: Firefox, needs `clear: both` on `fieldset` when zoom level > 100%, see T176499 */ @@ -102,29 +118,35 @@ border: 1px solid #c8ccd1; border-radius: 0 0 2px 2px; } + #mw-searchoptions legend { display: none; } + #mw-searchoptions h4 { padding: 0; margin: 0; float: left; } + #mw-searchoptions table { float: left; margin-right: 3em; border-collapse: collapse; } + #mw-searchoptions table td { padding: 0 1em 0 0; white-space: nowrap; } + #mw-searchoptions .divider { clear: both; border-bottom: 1px solid #eaecf0; padding-top: 0.5em; margin-bottom: 0.5em; } + #mw-search-menu { padding-left: 6em; font-size: 85%; @@ -141,15 +163,18 @@ #mw-search-interwiki li { font-size: 95%; } + .mw-search-interwiki-more { float: right; font-size: 90%; } + #mw-search-interwiki-caption { text-align: center; font-weight: bold; font-size: 95%; } + .mw-search-interwiki-project { font-size: 97%; text-align: left; @@ -164,3 +189,19 @@ /* Note that this color won't affect the link, as desired. */ color: #d33; } + +#mw-search-togglebox { + float: right; +} + +#mw-search-togglebox label { + margin-right: 0.25em; +} + +#mw-search-togglebox input { + margin-left: 0.25em; +} + +.client-nojs #mw-search-togglebox { + display: none; +}