1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 00:38:14 +09:00

Locked mark (#3836)

This commit is contained in:
MeiMei 2019-01-05 19:59:10 +09:00 committed by syuilo
parent 84ea1fbd4d
commit d0aff4409d
3 changed files with 14 additions and 2 deletions

View File

@ -2,6 +2,7 @@
<span class="mk-acct">
<span class="name">@{{ user.username }}</span>
<span class="host" :class="{ fade: $store.state.settings.contrastedAcct }" v-if="user.host || detail || $store.state.settings.showFullAcct">@{{ user.host || host }}</span>
<fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/>
</span>
</template>
@ -23,4 +24,8 @@ export default Vue.extend({
.mk-acct
> .host.fade
opacity 0.5
> .locked
opacity 0.8
margin-left 0.5em
</style>

View File

@ -7,7 +7,8 @@
<router-link :to="user | userPage" class="name">
<mk-user-name :user="user"/>
</router-link>
<span class="username">@{{ user | acct }}</span>
<span class="username">@{{ user | acct }} <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/></span>
<div class="description">
<misskey-flavored-markdown v-if="user.description" :text="user.description" :author="user" :i="$store.state.i" :custom-emojis="user.emojis"/>
</div>
@ -75,6 +76,9 @@ export default Vue.extend({
display block
opacity 0.7
> .locked
opacity 0.8
> .description
margin 8px 0 16px 0

View File

@ -19,7 +19,7 @@
<span class="name">
<mk-user-name :user="user"/>
</span>
<span class="acct">@{{ user | acct }}</span>
<span class="acct">@{{ user | acct }} <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/></span>
</div>
</header>
<div class="info">
@ -411,6 +411,9 @@ export default Vue.extend({
opacity 0.7
text-shadow 0 0 8px #000
> .locked
opacity 0.8
> .info
padding 16px
font-size 12px