results.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 {
  5. background-color:#fff;
  6. border-bottom-left-radius:1em;
  7. box-shadow:0 0 10px #000;
  8. list-style:none;
  9. max-height:80%;
  10. overflow:hidden;
  11. padding-bottom:1em;
  12. position:fixed;
  13. right:0;
  14. text-overflow:ellipsis;
  15. top:3.5em;
  16. width:26.5em;
  17. z-index:75;
  18. }
  19. #searchresults li.resultHeader {
  20. background-color:#eee;
  21. border-bottom:solid 1px #CCC;
  22. font-size:1.2em;
  23. font-weight:700;
  24. padding:.2em;
  25. }
  26. #searchresults li.result {
  27. margin-left:2em;
  28. }
  29. #searchresults table {
  30. border-spacing:0;
  31. table-layout:fixed;
  32. top:0;
  33. width:100%;
  34. }
  35. #searchresults td {
  36. vertical-align:top;
  37. padding:0 .3em;
  38. }
  39. #searchresults td.result div.text {
  40. padding-left:1em;
  41. white-space:nowrap;
  42. }
  43. #searchresults td.result * {
  44. cursor:pointer;
  45. }
  46. #searchresults td.type {
  47. border-bottom:none;
  48. border-right:1px solid #aaa;
  49. font-weight:700;
  50. text-align:right;
  51. width:3.5em;
  52. }
  53. #searchresults tr.current {
  54. background-color:#ddd;
  55. }