active-posters.less 3.1 KB

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