This commit is contained in:
syuilo 2018-09-28 15:58:23 +09:00
parent 0343de95b8
commit 99a2c5b3fa
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -247,9 +247,7 @@ export default Vue.extend({
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.mk-home
root(isDark)
display block display block
&[data-customize] &[data-customize]
@ -279,7 +277,7 @@ root(isDark)
left 0 left 0
width 100% width 100%
height 48px height 48px
color isDark ? #fff : #000 color var(--text)
background var(--desktopHeaderBg) background var(--desktopHeaderBg)
box-shadow 0 1px 1px rgba(#000, 0.075) box-shadow 0 1px 1px rgba(#000, 0.075)
@ -320,7 +318,7 @@ root(isDark)
line-height 48px line-height 48px
&.trash &.trash
border-left solid 1px isDark ? #1c2023 : #ddd border-left solid 1px var(--faceDivider)
> div > div
width 100% width 100%
@ -395,10 +393,4 @@ root(isDark)
max-width 700px max-width 700px
margin 0 auto margin 0 auto
.mk-home[data-darkmode]
root(true)
.mk-home:not([data-darkmode])
root(false)
</style> </style>