miao-plugin/resources/gacha/gacha-stat.less

139 lines
2.1 KiB
Plaintext
Raw Normal View History

.cont-title {
padding: 0;
background: rgba(0, 0, 0, .6);
}
.gacha-pool {
display: flex;
text-align: center;
& > div {
padding: 10px;
height: 56px;
}
.line {
padding-right: 15px;
position: relative;
&:after {
content: "";
display: block;
width: 1px;
height: 15px;
position: absolute;
top: 12px;
right: 7px;
background: #d3bc8e;
}
}
.version {
text-align: center;
background: rgba(0, 0, 0, .8);
padding: 10px 0;
display: flex;
border-right: 1px solid rgba(255, 255, 255, .3);
}
.version-name {
width: 100px;
line-height: 36px;
font-size: 20px;
font-weight: bold;
text-align: right;
}
.pool-name {
width: 125px;
text-align: left;
.name {
height: 22px;
line-height: 22px;
}
.time {
font-size: 12px;
line-height: 14px;
height: 14px;
color: #888;
}
}
.stat-info {
display: flex;
padding: 8px 20px 0;
.info {
min-width: 60px;
padding: 0 20px 0 10px;
.num {
height: 25px;
line-height: 25px;
font-size: 20px;
text-shadow: 0 0 2px #000;
}
.title {
font-size: 12px;
line-height: 14px;
height: 14px;
color: #888;
}
&:last-child:after {
display: none;
}
}
}
}
.gacha-stat {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
background: rgba(0, 0, 0, .5);
padding: 5px 8px;
.gacha-item {
text-align: center;
.item-card {
width: 69px;
}
}
.item-life {
top: initial;
left: initial;
right: 0;
bottom: 0;
border-radius: 5px 0 0 0;
font-size: 16px;
padding: 0 6px;
min-width: 20px;
height: 22px;
line-height: 22px;
text-align: center;
&.life5 {
background: #ffeb73;
color: #6f4b00;
box-shadow: 0 0 3px 0 #6f4b00;
}
&.life1 {
background: #333;
color: #fff;
}
}
.item-name {
font-size: 15px;
line-height: 24px;
}
}