This commit is contained in:
libccy 2017-03-31 20:49:52 +08:00
parent 8e11e00c6e
commit 5e486e1cc2
4 changed files with 15 additions and 9 deletions

View File

@ -12471,7 +12471,10 @@
(this.maxHp>5&&this.classList.contains('minskin'))||
((game.layout=='mobile'||game.layout=='long')&&this.dataset.position==0&&this.maxHp>7)
)){
hp.innerHTML=this.hp+'<br>/<br>'+this.maxHp;
hp.innerHTML=this.hp+'<br>/<br>'+this.maxHp+'<div></div>';
if(this.hp==0){
hp.lastChild.classList.add('lost');
}
hp.classList.add('text');
hp.classList.remove('long');
}

View File

@ -172,9 +172,9 @@
#arena:not(.fewplayer)>.player:not(.minskin):not(*[data-position='0'])>.hp:not(.actcount){
left: 93px;
}
#arena:not(.fewplayer)>.player:not(.minskin):not(*[data-position='0'])>.hp:not(.actcount).text{
/*#arena:not(.fewplayer)>.player:not(.minskin):not(*[data-position='0'])>.hp:not(.actcount).text{
left: 89px;
}
}*/
#arena:not(.fewplayer)>.player.fullskin2 .avatar2{
z-index: 2;
}

View File

@ -379,9 +379,9 @@
#arena>.player:not(.minskin)>.hp:not(.actcount){
left: 93px;
}
#arena>.player:not(.minskin)>.hp:not(.actcount).text{
/*#arena>.player:not(.minskin)>.hp:not(.actcount).text{
left: 89px;
}
}*/
#arena>.player.fullskin2 .avatar2{
z-index: 2;
}

View File

@ -197,15 +197,18 @@
left: 91px;
}
.player .hp.text{
font-family:'huangcao','xinwei';
font-size:22px;
font-family:'xinwei';
/*font-size:22px;*/
transform:none;
transition:all 0s;
left:114px;
}
#arena.slim_player .player .hp.text{
left:117px;
.player .hp.text>div:last-child{
top: 4px;
}
/*#arena.slim_player .player .hp.text{
left:117px;
}*/
.player .hp.long{
bottom:12px;
max-height:160px;