results.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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: auto;
  12. padding-bottom:6px;
  13. position:fixed;
  14. right:0;
  15. text-overflow:ellipsis;
  16. top:45px;
  17. width:380px;
  18. max-width: 95%;
  19. z-index:75;
  20. }
  21. .ie8 #searchresults {
  22. border: 1px solid #666 !important;
  23. }
  24. #searchresults li.resultHeader {
  25. background-color:#eee;
  26. border-bottom:solid 1px #CCC;
  27. font-size:1.2em;
  28. font-weight:700;
  29. padding:.2em;
  30. }
  31. #searchresults li.result {
  32. margin-left:2em;
  33. }
  34. #searchresults table {
  35. border-spacing:0;
  36. table-layout:fixed;
  37. top:0;
  38. width:100%;
  39. }
  40. #searchresults td {
  41. padding:0 .3em;
  42. height: 44px;
  43. }
  44. #searchresults tr.template {
  45. display: none;
  46. }
  47. #searchresults .name,
  48. #searchresults .text {
  49. white-space: nowrap;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. }
  53. #searchresults .text {
  54. padding-left: 16px;
  55. color: #999;
  56. }
  57. #searchresults td.result * {
  58. cursor:pointer;
  59. }
  60. #searchresults td.container {
  61. width:20px;
  62. }
  63. #searchresults td.container img {
  64. vertical-align: middle;
  65. display:none;
  66. }
  67. #searchresults tr:hover td.container img {
  68. display:inline;
  69. }
  70. #searchresults td.type {
  71. border-bottom:none;
  72. border-right:1px solid #aaa;
  73. font-weight:700;
  74. text-align:right;
  75. width:3.5em;
  76. }
  77. #searchresults tr.current {
  78. background-color:#ddd;
  79. }