results.css 1.8 KB

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