This commit is contained in:
bietiaop 2024-07-18 13:47:03 +08:00
parent b69b44b0f5
commit 3d54e240a7
12 changed files with 266 additions and 132 deletions

View file

@ -3,25 +3,51 @@
background-size: cover;
}
.panel {
& > .icon {
display: flex;
justify-content: center;
margin-bottom: 0.5em;
padding-top: 0.5em;
.img {
width: 2em;
height: 2em;
background-image: url(./images/refresh_title.png);
background-size: 100% 100%;
}
}
& > .info {
color: white;
font-size: 1em;
font-weight: normal;
margin-bottom: 1em;
display: flex;
justify-content: center;
justify-content: space-between;
font-size: 0.7em;
padding: 0 2em;
margin-bottom: 1em;
align-items: center;
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(0.2em);
.user-info {
flex-grow: 1;
flex-shrink: 1;
}
.count {
font-size: 1.4em;
flex-shrink: 0;
flex-grow: 0;
padding: 0.3em 0.7em;
border-radius: 0.5em;
background-color: rgba(0, 0, 0, 0.8);
color: white;
filter: drop-shadow(0 0 0.1em rgba(216, 255, 254, 0.6));
margin-right: 0.6em;
position: relative;
&::after {
content: '';
position: absolute;
right: -0.38em;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-top: 0.4em solid transparent;
border-left: 0.4em solid rgba(0, 0, 0, 0.8);
border-bottom: 0.4em solid transparent;
}
}
.icon {
width: 3.5em;
flex-grow: 0;
flex-shrink: 0;
aspect-ratio: 1;
display: flex;
background: url('./images/refresh_title.png') center / contain no-repeat;
}
}
& > .list {
border: 0.1em solid rgba(87, 80, 102);
@ -43,8 +69,7 @@
align-items: center;
padding: 0.2em 0em;
.icon {
background-image: url('./images/@~8B@XO~\)U1BIPPR}NN9CI7.png');
background-size: contain;
background: url('./images/avatar_box.png') center / contain no-repeat;
margin-bottom: 0.2em;
position: relative;
img.streng {
@ -52,11 +77,11 @@
height: 3.5em;
border-radius: 50%;
padding: 0.25em 0.25em 0.3em 0.25em;
object-fit: cover;
object-position: center;
}
.level {
.rank {
position: absolute;
// right: 0.2em;
// bottom: 0.25em;
right: 1.25em;
bottom: -0.1em;
border-radius: 50%;
@ -92,36 +117,28 @@
}
}
.name {
height: 1.4em;
width: 5.4em;
overflow: visible;
background-image: url('./images/refresh_char_bg.png');
background-size: 100% 100%;
background-repeat: no-repeat;
padding: 0.1em 0;
padding-left: 0.5em;
border-image-slice: 0 30 0 40 fill;
border-image-width: 0em 0.45em 0em 0.7em;
border-image-outset: 0 0.11em 0 0;
border-image-repeat: stretch stretch;
border-image-source: url('./images/CurseBG04.png');
display: flex;
align-items: center;
justify-content: center;
color: white;
padding: 0 0.7em;
.img {
width: 1em;
height: 1em;
display: inline-block;
margin-right: 0.05em;
background-size: 100% 100%;
transform: translateY(0.03em);
&.S,
&.s {
background-image: url(./images/SRANK.png);
}
&.A,
&.a {
background-image: url(./images/ARANK.png);
}
&.B,
&.b {
background-image: url(./images/BRANK.png);
}
flex-shrink: 0;
flex-grow: 0;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
background-size: 70%;
box-shadow: 0 0 0 0.07em rgba(85, 85, 85, 0.5);
// margin-top: -0.02em;
}
span {
@ -130,6 +147,8 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-grow: 1;
flex-shrink: 1;
}
}
}