deckにフォローされていますマークを追加 (#4207)

* deckにフォローされていますを追加

* opacity
This commit is contained in:
MeiMei 2019-02-10 05:26:49 +09:00 committed by syuilo
parent 8f66a38495
commit 9a77bef5bb
2 changed files with 12 additions and 0 deletions

View File

@ -1833,6 +1833,7 @@ deck/deck.tl-column.vue:
edit: "オプション"
deck/deck.user-column.vue:
follows-you: "フォローされています"
posts: "投稿"
following: "フォロー"
followers: "フォロワー"

View File

@ -20,6 +20,7 @@
<mk-user-name :user="user"/>
</span>
<span class="acct">@{{ user | acct }} <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/></span>
<span class="followed" v-if="user.isFollowed">{{ $t('follows-you') }}</span>
</div>
</header>
<div class="info">
@ -376,6 +377,7 @@ export default Vue.extend({
text-shadow 0 0 8px #000
> .acct
display block
font-size 14px
opacity 0.7
text-shadow 0 0 8px #000
@ -383,6 +385,15 @@ export default Vue.extend({
> .locked
opacity 0.8
> .followed
display inline-block
font-size 12px
background rgba(0, 0, 0, 0.5)
opacity 0.7
margin-top: 2px
padding 4px
border-radius 4px
> .info
padding 16px
font-size 12px