From 319f52519969a6f496a38f24f275b95885730437 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 27 Apr 2018 21:33:18 +0900 Subject: [PATCH] wip --- src/client/app/mobile/views/components/note.vue | 3 +++ src/client/app/mobile/views/components/post-form.vue | 6 +++++- src/client/app/mobile/views/pages/user.vue | 10 +++++----- src/client/app/mobile/views/pages/user/home.vue | 5 ++++- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue index 5f48d0fe24..5772fb2b7e 100644 --- a/src/client/app/mobile/views/components/note.vue +++ b/src/client/app/mobile/views/components/note.vue @@ -266,6 +266,9 @@ root(isDark) @media (min-width 500px) padding 16px + @media (min-width 600px) + padding 16px 32px + .avatar-anchor display inline-block diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 957af3487b..7b8a52f06e 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -175,11 +175,15 @@ export default Vue.extend({ margin 8px auto background #fff border-radius 8px - box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2) + box-shadow 0 0 2px rgba(0, 0, 0, 0.1) @media (min-width 500px) margin 16px auto width calc(100% - 32px) + box-shadow 0 8px 32px rgba(0, 0, 0, 0.1) + + @media (min-width 600px) + margin 32px auto > header z-index 1 diff --git a/src/client/app/mobile/views/pages/user.vue b/src/client/app/mobile/views/pages/user.vue index aae070afdf..abd4b5bd85 100644 --- a/src/client/app/mobile/views/pages/user.vue +++ b/src/client/app/mobile/views/pages/user.vue @@ -45,9 +45,9 @@
@@ -201,7 +201,7 @@ root(isDark) > .description margin 8px 0 - color #fff + color isDark ? #fff : #757c82 > .info margin 8px 0 @@ -209,7 +209,7 @@ root(isDark) > p display inline margin 0 16px 0 0 - color #a9b9c1 + color isDark ? #a9b9c1 : #90989c > i margin-right 4px diff --git a/src/client/app/mobile/views/pages/user/home.vue b/src/client/app/mobile/views/pages/user/home.vue index 4ba2ffd1df..f4191edbbf 100644 --- a/src/client/app/mobile/views/pages/user/home.vue +++ b/src/client/app/mobile/views/pages/user/home.vue @@ -64,11 +64,14 @@ export default Vue.extend({ > section background #eee border-radius 8px - box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2) + box-shadow 0 4px 16px rgba(#000, 0.1) &:not(:last-child) margin-bottom 8px + @media (min-width 500px) + margin-bottom 16px + > h2 margin 0 padding 8px 10px