users-lists.less 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. //
  2. // Users Lists
  3. // --------------------------------------------------
  4. // Active posters list
  5. .active-posters {
  6. li {
  7. display: block;
  8. overflow: auto;
  9. }
  10. .rank-user {
  11. .rank-name, .user-title {
  12. font-size: @font-size-small;
  13. }
  14. .status-icon {
  15. width: 18px;
  16. height: 18px;
  17. margin-right: 2px;
  18. font-size: 18px;
  19. line-height: 18px;
  20. }
  21. }
  22. .rank-position, .rank-posts-total, .rank-posts-counted {
  23. small {
  24. color: @text-muted;
  25. }
  26. }
  27. }
  28. // Compact displays
  29. @media screen and (max-width: @screen-sm-max) {
  30. .active-posters {
  31. .rank-user-avatar {
  32. float: left;
  33. img {
  34. width: 36px;
  35. height: 36px;
  36. position: relative;
  37. top: 3px;
  38. }
  39. }
  40. .rank-user {
  41. float: left;
  42. margin-left: @line-height-computed * .66;
  43. width: 40%;
  44. .item-title {
  45. margin-top: 4px;
  46. font-size: @font-size-base;
  47. }
  48. .user-status {
  49. margin-right: 4px;
  50. .status-icon {
  51. position: relative;
  52. top: -1px;
  53. &.ui-preview {
  54. position: relative;
  55. top: 1px;
  56. }
  57. }
  58. }
  59. }
  60. .rank-position, .rank-posts-total, .rank-posts-counted {
  61. float: right;
  62. width: 40%;
  63. position: relative;
  64. bottom: 2px;
  65. line-height: @font-size-base;
  66. strong, small {
  67. display: inline-block;
  68. font-size: @font-size-base * .66;
  69. line-height: @font-size-base * .66;
  70. }
  71. strong {
  72. width: 34px;
  73. padding-right: 4px;
  74. text-align: right;
  75. font-weight: normal;
  76. }
  77. }
  78. }
  79. .active-posters.ui-preview {
  80. .rank-user .rank-name {
  81. position: relative;
  82. bottom: 1px;
  83. .ui-preview-text {
  84. height: @font-size-small;
  85. }
  86. }
  87. .rank-position, .rank-posts-total, .rank-posts-counted {
  88. strong {
  89. position: relative;
  90. bottom: 3px;
  91. .ui-preview-text {
  92. height: @font-size-base * .66;
  93. }
  94. }
  95. }
  96. }
  97. }
  98. // Full displays
  99. @media screen and (min-width: @screen-md-min) {
  100. .active-posters.ui-preview {
  101. .rank-user {
  102. .user-status {
  103. .status-icon {
  104. position: relative;
  105. top: 2px;
  106. }
  107. }
  108. }
  109. }
  110. .active-posters {
  111. li>* {
  112. float: left;
  113. padding-top: 4px;
  114. }
  115. .rank-user-avatar {
  116. padding-top: 0px;
  117. }
  118. .rank-user {
  119. padding-top: 0px;
  120. padding-left: @line-height-computed * .8;
  121. width: 25%;
  122. .item-title {
  123. margin-top: 2px;
  124. font-size: @font-size-large;
  125. }
  126. .user-status {
  127. margin-right: @line-height-computed * .6;
  128. .status-icon {
  129. position: relative;
  130. top: -1px;
  131. &.ui-preview {
  132. top: 2px;
  133. }
  134. }
  135. .status-label {
  136. font-size: @font-size-small;
  137. line-height: @font-size-small;
  138. }
  139. }
  140. .rank-name {
  141. margin-right: @line-height-computed * .6;
  142. }
  143. }
  144. .rank-position {
  145. width: 23%;
  146. }
  147. .rank-posts-total {
  148. width: 23%;
  149. }
  150. .rank-posts-counted {
  151. width: 23%;
  152. }
  153. .rank-position, .rank-posts-total, .rank-posts-counted {
  154. font-size: @font-size-large;
  155. font-weight: bold;
  156. text-align: center;
  157. strong {
  158. display: block;
  159. }
  160. small {
  161. display: block;
  162. font-size: @font-size-small;
  163. font-weight: normal;
  164. }
  165. }
  166. }
  167. }