ZZZ-Plugin/resources/panel/card.css
2024-07-13 17:52:31 +08:00

592 lines
15 KiB
CSS

.card {
padding-top: 0.8em;
overflow: hidden;
}
.card .star {
width: 5.5em;
height: 1.5em;
}
.card .star.star0 {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-image: url("./images/star/0.png");
}
.card .star.star1 {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-image: url("./images/star/1.png");
}
.card .star.star2 {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-image: url("./images/star/2.png");
}
.card .star.star3 {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-image: url("./images/star/3.png");
}
.card .star.star4 {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-image: url("./images/star/4.png");
}
.card .star.star5 {
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-image: url("./images/star/5.png");
}
.card .basic {
display: flex;
align-items: stretch;
overflow: hidden;
}
.card .basic .char {
width: 55%;
position: relative;
flex-grow: 1;
}
.card .basic .char .avatar {
height: 100%;
padding-top: 1em;
overflow: hidden;
}
.card .basic .char .avatar img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top center;
position: absolute;
}
.card .basic .char .skills {
position: absolute;
width: 120%;
height: 3.5em;
background: url("./images/skill_bg.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
bottom: 3em;
right: -1.6em;
display: flex;
align-items: flex-end;
padding-left: 2.5em;
padding-bottom: 0.2em;
}
.card .basic .char .skills .skill {
width: 1.4em;
aspect-ratio: 1;
margin-right: 1.38em;
display: flex;
justify-content: center;
align-items: center;
}
.card .basic .info {
width: 45%;
flex-grow: 0;
flex-shrink: 0;
font-size: 1.2em;
position: relative;
z-index: 2;
}
.card .basic .info .char_info {
width: 140%;
position: relative;
right: 20%;
padding: 0.3em 0.2em;
padding-right: 20%;
padding-left: 8%;
border-image-slice: 0 30 0 40 fill;
border-image-width: 0em 1.5em 0em 2em;
border-image-outset: 0 0 0 0;
border-image-repeat: stretch stretch;
border-image-source: url("./images/CurseBG04.png");
filter: drop-shadow(0 0 0.1em rgb(0, 0, 0));
}
.card .basic .info .char_info .base {
display: flex;
align-items: center;
gap: 0.2em;
overflow: hidden;
}
.card .basic .info .char_info .base .rank {
width: 1.2em;
flex-grow: 0;
flex-shrink: 0;
}
.card .basic .info .char_info .base .property {
width: 1em;
flex-grow: 0;
flex-shrink: 0;
}
.card .basic .info .char_info .base .name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.card .basic .info .char_info .addition {
display: flex;
align-items: center;
font-size: 0.7em;
gap: 0.2em;
padding-left: 1em;
}
.card .basic .info .char_info .addition .level {
background-color: #000;
padding: 0em 0.7em;
border-radius: 1em;
}
.card .basic .info .char_info .addition .role_ranks {
display: flex;
gap: 0.1em;
}
.card .basic .info .char_info .addition .role_ranks span {
width: 1.2em;
aspect-ratio: 1;
border-radius: 1em;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
opacity: 0.4;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(1) {
background-image: url("./images/ranks/1.png");
}
.card .basic .info .char_info .addition .role_ranks.r1 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(2) {
background-image: url("./images/ranks/2.png");
}
.card .basic .info .char_info .addition .role_ranks.r2 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r2 span:nth-child(2) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(3) {
background-image: url("./images/ranks/3.png");
}
.card .basic .info .char_info .addition .role_ranks.r3 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r3 span:nth-child(2) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r3 span:nth-child(3) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(4) {
background-image: url("./images/ranks/4.png");
}
.card .basic .info .char_info .addition .role_ranks.r4 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r4 span:nth-child(2) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r4 span:nth-child(3) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r4 span:nth-child(4) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(5) {
background-image: url("./images/ranks/5.png");
}
.card .basic .info .char_info .addition .role_ranks.r5 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r5 span:nth-child(2) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r5 span:nth-child(3) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r5 span:nth-child(4) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r5 span:nth-child(5) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(6) {
background-image: url("./images/ranks/6.png");
}
.card .basic .info .char_info .addition .role_ranks.r6 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r6 span:nth-child(2) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r6 span:nth-child(3) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r6 span:nth-child(4) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r6 span:nth-child(5) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r6 span:nth-child(6) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks span:nth-child(7) {
background-image: url("./images/ranks/7.png");
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(1) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(2) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(3) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(4) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(5) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(6) {
opacity: 1 !important;
}
.card .basic .info .char_info .addition .role_ranks.r7 span:nth-child(7) {
opacity: 1 !important;
}
.card .basic .info .property_info {
background-color: rgb(47, 47, 47);
border-left: 0.1em solid rgb(0, 0, 0);
padding-top: 0.2em;
background: url("./images/BgFrame01.png") center/150% no-repeat;
}
.card .basic .info .property_info .title {
font-size: 0.6em;
}
.card .basic .info .property_info .title .special-title {
margin-bottom: 0;
padding-bottom: 0;
}
.card .basic .info .property_info .list {
display: flex;
flex-direction: column;
gap: 0.2em;
padding-bottom: 0.2em;
}
.card .basic .info .property_info .list .properties {
display: flex;
align-items: center;
gap: 0.4em;
padding: 0.05em 1em 0em 0.05em;
}
.card .basic .info .property_info .list .properties:nth-child(odd) {
background-color: rgba(221, 224, 221, 0.25);
}
.card .basic .info .property_info .list .properties .prop-icon {
width: 1em;
flex-grow: 0;
flex-shrink: 0;
margin: 0 0.4em;
}
.card .basic .info .property_info .list .properties .label {
flex-grow: 1;
flex-shrink: 1;
font-size: 0.65em;
color: rgb(166, 166, 166);
}
.card .basic .info .property_info .list .properties .label.yellow {
color: rgb(247, 199, 54);
}
.card .basic .info .property_info .list .properties .label.blue {
color: rgb(65, 147, 237);
}
.card .basic .info .property_info .list .properties .value {
flex-grow: 0;
flex-shrink: 0;
font-size: 0.8em;
}
.card .basic .info .weapon_info {
border-image-slice: 118 0 68 43 fill;
border-image-width: 4.5em 0em 2.7em 1.7em;
border-image-outset: 0em 0em 0em 0em;
border-image-repeat: stretch stretch;
border-image-source: url("./images/weapon_bg.png");
margin-top: -0.8em;
width: 115%;
margin-left: -15%;
font-size: 0.8em;
padding: 2em 1.2em;
padding-bottom: 3em;
position: relative;
overflow: hidden;
}
.card .basic .info .weapon_info .info {
width: 100%;
position: relative;
z-index: 2;
}
.card .basic .info .weapon_info .info .base {
width: 100%;
display: flex;
align-items: center;
gap: 0.5em;
}
.card .basic .info .weapon_info .info .base .rarity-icon {
width: 2em;
}
.card .basic .info .weapon_info .info .base .name {
text-shadow: 0 0 0.2em rgb(0, 0, 0);
}
.card .basic .info .weapon_info .info .main {
display: flex;
flex-direction: column;
justify-content: stretch;
width: max-content;
}
.card .basic .info .weapon_info .info .main .addition {
font-size: 0.8em;
display: flex;
align-items: center;
gap: 0.4em;
}
.card .basic .info .weapon_info .info .main .addition .level {
-webkit-clip-path: polygon(0.2em 0%, calc(100% - 0.2em) 0%, 100% 0.2em, 100% calc(100% - 0.2em), calc(100% - 0.2em) 100%, 0.2em 100%, 0% calc(100% - 0.2em), 0% 0.2em);
clip-path: polygon(0.2em 0%, calc(100% - 0.2em) 0%, 100% 0.2em, 100% calc(100% - 0.2em), calc(100% - 0.2em) 100%, 0.2em 100%, 0% calc(100% - 0.2em), 0% 0.2em);
padding: 0 0.4em;
font-size: 0.9em;
display: flex;
justify-content: center;
align-items: center;
color: rgb(43, 38, 40);
margin: 0.1em 0;
background-color: rgb(243, 203, 69);
}
.card .basic .info .weapon_info .info .main .properties {
display: flex;
align-items: center;
background-color: rgb(65, 147, 237);
gap: 0.2em;
padding: 0 0.5em;
border-radius: 1em;
margin: 0.2em 0;
}
.card .basic .info .weapon_info .info .main .properties.sub {
background-color: rgb(0, 0, 0);
}
.card .basic .info .weapon_info .info .main .properties .prop-icon {
width: 1em;
flex-grow: 0;
flex-shrink: 0;
}
.card .basic .info .weapon_info .info .main .properties .label {
flex-grow: 1;
flex-shrink: 1;
font-size: 0.7em;
color: rgb(222, 222, 222);
}
.card .basic .info .weapon_info .icon {
position: absolute;
top: 1.2em;
right: 0;
z-index: 1;
height: 70%;
margin-right: -1em;
}
.card .basic .info .weapon_info .icon img {
height: 100%;
}
.card .other {
border-image-source: url("./images/BgFrame01.png");
border-image-slice: 200 100 70 280 fill;
border-image-width: 2em 1em 0.7em 2.8em;
border-image-outset: 2em 1em 0.7em 2.8em;
border-image-repeat: stretch stretch;
padding-bottom: 3.3em;
margin-top: -1.4em;
position: relative;
z-index: 5;
}
.card .equip-list {
display: grid;
gap: 1em;
grid-template-columns: repeat(3, 1fr);
padding: 0 1.8em;
align-items: stretch;
margin-top: 1em;
}
.card .equip-list .box {
border-image-source: url("./images/equip_bg.png");
border-image-slice: 190 90 110 170 fill;
border-image-width: 5.7em 2.7em 3.3em 5.1em;
border-image-outset: 1.8em 1.5em 1.8em 1.5em;
border-image-repeat: stretch stretch;
position: relative;
margin-top: 1.3em;
padding-bottom: 1em;
min-height: 10em;
}
.card .equip-list .box.empty::after {
content: "";
position: absolute;
width: 2.5em;
height: 2.5em;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-image: url("./images/empty_equip_07.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.card .equip-list .box:nth-child(1)::before {
content: "01";
position: absolute;
font-size: 2em;
left: 50%;
top: -0.85em;
transform: translate(-50%, 0);
z-index: -1;
}
.card .equip-list .box:nth-child(2)::before {
content: "02";
position: absolute;
font-size: 2em;
left: 50%;
top: -0.85em;
transform: translate(-50%, 0);
z-index: -1;
}
.card .equip-list .box:nth-child(3)::before {
content: "03";
position: absolute;
font-size: 2em;
left: 50%;
top: -0.85em;
transform: translate(-50%, 0);
z-index: -1;
}
.card .equip-list .box:nth-child(4)::before {
content: "04";
position: absolute;
font-size: 2em;
left: 50%;
top: -0.85em;
transform: translate(-50%, 0);
z-index: -1;
}
.card .equip-list .box:nth-child(5)::before {
content: "05";
position: absolute;
font-size: 2em;
left: 50%;
top: -0.85em;
transform: translate(-50%, 0);
z-index: -1;
}
.card .equip-list .box:nth-child(6)::before {
content: "06";
position: absolute;
font-size: 2em;
left: 50%;
top: -0.85em;
transform: translate(-50%, 0);
z-index: -1;
}
.card .equip-list .box .icon {
width: 2.7em;
aspect-ratio: 1;
position: relative;
left: -0.9em;
top: -1.2em;
background-color: rgb(0, 0, 0);
background-image: url("./images/empty_equip_03.png");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
border-radius: 50%;
}
.card .equip-list .box .icon img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.card .equip-list .box .info {
display: flex;
padding-left: 2.2em;
margin-top: -2.5em;
gap: 0.5em;
align-items: center;
}
.card .equip-list .box .info .level {
flex-grow: 1;
flex-shrink: 1;
text-align: center;
font-size: 0.76em;
background-color: #000;
padding: 0.1em 0.5em;
border-radius: 1em;
margin-bottom: 0.3em;
}
.card .equip-list .box .info .rarity-icon {
width: 2.2em;
}
.card .equip-list .box .name {
padding: 0 0.5em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
.card .equip-list .box .property-list {
padding: 0 0.5em;
}
.card .equip-list .box .property-list .properties {
display: flex;
align-items: center;
background-color: rgb(0, 0, 0);
gap: 0.2em;
padding: 0 0.5em;
border-radius: 1em;
margin: 0.2em 0;
}
.card .equip-list .box .property-list .properties .prop-icon {
width: 1em;
flex-grow: 0;
flex-shrink: 0;
}
.card .equip-list .box .property-list .properties .label {
flex-grow: 1;
flex-shrink: 1;
font-size: 0.7em;
color: rgb(222, 222, 222);
}
.card .equip-list .box .property-list .properties .value {
color: rgb(249, 189, 64);
font-size: 0.7em;
}
.card .equip-list .box .property-list .properties.main {
background-color: rgb(65, 147, 237);
}
.card .equip-list .box .property-list .properties.main .prop-icon {
width: 1.2em;
margin-bottom: 0.2em;
}
.card .equip-list .box .property-list .properties.main .value {
color: rgb(255, 255, 255);
font-size: 1em;
}
.copyright {
margin-top: -3.3em;
position: relative;
z-index: 5;
}
/*# sourceMappingURL=card.css.map */