From d0aff4409d80816ebf0a82be6f505ec7dccb9cc5 Mon Sep 17 00:00:00 2001
From: MeiMei <30769358+mei23@users.noreply.github.com>
Date: Sat, 5 Jan 2019 19:59:10 +0900
Subject: [PATCH] Locked mark (#3836)
---
src/client/app/common/views/components/acct.vue | 5 +++++
src/client/app/desktop/views/components/user-card.vue | 6 +++++-
.../app/desktop/views/pages/deck/deck.user-column.vue | 5 ++++-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/client/app/common/views/components/acct.vue b/src/client/app/common/views/components/acct.vue
index 69259ab60..2730e4139 100644
--- a/src/client/app/common/views/components/acct.vue
+++ b/src/client/app/common/views/components/acct.vue
@@ -2,6 +2,7 @@
@{{ user.username }}
@{{ user.host || host }}
+
@@ -23,4 +24,8 @@ export default Vue.extend({
.mk-acct
> .host.fade
opacity 0.5
+
+ > .locked
+ opacity 0.8
+ margin-left 0.5em
diff --git a/src/client/app/desktop/views/components/user-card.vue b/src/client/app/desktop/views/components/user-card.vue
index c59467fd0..6a42b5da0 100644
--- a/src/client/app/desktop/views/components/user-card.vue
+++ b/src/client/app/desktop/views/components/user-card.vue
@@ -7,7 +7,8 @@
- @{{ user | acct }}
+ @{{ user | acct }}
+
@@ -75,6 +76,9 @@ export default Vue.extend({
display block
opacity 0.7
+ > .locked
+ opacity 0.8
+
> .description
margin 8px 0 16px 0
diff --git a/src/client/app/desktop/views/pages/deck/deck.user-column.vue b/src/client/app/desktop/views/pages/deck/deck.user-column.vue
index 0ed7916a4..65feea969 100644
--- a/src/client/app/desktop/views/pages/deck/deck.user-column.vue
+++ b/src/client/app/desktop/views/pages/deck/deck.user-column.vue
@@ -19,7 +19,7 @@
- @{{ user | acct }}
+ @{{ user | acct }}
@@ -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