results.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. overflow-x: hidden;
  7. text-overflow: ellipsis;
  8. padding-top: 65px;
  9. box-sizing: border-box;
  10. z-index: 75;
  11. /* account for margin-bottom in files list */
  12. margin-top: -250px;
  13. }
  14. #searchresults.filter-empty {
  15. /* remove whitespace on bottom when no search results, to fix layout */
  16. margin-top: 0 !important;
  17. }
  18. #searchresults.hidden {
  19. display: none;
  20. }
  21. #searchresults * {
  22. box-sizing: content-box;
  23. }
  24. #searchresults .status {
  25. background-color: rgba(255, 255, 255, .85);
  26. height: 12px;
  27. padding: 28px 0 28px 56px;
  28. font-size: 18px;
  29. }
  30. .has-favorites:not(.hidden) ~ #searchresults .status {
  31. padding-left: 102px;
  32. }
  33. #searchresults .status.fixed {
  34. position: fixed;
  35. bottom: 0;
  36. width: 100%;
  37. z-index: 10;
  38. }
  39. #searchresults .status .spinner {
  40. height: 16px;
  41. width: 16px;
  42. vertical-align: middle;
  43. margin-left: 10px;
  44. }
  45. #searchresults table {
  46. border-spacing:0;
  47. table-layout:fixed;
  48. top:0;
  49. width:100%;
  50. }
  51. #searchresults td {
  52. padding: 5px 19px;
  53. font-style: normal;
  54. vertical-align: middle;
  55. border-bottom: none;
  56. }
  57. #searchresults td.icon {
  58. text-align: right;
  59. width: 40px;
  60. height: 40px;
  61. padding: 5px 0;
  62. background-position: right center;
  63. background-repeat: no-repeat;
  64. }
  65. .has-favorites:not(.hidden) ~ #searchresults td.icon {
  66. width: 86px;
  67. }
  68. #searchresults tr.template {
  69. display: none;
  70. }
  71. #searchresults .name,
  72. #searchresults .text,
  73. #searchresults .path {
  74. white-space: nowrap;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. }
  78. #searchresults .text {
  79. white-space: normal;
  80. color: #545454;
  81. }
  82. #searchresults .path {
  83. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  84. filter: alpha(opacity=50);
  85. opacity: .5;
  86. }
  87. #searchresults .text em {
  88. color: #545454;
  89. font-weight: bold;
  90. opacity: 1;
  91. }
  92. #searchresults tr.result * {
  93. cursor:pointer;
  94. }
  95. #searchresults tr.current {
  96. background-color:#ddd;
  97. }