123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- //
- // Active posters list
- // --------------------------------------------------
- // List layout
- .active-posters {
- li {
- display: block;
- overflow: auto;
- }
- }
- // User avatar
- .active-posters .rank-user-avatar {
- float: left;
- @media screen and (max-width: @screen-sm-max) {
- height: 42px; // even list item vertically
- img {
- width: 36px;
- height: 36px;
- position: relative;
- top: 3px;
- }
- }
- }
- // User
- .active-posters .rank-user {
- float: left;
- margin-top: 3px;
- @media screen and (max-width: @screen-sm-max) {
- margin-left: @line-height-computed * .66;
- width: 40%;
- }
- @media screen and (min-width: @screen-md-min) {
- margin-left: @line-height-computed * .8;
- width: 25%;
- .user-name {
- font-size: @font-size-large;
- }
- }
- }
- // User details
- .active-posters .user-details {
- overflow: auto;
- .user-status, .rank-name, .user-title {
- display: block;
- float: left;
- margin-right: 3px;
- font-size: @font-size-base * .75;
- @media screen and (min-width: @screen-md-min) {
- margin-right: 8px;
- font-size: @font-size-small;
- }
- }
- .user-title {
- @media screen and (min-width: @screen-md-min) {
- margin-top: 1px;
- }
- }
- }
- // User status
- .active-posters .user-status {
- overflow: auto;
- position: relative;
- top: 1px;
- span {
- display: block;
- float: left;
- }
- @media screen and (min-width: @screen-md-min) {
- height: 14px;
- }
- .status-icon {
- position: relative;
- @media screen and (max-width: @screen-sm-max) {
- top: 0px;
- width: 12px;
- height: 12px;
- font-size: 12px;
- line-height: 12px;
- }
- @media screen and (min-width: @screen-md-min) {
- top: 1px;
- margin-right: 3px;
- width: 13px;
- height: 13px;
- font-size: 13px;
- line-height: 13px;
- }
- }
- }
- // User status UI preview
- .active-posters {
- .status-label.ui-preview-text,
- .rank-name .ui-preview-text,
- .user-title .ui-preview-text {
- height: 11px;
- position: relative;
- top: 2px;
- font-size: 11px;
- line-height: 11px;
- }
- // even rank/title preview with status
- .rank-name, .user-title {
- .ui-preview-text {
- position: static;
- }
- }
- }
- // Rank stats
- .active-posters {
- .rank-position, .rank-posts-counted, .rank-posts-total {
- strong, small {
- display: block;
- }
- @media screen and (max-width: @screen-sm-max) {
- overflow: auto;
- strong, small {
- float: left;
- font-size: @font-size-base * .75;
- }
- strong {
- min-width: 30px;
- margin-right: 3px;
- text-align: right;
- }
- .ui-preview-text {
- height: 8px;
- position: relative;
- top: -1px;
- font-size: 8px;
- line-height: 8px;
- }
- }
- @media screen and (min-width: @screen-md-min) {
- float: left;
- margin-top: 3px;
- width: 23%;
- font-size: @font-size-large;
- text-align: center;
- small {
- font-size: @font-size-small;
- font-weight: normal;
- }
- }
- }
- }
- // Small adjustments for stats on compact displays
- @media screen and (max-width: @screen-sm-max) {
- // Margin top first state so its even with username
- .active-posters .rank-position {
- margin-top: 6px;
- }
- // Hide rank-posts-total on small displays (cos it overflows for crazy posters)
- .active-posters .rank-posts-total {
- display: none;
- }
- }
|