results.css 1.2 KB

1234567891011121314
  1. /* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
  2. This file is licensed under the Affero General Public License version 3 or later.
  3. See the COPYING-README file. */
  4. #searchresults { list-style:none; position:fixed; top:3.5em; right:0; z-index:75; background-color:#fff; overflow:hidden; text-overflow:ellipsis; max-height:80%; width:26.5em; padding-bottom:1em; -moz-box-shadow:0 0 10px #000; -webkit-box-shadow:0 0 10px #000; box-shadow:0 0 10px #000; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; }
  5. #searchresults li.resultHeader { font-size:1.2em; font-weight:bold; border-bottom:solid 1px #CCC; padding:.2em; background-color:#eee; }
  6. #searchresults li.result { margin-left:2em; }
  7. #searchresults table { width:100%; table-layout:fixed; top:0; border-spacing:0; }
  8. #searchresults td { padding:0 .3em; vertical-align:top; }
  9. #searchresults td.result div.text { padding-left:1em; white-space:nowrap; }
  10. #searchresults td.result * { cursor:pointer; }
  11. #searchresults td.type { width:3.5em; text-align:right; border-right:1px solid #aaa; border-bottom:none; font-weight:bold; }
  12. #searchresults tr.current { background-color:#ddd; }