0
0
This commit is contained in:
こぴなたみぽ 2018-02-07 18:30:17 +09:00
parent 1a6a72591f
commit 063193f429
175 changed files with 312 additions and 316 deletions

View File

@ -29,7 +29,7 @@
<button @click="cancel">キャンセル</button>
<button @click="accept">アクセスを許可</button>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -20,7 +20,7 @@
<mk-signin/>
</main>
<footer><img src="/assets/auth/logo.svg" alt="Misskey"/></footer>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -33,7 +33,7 @@
<small><a href={ _URL_ }>Misskey</a> ver { _VERSION_ } (葵 aoi)</small>
</footer>
</main>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -181,7 +181,7 @@
</virtual>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
margin 0
@ -255,7 +255,7 @@
<li each={ files }>{ name }</li>
</ol>
<input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -6,7 +6,7 @@
<a if={ !SIGNIN } href={ _URL_ }>ログイン(新規登録)</a>
<a if={ SIGNIN } href={ _URL_ + '/' + I.username }>{ I.username }</a>
</div>
<style>
<style lang="stylus" scoped>
:scope
display flex

View File

@ -6,7 +6,7 @@
<ul if={ channels }>
<li each={ channels }><a href={ '/' + this.id }>{ this.title }</a></li>
</ul>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -12,7 +12,7 @@
stroke-width="0.1"
stroke="#f73520"/>
</svg>
<style>
<style lang="stylus" scoped>
:scope
display block
max-width 600px

View File

@ -8,7 +8,7 @@
<p>{ app.description }</p>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -1,5 +1,5 @@
<mk-ellipsis><span>.</span><span>.</span><span>.</span>
<style>
<style lang="stylus" scoped>
:scope
display inline

View File

@ -11,7 +11,7 @@
<button if={ !troubleshooting } @click="troubleshoot">%i18n:common.tags.mk-error.troubleshoot%</button>
<mk-troubleshooter if={ troubleshooting }/>
<p class="thanks">%i18n:common.tags.mk-error.thanks%</p>
<style>
<style lang="stylus" scoped>
:scope
display block
width 100%
@ -108,7 +108,7 @@
<p if={ server === false }><b>%fa:exclamation-triangle%%i18n:common.tags.mk-error.troubleshooter.no-server%</b><br>%i18n:common.tags.mk-error.troubleshooter.no-server-desc%</p>
<p if={ server === true } class="success"><b>%fa:info-circle%%i18n:common.tags.mk-error.troubleshooter.success%</b><br>%i18n:common.tags.mk-error.troubleshooter.success-desc%</p>
<style>
<style lang="stylus" scoped>
:scope
display block
width 100%

View File

@ -1,6 +1,6 @@
<mk-file-type-icon>
<virtual if={ kind == 'image' }>%fa:file-image%</virtual>
<style>
<style lang="stylus" scoped>
:scope
display inline
</style>

View File

@ -4,7 +4,7 @@
<path class="octo-arm" d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor"></path>
</svg></a>
<style>
<style lang="stylus" scoped>
:scope
display block
position absolute

View File

@ -5,7 +5,7 @@
<p>無料で誰でも利用でき、広告も掲載していません。</p>
<p><a href={ _DOCS_URL_ } target="_blank">もっと知りたい方はこちら</a></p>
</article>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -12,7 +12,7 @@
%fa:R folder-open%
</button>
<input name="file" type="file" accept="image/*"/>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -33,7 +33,7 @@
</div>
<p class="no-history" if={ !fetching && history.length == 0 }>%i18n:common.tags.mk-messaging.no-history%</p>
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -18,7 +18,7 @@
<mk-time time={ message.created_at }/><virtual if={ message.is_edited }>%fa:pencil-alt%</virtual>
</footer>
</div>
<style>
<style lang="stylus" scoped>
:scope
$me-balloon-color = #23A7B6

View File

@ -16,7 +16,7 @@
<div class="grippie" title="%i18n:common.tags.mk-messaging-room.resize-form%"></div>
<mk-messaging-form user={ user }/>
</footer>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -1,6 +1,6 @@
<mk-nav-links>
<a href={ aboutUrl }>%i18n:common.tags.mk-nav-links.about%</a><i></i><a href={ _STATS_URL_ }>%i18n:common.tags.mk-nav-links.stats%</a><i></i><a href={ _STATUS_URL_ }>%i18n:common.tags.mk-nav-links.status%</a><i></i><a href="http://zawazawa.jp/misskey/">%i18n:common.tags.mk-nav-links.wiki%</a><i></i><a href="https://github.com/syuilo/misskey/blob/master/DONORS.md">%i18n:common.tags.mk-nav-links.donors%</a><i></i><a href="https://github.com/syuilo/misskey">%i18n:common.tags.mk-nav-links.repository%</a><i></i><a href={ _DEV_URL_ }>%i18n:common.tags.mk-nav-links.develop%</a><i></i><a href="https://twitter.com/misskey_xyz" target="_blank">Follow us on %fa:B twitter%</a>
<style>
<style lang="stylus" scoped>
:scope
display inline
</style>

View File

@ -1,5 +1,5 @@
<mk-number>
<style>
<style lang="stylus" scoped>
:scope
display inline
</style>

View File

@ -14,7 +14,7 @@
<button class="destroy" @click="destroy" title="%i18n:common.tags.mk-poll-editor.destroy%">
%fa:times%
</button>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 8px

View File

@ -15,7 +15,7 @@
<a if={ !isVoted } @click="toggleResult">{ result ? '%i18n:common.tags.mk-poll.vote%' : '%i18n:common.tags.mk-poll.show-result%' }</a>
<span if={ isVoted }>%i18n:common.tags.mk-poll.voted%</span>
</p>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -15,7 +15,7 @@
<button @click="categorize">%i18n:common.tags.mk-post-menu.categorize%</button>
</div>
</div>
<style>
<style lang="stylus" scoped>
$border-color = rgba(27, 31, 35, 0.15)
:scope

View File

@ -1,5 +1,5 @@
<mk-raw>
<style>
<style lang="stylus" scoped>
:scope
display inline
</style>

View File

@ -9,7 +9,7 @@
<virtual if={ opts.reaction == 'confused' }><img src="/assets/reactions/confused.png" alt="%i18n:common.reactions.confused%"></virtual>
<virtual if={ opts.reaction == 'pudding' }><img src="/assets/reactions/pudding.png" alt="%i18n:common.reactions.pudding%"></virtual>
<style>
<style lang="stylus" scoped>
:scope
display inline

View File

@ -75,7 +75,7 @@
onMouseout: function(e) {
this.title = placeholder;
},
close: function() {
clo1se: function() {
this.$refs.backdrop.style.pointerEvents = 'none';
anime({
targets: this.$refs.backdrop,
@ -98,89 +98,85 @@
};
</script>
<mk-reaction-picker>
<style lang="stylus" scoped>
$border-color = rgba(27, 31, 35, 0.15)
<style>
$border-color = rgba(27, 31, 35, 0.15)
:scope
display block
position initial
:scope
display block
position initial
> .backdrop
position fixed
top 0
left 0
z-index 10000
width 100%
height 100%
background rgba(0, 0, 0, 0.1)
opacity 0
> .backdrop
position fixed
top 0
left 0
z-index 10000
width 100%
height 100%
background rgba(0, 0, 0, 0.1)
opacity 0
> .popover
position absolute
z-index 10001
background #fff
border 1px solid $border-color
border-radius 4px
box-shadow 0 3px 12px rgba(27, 31, 35, 0.15)
transform scale(0.5)
opacity 0
> .popover
position absolute
z-index 10001
background #fff
border 1px solid $border-color
border-radius 4px
box-shadow 0 3px 12px rgba(27, 31, 35, 0.15)
transform scale(0.5)
opacity 0
$balloon-size = 16px
$balloon-size = 16px
&:not(.compact)
margin-top $balloon-size
transform-origin center -($balloon-size)
&:not(.compact)
margin-top $balloon-size
transform-origin center -($balloon-size)
&: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
position absolute
top -($balloon-size * 2) + 1.5px
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 #fff
> p
&:before
content ""
display block
margin 0
padding 8px 10px
font-size 14px
color #586069
border-bottom solid 1px #e1e4e8
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
> div
padding 4px
width 240px
text-align center
&:after
content ""
display block
position absolute
top -($balloon-size * 2) + 1.5px
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 #fff
> button
width 40px
height 40px
font-size 24px
border-radius 2px
> p
display block
margin 0
padding 8px 10px
font-size 14px
color #586069
border-bottom solid 1px #e1e4e8
&:hover
background #eee
> div
padding 4px
width 240px
text-align center
&:active
background $theme-color
box-shadow inset 0 0.15em 0.3em rgba(27, 31, 35, 0.15)
> button
width 40px
height 40px
font-size 24px
border-radius 2px
</style>
&:hover
background #eee
</mk-reaction-picker>
&:active
background $theme-color
box-shadow inset 0 0.15em 0.3em rgba(27, 31, 35, 0.15)
</style>

View File

@ -10,7 +10,7 @@
<span if={ reactions.confused }><mk-reaction-icon reaction='confused'/><span>{ reactions.confused }</span></span>
<span if={ reactions.pudding }><mk-reaction-icon reaction='pudding'/><span>{ reactions.pudding }</span></span>
</virtual>
<style>
<style lang="stylus" scoped>
:scope
display block
border-top dashed 1px #eee

View File

@ -2,7 +2,7 @@
<div class="records" if={ history.length != 0 }>
<mk-signin-record each={ rec in history } rec={ rec }/>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -50,7 +50,7 @@
</header>
<pre ref="headers" class="json" show={ show }>{ JSON.stringify(rec.headers, null, 2) }</pre>
<style>
<style lang="stylus" scoped>
:scope
display block
border-bottom solid 1px #eee

View File

@ -11,7 +11,7 @@
</label>
<button type="submit" disabled={ signing }>{ signing ? '%i18n:common.tags.mk-signin.signing-in%' : '%i18n:common.tags.mk-signin.signin%' }</button>
</form>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -38,7 +38,7 @@
</label>
<button @click="onsubmit">%i18n:common.tags.mk-signup.create%</button>
</form>
<style>
<style lang="stylus" scoped>
:scope
display block
min-width 302px

View File

@ -1,7 +1,7 @@
<mk-special-message>
<p if={ m == 1 && d == 1 }>%i18n:common.tags.mk-special-message.new-year%</p>
<p if={ m == 12 && d == 25 }>%i18n:common.tags.mk-special-message.christmas%</p>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -49,7 +49,7 @@
};
</script>
<style lang="stylus">
<style lang="stylus" scoped>
> div
display block
pointer-events none

View File

@ -7,7 +7,7 @@
<a href={ _API_URL_ + '/disconnect/twitter' } target="_blank" if={ I.twitter } @click="disconnect">%i18n:common.tags.mk-twitter-setting.disconnect%</a>
</p>
<p class="id" if={ I.twitter }>Twitter ID: { I.twitter.user_id }</p>
<style>
<style lang="stylus" scoped>
:scope
display block
color #4a535a

View File

@ -9,7 +9,7 @@
<div class="progress waiting" if={ progress != undefined && progress.value == progress.max }></div>
</li>
</ol>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow auto

View File

@ -1,6 +1,6 @@
<mk-analog-clock>
<canvas ref="canvas" width="256" height="256"></canvas>
<style>
<style lang="stylus" scoped>
:scope
> canvas
display block

View File

@ -6,7 +6,7 @@
<span class="username">@{ username }</span>
</li>
</ol>
<style>
<style lang="stylus" scoped>
:scope
display block
position absolute

View File

@ -5,7 +5,7 @@
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>
</button>
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -1,6 +1,6 @@
<mk-contextmenu>
<yield />
<style>
<style lang="stylus" scoped>
:scope
$width = 240px
$item-height = 38px

View File

@ -10,7 +10,7 @@
</div>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -3,7 +3,7 @@
<div class="main" ref="main" if={ !fetching }>
<mk-post-detail ref="detail" post={ post }/>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
opacity 0

View File

@ -9,7 +9,7 @@
</virtual>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -20,7 +20,7 @@
よろしくお願いいたします。
</p>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
color #fff

View File

@ -8,7 +8,7 @@
<mk-drive-browser multiple={ true } folder={ parent.folder } ref="browser"/>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']

View File

@ -46,7 +46,7 @@
<div class="dropzone" if={ draghover }></div>
<mk-uploader ref="uploader"/>
<input ref="fileInput" type="file" accept="*/*" multiple="multiple" tabindex="-1" onchange={ changeFileInput }/>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -9,7 +9,7 @@
<img src={ file.url + '?thumbnail&size=128' } alt="" onload={ onload }/>
</div>
<p class="name"><span>{ file.name.lastIndexOf('.') != -1 ? file.name.substr(0, file.name.lastIndexOf('.')) : file.name }</span><span class="ext" if={ file.name.lastIndexOf('.') != -1 }>{ file.name.substr(file.name.lastIndexOf('.')) }</span></p>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 8px 0 0 0

View File

@ -1,6 +1,6 @@
<mk-drive-browser-folder data-is-contextmenu-showing={ isContextmenuShowing.toString() } data-draghover={ draghover.toString() } @click="onclick" onmouseover={ onmouseover } onmouseout={ onmouseout } ondragover={ ondragover } ondragenter={ ondragenter } ondragleave={ ondragleave } ondrop={ ondrop } oncontextmenu={ oncontextmenu } draggable="true" ondragstart={ ondragstart } ondragend={ ondragend } title={ title }>
<p class="name"><virtual if={ hover }>%fa:R folder-open .fw%</virtual><virtual if={ !hover }>%fa:R folder .fw%</virtual>{ folder.name }</p>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 8px

View File

@ -1,6 +1,6 @@
<mk-drive-browser-nav-folder data-draghover={ draghover } @click="onclick" ondragover={ ondragover } ondragenter={ ondragenter } ondragleave={ ondragleave } ondrop={ ondrop }>
<virtual if={ folder == null }>%fa:cloud%</virtual><span>{ folder == null ? '%i18n:desktop.tags.mk-drive-browser-nav-folder.drive%' : folder.name }</span>
<style>
<style lang="stylus" scoped>
:scope
&[data-draghover]
background #eee

View File

@ -2,7 +2,7 @@
<div></div>
<div></div>
<div></div>
<style>
<style lang="stylus" scoped>
:scope
display block
width 70px

View File

@ -5,7 +5,7 @@
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>
</button>
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -12,7 +12,7 @@
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
<a class="refresh" @click="refresh">もっと見る</a>
<button class="close" @click="close" title="閉じる">%fa:times%</button>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 24px

View File

@ -9,7 +9,7 @@
<span>{ path }</span>
</p>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow hidden

View File

@ -1,6 +1,6 @@
<mk-activity-home-widget>
<mk-activity-widget design={ data.design } view={ data.view } user={ I } ref="activity"/>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -14,7 +14,7 @@
}</h1>
<p if={ !fetching }><mk-raw if={ broadcasts.length != 0 } content={ broadcasts[i].text }/><virtual if={ broadcasts.length == 0 }>%i18n:desktop.tags.mk-broadcast-home-widget.have-a-nice-day%</virtual></p>
<a if={ broadcasts.length > 1 } @click="next">%i18n:desktop.tags.mk-broadcast-home-widget.next% &gt;&gt;</a>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 10px

View File

@ -24,7 +24,7 @@
</div>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 16px 0

View File

@ -7,7 +7,7 @@
</virtual>
<p class="get-started" if={ this.data.channel == null }>%i18n:desktop.tags.mk-channel-home-widget.get-started%</p>
<mk-channel ref="channel" show={ this.data.channel }/>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff
@ -110,7 +110,7 @@
<mk-channel-post each={ post in posts.slice().reverse() } post={ post } form={ parent.refs.form }/>
</div>
<mk-channel-form ref="form"/>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -207,7 +207,7 @@
</virtual>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
margin 0
@ -253,7 +253,7 @@
<mk-channel-form>
<input ref="text" disabled={ wait } onkeydown={ onkeydown } placeholder="書いて">
<style>
<style lang="stylus" scoped>
:scope
display block
width 100%

View File

@ -3,7 +3,7 @@
<h1>%fa:heart%%i18n:desktop.tags.mk-donation-home-widget.title%</h1>
<p>{'%i18n:desktop.tags.mk-donation-home-widget.text%'.substr(0, '%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('{'))}<a href="/syuilo" data-user-preview="@syuilo">@syuilo</a>{'%i18n:desktop.tags.mk-donation-home-widget.text%'.substr('%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('}') + 1)}</p>
</article>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -10,7 +10,7 @@
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
</yield/>
</mk-timeline>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -3,7 +3,7 @@
<p class="title">%fa:comments%%i18n:desktop.tags.mk-messaging-home-widget.title%</p>
</virtual>
<mk-messaging ref="index" compact={ true }/>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow hidden

View File

@ -1,6 +1,6 @@
<mk-nav-home-widget>
<mk-nav-links/>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 16px

View File

@ -4,7 +4,7 @@
<button @click="settings" title="%i18n:desktop.tags.mk-notifications-home-widget.settings%">%fa:cog%</button>
</virtual>
<mk-notifications/>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -9,7 +9,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && images.length == 0 }>%i18n:desktop.tags.mk-photo-stream-home-widget.no-photos%</p>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -7,7 +7,7 @@
<textarea disabled={ posting } ref="text" onkeydown={ onkeydown } placeholder="%i18n:desktop.tags.mk-post-form-home-widget.placeholder%"></textarea>
<button @click="post" disabled={ posting }>%i18n:desktop.tags.mk-post-form-home-widget.post%</button>
</virtual>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -3,7 +3,7 @@
<img class="avatar" src={ I.avatar_url + '?thumbnail&size=96' } @click="setAvatar" alt="avatar" title="クリックでアバター編集" data-user-preview={ I.id }/>
<a class="name" href={ '/' + I.username }>{ I.name }</a>
<p class="username">@{ I.username }</p>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow hidden

View File

@ -10,7 +10,7 @@
</div>
<p class="empty" if={ !loading && poll == null }>%i18n:desktop.tags.mk-recommended-polls-home-widget.nothing%</p>
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -7,7 +7,7 @@
<virtual each={ item in items }><a href={ item.link } target="_blank">{ item.title }</a></virtual>
</div>
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -10,7 +10,7 @@
<mk-server-home-widget-disk if={ !initializing } show={ data.view == 3 } connection={ connection }/>
<mk-server-home-widget-uptimes if={ !initializing } show={ data.view == 4 } connection={ connection }/>
<mk-server-home-widget-info if={ !initializing } show={ data.view == 5 } connection={ connection } meta={ meta }/>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff
@ -158,7 +158,7 @@
style="stroke: none; fill: url(#{ memGradientId }); mask: url(#{ memMaskId })"/>
<text x="1" y="5">MEM <tspan>{ memP }%</tspan></text>
</svg>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -239,7 +239,7 @@
<p>{ cores } Cores</p>
<p>{ model }</p>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -297,7 +297,7 @@
<p>Used: { bytesToSize(used, 1) }</p>
<p>Free: { bytesToSize(free, 1) }</p>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -363,7 +363,7 @@
<p>Available: { bytesToSize(available, 1) }</p>
<p>Used: { bytesToSize(used, 1) }</p>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
@ -426,7 +426,7 @@
<p>Uptimes</p>
<p>Process: { process ? process.toFixed(0) : '---' }s</p>
<p>OS: { os ? os.toFixed(0) : '---' }s</p>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 10px 14px
@ -464,7 +464,7 @@
<p>Maintainer: <b>{ meta.maintainer }</b></p>
<p>Machine: { meta.machine }</p>
<p>Node: { meta.node }</p>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 10px 14px
@ -498,7 +498,7 @@
riot-stroke={ color }/>
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{ (p * 100).toFixed(0) }%</text>
</svg>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -6,7 +6,7 @@
<div ref="slideB" class="slide b"></div>
</div>
<button @click="resize">%fa:expand%</button>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow hidden

View File

@ -10,7 +10,7 @@
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
</yield/>
</mk-timeline>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -1,6 +1,6 @@
<mk-timemachine-home-widget>
<mk-calendar-widget design={ data.design } warp={ warp }/>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -1,6 +1,6 @@
<mk-tips-home-widget>
<p ref="tip">%fa:R lightbulb%<span ref="text"></span></p>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow visible !important

View File

@ -9,7 +9,7 @@
</div>
<p class="empty" if={ !loading && post == null }>%i18n:desktop.tags.mk-trends-home-widget.nothing%</p>
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -15,7 +15,7 @@
</div>
<p class="empty" if={ !loading && users.length == 0 }>%i18n:desktop.tags.mk-user-recommendation-home-widget.no-one%</p>
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -1,6 +1,6 @@
<mk-version-home-widget>
<p>ver { _VERSION_ } (葵 aoi)</p>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow visible !important

View File

@ -48,7 +48,7 @@
<div ref="right" data-place="right"></div>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -2,7 +2,7 @@
<virtual each={ image in images }>
<mk-images-image image={ image }/>
</virtual>
<style>
<style lang="stylus" scoped>
:scope
display grid
grid-gap 4px
@ -60,7 +60,7 @@
style={ styles }
@click="click"
title={ image.name }></a>
<style>
<style lang="stylus" scoped>
:scope
display block
overflow hidden
@ -111,7 +111,7 @@
<mk-image-dialog>
<div class="bg" ref="bg" @click="close"></div><img ref="img" src={ image.url } alt={ image.name } title={ image.name } @click="close"/>
<style>
<style lang="stylus" scoped>
:scope
display block
position fixed

View File

@ -13,7 +13,7 @@
</div>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -13,7 +13,7 @@
</div>
</div>
<mk-follow-button user={ user }/>
<style>
<style lang="stylus" scoped>
:scope
display block
margin 0

View File

@ -5,7 +5,7 @@
<mk-messaging-room user={ parent.user }/>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']

View File

@ -5,7 +5,7 @@
<mk-messaging ref="index"/>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']

View File

@ -83,7 +83,7 @@
</button>
<p class="empty" if={ notifications.length == 0 && !loading }>ありません!</p>
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -1,6 +1,6 @@
<mk-drive-page>
<mk-drive-browser ref="browser" folder={ opts.folder }/>
<style>
<style lang="stylus" scoped>
:scope
display block
position fixed

View File

@ -28,7 +28,7 @@
left: 15px;
}
</style>
<style>
<style lang="stylus" scoped>
:scope
$width = 1000px
@ -160,7 +160,7 @@
<a href={ _API_URL_ + '/signin/twitter' }>Twitterでサインイン</a>
<div class="divider"><span>or</span></div>
<button class="signup" @click="parent.signup">新規登録</button><a class="introduction" @click="introduction">Misskeyについて</a>
<style>
<style lang="stylus" scoped>
:scope
display block
width 290px
@ -296,7 +296,7 @@
<mk-entrance-signup>
<mk-signup/>
<button class="cancel" type="button" @click="parent.signin" title="キャンセル">%fa:times%</button>
<style>
<style lang="stylus" scoped>
:scope
display block
width 368px

View File

@ -1,6 +1,6 @@
<mk-home-customize-page>
<mk-home ref="home" mode="timeline" customize={ true }/>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -2,7 +2,7 @@
<mk-ui ref="ui" page={ page }>
<mk-home ref="home" mode={ parent.opts.mode }/>
</mk-ui>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -1,7 +1,7 @@
<mk-messaging-room-page>
<mk-messaging-room if={ user } user={ user } is-naked={ true }/>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -4,7 +4,7 @@
<h1>Not Found</h1>
</main>
</mk-ui>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -6,7 +6,7 @@
<a if={ parent.post.prev } href={ parent.post.prev }>%fa:angle-down%%i18n:desktop.tags.mk-post-page.prev%</a>
</main>
</mk-ui>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-search ref="search" query={ parent.opts.query }/>
</mk-ui>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -6,7 +6,7 @@
<button class="ok" @click="ok">%i18n:desktop.tags.mk-selectdrive-page.ok%</button>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
position fixed

View File

@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-user ref="user" user={ parent.user } page={ parent.opts.page }/>
</mk-ui>
<style>
<style lang="stylus" scoped>
:scope
display block
</style>

View File

@ -21,7 +21,7 @@
</div>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
margin 0

View File

@ -63,7 +63,7 @@
</virtual>
</div>
</div>
<style>
<style lang="stylus" scoped>
:scope
display block
margin 0

View File

@ -15,7 +15,7 @@
</div>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window

View File

@ -23,7 +23,7 @@
</button>
<input ref="file" type="file" accept="image/*" multiple="multiple" tabindex="-1" onchange={ changeFile }/>
<div class="dropzone" if={ draghover }></div>
<style>
<style lang="stylus" scoped>
:scope
display block
padding 16px

View File

@ -8,7 +8,7 @@
</div>
</div>
</article>
<style>
<style lang="stylus" scoped>
:scope
display block
margin 0

View File

@ -10,7 +10,7 @@
</div>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
display block

View File

@ -7,7 +7,7 @@
<mk-repost-form ref="form" post={ parent.opts.post }/>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']

View File

@ -10,7 +10,7 @@
<virtual if={ quote }>
<mk-post-form ref="form" repost={ opts.post }/>
</virtual>
<style>
<style lang="stylus" scoped>
:scope
> mk-post-preview

View File

@ -9,7 +9,7 @@
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
</yield/>
</mk-timeline>
<style>
<style lang="stylus" scoped>
:scope
display block
background #fff

View File

@ -3,7 +3,7 @@
<h1>{ query }</h1>
</header>
<mk-search-posts ref="posts" query={ query }/>
<style>
<style lang="stylus" scoped>
:scope
display block
padding-bottom 32px

View File

@ -13,7 +13,7 @@
</div>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']

View File

@ -11,7 +11,7 @@
</div>
</yield>
</mk-window>
<style>
<style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']

Some files were not shown because too many files have changed in this diff Show More