• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Round Avatar / Round Stats

Round Avatar / Round Stats

Sheldon

Well-known member
#1
Sheldon submitted a new resource:

Round Avatar / Round Stats - Change Your Postbit Display

This assumes you have FontAwesome already called via your style, add-on, or other way.

Remember, the second post has the CSS for the online indicator as well as the styling itself! Please read.

In this FAQ, we will be going from :
View attachment 109886

First things first, let's widen the postbit. For this one, I will be going to 200px...
Read more about this resource...
 

Sheldon

Well-known member
#2
EXTRA.CSS

Code:
.messageUserInfo .messageUserBlock .avatar > img { border-radius: 50%; }

.roundStats .fa {
  font-size: 30px;
  line-height: 37px;
  margin-left: -1px;
  margin-top: -1px;
  opacity: 0.25;
}
.roundStats .pairsInline {
  border: 1px solid #d5d5d5;
  border-radius: 100%;
  height: 36px;
  width: 36px;
}
.messageUserBlock .roundStats .roundTrophy { margin-left: 20px; overflow: hidden; }
.messageUserBlock .roundStats .roundLike { margin-left: 5px; overflow: hidden; }
.messageUserBlock .roundStats .roundMessage { margin-left: 20px; margin-top: -10px; overflow: hidden; }

.roundStats .pairsInline > dd {
  color: #000000;
  display: block;
  margin-top: -24px;
  text-align: center;
}
.messageUserInfo .extraUserInfo.roundStats {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  float: left;
  margin-left: -24px;
  margin-top: -2px;
  position: absolute;
}
.messageUserBlock .extraUserInfo { font-size: 11px; padding: 4px 6px; }

Online Indicator CSS Changes:
Code:
/* PULSING INDICATOR */
.messageUserBlock div.avatarHolder .onlineMarker {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
  border: medium none !important;
  border-radius: 50% !important;
  display: inline-block;
  height: 16px;
  margin: 81px 0 0 107px;
  width: 16px;
}
 
.messageUserBlock div.avatarHolder .onlineMarker:before
{
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  margin: 3px 0 0 3px;
  background: #7fb900;
  border-color: #7fb900;
  border-radius: 50%
}

.messageUserBlock div.avatarHolder .onlineMarker:after
{
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  margin: -9px 0 0 -9px;
  border: 1px solid #7fb900;
  border-radius: 50%;
  box-shadow: 0 0 4px #7fb900, inset 0 0 4px #7fb900;
  -webkit-transform: scale(0);
  -webkit-animation: online 2.5s ease-in-out infinite;
  animation: online 2.5s ease-in-out infinite
}

@-webkit-keyframes online
{
  0% {opacity: 1;-webkit-transform: scale(0)}
  50% {opacity: .7}
  100% {opacity: 0;-webkit-transform: scale(1)}
}

@keyframes online
{
  0% {opacity: 1;transform: scale(0)}
  50% {opacity: .7}
  100% {opacity: 0;transform: scale(1)}
}
 
#10
I have this added to my new forum - unfortunately we have a dark theme and so the icons are not actually showing up. Anyone have any tips for this on how to fix it?