add overflow-y scroll and clean up indents

remotes/origin/stable6
Jörn Friedrich Dreyer 12 years ago
parent 50101a85a6
commit 627fd8ba8d
  1. 43
      search/css/results.css

@ -2,13 +2,14 @@
This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */
#searchresults {
#searchresults {
background-color:#fff;
border-bottom-left-radius:1em;
box-shadow:0 0 10px #000;
list-style:none;
max-height:80%;
overflow:hidden;
overflow-x:hidden;
overflow-y: scroll;
padding-bottom:1em;
position:fixed;
right:0;
@ -16,53 +17,53 @@
top:3.5em;
width:26.5em;
z-index:75;
}
}
.ie8 #searchresults {
.ie8 #searchresults {
border: 1px solid #666 !important;
}
}
#searchresults li.resultHeader {
#searchresults li.resultHeader {
background-color:#eee;
border-bottom:solid 1px #CCC;
font-size:1.2em;
font-weight:700;
padding:.2em;
}
}
#searchresults li.result {
#searchresults li.result {
margin-left:2em;
}
}
#searchresults table {
#searchresults table {
border-spacing:0;
table-layout:fixed;
top:0;
width:100%;
}
}
#searchresults td {
#searchresults td {
vertical-align:top;
padding:0 .3em;
}
}
#searchresults td.result div.text {
#searchresults td.result div.text {
padding-left:1em;
white-space:nowrap;
}
}
#searchresults td.result * {
#searchresults td.result * {
cursor:pointer;
}
}
#searchresults td.type {
#searchresults td.type {
border-bottom:none;
border-right:1px solid #aaa;
font-weight:700;
text-align:right;
width:3.5em;
}
}
#searchresults tr.current {
#searchresults tr.current {
background-color:#ddd;
}
}
Loading…
Cancel
Save