From 2fa82bde1602502a7649241882c7fadab1aae086 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 21 May 2018 14:57:27 +0900 Subject: [PATCH] :art: --- .../views/components/notes.note.sub.vue | 18 +++++++++- .../app/mobile/views/components/note.sub.vue | 36 +++++++++++++++++-- .../app/mobile/views/components/note.vue | 1 + 3 files changed, 52 insertions(+), 3 deletions(-) diff --git a/src/client/app/desktop/views/components/notes.note.sub.vue b/src/client/app/desktop/views/components/notes.note.sub.vue index 503982b1a8..5f0c46b4c6 100644 --- a/src/client/app/desktop/views/components/notes.note.sub.vue +++ b/src/client/app/desktop/views/components/notes.note.sub.vue @@ -4,6 +4,9 @@
{{ note.user | userName }} + admin + bot + cat
%fa:mobile-alt% @@ -68,7 +71,6 @@ root(isDark) align-items baseline margin-bottom 2px white-space nowrap - line-height 21px > .name display block @@ -84,6 +86,20 @@ root(isDark) &:hover text-decoration underline + > .is-admin + > .is-bot + > .is-cat + margin 0 0.5em 0 0 + padding 1px 5px + font-size 10px + color isDark ? #758188 : #aaa + border solid 1px isDark ? #57616f : #ddd + border-radius 3px + + &.is-admin + border-color isDark ? #d42c41 : #f56a7b + color isDark ? #d42c41 : #f56a7b + > .username margin 0 .5em 0 0 color isDark ? #606984 : #d1d8da diff --git a/src/client/app/mobile/views/components/note.sub.vue b/src/client/app/mobile/views/components/note.sub.vue index 2fb3b2ffcc..149a78ecde 100644 --- a/src/client/app/mobile/views/components/note.sub.vue +++ b/src/client/app/mobile/views/components/note.sub.vue @@ -1,9 +1,13 @@