diff --git a/resources/card/images/RANK_A.png b/resources/card/images/RANK_A.png deleted file mode 100644 index b8210ca..0000000 Binary files a/resources/card/images/RANK_A.png and /dev/null differ diff --git a/resources/card/images/RANK_B.png b/resources/card/images/RANK_B.png deleted file mode 100644 index 5e06d32..0000000 Binary files a/resources/card/images/RANK_B.png and /dev/null differ diff --git a/resources/card/images/RANK_S.png b/resources/card/images/RANK_S.png deleted file mode 100644 index 6963cca..0000000 Binary files a/resources/card/images/RANK_S.png and /dev/null differ diff --git a/resources/card/index.css b/resources/card/index.css index bd5b63d..c5634a4 100644 --- a/resources/card/index.css +++ b/resources/card/index.css @@ -139,30 +139,11 @@ top: 0.2em; right: 0.1em; width: 1.6em; - aspect-ratio: 1; background-color: #000; border-radius: 50%; border: solid 0.1em #000; - background-size: contain; - background-position: center; - background-repeat: no-repeat; color: white; z-index: 2; } -.card .list .item .property.fire { - background-image: url("./images/IconFire.png"); -} -.card .list .item .property.ice { - background-image: url("./images/IconIce.png"); -} -.card .list .item .property.physdmg { - background-image: url("./images/IconPhysDmg.png"); -} -.card .list .item .property.thunder { - background-image: url("./images/IconThunder.png"); -} -.card .list .item .property.dungeon { - background-image: url("./images/IconDungeonBuffEther.png"); -} /*# sourceMappingURL=index.css.map */ diff --git a/resources/card/index.scss b/resources/card/index.scss index 9abc0f8..137f74b 100644 --- a/resources/card/index.scss +++ b/resources/card/index.scss @@ -151,30 +151,11 @@ top: 0.2em; right: 0.1em; width: 1.6em; - aspect-ratio: 1; background-color: #000; border-radius: 50%; border: solid 0.1em #000; - background-size: contain; - background-position: center; - background-repeat: no-repeat; color: white; z-index: 2; - &.fire { - background-image: url('./images/IconFire.png'); - } - &.ice { - background-image: url('./images/IconIce.png'); - } - &.physdmg { - background-image: url('./images/IconPhysDmg.png'); - } - &.thunder { - background-image: url('./images/IconThunder.png'); - } - &.dungeon { - background-image: url('./images/IconDungeonBuffEther.png'); - } } } } diff --git a/resources/card/images/IconDungeonBuffEther.png b/resources/common/images/IconDungeonBuffEther.png similarity index 100% rename from resources/card/images/IconDungeonBuffEther.png rename to resources/common/images/IconDungeonBuffEther.png diff --git a/resources/card/images/IconFire.png b/resources/common/images/IconFire.png similarity index 100% rename from resources/card/images/IconFire.png rename to resources/common/images/IconFire.png diff --git a/resources/card/images/IconIce.png b/resources/common/images/IconIce.png similarity index 100% rename from resources/card/images/IconIce.png rename to resources/common/images/IconIce.png diff --git a/resources/card/images/IconPhysDmg.png b/resources/common/images/IconPhysDmg.png similarity index 100% rename from resources/card/images/IconPhysDmg.png rename to resources/common/images/IconPhysDmg.png diff --git a/resources/card/images/IconThunder.png b/resources/common/images/IconThunder.png similarity index 100% rename from resources/card/images/IconThunder.png rename to resources/common/images/IconThunder.png diff --git a/resources/common/images/RANK_A.png b/resources/common/images/RANK_A.png deleted file mode 100644 index b8210ca..0000000 Binary files a/resources/common/images/RANK_A.png and /dev/null differ diff --git a/resources/common/images/RANK_B.png b/resources/common/images/RANK_B.png deleted file mode 100644 index 5e06d32..0000000 Binary files a/resources/common/images/RANK_B.png and /dev/null differ diff --git a/resources/common/images/RANK_S.png b/resources/common/images/RANK_S.png deleted file mode 100644 index 6963cca..0000000 Binary files a/resources/common/images/RANK_S.png and /dev/null differ diff --git a/resources/common/style/index.css b/resources/common/style/index.css index fefee3c..88d0447 100644 --- a/resources/common/style/index.css +++ b/resources/common/style/index.css @@ -19,7 +19,6 @@ } .rank-icon { - width: 1.5em; aspect-ratio: 1; background-repeat: no-repeat; background-position: center; @@ -35,4 +34,26 @@ background-image: url("../images/RANK_B.png"); } +.property { + aspect-ratio: 1; + background-size: contain; + background-position: center; + background-repeat: no-repeat; +} +.property.fire { + background-image: url("../images/IconFire.png"); +} +.property.ice { + background-image: url("../images/IconIce.png"); +} +.property.physdmg { + background-image: url("../images/IconPhysDmg.png"); +} +.property.thunder { + background-image: url("../images/IconThunder.png"); +} +.property.dungeon { + background-image: url("../images/IconDungeonBuffEther.png"); +} + /*# sourceMappingURL=index.css.map */ diff --git a/resources/common/style/index.scss b/resources/common/style/index.scss index 243c401..0c2ad40 100644 --- a/resources/common/style/index.scss +++ b/resources/common/style/index.scss @@ -41,7 +41,6 @@ } .rank-icon { - width: 1.5em; aspect-ratio: 1; background-repeat: no-repeat; background-position: center; @@ -59,3 +58,25 @@ background-image: url('../images/RANK_B.png'); } } + +.property { + aspect-ratio: 1; + background-size: contain; + background-position: center; + background-repeat: no-repeat; + &.fire { + background-image: url('../images/IconFire.png'); + } + &.ice { + background-image: url('../images/IconIce.png'); + } + &.physdmg { + background-image: url('../images/IconPhysDmg.png'); + } + &.thunder { + background-image: url('../images/IconThunder.png'); + } + &.dungeon { + background-image: url('../images/IconDungeonBuffEther.png'); + } +}