summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-19 12:31:53 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-19 12:31:53 +0900
commit2f35c9d40ace2f9902bc3895ad25904e176f6d7a (patch)
treefda1bf5fed9af92660b6b74b46864129a6066baa /src/web/app/common
parent#183 :tada: (diff)
downloadsharkey-2f35c9d40ace2f9902bc3895ad25904e176f6d7a.tar.gz
sharkey-2f35c9d40ace2f9902bc3895ad25904e176f6d7a.tar.bz2
sharkey-2f35c9d40ace2f9902bc3895ad25904e176f6d7a.zip
[Client] Remove needless attribute
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/tags/api-info.tag2
-rw-r--r--src/web/app/common/tags/authorized-apps.tag2
-rw-r--r--src/web/app/common/tags/copyright.tag2
-rw-r--r--src/web/app/common/tags/core-error.tag2
-rw-r--r--src/web/app/common/tags/ellipsis.tag2
-rw-r--r--src/web/app/common/tags/file-type-icon.tag2
-rw-r--r--src/web/app/common/tags/forkit.tag6
-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/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/raw.tag2
-rw-r--r--src/web/app/common/tags/ripple-string.tag2
-rw-r--r--src/web/app/common/tags/signin-history.tag2
-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/twitter-setting.tag2
-rw-r--r--src/web/app/common/tags/uploader.tag2
-rw-r--r--src/web/app/common/tags/url-preview.tag2
-rw-r--r--src/web/app/common/tags/url.tag2
25 files changed, 25 insertions, 29 deletions
diff --git a/src/web/app/common/tags/api-info.tag b/src/web/app/common/tags/api-info.tag
index 3c1865c90c..f3cef26509 100644
--- a/src/web/app/common/tags/api-info.tag
+++ b/src/web/app/common/tags/api-info.tag
@@ -5,7 +5,7 @@
<p>万が一このトークンが漏れたりその可能性がある場合は
<button class="regenerate" onclick={ regenerateToken }>トークンを再生成</button>できます。(副作用として、ログインしているすべてのデバイスでログアウトが発生します)
</p>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/authorized-apps.tag b/src/web/app/common/tags/authorized-apps.tag
index 47ae9b8cb3..16e9d9c0c1 100644
--- a/src/web/app/common/tags/authorized-apps.tag
+++ b/src/web/app/common/tags/authorized-apps.tag
@@ -6,7 +6,7 @@
<p>{ app.description }</p>
</div>
</div>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/copyright.tag b/src/web/app/common/tags/copyright.tag
index c5041935f4..368c4e3196 100644
--- a/src/web/app/common/tags/copyright.tag
+++ b/src/web/app/common/tags/copyright.tag
@@ -1,5 +1,5 @@
<mk-copyright><span>(c) syuilo 2014-2017</span>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/core-error.tag b/src/web/app/common/tags/core-error.tag
index af398301cd..5b5d163600 100644
--- a/src/web/app/common/tags/core-error.tag
+++ b/src/web/app/common/tags/core-error.tag
@@ -5,7 +5,7 @@
</h1>
<p class="text">インターネット回線に問題があるか、サーバーがダウンまたはメンテナンスしている可能性があります。しばらくしてから<a onclick={ retry }>再度お試し</a>ください。</p>
<p class="thanks">いつもMisskeyをご利用いただきありがとうございます。</p>
- <style type="stylus">
+ <style>
:scope
position fixed
z-index 16385
diff --git a/src/web/app/common/tags/ellipsis.tag b/src/web/app/common/tags/ellipsis.tag
index 71755dd8f3..58f1083954 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 type="stylus">
+ <style>
:scope
display inline
diff --git a/src/web/app/common/tags/file-type-icon.tag b/src/web/app/common/tags/file-type-icon.tag
index b4b0c88d66..37cae49993 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>
<i class="fa fa-file-image-o" if={ kind == 'image' }></i>
- <style type="stylus">
+ <style>
:scope
display inline
</style>
diff --git a/src/web/app/common/tags/forkit.tag b/src/web/app/common/tags/forkit.tag
index 5e44055455..98d29c26bc 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 type="stylus">
+ <style>
:scope
display block
position absolute
@@ -36,9 +36,5 @@
40%, 80%
transform rotate(10deg)
-
-
-
-
</style>
</mk-forkit>
diff --git a/src/web/app/common/tags/introduction.tag b/src/web/app/common/tags/introduction.tag
index 925e077737..7950586a27 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={ CONFIG.urls.about } target="_blank">もっと知りたい方はこちら</a></p>
</article>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/messaging/form.tag b/src/web/app/common/tags/messaging/form.tag
index 8979edf288..d6750fb9ec 100644
--- a/src/web/app/common/tags/messaging/form.tag
+++ b/src/web/app/common/tags/messaging/form.tag
@@ -6,7 +6,7 @@
<button class="attach-from-local" type="button" title="PCから画像を添付する"><i class="fa fa-upload"></i></button>
<button class="attach-from-drive" type="button" title="アルバムから画像を添付する"><i class="fa fa-folder-open"></i></button>
<input name="file" type="file" accept="image/*"/>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/messaging/index.tag b/src/web/app/common/tags/messaging/index.tag
index 7a6bf3709b..69f78ba8e3 100644
--- a/src/web/app/common/tags/messaging/index.tag
+++ b/src/web/app/common/tags/messaging/index.tag
@@ -32,7 +32,7 @@
</virtual>
</div>
<p class="no-history" if={ history.length == 0 }>履歴はありません。<br/>ユーザーを検索して、いつでもメッセージを送受信できます。</p>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/messaging/message.tag b/src/web/app/common/tags/messaging/message.tag
index 375a2fefcc..5765ffa6c8 100644
--- a/src/web/app/common/tags/messaging/message.tag
+++ b/src/web/app/common/tags/messaging/message.tag
@@ -15,7 +15,7 @@
<mk-time time={ message.created_at }></mk-time><i class="fa fa-pencil is-edited" if={ message.is_edited }></i>
</footer>
</div>
- <style type="stylus">
+ <style>
: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 237be36d47..5882a7fa40 100644
--- a/src/web/app/common/tags/messaging/room.tag
+++ b/src/web/app/common/tags/messaging/room.tag
@@ -13,7 +13,7 @@
<div class="grippie" title="ドラッグしてフォームの広さを調整"></div>
<mk-messaging-form user={ user }></mk-messaging-form>
</footer>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/number.tag b/src/web/app/common/tags/number.tag
index 3b9879655e..c878c842e2 100644
--- a/src/web/app/common/tags/number.tag
+++ b/src/web/app/common/tags/number.tag
@@ -1,5 +1,5 @@
<mk-number>
- <style type="stylus">
+ <style>
:scope
display inline
diff --git a/src/web/app/common/tags/poll-editor.tag b/src/web/app/common/tags/poll-editor.tag
index 66a6e74d9f..1c9c668f0b 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" onclick={ destroy } title="投票を破棄">
<i class="fa fa-times"></i>
</button>
- <style type="stylus">
+ <style>
:scope
display block
padding 8px
diff --git a/src/web/app/common/tags/poll.tag b/src/web/app/common/tags/poll.tag
index dc04c2ecf1..426bb44281 100644
--- a/src/web/app/common/tags/poll.tag
+++ b/src/web/app/common/tags/poll.tag
@@ -15,7 +15,7 @@
<a if={ !isVoted } onclick={ toggleResult }>{ result ? '投票する' : '結果を見る' }</a>
<span if={ isVoted }>投票済み</span>
</p>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/raw.tag b/src/web/app/common/tags/raw.tag
index ee7318a9f2..609c53e7e9 100644
--- a/src/web/app/common/tags/raw.tag
+++ b/src/web/app/common/tags/raw.tag
@@ -1,5 +1,5 @@
<mk-raw>
- <style type="stylus">
+ <style>
:scope
display inline
diff --git a/src/web/app/common/tags/ripple-string.tag b/src/web/app/common/tags/ripple-string.tag
index 2afd2b9ff3..d3303e6ba6 100644
--- a/src/web/app/common/tags/ripple-string.tag
+++ b/src/web/app/common/tags/ripple-string.tag
@@ -1,5 +1,5 @@
<mk-ripple-string><yield/>
- <style type="stylus">
+ <style>
:scope
display inline
diff --git a/src/web/app/common/tags/signin-history.tag b/src/web/app/common/tags/signin-history.tag
index 3dc650d5fc..ffc837891d 100644
--- a/src/web/app/common/tags/signin-history.tag
+++ b/src/web/app/common/tags/signin-history.tag
@@ -6,7 +6,7 @@
<pre><code>{ JSON.stringify(headers, null, ' ') }</code></pre>
</div>
</div>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/signin.tag b/src/web/app/common/tags/signin.tag
index d181e71622..28d73b037f 100644
--- a/src/web/app/common/tags/signin.tag
+++ b/src/web/app/common/tags/signin.tag
@@ -8,7 +8,7 @@
</label>
<button type="submit" disabled={ signing }>{ signing ? 'やっています...' : 'サインイン' }</button>
</form>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/signup.tag b/src/web/app/common/tags/signup.tag
index 508b37c1b7..47a37108a0 100644
--- a/src/web/app/common/tags/signup.tag
+++ b/src/web/app/common/tags/signup.tag
@@ -38,7 +38,7 @@
</label>
<button onclick={ onsubmit }>アカウント作成</button>
</form>
- <style type="stylus">
+ <style>
: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 7316d91c89..53c54c9816 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 }>Happy New Year! </p>
<p if={ m == 12 && d == 25 }>Merry Christmas!</p>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/twitter-setting.tag b/src/web/app/common/tags/twitter-setting.tag
index 64ce0a2908..247f4719ee 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={ CONFIG.api.url + '/disconnect/twitter' } target="_blank" if={ I.twitter }>切断する</a>
</p>
<p class="id" if={ I.twitter }>Twitter ID: { I.twitter.user_id }</p>
- <style type="stylus">
+ <style>
:scope
display block
diff --git a/src/web/app/common/tags/uploader.tag b/src/web/app/common/tags/uploader.tag
index 98e2ec38a0..b1be019875 100644
--- a/src/web/app/common/tags/uploader.tag
+++ b/src/web/app/common/tags/uploader.tag
@@ -10,7 +10,7 @@
<div class="progress waiting" if={ progress != undefined && progress.value == progress.max }></div>
</li>
</ol>
- <style type="stylus">
+ <style>
:scope
display block
overflow auto
diff --git a/src/web/app/common/tags/url-preview.tag b/src/web/app/common/tags/url-preview.tag
index 15003c8925..7aab9d94e0 100644
--- a/src/web/app/common/tags/url-preview.tag
+++ b/src/web/app/common/tags/url-preview.tag
@@ -9,7 +9,7 @@
<p>{ sitename }</p>
</footer>
</article></a>
- <style type="stylus">
+ <style>
:scope
display block
font-size 16px
diff --git a/src/web/app/common/tags/url.tag b/src/web/app/common/tags/url.tag
index 2f25152c54..d4284b61bf 100644
--- a/src/web/app/common/tags/url.tag
+++ b/src/web/app/common/tags/url.tag
@@ -1,5 +1,5 @@
<mk-url><a href={ url } target={ opts.target }><span class="schema">{ schema }//</span><span class="hostname">{ hostname }</span><span class="port" if={ port != '' }>:{ port }</span><span class="pathname" if={ pathname != '' }>{ pathname }</span><span class="query">{ query }</span><span class="hash">{ hash }</span></a>
- <style type="stylus">
+ <style>
:scope
word-break break-all