results.less 2.7 KB

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