diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-07-31 18:52:53 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-07-31 19:07:08 +0400 |
commit | 627fd8ba8dc9c7711a6015207d4e8beaaa5529fd (patch) | |
tree | 602d82c71d5b233934f29807549802435404da31 /search | |
parent | 50101a85a63f29c47abe325aecb3af26bc8a96d1 (diff) |
add overflow-y scroll and clean up indents
Diffstat (limited to 'search')
-rw-r--r-- | search/css/results.css | 113 |
1 files 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 |