users-lists.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. font-size: 18px;
  18. line-height: 18px;
  19. }
  20. }
  21. }
  22. // Compact displays
  23. @media screen and (max-width: @screen-sm-max) {
  24. .active-posters {
  25. .rank-user-avatar {
  26. float: left;
  27. }
  28. .rank-user {
  29. float: left;
  30. margin-left: @line-height-computed * .8;
  31. width: 40%;
  32. .item-title {
  33. margin-top: 4px;
  34. font-size: @font-size-large;
  35. }
  36. .user-status {
  37. margin-right: 4px;
  38. .status-icon {
  39. position: relative;
  40. top: 1px;
  41. }
  42. }
  43. }
  44. .rank-position, .rank-posts-total, .rank-posts-counted {
  45. font-size: @font-size-small;
  46. div {
  47. display: inline-block;
  48. }
  49. .stat-value {
  50. width: 34px;
  51. padding-right: 4px;
  52. text-align: right;
  53. }
  54. }
  55. }
  56. }
  57. // Full displays
  58. @media screen and (min-width: @screen-md-min) {
  59. .active-posters {
  60. li>* {
  61. float: left;
  62. padding-top: 4px;
  63. }
  64. .rank-user-avatar {
  65. padding-top: 0px;
  66. }
  67. .rank-user {
  68. padding-top: 0px;
  69. padding-left: @line-height-computed * .8;
  70. width: 25%;
  71. .item-title {
  72. margin-top: 2px;
  73. font-size: @font-size-large;
  74. }
  75. .user-status {
  76. margin-left: @line-height-computed * .8;
  77. .status-icon {
  78. position: relative;
  79. top: 2px;
  80. }
  81. .status-label {
  82. font-size: @font-size-small;
  83. line-height: @font-size-small;
  84. }
  85. }
  86. }
  87. .rank-position {
  88. width: 23%;
  89. }
  90. .rank-posts-total {
  91. width: 23%;
  92. }
  93. .rank-posts-counted {
  94. width: 23%;
  95. }
  96. .rank-position, .rank-posts-total, .rank-posts-counted {
  97. font-size: @font-size-large;
  98. font-weight: bold;
  99. text-align: center;
  100. .text-muted {
  101. font-size: @font-size-small;
  102. font-weight: normal;
  103. }
  104. }
  105. }
  106. }