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: "オプション" edit: "オプション"
deck/deck.user-column.vue: deck/deck.user-column.vue:
follows-you: "フォローされています"
posts: "投稿" posts: "投稿"
following: "フォロー" following: "フォロー"
followers: "フォロワー" followers: "フォロワー"

View file

@ -20,6 +20,7 @@
<mk-user-name :user="user"/> <mk-user-name :user="user"/>
</span> </span>
<span class="acct">@{{ user | acct }} <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/></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> </div>
</header> </header>
<div class="info"> <div class="info">
@ -376,6 +377,7 @@ export default Vue.extend({
text-shadow 0 0 8px #000 text-shadow 0 0 8px #000
> .acct > .acct
display block
font-size 14px font-size 14px
opacity 0.7 opacity 0.7
text-shadow 0 0 8px #000 text-shadow 0 0 8px #000
@ -383,6 +385,15 @@ export default Vue.extend({
> .locked > .locked
opacity 0.8 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 > .info
padding 16px padding 16px
font-size 12px font-size 12px