forked from AkkomaGang/akkoma-fe
Add theming support for admin/moderator badges
This commit is contained in:
parent
d00b74b607
commit
676e6da3a5
1 changed files with 5 additions and 10 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<router-link class='user-screen-name' :to="userProfileLink(user)">
|
<router-link class='user-screen-name' :to="userProfileLink(user)">
|
||||||
<span class="handle">@{{user.screen_name}}
|
<span class="handle">@{{user.screen_name}}
|
||||||
<span class="staff" v-if="!!visibleRole">{{visibleRole}}</span>
|
<span class="alert staff" v-if="!!visibleRole">{{visibleRole}}</span>
|
||||||
</span><span v-if="user.locked"><i class="icon icon-lock"></i></span>
|
</span><span v-if="user.locked"><i class="icon icon-lock"></i></span>
|
||||||
<span v-if="!hideUserStatsLocal && !hideBio" class="dailyAvg">{{dailyAvg}} {{ $t('user_card.per_day') }}</span>
|
<span v-if="!hideUserStatsLocal && !hideBio" class="dailyAvg">{{dailyAvg}} {{ $t('user_card.per_day') }}</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
@ -251,15 +251,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.staff {
|
.staff {
|
||||||
border: 1px solid $admin-border-color;
|
color: $fallback--text;
|
||||||
color: $admin-color;
|
color: var(--btnText, $fallback--text);
|
||||||
text-transform: capitalize;
|
background-color: $fallback--fg;
|
||||||
background-color: $admin-background-color;
|
background-color: var(--btn, $fallback--fg);
|
||||||
line-height: 12px;
|
|
||||||
border-radius: 3px;
|
|
||||||
font-size: 12px;
|
|
||||||
padding: 4px 6px;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue