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

349 lines
5.7 KiB
Plaintext
Raw Normal View History

2022-08-06 22:36:05 +00:00
.container {
background-size: cover;
}
.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;
& > * {
display: block;
}
2022-08-06 22:36:05 +00:00
.item-icon {
z-index: 10;
}
2022-08-06 22:36:05 +00:00
}
.cons, .level {
2022-08-06 22:36:05 +00:00
height: 22px;
line-height: 22px;
display: inline-block;
width: 19px;
padding: 0;
margin: 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 {
border-radius: 0 3px 3px 0;
width: 22px;
margin-right: 5px;
2022-08-08 21:33:03 +00:00
text-shadow: 0 0 2px #000;
}
.level {
border-radius: 3px 0 0 3px;
width: 32px;
2022-08-08 21:33:03 +00:00
text-shadow: 0 0 2px #fff;
&:before {
content: "Lv";
2022-08-06 22:36:05 +00:00
}
}
2022-08-06 22:36:05 +00:00
.level:before {
display: inline-block;
font-size: 12px;
transform: scale(.7);
transform-origin: right 55%;
margin-left: -3px;
}
.level:before {
content: "Lv";
}
.star(@s, @color) {
.star@{s} {
.item-icon {
box-shadow: 0 0 0 1px @color;
}
.cons {
box-shadow: 0 0 0 1px @color;
}
.level {
box-shadow: 0 0 0 1px @color;
color: darken(@color, 50%);
background: fadeout(@color, 10%);
}
2022-08-06 22:36:05 +00:00
}
}
.star(1, rgb(171, 171, 171));
.star(2, rgb(208, 255, 190));
.star(3, rgb(190, 208, 255));
.star(4, rgb(223, 190, 255));
.star(5, rgb(255, 228, 180));
}
.cont {
font-size: 14px;
background: none;
2022-08-06 22:36:05 +00:00
.item-name {
text-shadow: 0 0 1px #000, 1px 1px 2px rgba(0, 0, 0, .8);
&.star4 {
color: #dfbeff;
}
&.star5 {
color: #ffe4b4;
}
}
.tr.thead {
background: rgba(0, 0, 0, .5);
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 {
& > 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;
}
}
.index {
color: #333;
width: 30px;
padding-left: 5px;
}
.td-name {
text-align: left;
width: 150px;
padding-left: 8px;
2022-08-06 22:36:05 +00:00
.char-icon {
width: 30px;
height: 30px;
border-radius: 5px;
display: inline-block;
overflow: visible;
.img {
width: 33px;
height: 33px;
position: relative;
top: -3px;
left: -1px;
border-radius: 0 0 6px 6px;
}
2022-08-06 22:36:05 +00:00
}
}
.td-fetter {
width: 40px;
text-align: center;
padding-right: 5px;
2022-08-06 22:36:05 +00:00
.fetter {
width: 32px;
height: 32px;
}
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: 10px;
.lv {
width: 38px;
text-align: right;
padding-right: 2px;
display: inline-block;
white-space: nowrap;
}
2022-08-06 22:36:05 +00:00
.weapon-icon {
border-radius: 0px;
2022-08-06 22:36:05 +00:00
}
.cons {
border-radius: 0 3px 3px 0;
}
}
.weapon-icon {
width: 25px;
height: 22px;
display: inline-block;
overflow: visible;
.img {
width: 30px;
height: 30px;
margin: -8px 0 0 -3px;
2022-08-06 22:36:05 +00:00
}
}
.td-talent {
text-shadow: 0 0 1px #000, 0 0 2px rgba(0, 0, 0, .8);
color: rgba(255, 255, 255, .85);
2022-08-06 22:36:05 +00:00
}
.talent-plus {
font-weight: bold;
color: #48cdda;
font-size: 15px;
text-shadow: 0 0 1px #000, 0 0 3px #000;
2022-08-06 22:36:05 +00:00
}
.lv(@lv, @c1, @c2:#fff) {
.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(50, 50, 50, .6));
.lv(2, rgba(23, 184, 58, .5));
.lv(3, rgba(27, 128, 212, .5));
.lv(4, rgba(146, 90, 255, .5));
2022-08-06 22:36:05 +00:00
.lv5 {
background: url("../common/item/crown-o.png") center center no-repeat rgba(255, 36, 26, .35);
background-size: contain;
color: #fff;
2022-08-06 22:36:05 +00:00
}
2022-08-06 22:36:05 +00:00
}
.td-artis {
width: 115px;
text-align: left;
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;
background: rgba(51, 51, 51, 0.68);
box-shadow: 0 0 1px 0 #ffe4b4;
2022-08-06 22:36:05 +00:00
display: inline-block;
}
&.artis2 {
.img {
position: absolute;
width: 24px;
height: 24px;
&:first-child {
left: -2px;
top: -2px;
}
&:last-child {
right: -2px;
bottom: -2px;
}
}
}
}
.arti-mark-class {
width: 30px;
font-size: 12px;
border-radius: 0 4px 4px 0;
display: inline-block;
text-align: center;
background: rgba(51, 51, 51, 0.68);
height: 18px;
line-height: 18px;
box-shadow: 0 0 1px 0 #ffe4b4;
position: relative;
z-index: 9;
margin-right: 5px;
&.class- {
&ACE,
&ACE² {
background: #ff5722;
}
&SSS,
&SS {
background: #ab7e31;
}
&S,
&A {
background: #8a2cc9;
}
}
}
.arti-na {
2022-08-08 21:33:03 +00:00
padding-left: 13px;
white-space: nowrap;
transform: scale(.8);
transform-origin: left center;
color: rgba(255, 255, 255, .5);
font-size: 12px;
2022-08-08 21:33:03 +00:00
margin-right: -60px;
}
2022-08-06 22:36:05 +00:00
}
.cont-notice {
color: #666;
background: rgba(0, 0, 0, .7);
2022-08-06 22:36:05 +00:00
text-align: right;
padding: 8px;
2022-08-06 22:36:05 +00:00
}