results.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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:45px;
  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. padding:0 .3em;
  41. height: 32px;
  42. }
  43. #searchresults tr.template {
  44. display: none;
  45. }
  46. #searchresults td.result {
  47. width:250px;
  48. }
  49. #searchresults td.result div.text {
  50. padding-left:1em;
  51. white-space:nowrap;
  52. }
  53. #searchresults td.result * {
  54. cursor:pointer;
  55. }
  56. #searchresults td.container {
  57. width:20px;
  58. }
  59. #searchresults td.container img {
  60. vertical-align: middle;
  61. display:none;
  62. }
  63. #searchresults tr:hover td.container img {
  64. display:inline;
  65. }
  66. #searchresults td.type {
  67. border-bottom:none;
  68. border-right:1px solid #aaa;
  69. font-weight:700;
  70. text-align:right;
  71. width:3.5em;
  72. }
  73. #searchresults tr.current {
  74. background-color:#ddd;
  75. }