results.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. .result_header {
  2. margin-top: 0px;
  3. margin-bottom: 2px;
  4. font-size: 16px;
  5. .favicon {
  6. margin-bottom:-3px;
  7. }
  8. a {
  9. color: @black;
  10. text-decoration: none;
  11. &:hover{
  12. color: @blue;
  13. }
  14. &:visited{
  15. color: @violet;
  16. }
  17. .highlight {
  18. background-color: @dim-gray;
  19. // Chrome hack: bold is different size than normal
  20. // https://stackoverflow.com/questions/20713988/weird-text-alignment-issue-in-css-when-bolded-lucida-sans
  21. }
  22. }
  23. }
  24. .result-content, .result-format, .result-source {
  25. margin-top: 2px;
  26. margin-bottom: 0;
  27. word-wrap: break-word;
  28. color: @dark-gray;
  29. font-size: 13px;
  30. .highlight {
  31. font-weight:bold;
  32. }
  33. }
  34. .result-source {
  35. font-size: 10px;
  36. float: left;
  37. }
  38. .result-format {
  39. font-size: 10px;
  40. float: right;
  41. }
  42. .result-abstract {
  43. margin-top: 0.5em;
  44. margin-bottom: 0.8em;
  45. }
  46. .external-link {
  47. color: @dark-green;
  48. font-size: 12px;
  49. margin-bottom: 15px;
  50. a {
  51. margin-right: 3px;
  52. }
  53. }
  54. // default formating of results
  55. .result-default, .result-code, .result-torrent, .result-videos, .result-map {
  56. clear: both;
  57. padding: 0.5em 4px;
  58. &:hover{
  59. background-color: @dim-gray;
  60. }
  61. }
  62. // image formating of results
  63. .result-images {
  64. float: left !important;
  65. width: 24%;
  66. margin: .5%;
  67. a {
  68. display: block;
  69. width: 100%;
  70. background-size: cover;
  71. }
  72. }
  73. .img-thumbnail {
  74. margin: 5px;
  75. max-height: 128px;
  76. min-height: 128px;
  77. }
  78. // video formating of results
  79. .result-videos {
  80. clear: both;
  81. hr{
  82. margin: 5px 0 15px 0;
  83. }
  84. .collapse{
  85. width: 100%;
  86. }
  87. .in{
  88. margin-bottom: 8px;
  89. }
  90. }
  91. // torrent formating of results
  92. .result-torrent {
  93. clear: both;
  94. b{
  95. margin-right: 5px;
  96. margin-left: 5px;
  97. }
  98. .seeders{
  99. color: @green;
  100. }
  101. .leechers{
  102. color: @red;
  103. }
  104. }
  105. .result-metadata {
  106. clear: both;
  107. margin: 1em;
  108. td {
  109. padding-right: 1em;
  110. color: @gray;
  111. }
  112. td:first-of-type {
  113. color: @dark-gray;
  114. }
  115. }
  116. // map formating of results
  117. .result-map {
  118. clear: both;
  119. }
  120. // code formating of results
  121. .result-code {
  122. clear: both;
  123. .code-fork, .code-fork a{
  124. color: @dark-gray;
  125. }
  126. }
  127. // suggestion
  128. .suggestion_item {
  129. margin: 2px 5px;
  130. max-width: 100%;
  131. .btn {
  132. max-width: 100%;
  133. white-space: normal;
  134. word-wrap: break-word;
  135. text-align: left;
  136. }
  137. }
  138. // download result
  139. .result_download {
  140. margin-right: 5px;
  141. }
  142. // page forward, backward
  143. #pagination {
  144. margin-top: 30px;
  145. padding-bottom: 60px;
  146. }
  147. .label-default {
  148. color: @dark-gray;
  149. background: transparent;
  150. }
  151. .result .text-muted small {
  152. word-wrap: break-word;
  153. }
  154. .modal-wrapper {
  155. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  156. }
  157. .modal-wrapper {
  158. background-clip: padding-box;
  159. background-color: #fff;
  160. border: 1px solid rgba(0, 0, 0, 0.2);
  161. border-radius: 6px;
  162. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  163. outline: 0 none;
  164. position: relative;
  165. }
  166. @media screen and (max-width: 75em) {
  167. .img-thumbnail {
  168. object-fit: cover;
  169. }
  170. }