Compare commits

...

6 Commits
1.2.0 ... 1.3.0

Author SHA1 Message Date
985a105930 1.3.0 2018-04-28 12:05:39 +09:00
52560dd986 🎨 2018-04-28 12:04:31 +09:00
de81502fdf 🎨 2018-04-28 12:00:58 +09:00
51876bac62 🎨 2018-04-28 10:59:37 +09:00
a5b994259e Fix bug 2018-04-28 10:27:53 +09:00
c85c825bad 🎨 2018-04-28 10:27:43 +09:00
15 changed files with 73 additions and 73 deletions

View File

@ -1,8 +1,8 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "1.2.0",
"clientVersion": "1.0.5133",
"version": "1.3.0",
"clientVersion": "1.0.5139",
"codename": "nighthike",
"main": "./built/index.js",
"private": true,

View File

@ -217,7 +217,7 @@ export default Vue.extend({
@import '~const.styl'
root(isDark)
margin 0
margin 0 auto
padding 0
overflow hidden
text-align left
@ -241,13 +241,13 @@ root(isDark)
border-radius 6px 6px 0 0
&:hover
background #f6f6f6
background isDark ? #2e3440 : #f6f6f6
&:active
background #f0f0f0
background isDark ? #21242b : #f0f0f0
&:disabled
color #ccc
color isDark ? #21242b : #ccc
> .context
> *
@ -294,8 +294,8 @@ root(isDark)
clear both
&:hover
> .main > footer > button
color #888
> footer > button
color isDark ? #707b97 : #888
> .avatar-anchor
display block
@ -340,7 +340,7 @@ root(isDark)
top 0
right 32px
font-size 1em
color #c0c0c0
color isDark ? #606984 : #c0c0c0
> .body
padding 8px 0
@ -415,11 +415,11 @@ root(isDark)
background transparent
border none
font-size 1em
color #ddd
color isDark ? #606984 : #ccc
cursor pointer
&:hover
color #666
color isDark ? #9198af : #666
> .count
display inline

View File

@ -35,8 +35,9 @@ export default Vue.extend({
<style lang="stylus" scoped>
root(isDark)
margin 0
padding 16px
padding 16px 32px
font-size 0.9em
background isDark ? #21242d : #fcfcfc
&:after
content ""

View File

@ -371,13 +371,6 @@ root(isDark)
& + article
padding-top 8px
> .reply-to
padding 0 16px
background rgba(0, 0, 0, 0.0125)
> .mk-note-preview
background transparent
> article
padding 28px 32px 18px 32px

View File

@ -156,7 +156,7 @@ export default Vue.extend({
this.notes = this.notes.slice(0, displayLimit);
}
} else {
this.queue.unshift(note);
this.queue.push(note);
}
},

View File

@ -27,17 +27,17 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
.mk-note-card
root(isDark)
display inline-block
width 150px
//height 120px
font-size 12px
background #fff
background isDark ? #282c37 : #fff
border-radius 4px
> a
display block
color #2c3940
color isDark ? #fff : #2c3940
&:hover
text-decoration none
@ -75,11 +75,17 @@ export default Vue.extend({
left 0
width 100%
height 20px
background linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%)
background isDark ? linear-gradient(to bottom, rgba(#282c37, 0) 0%, #282c37 100%) : linear-gradient(to bottom, rgba(#fff, 0) 0%, #fff 100%)
> .mk-time
display inline-block
padding 8px
color #aaa
.mk-note-card[data-darkmode]
root(true)
.mk-note-card:not([data-darkmode])
root(false)
</style>

View File

@ -405,7 +405,7 @@ root(isDark)
> .time
font-size 16px
color #c0c0c0
color isDark ? #606984 : #c0c0c0
> footer
font-size 1.2em
@ -417,14 +417,14 @@ root(isDark)
border none
box-shadow none
font-size 1em
color #ddd
color isDark ? #606984 : #ddd
cursor pointer
&:not(:last-child)
margin-right 28px
&:hover
color #666
color isDark ? #9198af : #666
> .count
display inline

View File

@ -31,7 +31,6 @@ export default Vue.extend({
margin 0
padding 0
font-size 0.9em
background #fff
&:after
content ""

View File

@ -28,8 +28,9 @@ export default Vue.extend({
<style lang="stylus" scoped>
root(isDark)
font-size 0.9em
padding 16px
font-size 0.9em
background isDark ? #21242d : #fcfcfc
@media (min-width 600px)
padding 24px 32px

View File

@ -240,12 +240,6 @@ root(isDark)
font-size 12px
border-bottom solid 1px isDark ? #1c2023 : #eaeaea
&:first-child
border-radius 8px 8px 0 0
> .renote
border-radius 8px 8px 0 0
&:last-of-type
border-bottom none
@ -304,12 +298,6 @@ root(isDark)
& + article
padding-top 8px
> .reply-to
background rgba(0, 0, 0, 0.0125)
> .mk-note-preview
background transparent
> article
padding 16px 16px 9px

View File

@ -144,7 +144,7 @@ export default Vue.extend({
this.notes = this.notes.slice(0, displayLimit);
}
} else {
this.queue.unshift(note);
this.queue.push(note);
}
},
@ -200,6 +200,7 @@ export default Vue.extend({
@import '~const.styl'
root(isDark)
overflow hidden
background isDark ? #282C37 : #fff
border-radius 8px
box-shadow 0 0 2px rgba(#000, 0.1)
@ -262,9 +263,7 @@ root(isDark)
> footer
text-align center
border-top solid 1px #eaeaea
border-bottom-left-radius 8px
border-bottom-right-radius 8px
border-top solid 1px isDark ? #1c2023 : #eaeaea
&:empty
display none
@ -273,7 +272,7 @@ root(isDark)
margin 0
padding 16px
width 100%
border-radius 0 0 8px 8px
color #ccc
@media (min-width 500px)
padding 20px

View File

@ -219,6 +219,7 @@ root(isDark)
font-size 1.2em
line-height calc(1rem + 30px)
color $color
opacity 0.5
.about
margin 0

View File

@ -17,7 +17,7 @@
<button @click="fn">%fa:pencil-alt%</button>
</template>
<main>
<main :data-darkmode="_darkmode_">
<div class="nav" v-if="showNav">
<div class="bg" @click="showNav = false"></div>
<div class="body">
@ -100,7 +100,7 @@ export default Vue.extend({
<style lang="stylus" scoped>
@import '~const.styl'
main
root(isDark)
> .nav
> .bg
position fixed
@ -119,23 +119,12 @@ main
right 0
width 300px
margin 0 auto
background #fff
background isDark ? #272f3a : #fff
border-radius 8px
box-shadow 0 0 16px rgba(0, 0, 0, 0.1)
$balloon-size = 16px
&:before
content ""
display block
position absolute
top -($balloon-size * 2)
left s('calc(50% - %s)', $balloon-size)
border-top solid $balloon-size transparent
border-left solid $balloon-size transparent
border-right solid $balloon-size transparent
border-bottom solid $balloon-size $border-color
&:after
content ""
display block
@ -145,7 +134,7 @@ main
border-top solid $balloon-size transparent
border-left solid $balloon-size transparent
border-right solid $balloon-size transparent
border-bottom solid $balloon-size #fff
border-bottom solid $balloon-size isDark ? #272f3a : #fff
> div
padding 8px 0
@ -153,13 +142,14 @@ main
> *
display block
padding 8px 16px
color isDark ? #cdd0d8 : #666
&[data-active]
color $theme-color-foreground
background $theme-color
&:not([data-active]):hover
background #eee
background isDark ? #353e4a : #eee
> .tl
max-width 680px
@ -172,4 +162,10 @@ main
@media (min-width 600px)
padding 32px
main[data-darkmode]
root(true)
main:not([data-darkmode])
root(false)
</style>

View File

@ -108,6 +108,8 @@ export default Vue.extend({
@import '~const.styl'
root(isDark)
$bg = isDark ? #22252f : #f7f7f7
> .is-suspended
> .is-remote
&.is-suspended
@ -132,6 +134,7 @@ root(isDark)
font-size 12px
> header
background $bg
> .banner
padding-bottom 33.3%
@ -162,14 +165,14 @@ root(isDark)
left -2px
bottom -2px
width 100%
background isDark ? #191b22 : #ececed
border 3px solid isDark ? #191b22 : #ececed
background $bg
border 3px solid $bg
border-radius 6px
@media (min-width 500px)
left -4px
bottom -4px
border 4px solid isDark ? #191b22 : #ececed
border 4px solid $bg
border-radius 12px
> .mk-follow-button
@ -235,7 +238,7 @@ root(isDark)
position sticky
top 47px
box-shadow 0 4px 4px isDark ? rgba(#000, 0.3) : rgba(#000, 0.07)
background-color isDark ? #191b22 : #ececed
background-color $bg
z-index 1
> .nav-container
@ -248,12 +251,16 @@ root(isDark)
display block
flex 1 1
text-align center
line-height 52px
font-size 14px
line-height 48px
font-size 12px
text-decoration none
color isDark ? #657786 : #9ca1a5
border-bottom solid 2px transparent
@media (min-width 400px)
line-height 52px
font-size 14px
&[data-active]
font-weight bold
color $theme-color

View File

@ -54,7 +54,7 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
.root.home
root(isDark)
max-width 600px
margin 0 auto
@ -65,7 +65,7 @@ export default Vue.extend({
margin 0 0 16px 0
> section
background #eee
background isDark ? #21242f : #eee
border-radius 8px
box-shadow 0 4px 16px rgba(#000, 0.1)
@ -80,10 +80,13 @@ export default Vue.extend({
padding 8px 10px
font-size 15px
font-weight normal
color #465258
background #fff
color isDark ? #b8c5cc : #465258
background isDark ? #282c37 : #fff
border-radius 8px 8px 0 0
@media (min-width 500px)
padding 10px 16px
> i
margin-right 6px
@ -95,6 +98,12 @@ export default Vue.extend({
display block
margin 16px
text-align center
color #cad2da
color isDark ? #cad2da : #929aa0
.root.home[data-darkmode]
root(true)
.root.home:not([data-darkmode])
root(false)
</style>