From 51876bac62db94a4e207a707a508a83b437612d3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 28 Apr 2018 10:59:37 +0900 Subject: [PATCH] :art: --- .../desktop/views/components/note-detail.vue | 18 ++++++------ .../app/mobile/views/components/note-card.vue | 14 +++++++--- .../mobile/views/components/note-detail.vue | 6 ++-- src/client/app/mobile/views/pages/home.vue | 28 ++++++++----------- src/client/app/mobile/views/pages/user.vue | 19 +++++++++---- .../app/mobile/views/pages/user/home.vue | 19 +++++++++---- 6 files changed, 61 insertions(+), 43 deletions(-) diff --git a/src/client/app/desktop/views/components/note-detail.vue b/src/client/app/desktop/views/components/note-detail.vue index 266644cf85..eb12ea109c 100644 --- a/src/client/app/desktop/views/components/note-detail.vue +++ b/src/client/app/desktop/views/components/note-detail.vue @@ -217,7 +217,7 @@ export default Vue.extend({ @import '~const.styl' root(isDark) - margin 0 + margin 0 auto padding 0 overflow hidden text-align left @@ -241,13 +241,13 @@ root(isDark) border-radius 6px 6px 0 0 &:hover - background #f6f6f6 + background isDark ? #2e3440 : #f6f6f6 &:active - background #f0f0f0 + background isDark ? #21242b : #f0f0f0 &:disabled - color #ccc + color isDark ? #21242b : #ccc > .context > * @@ -294,8 +294,8 @@ root(isDark) clear both &:hover - > .main > footer > button - color #888 + > footer > button + color isDark ? #707b97 : #888 > .avatar-anchor display block @@ -340,7 +340,7 @@ root(isDark) top 0 right 32px font-size 1em - color #c0c0c0 + color isDark ? #606984 : #c0c0c0 > .body padding 8px 0 @@ -415,11 +415,11 @@ root(isDark) background transparent border none font-size 1em - color #ddd + color isDark ? #606984 : #ccc cursor pointer &:hover - color #666 + color isDark ? #9198af : #666 > .count display inline diff --git a/src/client/app/mobile/views/components/note-card.vue b/src/client/app/mobile/views/components/note-card.vue index 393fa9b831..89700b5e82 100644 --- a/src/client/app/mobile/views/components/note-card.vue +++ b/src/client/app/mobile/views/components/note-card.vue @@ -27,17 +27,17 @@ export default Vue.extend({ diff --git a/src/client/app/mobile/views/components/note-detail.vue b/src/client/app/mobile/views/components/note-detail.vue index 5d593c02d3..3c7d225ca7 100644 --- a/src/client/app/mobile/views/components/note-detail.vue +++ b/src/client/app/mobile/views/components/note-detail.vue @@ -405,7 +405,7 @@ root(isDark) > .time font-size 16px - color #c0c0c0 + color isDark ? #606984 : #c0c0c0 > footer font-size 1.2em @@ -417,14 +417,14 @@ root(isDark) border none box-shadow none font-size 1em - color #ddd + color isDark ? #606984 : #ddd cursor pointer &:not(:last-child) margin-right 28px &:hover - color #666 + color isDark ? #9198af : #666 > .count display inline diff --git a/src/client/app/mobile/views/pages/home.vue b/src/client/app/mobile/views/pages/home.vue index 6999108b97..e43c5876e6 100644 --- a/src/client/app/mobile/views/pages/home.vue +++ b/src/client/app/mobile/views/pages/home.vue @@ -17,7 +17,7 @@ -
+