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'))|| (this.maxHp>5&&this.classList.contains('minskin'))||
((game.layout=='mobile'||game.layout=='long')&&this.dataset.position==0&&this.maxHp>7) ((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.add('text');
hp.classList.remove('long'); hp.classList.remove('long');
} }

View File

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

View File

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

View File

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