[Client] Remove needless attribute
This commit is contained in:
parent
4193b990c7
commit
2f35c9d40a
173 changed files with 173 additions and 177 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<mk-analog-clock>
|
||||
<canvas ref="canvas" width="256" height="256"></canvas>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> canvas
|
||||
display block
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<span class="username">@{ username }</span>
|
||||
</li>
|
||||
</ol>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
position absolute
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<mk-big-follow-button>
|
||||
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait } title={ user.is_following ? 'フォロー解除' : 'フォローする' }><span if={ !wait && user.is_following }><i class="fa fa-minus"></i>フォロー解除</span><span if={ !wait && !user.is_following }><i class="fa fa-plus"></i>フォロー</span><i class="fa fa-spinner fa-pulse fa-fw" if={ wait }></i></button>
|
||||
<div class="init" if={ init }><i class="fa fa-spinner fa-pulse fa-fw"></i></div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<mk-contextmenu><yield />
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
$width = 240px
|
||||
$item-height = 38px
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<button class="ok" onclick={ parent.ok }>決定</button>
|
||||
</div></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
よろしくお願いいたします。
|
||||
</p>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
color #fff
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<mk-drive-browser multiple={ true } folder={ parent.folder }></mk-drive-browser>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<div class="dropzone" if={ draghover }></div>
|
||||
<mk-uploader ref="uploader"></mk-uploader>
|
||||
<input ref="fileInput" type="file" accept="*/*" multiple="multiple" tabindex="-1" onchange={ changeFileInput }/>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
<div class="thumbnail"><img src={ file.url + '?thumbnail&size=128' } alt=""/></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 type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 4px
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-drive-browser-folder data-is-contextmenu-showing={ isContextmenuShowing.toString() } data-draghover={ draghover.toString() } onclick={ 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"><i class="fa fa-fw { fa-folder-o: !hover, fa-folder-open-o: hover }"></i>{ folder.name }</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 4px
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<mk-drive-browser-nav-folder data-draghover={ draghover } onclick={ onclick } ondragover={ ondragover } ondragenter={ ondragenter } ondragleave={ ondragleave } ondrop={ ondrop }><i class="fa fa-cloud" if={ folder == null }></i><span>{ folder == null ? 'ドライブ' : folder.name }</span>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
&[data-draghover]
|
||||
background #eee
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
width 70px
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<mk-follow-button>
|
||||
<button class={ wait: wait, follow: !user.is_following, unfollow: user.is_following } if={ !init } onclick={ onclick } disabled={ wait } title={ user.is_following ? 'フォロー解除' : 'フォローする' }><i class="fa fa-minus" if={ !wait && user.is_following }></i><i class="fa fa-plus" if={ !wait && !user.is_following }></i><i class="fa fa-spinner fa-pulse fa-fw" if={ wait }></i></button>
|
||||
<div class="init" if={ init }><i class="fa fa-spinner fa-pulse fa-fw"></i></div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<mk-ellipsis></mk-ellipsis>
|
||||
</p><a class="refresh" onclick={ refresh }>もっと見る</a>
|
||||
<button class="close" onclick={ close } title="閉じる"><i class="fa fa-times"></i></button>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding 24px
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
<h1>開発者募集中!</h1>
|
||||
<p><a href="https://github.com/syuilo/misskey" target="_blank">Misskeyはオープンソースで開発されています。リポジトリはこちら。</a></p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding 10px 10px 10px 50px
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding 16px 0
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
もしご興味があれば、<a href="/syuilo" data-user-preview="@syuilo">@syuilo</a>までご連絡ください。ご協力ありがとうございます。
|
||||
</p>
|
||||
</article>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ isEmpty }><i class="fa fa-comments-o"></i><span if={ mode == 'all' }>あなた宛ての投稿はありません。</span><span if={ mode == 'following' }>あなたがフォローしているユーザーからの言及はありません。</span></p>
|
||||
<mk-timeline ref="timeline"><yield to="footer"><i class="fa fa-moon-o" if={ !parent.moreLoading }></i><i class="fa fa-spinner fa-pulse fa-fw" if={ parent.moreLoading }></i></yield></mk-timeline>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<mk-nav-home-widget><a href={ CONFIG.urls.about }>Misskeyについて</a><i>・</i><a href={ CONFIG.urls.about + '/status' }>ステータス</a><i>・</i><a href="https://github.com/syuilo/misskey">リポジトリ</a><i>・</i><a href={ CONFIG.urls.dev }>開発者</a><i>・</i><a href="https://twitter.com/misskey_xyz" target="_blank">Follow us on <i class="fa fa-twitter"></i></a>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding 16px
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<p class="title"><i class="fa fa-bell-o"></i>通知</p>
|
||||
<button onclick={ settings } title="通知の設定"><i class="fa fa-cog"></i></button>
|
||||
<mk-notifications></mk-notifications>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && images.length == 0 }>写真はありません</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<mk-profile-home-widget>
|
||||
<div class="banner" style={ I.banner_url ? 'background-image: url(' + I.banner_url + '?thumbnail&size=256)' : '' } onclick={ setBanner }></div><img class="avatar" src={ I.avatar_url + '?thumbnail&size=64' } onclick={ setAvatar } alt="avatar" data-user-preview={ I.id }/><a class="name" href={ CONFIG.url + '/' + I.username }>{ I.name }</a>
|
||||
<p class="username">@{ I.username }</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
overflow hidden
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<p class="initializing" if={ initializing }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます
|
||||
<mk-ellipsis></mk-ellipsis>
|
||||
</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ isEmpty }><i class="fa fa-comments-o"></i>自分の投稿や、自分がフォローしているユーザーの投稿が表示されます。</p>
|
||||
<mk-timeline ref="timeline"><yield to="footer"><i class="fa fa-moon-o" if={ !parent.moreLoading }></i><i class="fa fa-spinner fa-pulse fa-fw" if={ parent.moreLoading }></i></yield></mk-timeline>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-tips-home-widget>
|
||||
<p ref="tip"><i class="fa fa-lightbulb-o"></i><span ref="text"></span></p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background transparent !important
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<p class="loading" if={ loading }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます
|
||||
<mk-ellipsis></mk-ellipsis>
|
||||
</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</main>
|
||||
<div class="right" ref="right"></div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-image-dialog>
|
||||
<div class="bg" ref="bg" onclick={ close }></div><img ref="img" src={ image.url } alt={ image.name } title={ image.name } onclick={ close }/>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-images-viewer>
|
||||
<div class="image" ref="view" onmousemove={ mousemove } style={ 'background-image: url(' + image.url + '?thumbnail' } onclick={ click }><img src={ image.url + '?thumbnail&size=512' } alt={ image.name } title={ image.name }/></div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding 8px
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<button class="ok" disabled={ !parent.allowEmpty && refs.text.value.length == 0 } onclick={ parent.ok }>決定</button>
|
||||
</div></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<mk-follow-button user={ user }></mk-follow-button>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<mk-messaging-room user={ parent.user }></mk-messaging-room>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<mk-messaging ref="index"></mk-messaging>
|
||||
</yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
<p class="loading" if={ loading }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます
|
||||
<mk-ellipsis></mk-ellipsis>
|
||||
</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
|
||||
</style>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
<div class="divider"><span>or</span></div>
|
||||
<button class="signup" onclick={ parent.signup }>新規登録</button><a class="introduction" onclick={ introduction }>Misskeyについて</a>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
width 290px
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<mk-entrance-signup>
|
||||
<mk-signup></mk-signup>
|
||||
<button class="cancel" type="button" onclick={ parent.signin } title="キャンセル"><i class="fa fa-times"></i></button>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
width 368px
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<mk-ui ref="ui" page={ page }>
|
||||
<mk-home ref="home" mode={ parent.opts.mode }></mk-home>
|
||||
</mk-ui>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<div class="mask"></div>
|
||||
</main>
|
||||
</mk-ui>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<mk-post-detail ref="detail" post={ parent.post }></mk-post-detail>
|
||||
</main>
|
||||
</mk-ui>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<mk-ui ref="ui">
|
||||
<mk-search ref="search" query={ parent.opts.query }></mk-search>
|
||||
</mk-ui>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<mk-ui ref="ui">
|
||||
<mk-user ref="user" user={ parent.user } page={ parent.opts.page }></mk-user>
|
||||
</mk-ui>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<mk-post-form ref="form" reply={ parent.opts.reply }></mk-post-form>
|
||||
</div></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
|
||||
|
|
|
|||
|
|
@ -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 type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding 16px
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-post-status-graph>
|
||||
<canvas ref="canv" width={ opts.width } height={ opts.height }></canvas>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<div class="progress waiting" if={ parent.value >= parent.max }></div>
|
||||
</div></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<yield to="content">
|
||||
<mk-repost-form ref="form" post={ parent.opts.post }></mk-repost-form></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<button class="cancel" onclick={ cancel }>キャンセル</button>
|
||||
<button class="ok" onclick={ ok }>Repost</button>
|
||||
</footer>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
|
||||
> mk-post-preview
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ isEmpty }><i class="fa fa-search"></i>「{ query }」に関する投稿は見つかりませんでした。</p>
|
||||
<mk-timeline ref="timeline"><yield to="footer"><i class="fa fa-moon-o" if={ !parent.moreLoading }></i><i class="fa fa-spinner fa-pulse fa-fw" if={ parent.moreLoading }></i></yield></mk-timeline>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<h1>{ query }</h1>
|
||||
</header>
|
||||
<mk-search-posts ref="posts" query={ query }></mk-search-posts>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
padding-bottom 32px
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<button class="ok" disabled={ parent.multiple && parent.file.length == 0 } onclick={ parent.ok }>決定</button>
|
||||
</div></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<p><b>アバターを設定</b>してみませんか?
|
||||
<button onclick={ close }><i class="fa fa-times"></i></button>
|
||||
</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
cursor pointer
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<p><b>バナーを設定</b>してみませんか?
|
||||
<button onclick={ close }><i class="fa fa-times"></i></button>
|
||||
</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
cursor pointer
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<yield to="content">
|
||||
<mk-settings></mk-settings></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@
|
|||
<mk-api-info></mk-api-info>
|
||||
</section>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display flex
|
||||
width 100%
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<p if={ state == 'reconnecting' }><i class="fa fa-spinner fa-spin"></i><span>切断されました 接続中
|
||||
<mk-ellipsis></mk-ellipsis></span></p>
|
||||
<p if={ state == 'connected' }><i class="fa fa-check"></i><span>接続完了</span></p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
pointer-events none
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<summary>投票</summary>
|
||||
<mk-poll post={ post }></mk-poll>
|
||||
</details>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
overflow-wrap break-word
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
@title = @date-stringify @post.created_at
|
||||
|
||||
</script>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<div class="detail" if={ isDetailOpened }>
|
||||
<mk-post-status-graph width="462" height="130" post={ p }></mk-post-status-graph>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<p class="date" if={ i != posts.length - 1 && post._date != posts[i + 1]._date }><span><i class="fa fa-angle-up"></i>{ post._datetext }</span><span><i class="fa fa-angle-down"></i>{ posts[i + 1]._datetext }</span></p>
|
||||
</virtual>
|
||||
<footer data-yield="footer"><yield from="footer"/></footer>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
float left
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<div class="content">
|
||||
<mk-analog-clock></mk-analog-clock>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display inline-block
|
||||
overflow visible
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<p>お知らせ</p></a></li>
|
||||
<li class="tv"><a href="https://misskey.tk" target="_blank"><i class="fa fa-television"></i>
|
||||
<p>MisskeyTV™</p></a></li>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display inline-block
|
||||
margin 0
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="notifications" if={ isOpen }>
|
||||
<mk-notifications></mk-notifications>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
float left
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-ui-header-post-button>
|
||||
<button onclick={ post } title="新規投稿"><i class="fa fa-pencil-square-o"></i></button>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display inline-block
|
||||
padding 8px
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<input ref="q" type="search" placeholder=" 検索"/>
|
||||
<div class="result"></div>
|
||||
</form>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
|
||||
> form
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-ui-notification>
|
||||
<p>{ opts.message }</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
position fixed
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="content"><yield /></div>
|
||||
</div>
|
||||
<mk-stream-indicator></mk-stream-indicator>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<yield to="content">
|
||||
<mk-user-followers user={ parent.user }></mk-user-followers></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-followers>
|
||||
<mk-users-list fetch={ fetch } count={ user.followers_count } you-know-count={ user.followers_you_know_count } no-users={ 'フォロワーはいないようです。' }></mk-users-list>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<yield to="content">
|
||||
<mk-user-following user={ parent.user }></mk-user-following></yield>
|
||||
</mk-window>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
> mk-window
|
||||
[data-yield='header']
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-following>
|
||||
<mk-users-list fetch={ fetch } count={ user.following_count } you-know-count={ user.following_you_know_count } no-users={ 'フォロー中のユーザーはいないようです。' }></mk-users-list>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-friends-graph>
|
||||
<canvas ref="canv" width="750" height="250"></canvas>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
width 750px
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<h1>いいね</h1>
|
||||
<mk-user-likes-graph user={ opts.user }></mk-user-likes-graph>
|
||||
</section>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<footer><a href={ '/' + user.username }>投稿</a><a href={ '/' + user.username + '/media' }>メディア</a><a href={ '/' + user.username + '/graphs' }>グラフ</a>
|
||||
<button onclick={ NotImplementedException }><i class="fa fa-ellipsis-h"></i></button>
|
||||
</footer>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
$footer-height = 58px
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<main>
|
||||
<mk-user-timeline ref="tl" user={ user }></mk-user-timeline>
|
||||
</main>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display flex
|
||||
justify-content center
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-likes-graph>
|
||||
<canvas ref="canv" width="750" height="250"></canvas>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
width 750px
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</virtual>
|
||||
</div>
|
||||
<p class="empty" if={ !initializing && images.length == 0 }>写真はありません</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<mk-user-posts-graph>
|
||||
<canvas ref="canv" width="750" height="250"></canvas>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
width 750px
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
<mk-follow-button if={ SIGNIN && user.id != I.id } user={ userPromise }></mk-follow-button>
|
||||
</virtual>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
position absolute
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<p class="following"><i class="fa fa-angle-right"></i><a onclick={ showFollowing }>{ user.following_count }</a>人を<b>フォロー</b></p>
|
||||
<p class="followers"><i class="fa fa-angle-right"></i><a onclick={ showFollowers }>{ user.followers_count }</a>人の<b>フォロワー</b></p>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<p class="empty" if={ isEmpty }><i class="fa fa-comments-o"></i>このユーザーはまだ何も投稿していないようです。</p>
|
||||
<mk-timeline ref="timeline"><yield to="footer"><i class="fa fa-moon-o" if={ !parent.moreLoading }></i><i class="fa fa-spinner fa-pulse fa-fw" if={ parent.moreLoading }></i></yield></mk-timeline>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<mk-user-graphs if={ page == 'graphs' } user={ user }></mk-user-graphs>
|
||||
</div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
background #fff
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<p class="fetching" if={ fetching }><i class="fa fa-spinner fa-pulse fa-fw"></i>読み込んでいます
|
||||
<mk-ellipsis></mk-ellipsis>
|
||||
</p>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
height 100%
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<div class="handle bottom-right" if={ canResize } onmousedown={ onBottomRightHandleMousedown }></div>
|
||||
<div class="handle bottom-left" if={ canResize } onmousedown={ onBottomLeftHandleMousedown }></div>
|
||||
</div>
|
||||
<style type="stylus">
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue