Skip to content

Commit

Permalink
增加几个隐藏开关
Browse files Browse the repository at this point in the history
  • Loading branch information
Mapaler committed Jun 20, 2024
1 parent c2ccc95 commit 0a11163
Show file tree
Hide file tree
Showing 10 changed files with 165 additions and 45 deletions.
17 changes: 13 additions & 4 deletions languages/en.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,19 +244,28 @@ label[for="show-card-id"]::after{
content:"🆔Card's ID";
}
label[for="show-card-rarity"]::after{
content:"⭐️Card's Rarity";
content:"Card's Rarity";
}
label[for="show-member-level"]::after{
content:"Member's Level";
}
label[for="show-member-plus-point"]::after{
content:"Member's Plus Point";
}
label[for="show-member-awoken-count"]::after{
content:"Icon of Member's Awaknings Count";
}
label[for="show-member-skill-cd"]::after{
content:"❄️Member's Skill CD";
content:"Member's Skill CD";
}
label[for="show-member-ability"]::after{
content:"⚔️Member's Ability";
content:"Member's Ability";
}
label[for="show-member-types"]::after{
content:"Member's Types";
}
label[for="show-member-awoken"]::after{
content:"👁️Member's Awoken";
content:"List of Member's Awakenings";
}
label[for="show-team-total-info"]::after{
content:"Team's HP Info";
Expand Down
19 changes: 14 additions & 5 deletions languages/ja.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,22 +235,31 @@ label[for="screenshot-transparent"]::after{
}

label[for="show-card-id"]::after{
content:"🆔カード番号";
content:"カード番号";
}
label[for="show-card-rarity"]::after{
content:"⭐️カードの希少性";
content:"カードの希少性";
}
label[for="show-member-level"]::after{
content:"メンバーのレベル";
}
label[for="show-member-plus-point"]::after{
content:"メンバーのプラス・ポイント";
}
label[for="show-member-awoken-count"]::after{
content:"メンバーの覚醒数のアイコン";
}
label[for="show-member-skill-cd"]::after{
content:"❄️メンバーズスキルCD";
content:"メンバーのスキルCD";
}
label[for="show-member-ability"]::after{
content:"⚔️メンバーの能力";
content:"メンバーの能力";
}
label[for="show-member-types"]::after{
content:"メンバーのタイプ";
}
label[for="show-member-awoken"]::after{
content:"👁️メンバーの覚醒";
content:"メンバーの覚醒一覧";
}
label[for="show-team-total-info"]::after{
content:"チームのHP情報";
Expand Down
19 changes: 14 additions & 5 deletions languages/ko.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,22 +230,31 @@ label[for="screenshot-transparent"]::after{
content:"표시된 정보 전환 목록";
}
label[for="show-card-id"]::after{
content:"🆔카드 ID";
content:"카드 ID";
}
label[for="show-card-rarity"]::after{
content:"⭐️카드의 희귀도";
content:"카드의 희귀도";
}
label[for="show-member-level"]::after{
content:"멤버의 레벨";
}
label[for="show-member-plus-point"]::after{
content:"멤버의 플러스 포인트";
}
label[for="show-member-awoken-count"]::after{
content:"회원의 각성 횟수 아이콘";
}
label[for="show-member-skill-cd"]::after{
content:"❄️회원의 CD";
content:"멤버의 CD";
}
label[for="show-member-ability"]::after{
content:"⚔️회원의 능력";
content:"멤버의 능력";
}
label[for="show-member-types"]::after{
content:"멤버의 타입";
}
label[for="show-member-awoken"]::after{
content:"👁️멤버의 유형";
content:"멤버의 각성 목록";
}
label[for="show-team-total-info"]::after{
content:"팀의 HP 정보";
Expand Down
19 changes: 14 additions & 5 deletions languages/zh-hans.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,22 +236,31 @@ label[for="screenshot-transparent"]::after{
content:"展示信息开关列表";
}
label[for="show-card-id"]::after{
content:"🆔卡片ID";
content:"卡片ID";
}
label[for="show-card-rarity"]::after{
content:"⭐️卡片稀有度";
content:"卡片稀有度";
}
label[for="show-member-level"]::after{
content:"队员等级";
}
label[for="show-member-plus-point"]::after{
content:"队员加值";
}
label[for="show-member-awoken-count"]::after{
content:"队员觉醒数量角标";
}
label[for="show-member-skill-cd"]::after{
content:"❄️队员技能冷却";
content:"队员技能冷却";
}
label[for="show-member-ability"]::after{
content:"⚔️队员能力值";
content:"队员能力值";
}
label[for="show-member-types"]::after{
content:"队员类型";
}
label[for="show-member-awoken"]::after{
content:"👁️队员觉醒";
content:"队员觉醒列表";
}
label[for="show-team-total-info"]::after{
content:"队伍生命值等信息统计";
Expand Down
19 changes: 14 additions & 5 deletions languages/zh-hant.css
Original file line number Diff line number Diff line change
Expand Up @@ -237,22 +237,31 @@ label[for="screenshot-transparent"]::after{
content:"展示信息開關列表";
}
label[for="show-card-id"]::after{
content:"🆔卡片ID";
content:"卡片ID";
}
label[for="show-card-rarity"]::after{
content:"⭐️卡片稀有度";
content:"卡片稀有度";
}
label[for="show-member-level"]::after{
content:"隊員等級";
}
label[for="show-member-plus-point"]::after{
content:"隊員加值";
}
label[for="show-member-awoken-count"]::after{
content:"隊員覺醒數量角標";
}
label[for="show-member-skill-cd"]::after{
content:"❄️隊員技能冷卻";
content:"隊員技能冷卻";
}
label[for="show-member-ability"]::after{
content:"⚔️隊員能力值";
content:"隊員能力值";
}
label[for="show-member-types"]::after{
content:"隊員類型";
}
label[for="show-member-awoken"]::after{
content:"👁️隊員覺醒";
content:"隊員覺醒列表";
}
label[for="show-team-total-info"]::after{
content:"隊伍生命值等信息統計";
Expand Down
27 changes: 24 additions & 3 deletions multi.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,35 @@
</div>
<details class="config-display-list">
<summary></summary>
<input type="checkbox" class="switch-ipt" id="show-card-id"><label for="show-card-id"></label>
<input type="checkbox" class="switch-ipt" id="show-card-rarity"><label for="show-card-rarity"></label>
<input type="checkbox" class="switch-ipt" id="show-member-skill-cd"><label for="show-member-skill-cd"></label>
<div class="in-card">
<div class="monster" data-cardid="8388" data-cards-pic-idx="84" data-cards-pic-x="7" data-cards-pic-y="8" title="No.8388 超火山龙" style="transform: scale(0.75); margin: calc(-100px * (1 - 0.75) / 2);">
<div class="attrs">
<div class="attr" data-attr="0"></div><div class="attr" data-attr="0"></div><div class="attr" data-attr="-1"></div>
</div>
<div class="plus has297"><div class="hp"></div><div class="atk"></div><div class="rcv"></div></div>
<div class="awoken-count-num full-awoken" data-value="9"></div>
<div class="super-awoken"><div class="awoken-icon" data-awoken-icon="43"></div></div>
<div class="level" data-value="110" data-level-range="110"></div>
<div class="rarity" data-value="2"></div>
<div class="id">8388</div>
<div class="skill-cd max-skill">6</div>
</div>
<div class="switchs">
<input type="checkbox" class="switch-ipt" id="show-card-id"><label for="show-card-id"></label>
<input type="checkbox" class="switch-ipt" id="show-card-rarity"><label for="show-card-rarity"></label>
<input type="checkbox" class="switch-ipt" id="show-member-level"><label for="show-member-level"></label>
<input type="checkbox" class="switch-ipt" id="show-member-plus-point"><label for="show-member-plus-point"></label>
<input type="checkbox" class="switch-ipt" id="show-member-awoken-count"><label for="show-member-awoken-count"></label>
<input type="checkbox" class="switch-ipt" id="show-member-skill-cd"><label for="show-member-skill-cd"></label>
</div>
</div>
<input type="checkbox" class="switch-ipt" id="show-member-ability"><label for="show-member-ability"></label>
<input type="checkbox" class="switch-ipt" id="show-member-types"><label for="show-member-types"></label>
<input type="checkbox" class="switch-ipt" id="show-member-awoken"><label for="show-member-awoken"></label>
<input type="checkbox" class="switch-ipt" id="show-team-total-info"><label for="show-team-total-info"></label>
<input type="checkbox" class="switch-ipt" id="show-team-attrtype-count"><label for="show-team-attrtype-count"></label>
<input type="checkbox" class="switch-ipt" id="show-team-awoken-effect"><label for="show-team-awoken-effect"></label>
<input type="checkbox" class="switch-ipt" id="show-meter"><label for="show-meter"></label>
<input type="checkbox" class="switch-ipt" id="show-team-awoken-count"><label for="show-team-awoken-count"></label>
<input type="checkbox" class="switch-ipt" id="show-rich-text-tools"><label for="show-rich-text-tools"></label>
</details>
Expand Down Expand Up @@ -1277,6 +1297,7 @@
</div>
<div class="id-string-search">
<form id="form-id-search">
<label for="card-id"></label>
<input type="number" step="1" min="0" max="99999" id="card-id" name="card-id"/>
</form>
<form id="form-string-search">
Expand Down
18 changes: 9 additions & 9 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -29491,7 +29491,7 @@ const cachesMap = new Map([
],
[
"multi.html",
"5b452eea55769c3fee713f9e7a526a08"
"2861872f7a1198950a2a50a39a22bde9"
],
[
"script-custom_elements.js",
Expand All @@ -29515,43 +29515,43 @@ const cachesMap = new Map([
],
[
"solo.html",
"8727bc16b97b1e9e2d519e66bdf29dd4"
"1c811038b11047efce83940d92a98a1d"
],
[
"style-monsterimages.css",
"ba8540c1326db9e1ba3f0cb4894a7628"
],
[
"style.css",
"83e798ecd23802bb1d6b755dca6d8392"
"b5b782fb1aff5a1cd6437255c8d5b7bc"
],
[
"temp.js",
"17d9246fbd4efc02a9e9515b973275cb"
],
[
"triple.html",
"0baf0d454c8960c561c1c4cfbbbcc939"
"a64aac37d9c4d6483c694090a14e44c5"
],
[
"languages/en.css",
"f556f9e1d1d70f8345bd26aef4cdc7f0"
"fde2b88a3e18da448f3e21bd2bc27b53"
],
[
"languages/en.js",
"de3e6b1956d37a8b05a7fca4096ad3ce"
],
[
"languages/ja.css",
"a68f5f7f5a391663dd24526ddcc79bb1"
"c9c450cef95c5b704c088f62937e0e7f"
],
[
"languages/ja.js",
"563ae58b4ef7d7da1b7cf4885d394964"
],
[
"languages/ko.css",
"654e43a514aa728bc6352a8ab83a03a4"
"646f55f9fb8f1c837728d5532df2fa64"
],
[
"languages/ko.js",
Expand All @@ -29563,15 +29563,15 @@ const cachesMap = new Map([
],
[
"languages/zh-hans.css",
"b97e8c2c173ce608f97bdf55bb94fce6"
"20d7b43ffdeb787917a889ba5cfb72f4"
],
[
"languages/zh-hans.js",
"e8f4e76f67a4cbb4a72517e6f17434ee"
],
[
"languages/zh-hant.css",
"65cd9d99929e231abb597ca22b09e5ec"
"2544ec0cb4e96f1b3ea7b76df3561246"
],
[
"languages/zh-hant.js",
Expand Down
25 changes: 22 additions & 3 deletions solo.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,28 @@
</div>
<details class="config-display-list">
<summary></summary>
<input type="checkbox" class="switch-ipt" id="show-card-id"><label for="show-card-id"></label>
<input type="checkbox" class="switch-ipt" id="show-card-rarity"><label for="show-card-rarity"></label>
<input type="checkbox" class="switch-ipt" id="show-member-skill-cd"><label for="show-member-skill-cd"></label>
<div class="in-card">
<div class="monster" data-cardid="8388" data-cards-pic-idx="84" data-cards-pic-x="7" data-cards-pic-y="8" title="No.8388 超火山龙" style="transform: scale(0.75); margin: calc(-100px * (1 - 0.75) / 2);">
<div class="attrs">
<div class="attr" data-attr="0"></div><div class="attr" data-attr="0"></div><div class="attr" data-attr="-1"></div>
</div>
<div class="plus has297"><div class="hp"></div><div class="atk"></div><div class="rcv"></div></div>
<div class="awoken-count-num full-awoken" data-value="9"></div>
<div class="super-awoken"><div class="awoken-icon" data-awoken-icon="43"></div></div>
<div class="level" data-value="110" data-level-range="110"></div>
<div class="rarity" data-value="2"></div>
<div class="id">8388</div>
<div class="skill-cd max-skill">6</div>
</div>
<div class="switchs">
<input type="checkbox" class="switch-ipt" id="show-card-id"><label for="show-card-id"></label>
<input type="checkbox" class="switch-ipt" id="show-card-rarity"><label for="show-card-rarity"></label>
<input type="checkbox" class="switch-ipt" id="show-member-level"><label for="show-member-level"></label>
<input type="checkbox" class="switch-ipt" id="show-member-plus-point"><label for="show-member-plus-point"></label>
<input type="checkbox" class="switch-ipt" id="show-member-awoken-count"><label for="show-member-awoken-count"></label>
<input type="checkbox" class="switch-ipt" id="show-member-skill-cd"><label for="show-member-skill-cd"></label>
</div>
</div>
<input type="checkbox" class="switch-ipt" id="show-member-ability"><label for="show-member-ability"></label>
<input type="checkbox" class="switch-ipt" id="show-member-types"><label for="show-member-types"></label>
<input type="checkbox" class="switch-ipt" id="show-member-awoken"><label for="show-member-awoken"></label>
Expand Down
20 changes: 17 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,13 @@ ul{
}
body:not(.show-card-id) .monster .id, /*卡片id*/
body:not(.show-card-rarity) .monster .rarity, /*卡片稀有度*/
body:not(.show-member-skill-cd) .monster .skill-cd.max-skill, /*队员CD*/
body:not(.show-member-level) .monster .level, /*队员等级*/
body:not(.show-member-plus-point) .monster .plus, /*队员加值*/
body:not(.show-member-awoken-count) .monster .awoken-count-num, /*队员觉醒数量*/
body:not(.show-member-skill-cd) .monster .skill-cd.max-skill, /*队员CD,不满时还是显示*/
body:not(.show-member-ability) .team-ability, /*队员三维*/
body:not(.show-member-types) .team-member-types, /*武器觉醒、队员觉醒、队员类型*/
body:not(.show-member-awoken) :where(.team-assist-awoken , .team-member-awoken), /*武器觉醒、队员觉醒、队员类型*/
body:not(.show-member-types) .team-member-types, /*队员类型*/
body:not(.show-member-awoken) :where(.team-assist-awoken , .team-member-awoken), /*武器觉醒、队员觉醒列表*/
body:not(.show-team-awoken-count) .team-awoken, /*队伍觉醒统计*/
body:not(.show-team-total-info) :where(.tIf-total-hp, .tIf-effect),
body:not(.show-team-attrtype-count) .team-total-info-count, /*稀有度、属性与类型计数*/
Expand All @@ -739,6 +742,17 @@ body:not(.show-rich-text-tools) #rich-text-tools /*富文本框选择器*/
{
display: none !important;
}
.config-display-list .in-card{
display: grid;
grid-template-columns: 75px auto;
}
.config-display-list .in-card .switchs{
display: flex;
flex-wrap: wrap;
}
.config-display-list .in-card .switchs input[type="checkbox"].switch-ipt:checked + label::before{
background-color: #0A4;
}

/*交换队长技的图标*/
.monster .switch-leader
Expand Down
Loading

0 comments on commit 0a11163

Please sign in to comment.