users-lists.less 3.0 KB

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