From 99a2c5b3fa552f2abe449cb3f5b3d40270be5478 Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Fri, 28 Sep 2018 15:58:23 +0900 Subject: [PATCH] wip --- src/client/app/desktop/views/components/home.vue | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/client/app/desktop/views/components/home.vue b/src/client/app/desktop/views/components/home.vue index a07af02ea6..bdaf2ddf47 100644 --- a/src/client/app/desktop/views/components/home.vue +++ b/src/client/app/desktop/views/components/home.vue @@ -247,9 +247,7 @@ export default Vue.extend({ </script> <style lang="stylus" scoped> - - -root(isDark) +.mk-home display block &[data-customize] @@ -279,7 +277,7 @@ root(isDark) left 0 width 100% height 48px - color isDark ? #fff : #000 + color var(--text) background var(--desktopHeaderBg) box-shadow 0 1px 1px rgba(#000, 0.075) @@ -320,7 +318,7 @@ root(isDark) line-height 48px &.trash - border-left solid 1px isDark ? #1c2023 : #ddd + border-left solid 1px var(--faceDivider) > div width 100% @@ -395,10 +393,4 @@ root(isDark) max-width 700px margin 0 auto -.mk-home[data-darkmode] - root(true) - -.mk-home:not([data-darkmode]) - root(false) - </style> -- GitLab