Update: CSS about #InstanceTicker

This commit is contained in:
Cutls 2019-08-11 00:12:11 +09:00
parent 9c0c662f25
commit ab9d45c775
7 changed files with 7 additions and 7 deletions

View File

@ -818,7 +818,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
for (var i = 0; i < tickerdata.length; i++) { for (var i = 0; i < tickerdata.length; i++) {
var value = tickerdata[i]; var value = tickerdata[i];
if (value.domain == thisdomain) { if (value.domain == thisdomain) {
var tickerdom = '<div style="background:linear-gradient(to left,transparent, ' + value.bg + ' 96%) !important; color:' + value.text + ';width:100%; height:0.9rem; font-size:0.8rem;"><img draggable="false" src="' + value.image + '" style="height:100%;"><span style="position:relative; top:-0.2rem;"> ' + escapeHTML(value.name) + '</span></div>'; var tickerdom = '<div style="background:linear-gradient(90deg, ' + value.bg + ', transparent 96%) !important; color:' + value.text + ';width:100%; height:0.9rem; font-size:0.8rem;"><img draggable="false" src="' + value.image + '" style="height:100%;"><span style="position:relative; top:-0.2rem;"> ' + escapeHTML(value.name) + '</span></div>';
break; break;
} }
} }

View File

@ -294,7 +294,7 @@ var tlConstruction = [
setValue: "no", setValue: "no",
text: { text: {
head: "Aktiviere #InstanceTicker", head: "Aktiviere #InstanceTicker",
desc: "Zeigt bunte Sticker über den Server. <a href=\"https://cdn.weep.me/mastodon/\">Über #InstanceTicker</a> Copyright 2018 weepjp, kyori19.", desc: "Zeigt bunte Sticker über den Server. <a href=\"https://wee.jp/\">Über #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
checkbox: yesno checkbox: yesno
} }
}, { }, {

View File

@ -294,7 +294,7 @@ var tlConstruction = [
setValue: "no", setValue: "no",
text: { text: {
head: "Enable #InstanceTicker", head: "Enable #InstanceTicker",
desc: "Show colorful stickers about the server. <a href=\"https://cdn.weep.me/mastodon/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.", desc: "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
checkbox: yesno checkbox: yesno
} }
}, { }, {

View File

@ -294,7 +294,7 @@ var tlConstruction = [
setValue: "no", setValue: "no",
text: { text: {
head: "#InstanceTickerを使う", head: "#InstanceTickerを使う",
desc: "トゥートした人の所属サーバーをわかりやすく彩ります(自サーバー以外のトゥート向け)。<a href=\"https://cdn.weep.me/mastodon/\">#InstanceTickerについて</a> Copyright 2018 weepjp, kyori19.", desc: "トゥートした人の所属サーバーをわかりやすく彩ります(自サーバー以外のトゥート向け)。<a href=\"https://https://wee.jp/\">#InstanceTickerについて</a> Copyright 2018 weepjp, kyori19.",
checkbox: yesno checkbox: yesno
} }
}, { }, {

View File

@ -85,7 +85,7 @@
"imgheight": "Höhe der Bilder", "imgheight": "Höhe der Bilder",
"imgheightwarn": "Option:Setze \"full\" für Unbeschnitten.", "imgheightwarn": "Option:Setze \"full\" für Unbeschnitten.",
"ticker": "Aktiviere #InstanceTicker", "ticker": "Aktiviere #InstanceTicker",
"tickerwarn": "Zeigt bunte Sticker über den Server. <a href=\"https://cdn.weep.me/mastodon/\">Über #InstanceTicker</a> Copyright 2018 weepjp, kyori19.", "tickerwarn": "Zeigt bunte Sticker über den Server. <a href=\"https://wee.jp/\">Über #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
"animation": "Animation der Verläufe", "animation": "Animation der Verläufe",
"replySound": "Ton bei Antwort", "replySound": "Ton bei Antwort",
"favSound": "Ton bei Favorit", "favSound": "Ton bei Favorit",

View File

@ -85,7 +85,7 @@
"imgheight": "Height of images", "imgheight": "Height of images",
"imgheightwarn": "Option:Set \"full\" to uncrop.", "imgheightwarn": "Option:Set \"full\" to uncrop.",
"ticker": "Enable #InstanceTicker", "ticker": "Enable #InstanceTicker",
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://cdn.weep.me/mastodon/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.", "tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
"animation": "Animation of timelines", "animation": "Animation of timelines",
"replySound": "Sound(Reply)", "replySound": "Sound(Reply)",
"favSound": "Sound(Fav)", "favSound": "Sound(Fav)",

View File

@ -85,7 +85,7 @@
"imgheight": "画像の高さ", "imgheight": "画像の高さ",
"imgheightwarn": "オプション:「full」と指定すると全ての画像をクロップしません。", "imgheightwarn": "オプション:「full」と指定すると全ての画像をクロップしません。",
"ticker": "#InstanceTickerを使う", "ticker": "#InstanceTickerを使う",
"tickerwarn": "トゥートした人の所属サーバーをわかりやすく彩ります(自サーバー以外のトゥート向け)。<a href=\"https://cdn.weep.me/mastodon/\">#InstanceTickerについて</a> Copyright 2018 weepjp, kyori19.", "tickerwarn": "トゥートした人の所属サーバーをわかりやすく彩ります(自サーバー以外のトゥート向け)。<a href=\"https://https://wee.jp/\">#InstanceTickerについて</a> Copyright 2018 weepjp, kyori19.",
"animation": "タイムラインのアニメーション", "animation": "タイムラインのアニメーション",
"replySound": "リプライの通知音", "replySound": "リプライの通知音",
"favSound": "お気に入り登録の通知音", "favSound": "お気に入り登録の通知音",