diff --git a/multi.html b/multi.html
index f1d63fba..411d8fb2 100644
--- a/multi.html
+++ b/multi.html
@@ -160,12 +160,12 @@ const teamsCount = 2;
@@ -803,12 +803,12 @@ const teamsCount = 2;
@@ -887,40 +887,40 @@ const teamsCount = 2;
diff --git a/script-json_data.js b/script-json_data.js
index 5061e34d..5f527077 100644
--- a/script-json_data.js
+++ b/script-json_data.js
@@ -4153,7 +4153,7 @@ const specialSearchFunctions = (function() {
const fragment = document.createDocumentFragment();
const icon = document.createElement("icon");
- icon.className = "attr";
+ icon.className = "attr-icon";
icon.setAttribute("data-attr-icon", "fixed");
fragment.append(icon, value.bigNumberToString());
diff --git a/script-skill-parser.js b/script-skill-parser.js
index 71b5fa6f..548c9052 100644
--- a/script-skill-parser.js
+++ b/script-skill-parser.js
@@ -3037,7 +3037,7 @@ function renderAttrs(attrs, option = {}) {
{
contentFrg = attrs.map(attr => {
const icon = document.createElement("icon");
- icon.className = "attr";
+ icon.className = "attr-icon";
icon.setAttribute("data-attr-icon",attr);
return tsp.attrs?.[attr]({icon: icon});
})
diff --git a/script.js b/script.js
index b27f82fd..2a43935a 100644
--- a/script.js
+++ b/script.js
@@ -7781,7 +7781,7 @@ function refreshTeamTotalCount(totalCountDom, team, teamIdx) {
{
const {attrs, types} = countTeamTotalAttrsTypes(team_2p, assistTeam_2p);
if (tAttrsDom) {
- const attrDoms = Array.from(tAttrsDom.querySelectorAll(".attr"));
+ const attrDoms = Array.from(tAttrsDom.querySelectorAll(".attr-icon"));
attrDoms.forEach(attrDom=>{
const attrId = parseInt(attrDom.getAttribute("data-attr-icon"));
attrDom.setAttribute(dataAttrName, attrs[attrId] || 0);
diff --git a/service-worker.js b/service-worker.js
index 12bd4cc7..d5a73254 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -53731,7 +53731,7 @@ const cachesMap = new Map([
],
[
"multi.html",
- "e9940fa95b9d22fbf8b67ab273cd0057"
+ "a73fd998c214214011b8b7102f600eb6"
],
[
"script-custom_elements.js",
@@ -53739,11 +53739,11 @@ const cachesMap = new Map([
],
[
"script-json_data.js",
- "8c718524fc9bedeaef8c609711a3bd7b"
+ "03eb3c49b4252740883bd401b37943ce"
],
[
"script-skill-parser.js",
- "f48d3aa81b98d0ec8d5f6441581c5c68"
+ "7aaf438495337bd7fa6b467398f36030"
],
[
"script-universal_function.js",
@@ -53751,11 +53751,11 @@ const cachesMap = new Map([
],
[
"script.js",
- "f2d5f1172ef0730a1cbb247b5b2022cf"
+ "4458d64c7eae76f3bd44e7c7f840aba4"
],
[
"solo.html",
- "08d3741e2088be4776f88348d14ddf67"
+ "47c3b888f74ae8118ec0e5ca47229628"
],
[
"style-fix-html2canvas.css",
@@ -53763,11 +53763,11 @@ const cachesMap = new Map([
],
[
"style-monsterimages.css",
- "4f99e4352b2ccd4807b125c5e36ea0f2"
+ "5f9a23a57c8802563decad279471e581"
],
[
"style.css",
- "7a18008a6416162b03aafd1c990937f8"
+ "2a5d4df6d4c557f891f93cc2bf44e3d4"
],
[
"temp.js",
@@ -53775,7 +53775,7 @@ const cachesMap = new Map([
],
[
"triple.html",
- "bce203a02364a6bfa8b877eefd33ef4b"
+ "60b445065541fbb1138640eb089f96d2"
],
[
"languages/en.css",
diff --git a/solo.html b/solo.html
index adf2fec7..8efc3245 100644
--- a/solo.html
+++ b/solo.html
@@ -117,12 +117,12 @@ const teamsCount = 1;
@@ -577,40 +577,40 @@ const teamsCount = 1;
diff --git a/style-monsterimages.css b/style-monsterimages.css
index b0179229..3e1a7ad2 100644
--- a/style-monsterimages.css
+++ b/style-monsterimages.css
@@ -1955,7 +1955,7 @@
/*属性图片*/
-.attr
+.attr-icon
{
--icon-width: 36px;
--icon-height: 36px;
@@ -1973,47 +1973,47 @@
background-position-x:calc(var(--icon-width) * var(--icon-x-index) * -1);
background-position-y:calc(var(--icon-height) * var(--icon-y-index) * -1);
}
-.attr[data-attr-icon='any'],
-.attr[data-attr-icon='self']
+.attr-icon[data-attr-icon='any'],
+.attr-icon[data-attr-icon='self']
{
--icon-x-index: 1;
--icon-y-index: 0;
}
-.attr[data-attr-icon='fixed']
+.attr-icon[data-attr-icon='fixed']
{
--icon-x-index: 1;
--icon-y-index: 1;
}
-.attr[data-attr-icon='-1']
+.attr-icon[data-attr-icon='-1']
{
width: auto;
}
-.attr[data-attr-icon='0']
+.attr-icon[data-attr-icon='0']
{
--icon-y-index: 0;
}
-.attr[data-attr-icon='1']
+.attr-icon[data-attr-icon='1']
{
--icon-y-index: 1;
}
-.attr[data-attr-icon='2']
+.attr-icon[data-attr-icon='2']
{
--icon-y-index: 2;
}
-.attr[data-attr-icon='3']
+.attr-icon[data-attr-icon='3']
{
--icon-y-index: 3;
}
-.attr[data-attr-icon='4']
+.attr-icon[data-attr-icon='4']
{
--icon-y-index: 4;
}
-.attr[data-attr-icon='5']
+.attr-icon[data-attr-icon='5']
{
--icon-y-index: 5;
}
-.attr[data-attr-icon='6']
+.attr-icon[data-attr-icon='6']
{
--icon-y-index: 6;
}
diff --git a/style.css b/style.css
index 9a888409..8abebb8e 100644
--- a/style.css
+++ b/style.css
@@ -1394,7 +1394,7 @@ body:not(.solo) .awoken-icon[data-awoken-icon="64"]::after
display: inline-flex;
vertical-align: bottom;
}
-.tIf-attrs icon.attr,
+.tIf-attrs icon.attr-icon,
.tIf-types icon.type-icon
{
position: relative;
@@ -1404,14 +1404,14 @@ body:not(.solo) .awoken-icon[data-awoken-icon="64"]::after
font-size: 16px;
margin-right: 3px;
}
-.tIf-attrs icon.attr:not([data-value]),
+.tIf-attrs icon.attr-icon:not([data-value]),
.tIf-types icon.type-icon:not([data-value]),
-.tIf-attrs icon.attr[data-value="0"],
+.tIf-attrs icon.attr-icon[data-value="0"],
.tIf-types icon.type-icon[data-value="0"]
{
display: none;
}
-.tIf-attrs icon.attr::before,
+.tIf-attrs icon.attr-icon::before,
.tIf-types icon.type-icon::before
{
content: "×"attr(data-value);
@@ -1432,7 +1432,7 @@ body:not(.solo) .awoken-icon[data-awoken-icon="64"]::after
content: attr(data-value)"★";
color: gold;
}
-.tIf-attrs icon.attr::before,
+.tIf-attrs icon.attr-icon::before,
.tIf-types icon.type-icon::before,
.tIf-rarity icon::before
{
@@ -1990,7 +1990,7 @@ label[for="search-string"] {
.awoken-preview .awoken-icon,
.custom-addition .awoken-icon,
.custom-addition .type-icon,
-.custom-addition .attr
+.custom-addition .attr-icon
{
filter: unset;
transform: scale(0.75);
@@ -4778,8 +4778,8 @@ body.external-link-support #external-support{
background-repeat: no-repeat;
}
.icon-skill,
-#search-attr .attr-list .attr,
-.skill-datail-parsed icon:where(.attr,.orb,.type-icon,.awoken-icon)
+#search-attr .attr-list .attr-icon,
+.skill-datail-parsed icon:where(.attr-icon,.orb,.type-icon,.awoken-icon)
{
vertical-align: bottom;
transform: scale(0.75);
diff --git a/triple.html b/triple.html
index 359a0c7d..d1236c69 100644
--- a/triple.html
+++ b/triple.html
@@ -123,12 +123,12 @@ const teamsCount = 3;
@@ -542,12 +542,12 @@ const teamsCount = 3;
@@ -961,12 +961,12 @@ const teamsCount = 3;
@@ -1422,40 +1422,40 @@ const teamsCount = 3;