summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-07 18:30:17 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-07 18:30:17 +0900
commit063193f429f5a8a9843fe1f13696c9d22a261b9e (patch)
tree0b3124f328200a3e1ce6a428458474404dc41789 /src/web
parentwip (diff)
downloadmisskey-063193f429f5a8a9843fe1f13696c9d22a261b9e.tar.gz
misskey-063193f429f5a8a9843fe1f13696c9d22a261b9e.tar.bz2
misskey-063193f429f5a8a9843fe1f13696c9d22a261b9e.zip
wip
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/auth/tags/form.tag2
-rw-r--r--src/web/app/auth/tags/index.tag2
-rw-r--r--src/web/app/ch/tags/channel.tag6
-rw-r--r--src/web/app/ch/tags/header.tag2
-rw-r--r--src/web/app/ch/tags/index.tag2
-rw-r--r--src/web/app/common/tags/activity-table.tag2
-rw-r--r--src/web/app/common/tags/authorized-apps.tag2
-rw-r--r--src/web/app/common/tags/ellipsis.tag2
-rw-r--r--src/web/app/common/tags/error.tag4
-rw-r--r--src/web/app/common/tags/file-type-icon.tag2
-rw-r--r--src/web/app/common/tags/forkit.tag2
-rw-r--r--src/web/app/common/tags/introduction.tag2
-rw-r--r--src/web/app/common/tags/messaging/form.tag2
-rw-r--r--src/web/app/common/tags/messaging/index.tag2
-rw-r--r--src/web/app/common/tags/messaging/message.tag2
-rw-r--r--src/web/app/common/tags/messaging/room.tag2
-rw-r--r--src/web/app/common/tags/nav-links.tag2
-rw-r--r--src/web/app/common/tags/number.tag2
-rw-r--r--src/web/app/common/tags/poll-editor.tag2
-rw-r--r--src/web/app/common/tags/poll.tag2
-rw-r--r--src/web/app/common/tags/post-menu.tag2
-rw-r--r--src/web/app/common/tags/raw.tag2
-rw-r--r--src/web/app/common/tags/reaction-icon.tag2
-rw-r--r--src/web/app/common/tags/reaction-picker.vue142
-rw-r--r--src/web/app/common/tags/reactions-viewer.tag2
-rw-r--r--src/web/app/common/tags/signin-history.tag4
-rw-r--r--src/web/app/common/tags/signin.tag2
-rw-r--r--src/web/app/common/tags/signup.tag2
-rw-r--r--src/web/app/common/tags/special-message.tag2
-rw-r--r--src/web/app/common/tags/stream-indicator.vue2
-rw-r--r--src/web/app/common/tags/twitter-setting.tag2
-rw-r--r--src/web/app/common/tags/uploader.tag2
-rw-r--r--src/web/app/desktop/tags/analog-clock.tag2
-rw-r--r--src/web/app/desktop/tags/autocomplete-suggestion.tag2
-rw-r--r--src/web/app/desktop/tags/big-follow-button.tag2
-rw-r--r--src/web/app/desktop/tags/contextmenu.tag2
-rw-r--r--src/web/app/desktop/tags/crop-window.tag2
-rw-r--r--src/web/app/desktop/tags/detailed-post-window.tag2
-rw-r--r--src/web/app/desktop/tags/dialog.tag2
-rw-r--r--src/web/app/desktop/tags/donation.tag2
-rw-r--r--src/web/app/desktop/tags/drive/browser-window.tag2
-rw-r--r--src/web/app/desktop/tags/drive/browser.tag2
-rw-r--r--src/web/app/desktop/tags/drive/file.tag2
-rw-r--r--src/web/app/desktop/tags/drive/folder.tag2
-rw-r--r--src/web/app/desktop/tags/drive/nav-folder.tag2
-rw-r--r--src/web/app/desktop/tags/ellipsis-icon.tag2
-rw-r--r--src/web/app/desktop/tags/follow-button.tag2
-rw-r--r--src/web/app/desktop/tags/following-setuper.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/access-log.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/activity.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/broadcast.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/calendar.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/channel.tag8
-rw-r--r--src/web/app/desktop/tags/home-widgets/donation.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/mentions.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/messaging.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/nav.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/notifications.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/photo-stream.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/post-form.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/profile.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/recommended-polls.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/rss-reader.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/server.tag16
-rw-r--r--src/web/app/desktop/tags/home-widgets/slideshow.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/timeline.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/timemachine.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/tips.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/trends.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/user-recommendation.tag2
-rw-r--r--src/web/app/desktop/tags/home-widgets/version.tag2
-rw-r--r--src/web/app/desktop/tags/home.tag2
-rw-r--r--src/web/app/desktop/tags/images.tag6
-rw-r--r--src/web/app/desktop/tags/input-dialog.tag2
-rw-r--r--src/web/app/desktop/tags/list-user.tag2
-rw-r--r--src/web/app/desktop/tags/messaging/room-window.tag2
-rw-r--r--src/web/app/desktop/tags/messaging/window.tag2
-rw-r--r--src/web/app/desktop/tags/notifications.tag2
-rw-r--r--src/web/app/desktop/tags/pages/drive.tag2
-rw-r--r--src/web/app/desktop/tags/pages/entrance.tag6
-rw-r--r--src/web/app/desktop/tags/pages/home-customize.tag2
-rw-r--r--src/web/app/desktop/tags/pages/home.tag2
-rw-r--r--src/web/app/desktop/tags/pages/messaging-room.tag2
-rw-r--r--src/web/app/desktop/tags/pages/not-found.tag2
-rw-r--r--src/web/app/desktop/tags/pages/post.tag2
-rw-r--r--src/web/app/desktop/tags/pages/search.tag2
-rw-r--r--src/web/app/desktop/tags/pages/selectdrive.tag2
-rw-r--r--src/web/app/desktop/tags/pages/user.tag2
-rw-r--r--src/web/app/desktop/tags/post-detail-sub.tag2
-rw-r--r--src/web/app/desktop/tags/post-detail.tag2
-rw-r--r--src/web/app/desktop/tags/post-form-window.tag2
-rw-r--r--src/web/app/desktop/tags/post-form.tag2
-rw-r--r--src/web/app/desktop/tags/post-preview.tag2
-rw-r--r--src/web/app/desktop/tags/progress-dialog.tag2
-rw-r--r--src/web/app/desktop/tags/repost-form-window.tag2
-rw-r--r--src/web/app/desktop/tags/repost-form.tag2
-rw-r--r--src/web/app/desktop/tags/search-posts.tag2
-rw-r--r--src/web/app/desktop/tags/search.tag2
-rw-r--r--src/web/app/desktop/tags/select-file-from-drive-window.tag2
-rw-r--r--src/web/app/desktop/tags/select-folder-from-drive-window.tag2
-rw-r--r--src/web/app/desktop/tags/set-avatar-suggestion.tag2
-rw-r--r--src/web/app/desktop/tags/set-banner-suggestion.tag2
-rw-r--r--src/web/app/desktop/tags/settings-window.tag2
-rw-r--r--src/web/app/desktop/tags/settings.tag14
-rw-r--r--src/web/app/desktop/tags/sub-post-content.tag2
-rw-r--r--src/web/app/desktop/tags/timeline.tag6
-rw-r--r--src/web/app/desktop/tags/ui.tag18
-rw-r--r--src/web/app/desktop/tags/user-followers-window.tag2
-rw-r--r--src/web/app/desktop/tags/user-followers.tag2
-rw-r--r--src/web/app/desktop/tags/user-following-window.tag2
-rw-r--r--src/web/app/desktop/tags/user-following.tag2
-rw-r--r--src/web/app/desktop/tags/user-preview.tag2
-rw-r--r--src/web/app/desktop/tags/user-timeline.tag2
-rw-r--r--src/web/app/desktop/tags/user.tag18
-rw-r--r--src/web/app/desktop/tags/users-list.tag2
-rw-r--r--src/web/app/desktop/tags/widgets/activity.tag6
-rw-r--r--src/web/app/desktop/tags/widgets/calendar.tag2
-rw-r--r--src/web/app/desktop/tags/window.tag2
-rw-r--r--src/web/app/dev/tags/new-app-form.tag2
-rw-r--r--src/web/app/dev/tags/pages/app.tag2
-rw-r--r--src/web/app/dev/tags/pages/apps.tag2
-rw-r--r--src/web/app/dev/tags/pages/index.tag2
-rw-r--r--src/web/app/dev/tags/pages/new-app.tag2
-rw-r--r--src/web/app/mobile/tags/drive-folder-selector.tag2
-rw-r--r--src/web/app/mobile/tags/drive-selector.tag2
-rw-r--r--src/web/app/mobile/tags/drive.tag2
-rw-r--r--src/web/app/mobile/tags/drive/file-viewer.tag2
-rw-r--r--src/web/app/mobile/tags/drive/file.tag2
-rw-r--r--src/web/app/mobile/tags/drive/folder.tag2
-rw-r--r--src/web/app/mobile/tags/follow-button.tag2
-rw-r--r--src/web/app/mobile/tags/home-timeline.tag2
-rw-r--r--src/web/app/mobile/tags/home.tag2
-rw-r--r--src/web/app/mobile/tags/images.tag4
-rw-r--r--src/web/app/mobile/tags/init-following.tag2
-rw-r--r--src/web/app/mobile/tags/notification-preview.tag2
-rw-r--r--src/web/app/mobile/tags/notification.tag2
-rw-r--r--src/web/app/mobile/tags/notifications.tag2
-rw-r--r--src/web/app/mobile/tags/notify.tag2
-rw-r--r--src/web/app/mobile/tags/page/drive.tag2
-rw-r--r--src/web/app/mobile/tags/page/entrance.tag2
-rw-r--r--src/web/app/mobile/tags/page/entrance/signin.tag2
-rw-r--r--src/web/app/mobile/tags/page/entrance/signup.tag2
-rw-r--r--src/web/app/mobile/tags/page/home.tag2
-rw-r--r--src/web/app/mobile/tags/page/messaging-room.tag2
-rw-r--r--src/web/app/mobile/tags/page/messaging.tag2
-rw-r--r--src/web/app/mobile/tags/page/new-post.tag2
-rw-r--r--src/web/app/mobile/tags/page/notifications.tag2
-rw-r--r--src/web/app/mobile/tags/page/post.tag2
-rw-r--r--src/web/app/mobile/tags/page/search.tag2
-rw-r--r--src/web/app/mobile/tags/page/selectdrive.tag2
-rw-r--r--src/web/app/mobile/tags/page/settings.tag4
-rw-r--r--src/web/app/mobile/tags/page/settings/authorized-apps.tag2
-rw-r--r--src/web/app/mobile/tags/page/settings/profile.tag4
-rw-r--r--src/web/app/mobile/tags/page/settings/signin.tag2
-rw-r--r--src/web/app/mobile/tags/page/settings/twitter.tag2
-rw-r--r--src/web/app/mobile/tags/page/user-followers.tag2
-rw-r--r--src/web/app/mobile/tags/page/user-following.tag2
-rw-r--r--src/web/app/mobile/tags/page/user.tag2
-rw-r--r--src/web/app/mobile/tags/post-detail.tag4
-rw-r--r--src/web/app/mobile/tags/post-form.tag2
-rw-r--r--src/web/app/mobile/tags/post-preview.tag2
-rw-r--r--src/web/app/mobile/tags/search-posts.tag2
-rw-r--r--src/web/app/mobile/tags/search.tag2
-rw-r--r--src/web/app/mobile/tags/sub-post-content.tag2
-rw-r--r--src/web/app/mobile/tags/timeline.tag6
-rw-r--r--src/web/app/mobile/tags/ui.tag6
-rw-r--r--src/web/app/mobile/tags/user-card.tag2
-rw-r--r--src/web/app/mobile/tags/user-followers.tag2
-rw-r--r--src/web/app/mobile/tags/user-following.tag2
-rw-r--r--src/web/app/mobile/tags/user-preview.tag2
-rw-r--r--src/web/app/mobile/tags/user-timeline.tag2
-rw-r--r--src/web/app/mobile/tags/user.tag20
-rw-r--r--src/web/app/mobile/tags/users-list.tag2
-rw-r--r--src/web/app/stats/tags/index.tag10
-rw-r--r--src/web/app/status/tags/index.tag8
175 files changed, 311 insertions, 315 deletions
diff --git a/src/web/app/auth/tags/form.tag b/src/web/app/auth/tags/form.tag
index 5bb27c269e..8f60aadb54 100644
--- a/src/web/app/auth/tags/form.tag
+++ b/src/web/app/auth/tags/form.tag
@@ -29,7 +29,7 @@
<button @click="cancel">キャンセル</button>
<button @click="accept">アクセスを許可</button>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/auth/tags/index.tag b/src/web/app/auth/tags/index.tag
index 8d70a4162b..e1c0cb82ef 100644
--- a/src/web/app/auth/tags/index.tag
+++ b/src/web/app/auth/tags/index.tag
@@ -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
diff --git a/src/web/app/ch/tags/channel.tag b/src/web/app/ch/tags/channel.tag
index fec542500d..ea0234340b 100644
--- a/src/web/app/ch/tags/channel.tag
+++ b/src/web/app/ch/tags/channel.tag
@@ -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
diff --git a/src/web/app/ch/tags/header.tag b/src/web/app/ch/tags/header.tag
index dec83c9a5b..8af6f1c37e 100644
--- a/src/web/app/ch/tags/header.tag
+++ b/src/web/app/ch/tags/header.tag
@@ -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
diff --git a/src/web/app/ch/tags/index.tag b/src/web/app/ch/tags/index.tag
index 489f21148f..2fd5493681 100644
--- a/src/web/app/ch/tags/index.tag
+++ b/src/web/app/ch/tags/index.tag
@@ -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
diff --git a/src/web/app/common/tags/activity-table.tag b/src/web/app/common/tags/activity-table.tag
index 1d26d1788a..b0a1000906 100644
--- a/src/web/app/common/tags/activity-table.tag
+++ b/src/web/app/common/tags/activity-table.tag
@@ -12,7 +12,7 @@
stroke-width="0.1"
stroke="#f73520"/>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
max-width 600px
diff --git a/src/web/app/common/tags/authorized-apps.tag b/src/web/app/common/tags/authorized-apps.tag
index 0594032de6..324871949d 100644
--- a/src/web/app/common/tags/authorized-apps.tag
+++ b/src/web/app/common/tags/authorized-apps.tag
@@ -8,7 +8,7 @@
<p>{ app.description }</p>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/common/tags/ellipsis.tag b/src/web/app/common/tags/ellipsis.tag
index 97ef745d02..734454e4a0 100644
--- a/src/web/app/common/tags/ellipsis.tag
+++ b/src/web/app/common/tags/ellipsis.tag
@@ -1,5 +1,5 @@
<mk-ellipsis><span>.</span><span>.</span><span>.</span>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline
diff --git a/src/web/app/common/tags/error.tag b/src/web/app/common/tags/error.tag
index 07ba611615..0a65357622 100644
--- a/src/web/app/common/tags/error.tag
+++ b/src/web/app/common/tags/error.tag
@@ -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%
diff --git a/src/web/app/common/tags/file-type-icon.tag b/src/web/app/common/tags/file-type-icon.tag
index dba2ae44d6..035aec247c 100644
--- a/src/web/app/common/tags/file-type-icon.tag
+++ b/src/web/app/common/tags/file-type-icon.tag
@@ -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>
diff --git a/src/web/app/common/tags/forkit.tag b/src/web/app/common/tags/forkit.tag
index 55d5731081..6a8d06e564 100644
--- a/src/web/app/common/tags/forkit.tag
+++ b/src/web/app/common/tags/forkit.tag
@@ -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
diff --git a/src/web/app/common/tags/introduction.tag b/src/web/app/common/tags/introduction.tag
index 28afc6fa46..c92cff0d1d 100644
--- a/src/web/app/common/tags/introduction.tag
+++ b/src/web/app/common/tags/introduction.tag
@@ -5,7 +5,7 @@
<p>無料で誰でも利用でき、広告も掲載していません。</p>
<p><a href={ _DOCS_URL_ } target="_blank">もっと知りたい方はこちら</a></p>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/common/tags/messaging/form.tag b/src/web/app/common/tags/messaging/form.tag
index 93733e8d7a..33b0beb885 100644
--- a/src/web/app/common/tags/messaging/form.tag
+++ b/src/web/app/common/tags/messaging/form.tag
@@ -12,7 +12,7 @@
%fa:R folder-open%
</button>
<input name="file" type="file" accept="image/*"/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/common/tags/messaging/index.tag b/src/web/app/common/tags/messaging/index.tag
index d38569999d..24d49257c5 100644
--- a/src/web/app/common/tags/messaging/index.tag
+++ b/src/web/app/common/tags/messaging/index.tag
@@ -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
diff --git a/src/web/app/common/tags/messaging/message.tag b/src/web/app/common/tags/messaging/message.tag
index f211b10b55..d65bb8770a 100644
--- a/src/web/app/common/tags/messaging/message.tag
+++ b/src/web/app/common/tags/messaging/message.tag
@@ -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
diff --git a/src/web/app/common/tags/messaging/room.tag b/src/web/app/common/tags/messaging/room.tag
index 2fdf50457b..0a669dbc9a 100644
--- a/src/web/app/common/tags/messaging/room.tag
+++ b/src/web/app/common/tags/messaging/room.tag
@@ -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
diff --git a/src/web/app/common/tags/nav-links.tag b/src/web/app/common/tags/nav-links.tag
index ea122575aa..3766e5c0a6 100644
--- a/src/web/app/common/tags/nav-links.tag
+++ b/src/web/app/common/tags/nav-links.tag
@@ -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>
diff --git a/src/web/app/common/tags/number.tag b/src/web/app/common/tags/number.tag
index 7afb8b3983..4b1081a87c 100644
--- a/src/web/app/common/tags/number.tag
+++ b/src/web/app/common/tags/number.tag
@@ -1,5 +1,5 @@
<mk-number>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline
</style>
diff --git a/src/web/app/common/tags/poll-editor.tag b/src/web/app/common/tags/poll-editor.tag
index f660032c92..28e059e877 100644
--- a/src/web/app/common/tags/poll-editor.tag
+++ b/src/web/app/common/tags/poll-editor.tag
@@ -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
diff --git a/src/web/app/common/tags/poll.tag b/src/web/app/common/tags/poll.tag
index 3d0a559d0f..0033688155 100644
--- a/src/web/app/common/tags/poll.tag
+++ b/src/web/app/common/tags/poll.tag
@@ -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
diff --git a/src/web/app/common/tags/post-menu.tag b/src/web/app/common/tags/post-menu.tag
index 2ca8c9602f..da5eaf8edc 100644
--- a/src/web/app/common/tags/post-menu.tag
+++ b/src/web/app/common/tags/post-menu.tag
@@ -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
diff --git a/src/web/app/common/tags/raw.tag b/src/web/app/common/tags/raw.tag
index adc6de5a3b..55de0962e9 100644
--- a/src/web/app/common/tags/raw.tag
+++ b/src/web/app/common/tags/raw.tag
@@ -1,5 +1,5 @@
<mk-raw>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline
</style>
diff --git a/src/web/app/common/tags/reaction-icon.tag b/src/web/app/common/tags/reaction-icon.tag
index 0127293917..50d62cfba1 100644
--- a/src/web/app/common/tags/reaction-icon.tag
+++ b/src/web/app/common/tags/reaction-icon.tag
@@ -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
diff --git a/src/web/app/common/tags/reaction-picker.vue b/src/web/app/common/tags/reaction-picker.vue
index 496144d886..307b158c62 100644
--- a/src/web/app/common/tags/reaction-picker.vue
+++ b/src/web/app/common/tags/reaction-picker.vue
@@ -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
+ &: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
- > p
+ &:after
+ content ""
display block
- margin 0
- padding 8px 10px
- font-size 14px
- color #586069
- border-bottom solid 1px #e1e4e8
+ 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
- > div
- padding 4px
- width 240px
- text-align center
+ > p
+ display block
+ margin 0
+ padding 8px 10px
+ font-size 14px
+ color #586069
+ border-bottom solid 1px #e1e4e8
- > button
- width 40px
- height 40px
- font-size 24px
- border-radius 2px
+ > div
+ padding 4px
+ width 240px
+ text-align center
- &:hover
- background #eee
+ > button
+ width 40px
+ height 40px
+ font-size 24px
+ border-radius 2px
- &:active
- background $theme-color
- box-shadow inset 0 0.15em 0.3em rgba(27, 31, 35, 0.15)
+ &:hover
+ background #eee
- </style>
+ &:active
+ background $theme-color
+ box-shadow inset 0 0.15em 0.3em rgba(27, 31, 35, 0.15)
-</mk-reaction-picker>
+</style>
diff --git a/src/web/app/common/tags/reactions-viewer.tag b/src/web/app/common/tags/reactions-viewer.tag
index 50fb023f70..8ec14a12f8 100644
--- a/src/web/app/common/tags/reactions-viewer.tag
+++ b/src/web/app/common/tags/reactions-viewer.tag
@@ -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
diff --git a/src/web/app/common/tags/signin-history.tag b/src/web/app/common/tags/signin-history.tag
index 9f02fc687d..332bfdccfa 100644
--- a/src/web/app/common/tags/signin-history.tag
+++ b/src/web/app/common/tags/signin-history.tag
@@ -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
diff --git a/src/web/app/common/tags/signin.tag b/src/web/app/common/tags/signin.tag
index 2ee188bbcb..949217c711 100644
--- a/src/web/app/common/tags/signin.tag
+++ b/src/web/app/common/tags/signin.tag
@@ -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
diff --git a/src/web/app/common/tags/signup.tag b/src/web/app/common/tags/signup.tag
index 0b2ddf6d76..861c652011 100644
--- a/src/web/app/common/tags/signup.tag
+++ b/src/web/app/common/tags/signup.tag
@@ -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
diff --git a/src/web/app/common/tags/special-message.tag b/src/web/app/common/tags/special-message.tag
index 6643b1324a..5d62797ae6 100644
--- a/src/web/app/common/tags/special-message.tag
+++ b/src/web/app/common/tags/special-message.tag
@@ -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
diff --git a/src/web/app/common/tags/stream-indicator.vue b/src/web/app/common/tags/stream-indicator.vue
index 619237193a..6964cda345 100644
--- a/src/web/app/common/tags/stream-indicator.vue
+++ b/src/web/app/common/tags/stream-indicator.vue
@@ -49,7 +49,7 @@
};
</script>
-<style lang="stylus">
+<style lang="stylus" scoped>
> div
display block
pointer-events none
diff --git a/src/web/app/common/tags/twitter-setting.tag b/src/web/app/common/tags/twitter-setting.tag
index 8419f8b62a..f865de466a 100644
--- a/src/web/app/common/tags/twitter-setting.tag
+++ b/src/web/app/common/tags/twitter-setting.tag
@@ -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
diff --git a/src/web/app/common/tags/uploader.tag b/src/web/app/common/tags/uploader.tag
index a95004b46d..ec9ba02432 100644
--- a/src/web/app/common/tags/uploader.tag
+++ b/src/web/app/common/tags/uploader.tag
@@ -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
diff --git a/src/web/app/desktop/tags/analog-clock.tag b/src/web/app/desktop/tags/analog-clock.tag
index 35661405db..dda5a4b30e 100644
--- a/src/web/app/desktop/tags/analog-clock.tag
+++ b/src/web/app/desktop/tags/analog-clock.tag
@@ -1,6 +1,6 @@
<mk-analog-clock>
<canvas ref="canvas" width="256" height="256"></canvas>
- <style>
+ <style lang="stylus" scoped>
:scope
> canvas
display block
diff --git a/src/web/app/desktop/tags/autocomplete-suggestion.tag b/src/web/app/desktop/tags/autocomplete-suggestion.tag
index cf22f3a275..843b3a7989 100644
--- a/src/web/app/desktop/tags/autocomplete-suggestion.tag
+++ b/src/web/app/desktop/tags/autocomplete-suggestion.tag
@@ -6,7 +6,7 @@
<span class="username">@{ username }</span>
</li>
</ol>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position absolute
diff --git a/src/web/app/desktop/tags/big-follow-button.tag b/src/web/app/desktop/tags/big-follow-button.tag
index 476f958401..f2e9dc656b 100644
--- a/src/web/app/desktop/tags/big-follow-button.tag
+++ b/src/web/app/desktop/tags/big-follow-button.tag
@@ -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
diff --git a/src/web/app/desktop/tags/contextmenu.tag b/src/web/app/desktop/tags/contextmenu.tag
index ade44fce25..09d989c09c 100644
--- a/src/web/app/desktop/tags/contextmenu.tag
+++ b/src/web/app/desktop/tags/contextmenu.tag
@@ -1,6 +1,6 @@
<mk-contextmenu>
<yield />
- <style>
+ <style lang="stylus" scoped>
:scope
$width = 240px
$item-height = 38px
diff --git a/src/web/app/desktop/tags/crop-window.tag b/src/web/app/desktop/tags/crop-window.tag
index 80f3f4657a..43bbcb8c58 100644
--- a/src/web/app/desktop/tags/crop-window.tag
+++ b/src/web/app/desktop/tags/crop-window.tag
@@ -10,7 +10,7 @@
</div>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/detailed-post-window.tag b/src/web/app/desktop/tags/detailed-post-window.tag
index 6d6f23ac35..50b4bf9207 100644
--- a/src/web/app/desktop/tags/detailed-post-window.tag
+++ b/src/web/app/desktop/tags/detailed-post-window.tag
@@ -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
diff --git a/src/web/app/desktop/tags/dialog.tag b/src/web/app/desktop/tags/dialog.tag
index aff855251e..92ea0b2b11 100644
--- a/src/web/app/desktop/tags/dialog.tag
+++ b/src/web/app/desktop/tags/dialog.tag
@@ -9,7 +9,7 @@
</virtual>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/donation.tag b/src/web/app/desktop/tags/donation.tag
index 73ee9d0032..8a711890fa 100644
--- a/src/web/app/desktop/tags/donation.tag
+++ b/src/web/app/desktop/tags/donation.tag
@@ -20,7 +20,7 @@
よろしくお願いいたします。
</p>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
color #fff
diff --git a/src/web/app/desktop/tags/drive/browser-window.tag b/src/web/app/desktop/tags/drive/browser-window.tag
index f49921eb65..4285992f6f 100644
--- a/src/web/app/desktop/tags/drive/browser-window.tag
+++ b/src/web/app/desktop/tags/drive/browser-window.tag
@@ -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']
diff --git a/src/web/app/desktop/tags/drive/browser.tag b/src/web/app/desktop/tags/drive/browser.tag
index 7e9f4662fe..0c0ce4bb4b 100644
--- a/src/web/app/desktop/tags/drive/browser.tag
+++ b/src/web/app/desktop/tags/drive/browser.tag
@@ -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
diff --git a/src/web/app/desktop/tags/drive/file.tag b/src/web/app/desktop/tags/drive/file.tag
index 467768db1e..b33e3bc5e9 100644
--- a/src/web/app/desktop/tags/drive/file.tag
+++ b/src/web/app/desktop/tags/drive/file.tag
@@ -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
diff --git a/src/web/app/desktop/tags/drive/folder.tag b/src/web/app/desktop/tags/drive/folder.tag
index 2fae55e503..9458671cdc 100644
--- a/src/web/app/desktop/tags/drive/folder.tag
+++ b/src/web/app/desktop/tags/drive/folder.tag
@@ -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
diff --git a/src/web/app/desktop/tags/drive/nav-folder.tag b/src/web/app/desktop/tags/drive/nav-folder.tag
index d688d2e084..f16cf2181b 100644
--- a/src/web/app/desktop/tags/drive/nav-folder.tag
+++ b/src/web/app/desktop/tags/drive/nav-folder.tag
@@ -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
diff --git a/src/web/app/desktop/tags/ellipsis-icon.tag b/src/web/app/desktop/tags/ellipsis-icon.tag
index 8462bfc4af..619f0d84f7 100644
--- a/src/web/app/desktop/tags/ellipsis-icon.tag
+++ b/src/web/app/desktop/tags/ellipsis-icon.tag
@@ -2,7 +2,7 @@
<div></div>
<div></div>
<div></div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
width 70px
diff --git a/src/web/app/desktop/tags/follow-button.tag b/src/web/app/desktop/tags/follow-button.tag
index 8a1f7b2c14..5e482509a3 100644
--- a/src/web/app/desktop/tags/follow-button.tag
+++ b/src/web/app/desktop/tags/follow-button.tag
@@ -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
diff --git a/src/web/app/desktop/tags/following-setuper.tag b/src/web/app/desktop/tags/following-setuper.tag
index d8cd32a208..9453b5bf56 100644
--- a/src/web/app/desktop/tags/following-setuper.tag
+++ b/src/web/app/desktop/tags/following-setuper.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/access-log.tag b/src/web/app/desktop/tags/home-widgets/access-log.tag
index ecf121d58f..47a6fd350b 100644
--- a/src/web/app/desktop/tags/home-widgets/access-log.tag
+++ b/src/web/app/desktop/tags/home-widgets/access-log.tag
@@ -9,7 +9,7 @@
<span>{ path }</span>
</p>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow hidden
diff --git a/src/web/app/desktop/tags/home-widgets/activity.tag b/src/web/app/desktop/tags/home-widgets/activity.tag
index f2e9cf8246..5cc5422725 100644
--- a/src/web/app/desktop/tags/home-widgets/activity.tag
+++ b/src/web/app/desktop/tags/home-widgets/activity.tag
@@ -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>
diff --git a/src/web/app/desktop/tags/home-widgets/broadcast.tag b/src/web/app/desktop/tags/home-widgets/broadcast.tag
index 157c429634..a1bd2175d8 100644
--- a/src/web/app/desktop/tags/home-widgets/broadcast.tag
+++ b/src/web/app/desktop/tags/home-widgets/broadcast.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/calendar.tag b/src/web/app/desktop/tags/home-widgets/calendar.tag
index fded57e07a..a304d62554 100644
--- a/src/web/app/desktop/tags/home-widgets/calendar.tag
+++ b/src/web/app/desktop/tags/home-widgets/calendar.tag
@@ -24,7 +24,7 @@
</div>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
padding 16px 0
diff --git a/src/web/app/desktop/tags/home-widgets/channel.tag b/src/web/app/desktop/tags/home-widgets/channel.tag
index c51ca07524..60227a629a 100644
--- a/src/web/app/desktop/tags/home-widgets/channel.tag
+++ b/src/web/app/desktop/tags/home-widgets/channel.tag
@@ -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%
diff --git a/src/web/app/desktop/tags/home-widgets/donation.tag b/src/web/app/desktop/tags/home-widgets/donation.tag
index a51a7bebbb..327cae5a06 100644
--- a/src/web/app/desktop/tags/home-widgets/donation.tag
+++ b/src/web/app/desktop/tags/home-widgets/donation.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/mentions.tag b/src/web/app/desktop/tags/home-widgets/mentions.tag
index 5177b2db1f..519e124aee 100644
--- a/src/web/app/desktop/tags/home-widgets/mentions.tag
+++ b/src/web/app/desktop/tags/home-widgets/mentions.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/messaging.tag b/src/web/app/desktop/tags/home-widgets/messaging.tag
index 695e1babfc..53f4e2f062 100644
--- a/src/web/app/desktop/tags/home-widgets/messaging.tag
+++ b/src/web/app/desktop/tags/home-widgets/messaging.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/nav.tag b/src/web/app/desktop/tags/home-widgets/nav.tag
index 61c0b4cb55..3086524333 100644
--- a/src/web/app/desktop/tags/home-widgets/nav.tag
+++ b/src/web/app/desktop/tags/home-widgets/nav.tag
@@ -1,6 +1,6 @@
<mk-nav-home-widget>
<mk-nav-links/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
padding 16px
diff --git a/src/web/app/desktop/tags/home-widgets/notifications.tag b/src/web/app/desktop/tags/home-widgets/notifications.tag
index 051714eab0..31ef6f608e 100644
--- a/src/web/app/desktop/tags/home-widgets/notifications.tag
+++ b/src/web/app/desktop/tags/home-widgets/notifications.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/photo-stream.tag b/src/web/app/desktop/tags/home-widgets/photo-stream.tag
index e3bf3a988c..80f0573fb3 100644
--- a/src/web/app/desktop/tags/home-widgets/photo-stream.tag
+++ b/src/web/app/desktop/tags/home-widgets/photo-stream.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/post-form.tag b/src/web/app/desktop/tags/home-widgets/post-form.tag
index bf6374dd3c..b20a1c3616 100644
--- a/src/web/app/desktop/tags/home-widgets/post-form.tag
+++ b/src/web/app/desktop/tags/home-widgets/post-form.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/profile.tag b/src/web/app/desktop/tags/home-widgets/profile.tag
index bba5b0c478..30ca3c3b63 100644
--- a/src/web/app/desktop/tags/home-widgets/profile.tag
+++ b/src/web/app/desktop/tags/home-widgets/profile.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/recommended-polls.tag b/src/web/app/desktop/tags/home-widgets/recommended-polls.tag
index 5489edf5f8..3abb35fac3 100644
--- a/src/web/app/desktop/tags/home-widgets/recommended-polls.tag
+++ b/src/web/app/desktop/tags/home-widgets/recommended-polls.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/rss-reader.tag b/src/web/app/desktop/tags/home-widgets/rss-reader.tag
index 45cc62a51a..524d0c1108 100644
--- a/src/web/app/desktop/tags/home-widgets/rss-reader.tag
+++ b/src/web/app/desktop/tags/home-widgets/rss-reader.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/server.tag b/src/web/app/desktop/tags/home-widgets/server.tag
index 6749a46b1a..f716c9dfeb 100644
--- a/src/web/app/desktop/tags/home-widgets/server.tag
+++ b/src/web/app/desktop/tags/home-widgets/server.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/slideshow.tag b/src/web/app/desktop/tags/home-widgets/slideshow.tag
index 21b778bae7..c356f5cbd8 100644
--- a/src/web/app/desktop/tags/home-widgets/slideshow.tag
+++ b/src/web/app/desktop/tags/home-widgets/slideshow.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/timeline.tag b/src/web/app/desktop/tags/home-widgets/timeline.tag
index f44023daa7..4d3d830cec 100644
--- a/src/web/app/desktop/tags/home-widgets/timeline.tag
+++ b/src/web/app/desktop/tags/home-widgets/timeline.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/timemachine.tag b/src/web/app/desktop/tags/home-widgets/timemachine.tag
index 3cddf53551..e47ce2d4a8 100644
--- a/src/web/app/desktop/tags/home-widgets/timemachine.tag
+++ b/src/web/app/desktop/tags/home-widgets/timemachine.tag
@@ -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>
diff --git a/src/web/app/desktop/tags/home-widgets/tips.tag b/src/web/app/desktop/tags/home-widgets/tips.tag
index 9246d0e10c..2135a836c9 100644
--- a/src/web/app/desktop/tags/home-widgets/tips.tag
+++ b/src/web/app/desktop/tags/home-widgets/tips.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/trends.tag b/src/web/app/desktop/tags/home-widgets/trends.tag
index 637f53a606..0d8454da6d 100644
--- a/src/web/app/desktop/tags/home-widgets/trends.tag
+++ b/src/web/app/desktop/tags/home-widgets/trends.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/user-recommendation.tag b/src/web/app/desktop/tags/home-widgets/user-recommendation.tag
index 881373f8d0..763d394490 100644
--- a/src/web/app/desktop/tags/home-widgets/user-recommendation.tag
+++ b/src/web/app/desktop/tags/home-widgets/user-recommendation.tag
@@ -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
diff --git a/src/web/app/desktop/tags/home-widgets/version.tag b/src/web/app/desktop/tags/home-widgets/version.tag
index 2b66b0490e..aeebb53b00 100644
--- a/src/web/app/desktop/tags/home-widgets/version.tag
+++ b/src/web/app/desktop/tags/home-widgets/version.tag
@@ -1,6 +1,6 @@
<mk-version-home-widget>
<p>ver { _VERSION_ } (葵 aoi)</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow visible !important
diff --git a/src/web/app/desktop/tags/home.tag b/src/web/app/desktop/tags/home.tag
index 2047607960..e54acd18e6 100644
--- a/src/web/app/desktop/tags/home.tag
+++ b/src/web/app/desktop/tags/home.tag
@@ -48,7 +48,7 @@
<div ref="right" data-place="right"></div>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/images.tag b/src/web/app/desktop/tags/images.tag
index 8c4234a0f6..088f937e72 100644
--- a/src/web/app/desktop/tags/images.tag
+++ b/src/web/app/desktop/tags/images.tag
@@ -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
diff --git a/src/web/app/desktop/tags/input-dialog.tag b/src/web/app/desktop/tags/input-dialog.tag
index 1eef25db12..26fa384e61 100644
--- a/src/web/app/desktop/tags/input-dialog.tag
+++ b/src/web/app/desktop/tags/input-dialog.tag
@@ -13,7 +13,7 @@
</div>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/list-user.tag b/src/web/app/desktop/tags/list-user.tag
index 91a6de0a0d..c0e1051d14 100644
--- a/src/web/app/desktop/tags/list-user.tag
+++ b/src/web/app/desktop/tags/list-user.tag
@@ -13,7 +13,7 @@
</div>
</div>
<mk-follow-button user={ user }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/desktop/tags/messaging/room-window.tag b/src/web/app/desktop/tags/messaging/room-window.tag
index 39afbe6ddd..b13c2d3e90 100644
--- a/src/web/app/desktop/tags/messaging/room-window.tag
+++ b/src/web/app/desktop/tags/messaging/room-window.tag
@@ -5,7 +5,7 @@
<mk-messaging-room user={ parent.user }/>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/messaging/window.tag b/src/web/app/desktop/tags/messaging/window.tag
index cd756daa04..ac5513a3f4 100644
--- a/src/web/app/desktop/tags/messaging/window.tag
+++ b/src/web/app/desktop/tags/messaging/window.tag
@@ -5,7 +5,7 @@
<mk-messaging ref="index"/>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/notifications.tag b/src/web/app/desktop/tags/notifications.tag
index 91876c24f3..99024473f7 100644
--- a/src/web/app/desktop/tags/notifications.tag
+++ b/src/web/app/desktop/tags/notifications.tag
@@ -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
diff --git a/src/web/app/desktop/tags/pages/drive.tag b/src/web/app/desktop/tags/pages/drive.tag
index 1cd5ca1279..12ebcc47c7 100644
--- a/src/web/app/desktop/tags/pages/drive.tag
+++ b/src/web/app/desktop/tags/pages/drive.tag
@@ -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
diff --git a/src/web/app/desktop/tags/pages/entrance.tag b/src/web/app/desktop/tags/pages/entrance.tag
index 95acbc9101..9b8b4eca6b 100644
--- a/src/web/app/desktop/tags/pages/entrance.tag
+++ b/src/web/app/desktop/tags/pages/entrance.tag
@@ -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
diff --git a/src/web/app/desktop/tags/pages/home-customize.tag b/src/web/app/desktop/tags/pages/home-customize.tag
index 457b8390e7..ad74e095d5 100644
--- a/src/web/app/desktop/tags/pages/home-customize.tag
+++ b/src/web/app/desktop/tags/pages/home-customize.tag
@@ -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>
diff --git a/src/web/app/desktop/tags/pages/home.tag b/src/web/app/desktop/tags/pages/home.tag
index 62df62a484..206592518b 100644
--- a/src/web/app/desktop/tags/pages/home.tag
+++ b/src/web/app/desktop/tags/pages/home.tag
@@ -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>
diff --git a/src/web/app/desktop/tags/pages/messaging-room.tag b/src/web/app/desktop/tags/pages/messaging-room.tag
index 3c21b97501..48096ec803 100644
--- a/src/web/app/desktop/tags/pages/messaging-room.tag
+++ b/src/web/app/desktop/tags/pages/messaging-room.tag
@@ -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
diff --git a/src/web/app/desktop/tags/pages/not-found.tag b/src/web/app/desktop/tags/pages/not-found.tag
index e62ea11008..f2b4ef09a9 100644
--- a/src/web/app/desktop/tags/pages/not-found.tag
+++ b/src/web/app/desktop/tags/pages/not-found.tag
@@ -4,7 +4,7 @@
<h1>Not Found</h1>
</main>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/desktop/tags/pages/post.tag b/src/web/app/desktop/tags/pages/post.tag
index 6d3b030e05..43f040ed20 100644
--- a/src/web/app/desktop/tags/pages/post.tag
+++ b/src/web/app/desktop/tags/pages/post.tag
@@ -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
diff --git a/src/web/app/desktop/tags/pages/search.tag b/src/web/app/desktop/tags/pages/search.tag
index ac93fdaea5..4d72fad655 100644
--- a/src/web/app/desktop/tags/pages/search.tag
+++ b/src/web/app/desktop/tags/pages/search.tag
@@ -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>
diff --git a/src/web/app/desktop/tags/pages/selectdrive.tag b/src/web/app/desktop/tags/pages/selectdrive.tag
index d497a47c00..723a1dd5aa 100644
--- a/src/web/app/desktop/tags/pages/selectdrive.tag
+++ b/src/web/app/desktop/tags/pages/selectdrive.tag
@@ -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
diff --git a/src/web/app/desktop/tags/pages/user.tag b/src/web/app/desktop/tags/pages/user.tag
index 7bad034958..8ea47408c2 100644
--- a/src/web/app/desktop/tags/pages/user.tag
+++ b/src/web/app/desktop/tags/pages/user.tag
@@ -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>
diff --git a/src/web/app/desktop/tags/post-detail-sub.tag b/src/web/app/desktop/tags/post-detail-sub.tag
index 2d79ddd1e7..62f09d4e29 100644
--- a/src/web/app/desktop/tags/post-detail-sub.tag
+++ b/src/web/app/desktop/tags/post-detail-sub.tag
@@ -21,7 +21,7 @@
</div>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/desktop/tags/post-detail.tag b/src/web/app/desktop/tags/post-detail.tag
index 73ba930c74..4ba8275b2a 100644
--- a/src/web/app/desktop/tags/post-detail.tag
+++ b/src/web/app/desktop/tags/post-detail.tag
@@ -63,7 +63,7 @@
</virtual>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/desktop/tags/post-form-window.tag b/src/web/app/desktop/tags/post-form-window.tag
index 8955d0679c..184ff548ad 100644
--- a/src/web/app/desktop/tags/post-form-window.tag
+++ b/src/web/app/desktop/tags/post-form-window.tag
@@ -15,7 +15,7 @@
</div>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag
index 4dbc69e4e9..d32a3b66f2 100644
--- a/src/web/app/desktop/tags/post-form.tag
+++ b/src/web/app/desktop/tags/post-form.tag
@@ -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
diff --git a/src/web/app/desktop/tags/post-preview.tag b/src/web/app/desktop/tags/post-preview.tag
index 9a7db5ffa3..dcad0ff7c3 100644
--- a/src/web/app/desktop/tags/post-preview.tag
+++ b/src/web/app/desktop/tags/post-preview.tag
@@ -8,7 +8,7 @@
</div>
</div>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/desktop/tags/progress-dialog.tag b/src/web/app/desktop/tags/progress-dialog.tag
index ef055c35be..9f7df312ef 100644
--- a/src/web/app/desktop/tags/progress-dialog.tag
+++ b/src/web/app/desktop/tags/progress-dialog.tag
@@ -10,7 +10,7 @@
</div>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/repost-form-window.tag b/src/web/app/desktop/tags/repost-form-window.tag
index b501eb076d..13a862d974 100644
--- a/src/web/app/desktop/tags/repost-form-window.tag
+++ b/src/web/app/desktop/tags/repost-form-window.tag
@@ -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']
diff --git a/src/web/app/desktop/tags/repost-form.tag b/src/web/app/desktop/tags/repost-form.tag
index b2ebbf4c46..da8683ab6c 100644
--- a/src/web/app/desktop/tags/repost-form.tag
+++ b/src/web/app/desktop/tags/repost-form.tag
@@ -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
diff --git a/src/web/app/desktop/tags/search-posts.tag b/src/web/app/desktop/tags/search-posts.tag
index 0c8dbcbf63..d263f95766 100644
--- a/src/web/app/desktop/tags/search-posts.tag
+++ b/src/web/app/desktop/tags/search-posts.tag
@@ -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
diff --git a/src/web/app/desktop/tags/search.tag b/src/web/app/desktop/tags/search.tag
index e29a2b2737..492999181e 100644
--- a/src/web/app/desktop/tags/search.tag
+++ b/src/web/app/desktop/tags/search.tag
@@ -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
diff --git a/src/web/app/desktop/tags/select-file-from-drive-window.tag b/src/web/app/desktop/tags/select-file-from-drive-window.tag
index 3e0f00c2fa..8e9359b058 100644
--- a/src/web/app/desktop/tags/select-file-from-drive-window.tag
+++ b/src/web/app/desktop/tags/select-file-from-drive-window.tag
@@ -13,7 +13,7 @@
</div>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/select-folder-from-drive-window.tag b/src/web/app/desktop/tags/select-folder-from-drive-window.tag
index ad4ae4cafc..317fb90ad4 100644
--- a/src/web/app/desktop/tags/select-folder-from-drive-window.tag
+++ b/src/web/app/desktop/tags/select-folder-from-drive-window.tag
@@ -11,7 +11,7 @@
</div>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/set-avatar-suggestion.tag b/src/web/app/desktop/tags/set-avatar-suggestion.tag
index 82a438fb7c..923871a790 100644
--- a/src/web/app/desktop/tags/set-avatar-suggestion.tag
+++ b/src/web/app/desktop/tags/set-avatar-suggestion.tag
@@ -2,7 +2,7 @@
<p><b>アバターを設定</b>してみませんか?
<button @click="close">%fa:times%</button>
</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
cursor pointer
diff --git a/src/web/app/desktop/tags/set-banner-suggestion.tag b/src/web/app/desktop/tags/set-banner-suggestion.tag
index c5c5c70190..fa4e5843b7 100644
--- a/src/web/app/desktop/tags/set-banner-suggestion.tag
+++ b/src/web/app/desktop/tags/set-banner-suggestion.tag
@@ -2,7 +2,7 @@
<p><b>バナーを設定</b>してみませんか?
<button @click="close">%fa:times%</button>
</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
cursor pointer
diff --git a/src/web/app/desktop/tags/settings-window.tag b/src/web/app/desktop/tags/settings-window.tag
index 09566b898a..64ce1336d9 100644
--- a/src/web/app/desktop/tags/settings-window.tag
+++ b/src/web/app/desktop/tags/settings-window.tag
@@ -5,7 +5,7 @@
<mk-settings/>
</yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/settings.tag b/src/web/app/desktop/tags/settings.tag
index 084bde0095..211e36741e 100644
--- a/src/web/app/desktop/tags/settings.tag
+++ b/src/web/app/desktop/tags/settings.tag
@@ -67,7 +67,7 @@
%license%
</section>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display flex
width 100%
@@ -150,7 +150,7 @@
<input ref="accountBirthday" type="date" value={ I.profile.birthday } class="ui"/>
</label>
<button class="ui primary" @click="updateAccount">%i18n:desktop.tags.mk-profile-setting.save%</button>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -196,7 +196,7 @@
<div class="ui info warn"><p>%fa:exclamation-triangle%%i18n:desktop.tags.mk-api-info.caution%</p></div>
<p>%i18n:desktop.tags.mk-api-info.regeneration-of-token%</p>
<button class="ui" @click="regenerateToken">%i18n:desktop.tags.mk-api-info.regenerate-token%</button>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
color #4a535a
@@ -226,7 +226,7 @@
<mk-password-setting>
<button @click="reset" class="ui primary">%i18n:desktop.tags.mk-password-setting.reset%</button>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
color #4a535a
@@ -281,7 +281,7 @@
</ol>
<div class="ui info"><p>%fa:info-circle%%i18n:desktop.tags.mk-2fa-setting.info%</p></div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
color #4a535a
@@ -351,7 +351,7 @@
<text x="50%" y="50%" dy="0.05" text-anchor="middle">{ (usageP * 100).toFixed(0) }%</text>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
color #4a535a
@@ -403,7 +403,7 @@
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/sub-post-content.tag b/src/web/app/desktop/tags/sub-post-content.tag
index 01e1fdb31e..a07180b675 100644
--- a/src/web/app/desktop/tags/sub-post-content.tag
+++ b/src/web/app/desktop/tags/sub-post-content.tag
@@ -14,7 +14,7 @@
<summary>投票</summary>
<mk-poll post={ post }/>
</details>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow-wrap break-word
diff --git a/src/web/app/desktop/tags/timeline.tag b/src/web/app/desktop/tags/timeline.tag
index 115b22c862..008c690177 100644
--- a/src/web/app/desktop/tags/timeline.tag
+++ b/src/web/app/desktop/tags/timeline.tag
@@ -6,7 +6,7 @@
<footer data-yield="footer">
<yield from="footer"/>
</footer>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -151,7 +151,7 @@
<div class="detail" if={ isDetailOpened }>
<mk-post-status-graph width="462" height="130" post={ p }/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
@@ -613,7 +613,7 @@
</div>
</div>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/desktop/tags/ui.tag b/src/web/app/desktop/tags/ui.tag
index 4b302a0eb6..cae30dbe2a 100644
--- a/src/web/app/desktop/tags/ui.tag
+++ b/src/web/app/desktop/tags/ui.tag
@@ -6,7 +6,7 @@
<yield />
</div>
<mk-stream-indicator if={ SIGNIN }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -56,7 +56,7 @@
</div>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position -webkit-sticky
@@ -128,7 +128,7 @@
<input ref="q" type="search" placeholder="%i18n:desktop.tags.mk-ui-header-search.placeholder%"/>
<div class="result"></div>
</form>
- <style>
+ <style lang="stylus" scoped>
:scope
> form
@@ -187,7 +187,7 @@
<mk-ui-header-post-button>
<button @click="post" title="%i18n:desktop.tags.mk-ui-header-post-button.post%">%fa:pencil-alt%</button>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline-block
padding 8px
@@ -235,7 +235,7 @@
<div class="notifications" if={ isOpen }>
<mk-notifications/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
float left
@@ -420,7 +420,7 @@
</a>
</li>
</ul>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline-block
margin 0
@@ -552,7 +552,7 @@
<div class="content">
<mk-analog-clock/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline-block
overflow visible
@@ -656,7 +656,7 @@
</li>
</ul>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
float left
@@ -845,7 +845,7 @@
<mk-ui-notification>
<p>{ opts.message }</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position fixed
diff --git a/src/web/app/desktop/tags/user-followers-window.tag b/src/web/app/desktop/tags/user-followers-window.tag
index 43127a68a8..a67888fa7c 100644
--- a/src/web/app/desktop/tags/user-followers-window.tag
+++ b/src/web/app/desktop/tags/user-followers-window.tag
@@ -3,7 +3,7 @@
<yield to="content">
<mk-user-followers user={ parent.user }/></yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/user-followers.tag b/src/web/app/desktop/tags/user-followers.tag
index ea670e2729..79fa871413 100644
--- a/src/web/app/desktop/tags/user-followers.tag
+++ b/src/web/app/desktop/tags/user-followers.tag
@@ -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={ 'フォロワーはいないようです。' }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
height 100%
diff --git a/src/web/app/desktop/tags/user-following-window.tag b/src/web/app/desktop/tags/user-following-window.tag
index 10a84db315..dd798a020b 100644
--- a/src/web/app/desktop/tags/user-following-window.tag
+++ b/src/web/app/desktop/tags/user-following-window.tag
@@ -3,7 +3,7 @@
<yield to="content">
<mk-user-following user={ parent.user }/></yield>
</mk-window>
- <style>
+ <style lang="stylus" scoped>
:scope
> mk-window
[data-yield='header']
diff --git a/src/web/app/desktop/tags/user-following.tag b/src/web/app/desktop/tags/user-following.tag
index 4523beac2c..260900f951 100644
--- a/src/web/app/desktop/tags/user-following.tag
+++ b/src/web/app/desktop/tags/user-following.tag
@@ -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={ 'フォロー中のユーザーはいないようです。' }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
height 100%
diff --git a/src/web/app/desktop/tags/user-preview.tag b/src/web/app/desktop/tags/user-preview.tag
index 7993895a83..cf7b962759 100644
--- a/src/web/app/desktop/tags/user-preview.tag
+++ b/src/web/app/desktop/tags/user-preview.tag
@@ -19,7 +19,7 @@
</div>
<mk-follow-button if={ SIGNIN && user.id != I.id } user={ userPromise }/>
</virtual>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position absolute
diff --git a/src/web/app/desktop/tags/user-timeline.tag b/src/web/app/desktop/tags/user-timeline.tag
index 0bfad05c27..be2649fb6d 100644
--- a/src/web/app/desktop/tags/user-timeline.tag
+++ b/src/web/app/desktop/tags/user-timeline.tag
@@ -12,7 +12,7 @@
<virtual if={ parent.moreLoading }>%fa:spinner .pulse .fw%</virtual>
</yield/>
</mk-timeline>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
diff --git a/src/web/app/desktop/tags/user.tag b/src/web/app/desktop/tags/user.tag
index 8eca3caaa3..046fef6813 100644
--- a/src/web/app/desktop/tags/user.tag
+++ b/src/web/app/desktop/tags/user.tag
@@ -6,7 +6,7 @@
<mk-user-home if={ page == 'home' } user={ user }/>
<mk-user-graphs if={ page == 'graphs' } user={ user }/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -56,7 +56,7 @@
<a href={ '/' + user.username + '/graphs' } data-active={ parent.page == 'graphs' }>%fa:chart-bar%グラフ</a>
</footer>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
$banner-height = 320px
$footer-height = 58px
@@ -242,7 +242,7 @@
<p class="following">%fa:angle-right%<a @click="showFollowing">{ user.following_count }</a>人を<b>フォロー</b></p>
<p class="followers">%fa:angle-right%<a @click="showFollowers">{ user.followers_count }</a>人の<b>フォロワー</b></p>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
@@ -362,7 +362,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && images.length == 0 }>%i18n:desktop.tags.mk-user.photos.no-photos%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
@@ -461,7 +461,7 @@
<mk-follow-button user={ _user }/>
</div>
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:desktop.tags.mk-user.frequently-replied-users.no-users%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
@@ -568,7 +568,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:desktop.tags.mk-user.followers-you-know.no-users%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
@@ -654,7 +654,7 @@
<div class="nav"><mk-nav-links/></div>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display flex
justify-content center
@@ -753,7 +753,7 @@
<mk-user-likes-graph user={ opts.user }/>
</div>
</section>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -806,7 +806,7 @@
</p>
<p>* 中央値</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/users-list.tag b/src/web/app/desktop/tags/users-list.tag
index 3e993a40ec..fd5c73b7dc 100644
--- a/src/web/app/desktop/tags/users-list.tag
+++ b/src/web/app/desktop/tags/users-list.tag
@@ -16,7 +16,7 @@
</button>
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%読み込んでいます<mk-ellipsis/></p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
height 100%
diff --git a/src/web/app/desktop/tags/widgets/activity.tag b/src/web/app/desktop/tags/widgets/activity.tag
index 9b547b95f3..b9132e5a54 100644
--- a/src/web/app/desktop/tags/widgets/activity.tag
+++ b/src/web/app/desktop/tags/widgets/activity.tag
@@ -6,7 +6,7 @@
<p class="initializing" if={ initializing }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
<mk-activity-widget-calender if={ !initializing && view == 0 } data={ [].concat(activity) }/>
<mk-activity-widget-chart if={ !initializing && view == 1 } data={ [].concat(activity) }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
@@ -110,7 +110,7 @@
stroke-width="0.1"
stroke="#f73520"/>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -174,7 +174,7 @@
stroke="#555"
stroke-dasharray="2 2"/>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/desktop/tags/widgets/calendar.tag b/src/web/app/desktop/tags/widgets/calendar.tag
index 00205a90a4..4e365650c8 100644
--- a/src/web/app/desktop/tags/widgets/calendar.tag
+++ b/src/web/app/desktop/tags/widgets/calendar.tag
@@ -18,7 +18,7 @@
@click="go.bind(null, i + 1)"
title={ isOutOfRange(i + 1) ? null : '%i18n:desktop.tags.mk-calendar-widget.go%' }><div>{ i + 1 }</div></div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
color #777
diff --git a/src/web/app/desktop/tags/window.tag b/src/web/app/desktop/tags/window.tag
index 31830d9078..3752f36096 100644
--- a/src/web/app/desktop/tags/window.tag
+++ b/src/web/app/desktop/tags/window.tag
@@ -20,7 +20,7 @@
<div class="handle bottom-right" if={ canResize } onmousedown={ onBottomRightHandleMousedown }></div>
<div class="handle bottom-left" if={ canResize } onmousedown={ onBottomLeftHandleMousedown }></div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/dev/tags/new-app-form.tag b/src/web/app/dev/tags/new-app-form.tag
index aba6b1524f..1bd5b5a83d 100644
--- a/src/web/app/dev/tags/new-app-form.tag
+++ b/src/web/app/dev/tags/new-app-form.tag
@@ -75,7 +75,7 @@
</section>
<button @click="onsubmit">アプリ作成</button>
</form>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow hidden
diff --git a/src/web/app/dev/tags/pages/app.tag b/src/web/app/dev/tags/pages/app.tag
index b25e0d8595..3fdf8d15bc 100644
--- a/src/web/app/dev/tags/pages/app.tag
+++ b/src/web/app/dev/tags/pages/app.tag
@@ -9,7 +9,7 @@
<input value={ app.secret } readonly="readonly"/>
</div>
</main>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/dev/tags/pages/apps.tag b/src/web/app/dev/tags/pages/apps.tag
index 43db70fcf2..fbacee1376 100644
--- a/src/web/app/dev/tags/pages/apps.tag
+++ b/src/web/app/dev/tags/pages/apps.tag
@@ -10,7 +10,7 @@
</ul>
</virtual>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/dev/tags/pages/index.tag b/src/web/app/dev/tags/pages/index.tag
index f863876fa7..ca270b3774 100644
--- a/src/web/app/dev/tags/pages/index.tag
+++ b/src/web/app/dev/tags/pages/index.tag
@@ -1,5 +1,5 @@
<mk-index><a href="/apps">アプリ</a>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/dev/tags/pages/new-app.tag b/src/web/app/dev/tags/pages/new-app.tag
index 238b6865e1..26185f278b 100644
--- a/src/web/app/dev/tags/pages/new-app.tag
+++ b/src/web/app/dev/tags/pages/new-app.tag
@@ -6,7 +6,7 @@
</header>
<mk-new-app-form/>
</main>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
padding 64px 0
diff --git a/src/web/app/mobile/tags/drive-folder-selector.tag b/src/web/app/mobile/tags/drive-folder-selector.tag
index 6a0cb5cea6..94cf1db41e 100644
--- a/src/web/app/mobile/tags/drive-folder-selector.tag
+++ b/src/web/app/mobile/tags/drive-folder-selector.tag
@@ -7,7 +7,7 @@
</header>
<mk-drive ref="browser" select-folder={ true }/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position fixed
diff --git a/src/web/app/mobile/tags/drive-selector.tag b/src/web/app/mobile/tags/drive-selector.tag
index 9e6f6a0457..9c3a4b5c4e 100644
--- a/src/web/app/mobile/tags/drive-selector.tag
+++ b/src/web/app/mobile/tags/drive-selector.tag
@@ -7,7 +7,7 @@
</header>
<mk-drive ref="browser" select-file={ true } multiple={ opts.multiple }/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position fixed
diff --git a/src/web/app/mobile/tags/drive.tag b/src/web/app/mobile/tags/drive.tag
index 3d0396692d..a063d0ca61 100644
--- a/src/web/app/mobile/tags/drive.tag
+++ b/src/web/app/mobile/tags/drive.tag
@@ -51,7 +51,7 @@
</div>
<input ref="file" type="file" multiple="multiple" onchange={ changeLocalFile }/>
<mk-drive-file-viewer if={ file != null } file={ file }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
diff --git a/src/web/app/mobile/tags/drive/file-viewer.tag b/src/web/app/mobile/tags/drive/file-viewer.tag
index 82fbb6609e..119ad1fb2a 100644
--- a/src/web/app/mobile/tags/drive/file-viewer.tag
+++ b/src/web/app/mobile/tags/drive/file-viewer.tag
@@ -60,7 +60,7 @@
<code>{ file.md5 }</code>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/drive/file.tag b/src/web/app/mobile/tags/drive/file.tag
index a04528ce7e..96754e1b39 100644
--- a/src/web/app/mobile/tags/drive/file.tag
+++ b/src/web/app/mobile/tags/drive/file.tag
@@ -22,7 +22,7 @@
</div>
</div>
</a>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/drive/folder.tag b/src/web/app/mobile/tags/drive/folder.tag
index c0ccee6a55..bb17c5e67d 100644
--- a/src/web/app/mobile/tags/drive/folder.tag
+++ b/src/web/app/mobile/tags/drive/folder.tag
@@ -4,7 +4,7 @@
<p class="name">%fa:folder%{ folder.name }</p>%fa:angle-right%
</div>
</a>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/follow-button.tag b/src/web/app/mobile/tags/follow-button.tag
index 805d5e6599..baf8f2ffa4 100644
--- a/src/web/app/mobile/tags/follow-button.tag
+++ b/src/web/app/mobile/tags/follow-button.tag
@@ -5,7 +5,7 @@
<virtual if={ wait }>%fa:spinner .pulse .fw%</virtual>{ user.is_following ? '%i18n:mobile.tags.mk-follow-button.unfollow%' : '%i18n:mobile.tags.mk-follow-button.follow%' }
</button>
<div class="init" if={ init }>%fa:spinner .pulse .fw%</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/home-timeline.tag b/src/web/app/mobile/tags/home-timeline.tag
index aa3818007b..86708bfeed 100644
--- a/src/web/app/mobile/tags/home-timeline.tag
+++ b/src/web/app/mobile/tags/home-timeline.tag
@@ -1,7 +1,7 @@
<mk-home-timeline>
<mk-init-following if={ noFollowing } />
<mk-timeline ref="timeline" init={ init } more={ more } empty={ '%i18n:mobile.tags.mk-home-timeline.empty-timeline%' }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/home.tag b/src/web/app/mobile/tags/home.tag
index 2c07c286d2..1bb9027ddf 100644
--- a/src/web/app/mobile/tags/home.tag
+++ b/src/web/app/mobile/tags/home.tag
@@ -1,6 +1,6 @@
<mk-home>
<mk-home-timeline ref="tl"/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/images.tag b/src/web/app/mobile/tags/images.tag
index 5899364aef..c39eda38b3 100644
--- a/src/web/app/mobile/tags/images.tag
+++ b/src/web/app/mobile/tags/images.tag
@@ -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
@@ -57,7 +57,7 @@
<mk-images-image>
<a ref="view" href={ image.url } target="_blank" style={ styles } title={ image.name }></a>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow hidden
diff --git a/src/web/app/mobile/tags/init-following.tag b/src/web/app/mobile/tags/init-following.tag
index d7e31b460f..e0e2532af0 100644
--- a/src/web/app/mobile/tags/init-following.tag
+++ b/src/web/app/mobile/tags/init-following.tag
@@ -9,7 +9,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
background #fff
diff --git a/src/web/app/mobile/tags/notification-preview.tag b/src/web/app/mobile/tags/notification-preview.tag
index ab923ea9d7..b2064cd420 100644
--- a/src/web/app/mobile/tags/notification-preview.tag
+++ b/src/web/app/mobile/tags/notification-preview.tag
@@ -47,7 +47,7 @@
<p class="post-ref">%fa:quote-left%{ getPostSummary(notification.post) }%fa:quote-right%</p>
</div>
</virtual>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/mobile/tags/notification.tag b/src/web/app/mobile/tags/notification.tag
index de44caea2a..23a9f2fe3a 100644
--- a/src/web/app/mobile/tags/notification.tag
+++ b/src/web/app/mobile/tags/notification.tag
@@ -89,7 +89,7 @@
</a>
</div>
</virtual>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/mobile/tags/notifications.tag b/src/web/app/mobile/tags/notifications.tag
index 520a336b0a..ade71ea406 100644
--- a/src/web/app/mobile/tags/notifications.tag
+++ b/src/web/app/mobile/tags/notifications.tag
@@ -10,7 +10,7 @@
</button>
<p class="empty" if={ notifications.length == 0 && !loading }>%i18n:mobile.tags.mk-notifications.empty%</p>
<p class="loading" if={ loading }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 8px auto
diff --git a/src/web/app/mobile/tags/notify.tag b/src/web/app/mobile/tags/notify.tag
index 386166f7f6..787d3a374f 100644
--- a/src/web/app/mobile/tags/notify.tag
+++ b/src/web/app/mobile/tags/notify.tag
@@ -1,6 +1,6 @@
<mk-notify>
<mk-notification-preview notification={ opts.notification }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
position fixed
diff --git a/src/web/app/mobile/tags/page/drive.tag b/src/web/app/mobile/tags/page/drive.tag
index b5ed3385e1..8cc8134bc4 100644
--- a/src/web/app/mobile/tags/page/drive.tag
+++ b/src/web/app/mobile/tags/page/drive.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-drive ref="browser" folder={ parent.opts.folder } file={ parent.opts.file } is-naked={ true } top={ 48 }/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/entrance.tag b/src/web/app/mobile/tags/page/entrance.tag
index b5da3c947b..ebcf30f80a 100644
--- a/src/web/app/mobile/tags/page/entrance.tag
+++ b/src/web/app/mobile/tags/page/entrance.tag
@@ -10,7 +10,7 @@
<footer>
<p class="c">{ _COPYRIGHT_ }</p>
</footer>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
height 100%
diff --git a/src/web/app/mobile/tags/page/entrance/signin.tag b/src/web/app/mobile/tags/page/entrance/signin.tag
index 81d0a48a7b..e6deea8c38 100644
--- a/src/web/app/mobile/tags/page/entrance/signin.tag
+++ b/src/web/app/mobile/tags/page/entrance/signin.tag
@@ -3,7 +3,7 @@
<a href={ _API_URL_ + '/signin/twitter' }>Twitterでサインイン</a>
<div class="divider"><span>or</span></div>
<button class="signup" @click="parent.signup">%i18n:mobile.tags.mk-entrance-signin.signup%</button><a class="introduction" @click="parent.introduction">%i18n:mobile.tags.mk-entrance-signin.about%</a>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0 auto
diff --git a/src/web/app/mobile/tags/page/entrance/signup.tag b/src/web/app/mobile/tags/page/entrance/signup.tag
index 6634593d31..d219bb1000 100644
--- a/src/web/app/mobile/tags/page/entrance/signup.tag
+++ b/src/web/app/mobile/tags/page/entrance/signup.tag
@@ -1,7 +1,7 @@
<mk-entrance-signup>
<mk-signup/>
<button class="cancel" type="button" @click="parent.signin" title="%i18n:mobile.tags.mk-entrance-signup.cancel%">%fa:times%</button>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0 auto
diff --git a/src/web/app/mobile/tags/page/home.tag b/src/web/app/mobile/tags/page/home.tag
index 0c3121a218..4b9343a108 100644
--- a/src/web/app/mobile/tags/page/home.tag
+++ b/src/web/app/mobile/tags/page/home.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-home ref="home"/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/messaging-room.tag b/src/web/app/mobile/tags/page/messaging-room.tag
index 00ee265120..075ea8e83e 100644
--- a/src/web/app/mobile/tags/page/messaging-room.tag
+++ b/src/web/app/mobile/tags/page/messaging-room.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-messaging-room if={ !parent.fetching } user={ parent.user } is-naked={ true }/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/messaging.tag b/src/web/app/mobile/tags/page/messaging.tag
index 76d6103777..acde6f2693 100644
--- a/src/web/app/mobile/tags/page/messaging.tag
+++ b/src/web/app/mobile/tags/page/messaging.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-messaging ref="index"/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/new-post.tag b/src/web/app/mobile/tags/page/new-post.tag
index 7adde3b329..1650446b43 100644
--- a/src/web/app/mobile/tags/page/new-post.tag
+++ b/src/web/app/mobile/tags/page/new-post.tag
@@ -1,6 +1,6 @@
<mk-new-post-page>
<mk-post-form ref="form"/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/notifications.tag b/src/web/app/mobile/tags/page/notifications.tag
index 596467d476..97717e2e2a 100644
--- a/src/web/app/mobile/tags/page/notifications.tag
+++ b/src/web/app/mobile/tags/page/notifications.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-notifications ref="notifications"/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/post.tag b/src/web/app/mobile/tags/page/post.tag
index 5303ca8d34..003f9dea56 100644
--- a/src/web/app/mobile/tags/page/post.tag
+++ b/src/web/app/mobile/tags/page/post.tag
@@ -8,7 +8,7 @@
<a if={ parent.post.prev } href={ parent.post.prev }>%fa:angle-down%%i18n:mobile.tags.mk-post-page.prev%</a>
</main>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/page/search.tag b/src/web/app/mobile/tags/page/search.tag
index 51c8cce8b5..393076367f 100644
--- a/src/web/app/mobile/tags/page/search.tag
+++ b/src/web/app/mobile/tags/page/search.tag
@@ -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>
diff --git a/src/web/app/mobile/tags/page/selectdrive.tag b/src/web/app/mobile/tags/page/selectdrive.tag
index 172a161ec3..c7ff66d050 100644
--- a/src/web/app/mobile/tags/page/selectdrive.tag
+++ b/src/web/app/mobile/tags/page/selectdrive.tag
@@ -6,7 +6,7 @@
</header>
<mk-drive ref="browser" select-file={ true } multiple={ multiple } is-naked={ true } top={ 42 }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
width 100%
diff --git a/src/web/app/mobile/tags/page/settings.tag b/src/web/app/mobile/tags/page/settings.tag
index b388121cbb..beaa08b9a7 100644
--- a/src/web/app/mobile/tags/page/settings.tag
+++ b/src/web/app/mobile/tags/page/settings.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-settings />
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -29,7 +29,7 @@
<li><a @click="signout">%fa:power-off%%i18n:mobile.tags.mk-settings-page.signout%</a></li>
</ul>
<p><small>ver { _VERSION_ } (葵 aoi)</small></p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/page/settings/authorized-apps.tag b/src/web/app/mobile/tags/page/settings/authorized-apps.tag
index 8d538eba5d..0145afc622 100644
--- a/src/web/app/mobile/tags/page/settings/authorized-apps.tag
+++ b/src/web/app/mobile/tags/page/settings/authorized-apps.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-authorized-apps/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/settings/profile.tag b/src/web/app/mobile/tags/page/settings/profile.tag
index 5d6c477940..e213f40706 100644
--- a/src/web/app/mobile/tags/page/settings/profile.tag
+++ b/src/web/app/mobile/tags/page/settings/profile.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-profile-setting/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -51,7 +51,7 @@
</div>
<button class="save" @click="save" disabled={ saving }>%fa:check%%i18n:mobile.tags.mk-profile-setting.save%</button>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/page/settings/signin.tag b/src/web/app/mobile/tags/page/settings/signin.tag
index 1a9e63886e..5c9164bcf9 100644
--- a/src/web/app/mobile/tags/page/settings/signin.tag
+++ b/src/web/app/mobile/tags/page/settings/signin.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-signin-history/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/settings/twitter.tag b/src/web/app/mobile/tags/page/settings/twitter.tag
index 02661d3b6b..672eff25be 100644
--- a/src/web/app/mobile/tags/page/settings/twitter.tag
+++ b/src/web/app/mobile/tags/page/settings/twitter.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-twitter-setting/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/user-followers.tag b/src/web/app/mobile/tags/page/user-followers.tag
index a5e63613c6..50280e7b99 100644
--- a/src/web/app/mobile/tags/page/user-followers.tag
+++ b/src/web/app/mobile/tags/page/user-followers.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-user-followers ref="list" if={ !parent.fetching } user={ parent.user }/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/user-following.tag b/src/web/app/mobile/tags/page/user-following.tag
index b4ed107834..b28efbab94 100644
--- a/src/web/app/mobile/tags/page/user-following.tag
+++ b/src/web/app/mobile/tags/page/user-following.tag
@@ -2,7 +2,7 @@
<mk-ui ref="ui">
<mk-user-following ref="list" if={ !parent.fetching } user={ parent.user }/>
</mk-ui>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/page/user.tag b/src/web/app/mobile/tags/page/user.tag
index 8eec733fcd..04b7276364 100644
--- a/src/web/app/mobile/tags/page/user.tag
+++ b/src/web/app/mobile/tags/page/user.tag
@@ -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>
diff --git a/src/web/app/mobile/tags/post-detail.tag b/src/web/app/mobile/tags/post-detail.tag
index be377d77f5..e397ce7c0b 100644
--- a/src/web/app/mobile/tags/post-detail.tag
+++ b/src/web/app/mobile/tags/post-detail.tag
@@ -62,7 +62,7 @@
<mk-post-detail-sub post={ post }/>
</virtual>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow hidden
@@ -367,7 +367,7 @@
</div>
</div>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/mobile/tags/post-form.tag b/src/web/app/mobile/tags/post-form.tag
index 6f07947536..202b03c20a 100644
--- a/src/web/app/mobile/tags/post-form.tag
+++ b/src/web/app/mobile/tags/post-form.tag
@@ -24,7 +24,7 @@
<button class="poll" @click="addPoll">%fa:chart-pie%</button>
<input ref="file" type="file" accept="image/*" multiple="multiple" onchange={ changeFile }/>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
max-width 500px
diff --git a/src/web/app/mobile/tags/post-preview.tag b/src/web/app/mobile/tags/post-preview.tag
index aaf8467039..7169165879 100644
--- a/src/web/app/mobile/tags/post-preview.tag
+++ b/src/web/app/mobile/tags/post-preview.tag
@@ -16,7 +16,7 @@
</div>
</div>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/mobile/tags/search-posts.tag b/src/web/app/mobile/tags/search-posts.tag
index 3e3c034f21..9cb5ee36f4 100644
--- a/src/web/app/mobile/tags/search-posts.tag
+++ b/src/web/app/mobile/tags/search-posts.tag
@@ -1,6 +1,6 @@
<mk-search-posts>
<mk-timeline init={ init } more={ more } empty={ '%i18n:mobile.tags.mk-search-posts.empty%'.replace('{}', query) }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 8px auto
diff --git a/src/web/app/mobile/tags/search.tag b/src/web/app/mobile/tags/search.tag
index 15a861d7a5..ab048ea132 100644
--- a/src/web/app/mobile/tags/search.tag
+++ b/src/web/app/mobile/tags/search.tag
@@ -1,6 +1,6 @@
<mk-search>
<mk-search-posts ref="posts" query={ query }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
diff --git a/src/web/app/mobile/tags/sub-post-content.tag b/src/web/app/mobile/tags/sub-post-content.tag
index 7192cd0130..3d9175b18c 100644
--- a/src/web/app/mobile/tags/sub-post-content.tag
+++ b/src/web/app/mobile/tags/sub-post-content.tag
@@ -8,7 +8,7 @@
<summary>%i18n:mobile.tags.mk-sub-post-content.poll%</summary>
<mk-poll post={ post }/>
</details>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
overflow-wrap break-word
diff --git a/src/web/app/mobile/tags/timeline.tag b/src/web/app/mobile/tags/timeline.tag
index 66f58ff0af..3daf6b6d16 100644
--- a/src/web/app/mobile/tags/timeline.tag
+++ b/src/web/app/mobile/tags/timeline.tag
@@ -18,7 +18,7 @@
<span if={ fetching }>%i18n:common.loading%<mk-ellipsis/></span>
</button>
</footer>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
background #fff
@@ -197,7 +197,7 @@
</footer>
</div>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
@@ -595,7 +595,7 @@
</div>
</div>
</article>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/mobile/tags/ui.tag b/src/web/app/mobile/tags/ui.tag
index c5dc4b2e4e..8f0324f4df 100644
--- a/src/web/app/mobile/tags/ui.tag
+++ b/src/web/app/mobile/tags/ui.tag
@@ -5,7 +5,7 @@
<yield />
</div>
<mk-stream-indicator if={ SIGNIN }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
padding-top 48px
@@ -58,7 +58,7 @@
<button if={ func } @click="func"><mk-raw content={ funcIcon }/></button>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
$height = 48px
@@ -250,7 +250,7 @@
</div>
<a href={ aboutUrl }><p class="about">%i18n:mobile.tags.mk-ui-nav.about%</p></a>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display none
diff --git a/src/web/app/mobile/tags/user-card.tag b/src/web/app/mobile/tags/user-card.tag
index d0c79698c5..abe46bda02 100644
--- a/src/web/app/mobile/tags/user-card.tag
+++ b/src/web/app/mobile/tags/user-card.tag
@@ -7,7 +7,7 @@
<a class="name" href={ '/' + user.username } target="_blank">{ user.name }</a>
<p class="username">@{ user.username }</p>
<mk-follow-button user={ user }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline-block
width 200px
diff --git a/src/web/app/mobile/tags/user-followers.tag b/src/web/app/mobile/tags/user-followers.tag
index c4cdedba81..a4dc99e68a 100644
--- a/src/web/app/mobile/tags/user-followers.tag
+++ b/src/web/app/mobile/tags/user-followers.tag
@@ -1,6 +1,6 @@
<mk-user-followers>
<mk-users-list ref="list" fetch={ fetch } count={ user.followers_count } you-know-count={ user.followers_you_know_count } no-users={ '%i18n:mobile.tags.mk-user-followers.no-users%' }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/user-following.tag b/src/web/app/mobile/tags/user-following.tag
index 3a6a54dd76..e1d98297c6 100644
--- a/src/web/app/mobile/tags/user-following.tag
+++ b/src/web/app/mobile/tags/user-following.tag
@@ -1,6 +1,6 @@
<mk-user-following>
<mk-users-list ref="list" fetch={ fetch } count={ user.following_count } you-know-count={ user.following_you_know_count } no-users={ '%i18n:mobile.tags.mk-user-following.no-users%' }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/user-preview.tag b/src/web/app/mobile/tags/user-preview.tag
index 48bf88a892..498ad53ecd 100644
--- a/src/web/app/mobile/tags/user-preview.tag
+++ b/src/web/app/mobile/tags/user-preview.tag
@@ -11,7 +11,7 @@
<div class="description">{ user.description }</div>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0
diff --git a/src/web/app/mobile/tags/user-timeline.tag b/src/web/app/mobile/tags/user-timeline.tag
index 65203fec4b..dd878810cf 100644
--- a/src/web/app/mobile/tags/user-timeline.tag
+++ b/src/web/app/mobile/tags/user-timeline.tag
@@ -1,6 +1,6 @@
<mk-user-timeline>
<mk-timeline ref="timeline" init={ init } more={ more } empty={ withMedia ? '%i18n:mobile.tags.mk-user-timeline.no-posts-with-media%' : '%i18n:mobile.tags.mk-user-timeline.no-posts%' }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
max-width 600px
diff --git a/src/web/app/mobile/tags/user.tag b/src/web/app/mobile/tags/user.tag
index eb6d9ffbe1..f0ecbd1c32 100644
--- a/src/web/app/mobile/tags/user.tag
+++ b/src/web/app/mobile/tags/user.tag
@@ -50,7 +50,7 @@
<mk-user-timeline if={ page == 'media' } user={ user } with-media={ true }/>
</div>
</div>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -259,7 +259,7 @@
</div>
</section>
<p>%i18n:mobile.tags.mk-user-overview.last-used-at%: <b><mk-time time={ user.last_used_at }/></b></p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
max-width 600px
@@ -314,7 +314,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && posts.length == 0 }>%i18n:mobile.tags.mk-user-overview-posts.no-posts%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -370,7 +370,7 @@
</div>
<mk-time time={ post.created_at }/>
</a>
- <style>
+ <style lang="stylus" scoped>
:scope
display inline-block
width 150px
@@ -443,7 +443,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && images.length == 0 }>%i18n:mobile.tags.mk-user-overview-photos.no-photos%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -519,7 +519,7 @@
fill="#a1de41"/>
</g>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
max-width 600px
@@ -564,7 +564,7 @@
</virtual>
</div>
<p class="empty" if={ user.keywords == null || user.keywords.length == 0 }>%i18n:mobile.tags.mk-user-overview-keywords.no-keywords%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -598,7 +598,7 @@
</virtual>
</div>
<p class="empty" if={ user.domains == null || user.domains.length == 0 }>%i18n:mobile.tags.mk-user-overview-domains.no-domains%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -633,7 +633,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:mobile.tags.mk-user-overview-frequently-replied-users.no-users%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -685,7 +685,7 @@
</virtual>
</div>
<p class="empty" if={ !initializing && users.length == 0 }>%i18n:mobile.tags.mk-user-overview-followers-you-know.no-users%</p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/mobile/tags/users-list.tag b/src/web/app/mobile/tags/users-list.tag
index 8e18bdea3c..31ca58185c 100644
--- a/src/web/app/mobile/tags/users-list.tag
+++ b/src/web/app/mobile/tags/users-list.tag
@@ -11,7 +11,7 @@
<span if={ moreFetching }>%i18n:common.loading%<mk-ellipsis/></span></button>
<p class="no" if={ !fetching && users.length == 0 }>{ opts.noUsers }</p>
<p class="fetching" if={ fetching }>%fa:spinner .pulse .fw%%i18n:common.loading%<mk-ellipsis/></p>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/stats/tags/index.tag b/src/web/app/stats/tags/index.tag
index 4b5415b2fd..4949837066 100644
--- a/src/web/app/stats/tags/index.tag
+++ b/src/web/app/stats/tags/index.tag
@@ -5,7 +5,7 @@
<mk-posts stats={ stats }/>
</main>
<footer><a href={ _URL_ }>{ _HOST_ }</a></footer>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0 auto
@@ -59,7 +59,7 @@
<mk-posts>
<h2>%i18n:stats.posts-count% <b>{ stats.posts_count }</b></h2>
<mk-posts-chart if={ !initializing } data={ data }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -85,7 +85,7 @@
<mk-users>
<h2>%i18n:stats.users-count% <b>{ stats.users_count }</b></h2>
<mk-users-chart if={ !initializing } data={ data }/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -133,7 +133,7 @@
stroke="#555"
stroke-dasharray="2 2"/>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
@@ -178,7 +178,7 @@
stroke-width="1"
stroke="#555"/>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
diff --git a/src/web/app/status/tags/index.tag b/src/web/app/status/tags/index.tag
index 198aa89e38..9ac54c867c 100644
--- a/src/web/app/status/tags/index.tag
+++ b/src/web/app/status/tags/index.tag
@@ -6,7 +6,7 @@
<mk-mem-usage connection={ connection }/>
</main>
<footer><a href={ _URL_ }>{ _HOST_ }</a></footer>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
margin 0 auto
@@ -77,7 +77,7 @@
<mk-cpu-usage>
<h2>CPU <b>{ percentage }%</b></h2>
<mk-line-chart ref="chart"/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -107,7 +107,7 @@
<mk-mem-usage>
<h2>MEM <b>{ percentage }%</b></h2>
<mk-line-chart ref="chart"/>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
</style>
@@ -164,7 +164,7 @@
stroke="#f43b16"
stroke-width="0.5"/>
</svg>
- <style>
+ <style lang="stylus" scoped>
:scope
display block
padding 16px