diff --git a/model/abyss.js b/model/abyss.js index d93b537..8854631 100644 --- a/model/abyss.js +++ b/model/abyss.js @@ -101,6 +101,7 @@ export class ChallengeAvatar { this.level = data.level; this.rarity = data.rarity; this.element_type = data.element_type; + this.rank = data.rank; } async get_assets() { diff --git a/resources/abyss/index.css b/resources/abyss/index.css index ea62248..a43217d 100644 --- a/resources/abyss/index.css +++ b/resources/abyss/index.css @@ -208,6 +208,28 @@ display: flex; text-align: center; } +.card .item-card .team .list .item .c-info .ranks { + background: rgb(117, 117, 117); + padding: 0 0.2em; +} +.card .item-card .team .list .item .c-info .ranks.r1 { + background: rgb(58, 116, 43); +} +.card .item-card .team .list .item .c-info .ranks.r2 { + background: rgb(61, 132, 214); +} +.card .item-card .team .list .item .c-info .ranks.r3 { + background: rgb(223, 118, 118); +} +.card .item-card .team .list .item .c-info .ranks.r4 { + background: rgb(51, 54, 161); +} +.card .item-card .team .list .item .c-info .ranks.r5 { + background: rgb(102, 127, 19); +} +.card .item-card .team .list .item .c-info .ranks.r6 { + background: rgb(218, 48, 32); +} .card .item-card .team .list .item .c-info .level { flex-grow: 1; flex-shrink: 1; diff --git a/resources/abyss/index.html b/resources/abyss/index.html index d83897a..e0d18d0 100644 --- a/resources/abyss/index.html +++ b/resources/abyss/index.html @@ -61,14 +61,16 @@