threadslists.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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: 5px;
  24. color: @state-default;
  25. }
  26. &.new {
  27. .thread-icon {
  28. color: @state-active;
  29. }
  30. }
  31. // Thread title
  32. //
  33. //==
  34. .item-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. .item-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. .label {
  60. border-radius: @border-radius-small;
  61. margin-left: @line-height-computed / 3;
  62. font-weight: normal;
  63. }
  64. .fa, .glyphicon {
  65. .opacity(0.5);
  66. transition-duration: 0.5s;
  67. &:hover, &:focus {
  68. .opacity(0.9);
  69. transition-duration: 0.05s;
  70. }
  71. }
  72. }
  73. }
  74. .thread-replies {
  75. display: inline-block;
  76. margin: 0px;
  77. margin-right: @font-size-large;
  78. margin-top: -2px;
  79. .opacity(0.6);
  80. transition-duration: 0.5s;
  81. width: @font-size-large * 4.5;
  82. font-size: @font-size-large;
  83. .label {
  84. display: inline;
  85. padding-left: 4px;
  86. font-size: @font-size-base;
  87. font-weight: normal !important;
  88. }
  89. &.new-replies {
  90. .opacity(1);
  91. }
  92. &.thread-read {
  93. padding-top: 2px;
  94. }
  95. }
  96. .thread-author {
  97. margin-right: @font-size-large / 2;
  98. img {
  99. border-radius: @border-radius-small;
  100. width: 25px;
  101. margin: -3px 0px;
  102. position: relative;
  103. top: 1px;
  104. }
  105. &:hover {
  106. text-decoration: none;
  107. }
  108. }
  109. a.last-post {
  110. display: block;
  111. width: 64px;
  112. position: relative;
  113. top: 3px;
  114. color: @state-default;
  115. &:hover {
  116. color: @state-hover;
  117. }
  118. &:active {
  119. color: @state-clicked;
  120. }
  121. }
  122. .thread-check {
  123. margin: 0px;
  124. color: @text-muted;
  125. font-size: 25px;
  126. text-decoration: none;
  127. line-height: 24px;
  128. cursor: pointer;
  129. &.active {
  130. color: @brand-success;
  131. }
  132. input {
  133. position: absolute;
  134. top: -9999px;
  135. left: -9999px;
  136. }
  137. }
  138. }
  139. // Empty list message
  140. //
  141. //==
  142. &.message-row {
  143. padding-top: @line-height-computed;
  144. padding-bottom: @line-height-computed;
  145. font-size: @font-size-large;
  146. }
  147. }
  148. }
  149. }
  150. }