threadslists.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. //
  2. // Threads lists
  3. // --------------------------------------------------
  4. .threads-list {
  5. .table-panel {
  6. border: none;
  7. .list-group {
  8. margin: 0px;
  9. .list-group-item {
  10. padding-top: @padding-base-vertical + 1px;
  11. padding-bottom: @padding-base-vertical + 1px;
  12. &.active {
  13. background-color: @table-row-highlight;
  14. }
  15. // Thread icon
  16. //
  17. //==
  18. .thread-icon {
  19. display: block;
  20. float: left;
  21. position: relative;
  22. right: 5px;
  23. top: 6px;
  24. color: @state-default;
  25. }
  26. &.new {
  27. .thread-icon {
  28. color: @state-active;
  29. }
  30. }
  31. // Thread title
  32. //
  33. //==
  34. .thread-title {
  35. display: block;
  36. margin-left: @font-size-large * 1.5;
  37. font-size: @font-size-large;
  38. .opacity(0.7);
  39. }
  40. &.new {
  41. .thread-title {
  42. .opacity(1);
  43. }
  44. }
  45. // Thread last reply
  46. //
  47. //==
  48. .thread-stats {
  49. &>* {
  50. float: right;
  51. }
  52. .thread-flags {
  53. margin-right: @font-size-large;
  54. position: relative;
  55. top: 2px;
  56. &>li {
  57. float: left;
  58. overflow: visible;
  59. button {
  60. background: none;
  61. border: none;
  62. margin: 0px;
  63. padding: 0px;
  64. color: @text-color;
  65. }
  66. .label {
  67. border-radius: @border-radius-small;
  68. margin-left: @line-height-computed / 3;
  69. font-weight: normal;
  70. }
  71. .fa, .glyphicon {
  72. .opacity(0.5);
  73. transition-duration: 0.5s;
  74. &:hover, &:focus {
  75. .opacity(0.9);
  76. transition-duration: 0.05s;
  77. }
  78. }
  79. }
  80. }
  81. .thread-replies {
  82. display: inline-block;
  83. margin: 0px;
  84. margin-right: @font-size-large;
  85. margin-top: -2px;
  86. .opacity(0.6);
  87. transition-duration: 0.5s;
  88. width: @font-size-large * 4.5;
  89. font-size: @font-size-large;
  90. a {
  91. color: @text-color;
  92. }
  93. .label {
  94. display: inline;
  95. padding-left: 4px;
  96. color: #fff;
  97. font-size: @font-size-base;
  98. font-weight: normal !important;
  99. }
  100. &.new-replies {
  101. .opacity(1);
  102. }
  103. &.thread-read {
  104. padding-top: 2px;
  105. }
  106. }
  107. .thread-location {
  108. display: inline-block;
  109. margin-right: @font-size-large * 1.5;
  110. overflow: hidden;
  111. position: relative;
  112. top: 5px;
  113. width: @font-size-large * 4.5;
  114. font-size: @font-size-small;
  115. text-overflow: ellipsis;
  116. white-space: nowrap;
  117. span {
  118. position: relative;
  119. bottom: 2px;
  120. color: @state-default;
  121. font-size: @font-size-base * 0.75;
  122. }
  123. a:link, a:visited {
  124. color: @state-default;
  125. }
  126. a:hover, a:focus {
  127. color: @state-hover;
  128. }
  129. a:active {
  130. color: @state-clicked;
  131. }
  132. }
  133. .thread-author {
  134. margin-right: @font-size-large / 2;
  135. img {
  136. border-radius: @border-radius-small;
  137. width: 25px;
  138. margin: -3px 0px;
  139. position: relative;
  140. top: 1px;
  141. }
  142. &:hover {
  143. text-decoration: none;
  144. }
  145. }
  146. a.last-post {
  147. display: block;
  148. width: 64px;
  149. position: relative;
  150. top: 3px;
  151. color: @state-default;
  152. &:hover {
  153. color: @state-hover;
  154. }
  155. &:active {
  156. color: @state-clicked;
  157. }
  158. }
  159. .thread-check {
  160. margin: 0px;
  161. color: @text-muted;
  162. font-size: 25px;
  163. text-decoration: none;
  164. line-height: 24px;
  165. cursor: pointer;
  166. &.active {
  167. color: @brand-success;
  168. }
  169. input {
  170. position: absolute;
  171. top: -9999px;
  172. left: -9999px;
  173. }
  174. }
  175. }
  176. // Empty list message
  177. //
  178. //==
  179. &.message-row {
  180. padding-top: @line-height-computed;
  181. padding-bottom: @line-height-computed;
  182. font-size: @font-size-large;
  183. }
  184. }
  185. }
  186. }
  187. }