results.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. .external-link {
  43. color: @dark-green;
  44. font-size: 12px;
  45. margin-bottom: 15px;
  46. a {
  47. margin-right: 3px;
  48. }
  49. }
  50. // default formating of results
  51. .result-default, .result-code, .result-torrent, .result-videos, .result-map {
  52. clear: both;
  53. padding: 1em 4px;
  54. &:hover{
  55. background-color: @dim-gray;
  56. }
  57. }
  58. // image formating of results
  59. .result-images {
  60. float: left !important;
  61. width: 24%;
  62. margin: .5%;
  63. a {
  64. display: block;
  65. width: 100%;
  66. background-size: cover;
  67. }
  68. }
  69. .img-thumbnail {
  70. margin: 5px;
  71. max-height: 128px;
  72. min-height: 128px;
  73. }
  74. // video formating of results
  75. .result-videos {
  76. clear: both;
  77. hr{
  78. margin: 5px 0 15px 0;
  79. }
  80. .collapse{
  81. width: 100%;
  82. }
  83. .in{
  84. margin-bottom: 8px;
  85. }
  86. }
  87. // torrent formating of results
  88. .result-torrent {
  89. clear: both;
  90. b{
  91. margin-right: 5px;
  92. margin-left: 5px;
  93. }
  94. .seeders{
  95. color: @green;
  96. }
  97. .leechers{
  98. color: @red;
  99. }
  100. }
  101. // map formating of results
  102. .result-map {
  103. clear: both;
  104. }
  105. // code formating of results
  106. .result-code {
  107. clear: both;
  108. .code-fork, .code-fork a{
  109. color: @dark-gray;
  110. }
  111. }
  112. // suggestion
  113. .suggestion_item {
  114. margin: 2px 5px;
  115. max-width: 100%;
  116. .btn {
  117. max-width: 100%;
  118. white-space: normal;
  119. word-wrap: break-word;
  120. text-align: left;
  121. }
  122. }
  123. // download result
  124. .result_download {
  125. margin-right: 5px;
  126. }
  127. // page forward, backward
  128. #pagination {
  129. margin-top: 30px;
  130. padding-bottom: 60px;
  131. }
  132. .label-default {
  133. color: @gray;
  134. background: transparent;
  135. }
  136. .result .text-muted small {
  137. word-wrap: break-word;
  138. }
  139. .modal-wrapper {
  140. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  141. }
  142. .modal-wrapper {
  143. background-clip: padding-box;
  144. background-color: #fff;
  145. border: 1px solid rgba(0, 0, 0, 0.2);
  146. border-radius: 6px;
  147. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  148. outline: 0 none;
  149. position: relative;
  150. }