From ebe035f91988a04026422efc310f6f301c6b71a0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 27 Sep 2018 17:29:57 +0900 Subject: [PATCH] wip --- .../app/common/views/components/messaging.vue | 26 +++++-------------- .../app/common/views/components/ui/card.vue | 19 ++++---------- src/client/theme/dark.json | 1 + src/client/theme/light.json | 1 + 4 files changed, 14 insertions(+), 33 deletions(-) diff --git a/src/client/app/common/views/components/messaging.vue b/src/client/app/common/views/components/messaging.vue index a984c980b..8e5393e6e 100644 --- a/src/client/app/common/views/components/messaging.vue +++ b/src/client/app/common/views/components/messaging.vue @@ -204,12 +204,10 @@ root(isDark) left 0 z-index 1 width 100% - background #fff box-shadow 0 0px 2px rgba(#000, 0.2) > .form - padding 8px - background isDark ? #282c37 : #f7f7f7 + background rgba(0, 0, 0, 0.02) > label display block @@ -229,32 +227,22 @@ root(isDark) bottom 0 left 0 width 1em - line-height 56px + line-height 48px margin auto color #555 > input margin 0 - padding 0 0 0 32px + padding 0 0 0 42px width 100% font-size 1em - line-height 38px - color #000 + line-height 48px + color var(--faceText) outline none - background isDark ? #191b22 : #fff - border solid 1px isDark ? #495156 : #eee + background transparent + border none border-radius 5px box-shadow none - transition color 0.5s ease, border 0.5s ease - - &:hover - border solid 1px isDark ? #b0b0b0 : #ddd - transition border 0.2s ease - - &:focus - color var(--primaryDarken20) - border solid 1px var(--primary) - transition color 0, border 0 > .result display block diff --git a/src/client/app/common/views/components/ui/card.vue b/src/client/app/common/views/components/ui/card.vue index be24027f6..a37a38d34 100644 --- a/src/client/app/common/views/components/ui/card.vue +++ b/src/client/app/common/views/components/ui/card.vue @@ -20,11 +20,9 @@ export default Vue.extend({ diff --git a/src/client/theme/dark.json b/src/client/theme/dark.json index ef5170e71..7e0df4236 100644 --- a/src/client/theme/dark.json +++ b/src/client/theme/dark.json @@ -11,6 +11,7 @@ "scrollbarHandle": "#454954", "scrollbarHandleHover": "#535660", "face": "#282c37", + "faceText": "#fff", "faceHeader": "#313543", "faceHeaderText": "#e3e5e8", "faceDivider": "rgba(0, 0, 0, 0.3)", diff --git a/src/client/theme/light.json b/src/client/theme/light.json index bbffc8e14..482276f63 100644 --- a/src/client/theme/light.json +++ b/src/client/theme/light.json @@ -11,6 +11,7 @@ "scrollbarHandle": "#00000033", "scrollbarHandleHover": "#00000066", "face": "#fff", + "faceText": "#444", "faceHeader": "#fff", "faceHeaderText": "#888", "faceDivider": "rgba(0, 0, 0, 0.082)",