From 03e1d3fbc45252b05bf5abdb8ffee28297400acc Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 13 Sep 2018 18:01:50 +0900 Subject: Refactor --- src/client/app/desktop/views/components/note-detail.vue | 15 +-------------- src/client/app/desktop/views/components/note-preview.vue | 15 +-------------- .../app/desktop/views/components/notes.note.sub.vue | 15 +-------------- src/client/app/desktop/views/components/notes.note.vue | 15 +-------------- 4 files changed, 4 insertions(+), 56 deletions(-) (limited to 'src/client/app/desktop/views/components') diff --git a/src/client/app/desktop/views/components/note-detail.vue b/src/client/app/desktop/views/components/note-detail.vue index a0ad089f92..7307eeb7dc 100644 --- a/src/client/app/desktop/views/components/note-detail.vue +++ b/src/client/app/desktop/views/components/note-detail.vue @@ -39,7 +39,7 @@

{{ p.cw }} - {{ showContent ? '%i18n:@hide%' : '%i18n:@see-more%' }} +

@@ -352,19 +352,6 @@ root(isDark) > .text margin-right 8px - > .toggle - display inline-block - padding 4px 8px - font-size 0.7em - color isDark ? #393f4f : #fff - background isDark ? #687390 : #b1b9c1 - border-radius 2px - cursor pointer - user-select none - - &:hover - background isDark ? #707b97 : #bbc4ce - > .content > .text cursor default diff --git a/src/client/app/desktop/views/components/note-preview.vue b/src/client/app/desktop/views/components/note-preview.vue index e7e878849b..6c84165356 100644 --- a/src/client/app/desktop/views/components/note-preview.vue +++ b/src/client/app/desktop/views/components/note-preview.vue @@ -6,7 +6,7 @@

{{ note.cw }} - {{ showContent ? '%i18n:@hide%' : '%i18n:@see-more%' }} +

@@ -76,19 +76,6 @@ root(isDark) > .text margin-right 8px - > .toggle - display inline-block - padding 4px 8px - font-size 0.7em - color isDark ? #393f4f : #fff - background isDark ? #687390 : #b1b9c1 - border-radius 2px - cursor pointer - user-select none - - &:hover - background isDark ? #707b97 : #bbc4ce - > .content > .text cursor default 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 15944bebd1..8f01ddd43c 100644 --- a/src/client/app/desktop/views/components/notes.note.sub.vue +++ b/src/client/app/desktop/views/components/notes.note.sub.vue @@ -6,7 +6,7 @@

{{ note.cw }} - {{ showContent ? '%i18n:@hide%' : '%i18n:@see-more%' }} +

@@ -77,19 +77,6 @@ root(isDark) > .text margin-right 8px - > .toggle - display inline-block - padding 4px 8px - font-size 0.7em - color isDark ? #393f4f : #fff - background isDark ? #687390 : #b1b9c1 - border-radius 2px - cursor pointer - user-select none - - &:hover - background isDark ? #707b97 : #bbc4ce - > .content > .text cursor default diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue index e1bc8be5a5..46a866f9a7 100644 --- a/src/client/app/desktop/views/components/notes.note.vue +++ b/src/client/app/desktop/views/components/notes.note.vue @@ -18,7 +18,7 @@

{{ p.cw }} - {{ showContent ? '%i18n:@hide%' : '%i18n:@see-more%' }} +

@@ -401,19 +401,6 @@ root(isDark) > .text margin-right 8px - > .toggle - display inline-block - padding 4px 8px - font-size 0.7em - color isDark ? #393f4f : #fff - background isDark ? #687390 : #b1b9c1 - border-radius 2px - cursor pointer - user-select none - - &:hover - background isDark ? #707b97 : #bbc4ce - > .content > .text -- cgit v1.2.3-freya