results.css 1.2 KB

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