This commit is contained in:
syuilo 2018-05-23 15:58:53 +09:00
parent e476647ab8
commit 9f37149369
2 changed files with 15 additions and 10 deletions

View file

@ -53,15 +53,15 @@ export default Vue.extend({
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.mk-welcome-timeline root(isDark)
background #fff background isDark ? #282C37 : #fff
> div > div
padding 16px padding 16px
overflow-wrap break-word overflow-wrap break-word
font-size .9em font-size .9em
color #4C4C4C color isDark ? #fff : #4C4C4C
border-bottom 1px solid rgba(#000, 0.05) border-bottom 1px solid isDark ? rgba(#000, 0.1) : rgba(#000, 0.05)
&:after &:after
content "" content ""
@ -96,17 +96,23 @@ export default Vue.extend({
overflow hidden overflow hidden
font-weight bold font-weight bold
text-overflow ellipsis text-overflow ellipsis
color #627079 color isDark ? #fff : #627079
> .username > .username
margin 0 .5em 0 0 margin 0 .5em 0 0
color #ccc color isDark ? #606984 : #ccc
> .info > .info
margin-left auto margin-left auto
font-size 0.9em font-size 0.9em
> .created-at > .created-at
color #c0c0c0 color isDark ? #606984 : #c0c0c0
.mk-welcome-timeline[data-darkmode]
root(true)
.mk-welcome-timeline:not([data-darkmode])
root(false)
</style> </style>

View file

@ -122,7 +122,7 @@ root(isDark)
margin 32px auto 0 auto margin 32px auto 0 auto
width 410px width 410px
text-align left text-align left
background #fff background isDark ? #313543 : #fff
border-radius 8px border-radius 8px
box-shadow 0 8px 32px rgba(#000, 0.15) box-shadow 0 8px 32px rgba(#000, 0.15)
overflow hidden overflow hidden
@ -130,7 +130,7 @@ root(isDark)
> header > header
z-index 1 z-index 1
padding 12px 16px padding 12px 16px
color #888d94 color isDark ? #e3e5e8 : #888d94
box-shadow 0 1px 0px rgba(#000, 0.1) box-shadow 0 1px 0px rgba(#000, 0.1)
> div > div
@ -144,7 +144,6 @@ root(isDark)
height 11px height 11px
width 11px width 11px
margin-left 6px margin-left 6px
background #ccc
border-radius 100% border-radius 100%
vertical-align middle vertical-align middle