miao-plugin/resources/character/profile-stat.less

419 lines
7.0 KiB
Plaintext
Raw Permalink Normal View History

body {
background: url('./imgs/bg-01.jpg') left center;
background-size: 100% auto;
}
2022-08-06 22:36:05 +00:00
.container {
background: url('./imgs/main-01.png') center -25px no-repeat;
background-size: 100% auto;
2022-08-06 22:36:05 +00:00
}
.head-box {
2022-08-08 21:33:03 +00:00
margin-top: 0;
}
2022-08-06 22:36:05 +00:00
#profile-stat {
display: table;
border-collapse: collapse;
width: calc(100% + 30px);
margin: 0 -15px -5px;
overflow: hidden;
.item-banner {
display: flex;
flex-direction: row;
align-items: center;
height: 36px;
.item-icon {
z-index: 10;
}
2022-08-06 22:36:05 +00:00
}
.level {
border-radius: 3px 0 0 3px;
width: 25px;
white-space: nowrap;
display: inline-block;
&:before {
content: "Lv";
display: inline-block;
font-size: 12px;
transform: scale(.7);
transform-origin: right 55%;
margin-left: -3px;
}
}
}
.cont {
font-size: 14px;
background: none;
.cons, .level {
2022-08-06 22:36:05 +00:00
height: 22px;
line-height: 22px;
display: inline-block;
width: 19px;
padding: 0;
2022-08-06 22:36:05 +00:00
text-align: center;
vertical-align: middle;
font-size: 13px;
position: relative;
2022-08-06 22:36:05 +00:00
}
.cons {
width: 16px;
text-shadow: 0 0 2px rgba(0, 0, 0, .5);
}
.fetter {
width: 32px;
height: 32px;
}
2022-08-06 22:36:05 +00:00
.item-name {
padding-left: 5px;
text-align: left;
text-shadow: 0 0 1px rgba(255, 255, 255, .8);
2022-08-06 22:36:05 +00:00
}
.tr.thead {
background: rgba(0, 0, 0, .4);
font-weight: bold;
& > div {
box-shadow: 0 0 1px 0 rgba(255, 255, 255, .7);
text-align: center;
}
.td-talent {
color: #d3bc8e;
}
}
2022-08-06 22:36:05 +00:00
.tr {
color: #333;
white-space: nowrap;
.td {
box-shadow: 0 0 1px 0 rgba(100, 100, 100, .3) inset;
}
.star(@s, @color, @color2:#333) {
.td.star@{s} {
background: @color;
.item-name {
color: @color2;
}
}
}
.star(1, rgba(200, 200, 200, 0.35));
.star(2, rgba(168, 255, 133, 0.35));
.star(3, rgba(137, 168, 255, 0.35));
.star(4, rgba(195, 134, 255, 0.35), #720465);
.star(5, rgba(255, 212, 132, 0.35), #6f4b00);
&.thead {
background: rgba(0, 0, 0, 0.5) !important;
& > div {
color: #d3bc8e !important;
}
}
&:nth-child(odd) {
background: rgba(255, 255, 255, 1);
}
&:nth-child(even) {
background: rgba(240, 240, 240, 1);
}
2022-08-06 22:36:05 +00:00
& > div {
text-align: center;
height: 36px;
vertical-align: middle;
line-height: 36px;
box-shadow: 0 0 1px 0 rgba(255, 255, 255, .7);
2022-08-06 22:36:05 +00:00
* {
vertical-align: middle;
}
}
.td-idx {
2022-08-06 22:36:05 +00:00
width: 30px;
}
.td-name {
text-align: left;
width: 100px;
padding-left: 3px;
2022-08-06 22:36:05 +00:00
.item-name {
width: 50px;
}
2022-08-06 22:36:05 +00:00
.char-icon {
width: 30px;
height: 30px;
border-radius: 5px;
display: inline-block;
overflow: visible;
background: none;
.img {
width: 30px;
height: 30px;
position: relative;
top: 0;
left: 0;
border-radius: 0 0 6px 6px;
}
2022-08-06 22:36:05 +00:00
}
}
.td-lv {
width: 35px;
}
.td-fetter {
width: 40px;
text-align: center;
2022-08-06 22:36:05 +00:00
}
.td-cons {
width: 40px;
text-align: center;
2022-08-06 22:36:05 +00:00
}
.td-talent {
width: 35px;
box-shadow: 0 0 1px 0 rgba(150, 150, 150, .5);
2022-08-06 22:36:05 +00:00
}
.td-weapon {
text-align: left;
padding-left: 3px;
2022-08-06 22:36:05 +00:00
.level {
font-size: 12px;
transform: scale(.9);
text-align: left;
}
.cons {
transform: scale(.8);
margin-right: -2px;
font-size: 12px;
padding: 0;
height: 16px;
line-height: 16px;
width: 14px;
}
2022-08-06 22:36:05 +00:00
.weapon-icon {
border-radius: 0;
background: none;
2022-08-06 22:36:05 +00:00
}
.item-name {
padding-left: 2px;
padding-right: 10px;
font-size: 12px;
}
2022-08-06 22:36:05 +00:00
}
.weapon-icon {
width: 28px;
2022-08-06 22:36:05 +00:00
display: inline-block;
overflow: visible;
.img {
width: 28px;
height: 36px;
margin: 0;
2022-08-06 22:36:05 +00:00
}
}
.td-talent {
2022-08-06 22:36:05 +00:00
}
.talent-plus {
font-weight: bold;
color: #006cc7;
font-size: 15px;
text-shadow: 0px 0px 1px #fff;
2022-08-06 22:36:05 +00:00
}
.lv(@lv, @c1, @c2:#333) {
.lv@{lv} {
background: @c1;
2022-08-06 22:36:05 +00:00
&.talent-plus {
color: @c2;
}
}
2022-08-06 22:36:05 +00:00
}
.lv(1, rgba(60, 63, 65, .3));
.lv(2, rgba(23, 184, 58, .5), #005800);
.lv(3, rgba(27, 128, 212, .5));
.lv(4, rgba(146, 90, 255, .55), #720465);
2022-08-06 22:36:05 +00:00
.lv5 {
background: url("../common/item/crown-o.png") center center no-repeat rgba(255, 36, 26, .55);
2022-08-06 22:36:05 +00:00
background-size: contain;
&.talent-plus {
color: #b70000;
}
2022-08-06 22:36:05 +00:00
}
2022-08-06 22:36:05 +00:00
}
/*
.star(1, rgba(171, 171, 171, .5));
.star(2, rgba(208, 255, 190, .5));
.star(3, rgba(190, 208, 255, .5));
.star(4, rgba(223, 190, 255, .5));
.star(5, rgba(255, 228, 180, .5));
*/
2022-08-06 22:36:05 +00:00
.td-artis {
width: 115px;
text-align: left;
&.class- {
&ACE, &MAX {
background: rgba(255, 228, 180, .5);
.artis-mark-class {
background: #ff5722;
}
}
&SSS, &SS {
background: rgba(223, 190, 255, .5);
.artis-mark-class {
background: #531ba9cf;
}
}
&S, &A {
background: rgba(190, 208, 255, .5);
.artis-mark-class {
background: #3955b7;
}
}
&B, &C, &D {
background: rgba(171, 171, 171, .5);
.artis-mark-class {
background: #aaa;
}
}
}
2022-08-06 22:36:05 +00:00
}
.avatar-artis {
margin-left: 5px;
text-align: left;
position: relative;
z-index: 10;
2022-08-06 22:36:05 +00:00
.artis {
position: relative;
width: 30px;
height: 30px;
box-shadow: 0 0 1px 0 #ffe4b4;
2022-08-06 22:36:05 +00:00
display: inline-block;
&.no-artis {
background: #bbb;
}
}
.no-artis {
background: url(../common/item/artifact-icon.webp) center no-repeat;
background-size: auto 80%;
2022-08-06 22:36:05 +00:00
}
&.artis2 {
.img {
position: absolute;
transform: scale(.7);
width: 92%;
height: 92%;
margin: 4%;
2022-08-06 22:36:05 +00:00
&:first-child {
transform-origin: left top;
2022-08-06 22:36:05 +00:00
}
&:last-child {
transform-origin: right bottom;
2022-08-06 22:36:05 +00:00
}
}
}
2022-08-06 22:36:05 +00:00
}
.artis-mark-class {
width: 28px;
font-size: 12px;
border-radius: 5px;
display: inline-block;
text-align: center;
background: rgba(51, 51, 51, 0.68);
height: 20px;
line-height: 20px;
box-shadow: 0 0 1px 0 #ffe4b4;
position: relative;
z-index: 9;
margin: 0 -2px;
transform: scale(.7);
color: #fff;
}
.artis-na {
padding-left: 12px;
white-space: nowrap;
transform: scale(.8);
transform-origin: left center;
color: #888;
font-size: 12px;
2022-08-08 21:33:03 +00:00
margin-right: -60px;
}
2022-08-06 22:36:05 +00:00
}
.cont-notice {
background: rgba(0, 0, 0, .7);
font-size: 13px;
text-align: right;
padding: 8px 12px 8px 8px;
strong {
color: #d3bc8e;
font-weight: normal;
}
span {
margin-left: 5px;
}
}