users-lists.less 3.5 KB

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