mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 05:55:33 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dae9c4288d | ||
|
|
9f37149369 | ||
|
|
e476647ab8 | ||
|
|
eb23be979c | ||
|
|
6d9d6a6779 |
BIN
assets/title-dark.svg
Normal file
BIN
assets/title-dark.svg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"author": "syuilo <i@syuilo.com>",
|
||||
"version": "2.16.3",
|
||||
"clientVersion": "1.0.5668",
|
||||
"version": "2.16.4",
|
||||
"clientVersion": "1.0.5673",
|
||||
"codename": "nighthike",
|
||||
"main": "./built/index.js",
|
||||
"private": true,
|
||||
|
||||
@@ -53,15 +53,15 @@ export default Vue.extend({
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.mk-welcome-timeline
|
||||
background #fff
|
||||
root(isDark)
|
||||
background isDark ? #282C37 : #fff
|
||||
|
||||
> div
|
||||
padding 16px
|
||||
overflow-wrap break-word
|
||||
font-size .9em
|
||||
color #4C4C4C
|
||||
border-bottom 1px solid rgba(#000, 0.05)
|
||||
color isDark ? #fff : #4C4C4C
|
||||
border-bottom 1px solid isDark ? rgba(#000, 0.1) : rgba(#000, 0.05)
|
||||
|
||||
&:after
|
||||
content ""
|
||||
@@ -96,17 +96,23 @@ export default Vue.extend({
|
||||
overflow hidden
|
||||
font-weight bold
|
||||
text-overflow ellipsis
|
||||
color #627079
|
||||
color isDark ? #fff : #627079
|
||||
|
||||
> .username
|
||||
margin 0 .5em 0 0
|
||||
color #ccc
|
||||
color isDark ? #606984 : #ccc
|
||||
|
||||
> .info
|
||||
margin-left auto
|
||||
font-size 0.9em
|
||||
|
||||
> .created-at
|
||||
color #c0c0c0
|
||||
color isDark ? #606984 : #c0c0c0
|
||||
|
||||
.mk-welcome-timeline[data-darkmode]
|
||||
root(true)
|
||||
|
||||
.mk-welcome-timeline:not([data-darkmode])
|
||||
root(false)
|
||||
|
||||
</style>
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<template>
|
||||
<div class="mk-welcome">
|
||||
<button @click="dark">
|
||||
<template v-if="_darkmode_">%fa:moon%</template>
|
||||
<template v-else>%fa:R moon%</template>
|
||||
</button>
|
||||
<main>
|
||||
<img src="assets/title.svg" alt="Misskey">
|
||||
<img :src="_darkmode_ ? 'assets/title-dark.svg' : 'assets/title.svg'" alt="Misskey">
|
||||
<p><button class="signup" @click="signup">%i18n:@signup-button%</button><button class="signin" @click="signin">%i18n:@signin-button%</button></p>
|
||||
|
||||
<div class="tl">
|
||||
@@ -44,6 +48,9 @@ export default Vue.extend({
|
||||
},
|
||||
signin() {
|
||||
this.$modal.show('signin');
|
||||
},
|
||||
dark() {
|
||||
(this as any)._updateDarkmode_(!(this as any)._darkmode_);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -59,18 +66,25 @@ export default Vue.extend({
|
||||
<style lang="stylus" scoped>
|
||||
@import '~const.styl'
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Sarpanch:700')
|
||||
|
||||
.mk-welcome
|
||||
root(isDark)
|
||||
display flex
|
||||
flex-direction column
|
||||
flex 1
|
||||
|
||||
> button
|
||||
position absolute
|
||||
z-index 1
|
||||
top 0
|
||||
left 0
|
||||
padding 16px
|
||||
font-size 18px
|
||||
color isDark ? #fff : #555
|
||||
|
||||
> main
|
||||
flex 1
|
||||
padding 64px 0 0 0
|
||||
text-align center
|
||||
color #555
|
||||
color isDark ? #9aa4b3 : #555
|
||||
|
||||
> img
|
||||
width 350px
|
||||
@@ -102,13 +116,13 @@ export default Vue.extend({
|
||||
|
||||
.signin
|
||||
&:hover
|
||||
color #000
|
||||
color isDark ? #fff : #000
|
||||
|
||||
> .tl
|
||||
margin 32px auto 0 auto
|
||||
width 410px
|
||||
text-align left
|
||||
background #fff
|
||||
background isDark ? #313543 : #fff
|
||||
border-radius 8px
|
||||
box-shadow 0 8px 32px rgba(#000, 0.15)
|
||||
overflow hidden
|
||||
@@ -116,7 +130,7 @@ export default Vue.extend({
|
||||
> header
|
||||
z-index 1
|
||||
padding 12px 16px
|
||||
color #888d94
|
||||
color isDark ? #e3e5e8 : #888d94
|
||||
box-shadow 0 1px 0px rgba(#000, 0.1)
|
||||
|
||||
> div
|
||||
@@ -130,7 +144,6 @@ export default Vue.extend({
|
||||
height 11px
|
||||
width 11px
|
||||
margin-left 6px
|
||||
background #ccc
|
||||
border-radius 100%
|
||||
vertical-align middle
|
||||
|
||||
@@ -149,7 +162,7 @@ export default Vue.extend({
|
||||
|
||||
> footer
|
||||
font-size 12px
|
||||
color #949ea5
|
||||
color isDark ? #949ea5 : #737c82
|
||||
|
||||
> div
|
||||
margin 0 auto
|
||||
@@ -161,6 +174,12 @@ export default Vue.extend({
|
||||
font-size 10px
|
||||
opacity 0.7
|
||||
|
||||
.mk-welcome[data-darkmode]
|
||||
root(true)
|
||||
|
||||
.mk-welcome:not([data-darkmode])
|
||||
root(false)
|
||||
|
||||
</style>
|
||||
|
||||
<style lang="stylus" module>
|
||||
|
||||
@@ -66,7 +66,7 @@ module.exports = (params) => new Promise(async (res, rej) => {
|
||||
}
|
||||
|
||||
if (local) {
|
||||
query._user.host = null;
|
||||
query['_user.host'] = null;
|
||||
}
|
||||
|
||||
if (reply != undefined) {
|
||||
|
||||
Reference in New Issue
Block a user