Style sidebar snoovatar link.

This commit is contained in:
powerlanguage
2014-12-29 12:53:39 -08:00
committed by MelissaCole
parent 2b84cc0439
commit 6eb1dbcaf3
2 changed files with 28 additions and 2 deletions

View File

@@ -7855,6 +7855,32 @@ div.usertable .note {
border-radius: 3px;
}
.gold-accent.snoovatar-link {
color: #9A7D2E;
display: block;
padding: 0;
margin: 3px 0;
border-radius: 5px;
text-align: center;
position: relative;
line-height: 30px;
&:before {
background-image: url(../gold/snoo-head.png);
background-repeat: no-repeat;
content: '';
display: inline-block;
background-size: 27px;
width: 27px;
height: 27px;
vertical-align: top;
background-position: center left;
margin-top: 1px;
margin-left: -13px;
margin-right: 7px;
}
}
.gold-expiration-info {
display: block;
margin: 3px 0;

View File

@@ -91,8 +91,8 @@
%if feature.is_enabled("snoovatars") and thing.user.gold:
%if thing.show_private_info or thing.user.pref_show_snoovatar:
<div>
<a href="/user/${thing.user.name}/snoo" class="snoovatar">
<div class="gold-accent snoovatar-link">
<a href="/user/${thing.user.name}/snoo">
%if thing.viewing_self:
${_("View/edit my snoovatar")}
%else: