X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.special%2Fmediawiki.special.search.css;h=8d648a69c3a6ee104a8184e8f4848377e8f09b4e;hb=2158c7f901ae6373a45bbbc27d981eba390f4418;hp=ef9550779b80ac7a6388e8f6815e180cfae4589e;hpb=4f30e4062bc9cee7ee0854487efac9f884c569bd;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.special/mediawiki.special.search.css b/resources/src/mediawiki.special/mediawiki.special.search.css index ef9550779b..1e99361121 100644 --- a/resources/src/mediawiki.special/mediawiki.special.search.css +++ b/resources/src/mediawiki.special/mediawiki.special.search.css @@ -15,18 +15,25 @@ display: inline !ie; } .searchresults { + margin: 1em 0 1em .4em; } -.searchresults p { - margin-left: 0.4em; - margin-top: 1em; - margin-bottom: 1.2em; +/* needs extra specificity to override `.mw-body p` selector */ +.mw-body p.mw-search-nonefound { + margin: 0; +} +.mw-search-interwiki-header { + font-weight: bold; +} +.mw-search-nonefound + .mw-search-interwiki-header { + margin-top: 0; } div.searchresult { font-size: 95%; width: 38em; } .mw-search-results { - margin-left: 0.4em; + margin-left: 0; + float: left; } .mw-search-results li { padding-bottom: 1.2em; @@ -37,37 +44,37 @@ div.searchresult { font-size: 108%; } .mw-search-result-data { - color: green; + color: #0f0; font-size: 97%; } -.mw-search-formheader { +.mw-search-profile-tabs { background-color: #f3f3f3; margin-top: 1em; - border: 1px solid silver; + border: 1px solid #c0c0c0; } -.mw-search-formheader div.search-types { +.mw-search-profile-tabs div.search-types { float: left; padding-left: 0.25em; } -.mw-search-formheader div.search-types ul { - margin: 0 !important; - padding: 0 !important; - list-style: none !important; +.mw-search-profile-tabs div.search-types ul { + margin: 0; + padding: 0; + list-style: none; } -.mw-search-formheader div.search-types ul li { +.mw-search-profile-tabs div.search-types ul li { float: left; margin: 0; padding: 0; } -.mw-search-formheader div.search-types ul li a { +.mw-search-profile-tabs div.search-types ul li a { display: block; padding: 0.5em; } -.mw-search-formheader div.search-types ul li.current a { - color: #333333; +.mw-search-profile-tabs div.search-types ul li.current a { + color: #333; cursor: default; } -.mw-search-formheader div.search-types ul li.current a:hover { +.mw-search-profile-tabs div.search-types ul li.current a:hover { text-decoration: none; } #mw-search-top-table div.results-info { @@ -80,11 +87,11 @@ div.searchresult { fieldset#mw-searchoptions { margin: 0; - padding: 0.5em 0.75em 0.75em 0.75em !important; + padding: 0.5em 0.75em 0.75em 0.75em; border: none; background-color: #f9f9f9; - border: 1px solid silver !important; - border-top-width: 0 !important; + border: 1px solid #c0c0c0; + border-top-width: 0; } fieldset#mw-searchoptions legend { display: none; @@ -106,25 +113,26 @@ fieldset#mw-searchoptions div#mw-search-togglebox input { fieldset#mw-searchoptions table { float: left; margin-right: 3em; + border-collapse: collapse; } fieldset#mw-searchoptions table td { - padding-right: 1em; + padding: 0 1em 0 0; white-space: nowrap; } fieldset#mw-searchoptions div.divider { clear: both; - border-bottom: 1px solid #DDDDDD; + border-bottom: 1px solid #ddd; padding-top: 0.5em; margin-bottom: 0.5em; } td#mw-search-menu { - padding-left:6em; - font-size:85%; + padding-left: 6em; + font-size: 85%; } div#mw-search-interwiki { float: right; width: 18em; - border: 1px solid #AAAAAA; + border: 1px solid #aaa; margin-top: 2ex; } div#mw-search-interwiki li { @@ -144,7 +152,7 @@ div#mw-search-interwiki-caption { text-align: left; padding: 0.15em 0.15em 0.2em 0.2em; background-color: #ececec; - border-top: 1px solid #BBBBBB; + border-top: 1px solid #bbb; } span.searchalttitle { font-size: 95%;