Added armor (merged from zeeZ).

This commit is contained in:
zeeZ 2011-05-22 16:09:50 +02:00 committed by FrozenCow
parent 3b16a36b99
commit 3fd511a8d1
9 changed files with 99 additions and 13 deletions

View file

@ -529,19 +529,47 @@
border-radius: 3px;
}
.dynmap .playerHealth {
.dynmap .healthContainer {
display: block;
position: absolute;
bottom: 3px;
bottom: 0;
left: 34px;
height: 11px;
background: url(../images/heart.png) rgba(0,0,0,0.6) repeat-x left center;
padding: 1px 0;
width: 50px;
background: rgba(0,0,0,0.6);
padding: 2px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.dynmap .playerHealth {
height: 7px;
background: url(../images/heart.png) repeat-x left center;
}
.dynmap .playerHealthBackground {
height: 7px;
width: 50px;
background: url(../images/heart_depleted.png) repeat-x left center;
}
.dynmap .playerArmor {
height: 7px;
background: url(../images/armor.png) repeat-x left center;
}
.dynmap .playerArmorBackground {
height: 7px;
width: 50px;
background: url(../images/armor_depleted.png) repeat-x left center;
}
/*******************
* Compass