From 627fd8ba8dc9c7711a6015207d4e8beaaa5529fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 31 Jul 2013 16:52:53 +0200 Subject: [PATCH] add overflow-y scroll and clean up indents --- search/css/results.css | 113 +++++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 56 deletions(-) diff --git a/search/css/results.css b/search/css/results.css index 2f092f3789c..0e1db12e903 100644 --- a/search/css/results.css +++ b/search/css/results.css @@ -2,67 +2,68 @@ This file is licensed under the Affero General Public License version 3 or later. See the COPYING-README file. */ - #searchresults { - background-color:#fff; - border-bottom-left-radius:1em; - box-shadow:0 0 10px #000; - list-style:none; - max-height:80%; - overflow:hidden; - padding-bottom:1em; - position:fixed; - right:0; - text-overflow:ellipsis; - top:3.5em; - width:26.5em; - z-index:75; - } - - .ie8 #searchresults { - border: 1px solid #666 !important; - } +#searchresults { + background-color:#fff; + border-bottom-left-radius:1em; + box-shadow:0 0 10px #000; + list-style:none; + max-height:80%; + overflow-x:hidden; + overflow-y: scroll; + padding-bottom:1em; + position:fixed; + right:0; + text-overflow:ellipsis; + top:3.5em; + width:26.5em; + z-index:75; +} - #searchresults li.resultHeader { - background-color:#eee; - border-bottom:solid 1px #CCC; - font-size:1.2em; - font-weight:700; - padding:.2em; - } +.ie8 #searchresults { + border: 1px solid #666 !important; +} - #searchresults li.result { - margin-left:2em; - } +#searchresults li.resultHeader { + background-color:#eee; + border-bottom:solid 1px #CCC; + font-size:1.2em; + font-weight:700; + padding:.2em; +} - #searchresults table { - border-spacing:0; - table-layout:fixed; - top:0; - width:100%; - } +#searchresults li.result { + margin-left:2em; +} - #searchresults td { - vertical-align:top; - padding:0 .3em; - } +#searchresults table { + border-spacing:0; + table-layout:fixed; + top:0; + width:100%; +} - #searchresults td.result div.text { - padding-left:1em; - white-space:nowrap; - } +#searchresults td { + vertical-align:top; + padding:0 .3em; +} - #searchresults td.result * { - cursor:pointer; - } +#searchresults td.result div.text { + padding-left:1em; + white-space:nowrap; +} - #searchresults td.type { - border-bottom:none; - border-right:1px solid #aaa; - font-weight:700; - text-align:right; - width:3.5em; - } +#searchresults td.result * { + cursor:pointer; +} - #searchresults tr.current { - background-color:#ddd; - } \ No newline at end of file +#searchresults td.type { + border-bottom:none; + border-right:1px solid #aaa; + font-weight:700; + text-align:right; + width:3.5em; +} + +#searchresults tr.current { + background-color:#ddd; +} \ No newline at end of file -- 2.39.5