mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Style sidebar snoovatar link.
This commit is contained in:
committed by
MelissaCole
parent
2b84cc0439
commit
6eb1dbcaf3
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user