From 5087d0e29cbb612ea06c6b1e2d9d16d060b9795a Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 29 Sep 2021 14:35:03 +0100 Subject: [PATCH] New health/armor images, PlayerMarker label style tweaks --- src/assets/images/armor.png | Bin 213 -> 136 bytes src/assets/images/armor_depleted.png | Bin 192 -> 136 bytes src/assets/images/heart.png | Bin 198 -> 137 bytes src/assets/images/heart_depleted.png | Bin 183 -> 137 bytes src/scss/leaflet/_markers.scss | 8 ++++++-- 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/assets/images/armor.png b/src/assets/images/armor.png index 0044af123450dd6af3f96d39bcd5e603becd5a0a..d18a2c1816a75e51ced17660c9cc156e1ef7b233 100644 GIT binary patch literal 136 zcmeAS@N?(olHy`uVBq!ia0vp^>>$j-3?$8JydD54{s5m4S0F7SBD(+Jk?x+p&tJYa zMy}Wj6k;q1@(X5gcy=QV$WixnaSY+Oo}3^ekdhz}6e0v90>u&%N{mtx5<-{+k2y3s c1~f1-s6S(}*UOxB4yc8})78&qol`;+0L6qPrT_o{ literal 213 zcmeAS@N?(olHy`uVBq!ia0vp^tRT$61|)m))t&+=$r9IylHmNblJdl&R0hYC{G?O` z&)mfH)S%SFl*+=BsWw1G<(@8%Ar-e6G8v}*XK-+E-r?gDa1$tQ5)c@A)6&Xz2SZv~ z&i@CG-u*8qDF6TX>Bs+xNg4kc7#W%R*KgSU|J(Qf|JSYG^`DuUxu5C(|9>w&fBwYq z?)?{rFJC@0{Qdj)1tZ8T4NdJe{QLp}A3uKhaO3*b5GEc5wg`*PS;tmt0Hql`UHx3v IIVCg!0Gu~fRR910 diff --git a/src/assets/images/armor_depleted.png b/src/assets/images/armor_depleted.png index c9bdc24eb8746fba845fe8737815131313725f12..9b65dec636761fe261480b7e82448660cecb81ce 100644 GIT binary patch literal 136 zcmeAS@N?(olHy`uVBq!ia0vp^>>$j-3?$8JydD54{s5m4S0F7SBI@eqp`)Xhn4HGK z`=bXa#8?vK7tG-B>_!@pqweYA7{YNqIYC4qB|#u4Lw6%`c=CpR`8WN~T!p|fVqnnhMtR$fd@ zOv_VKQzh5M>@4d4d3w73{MOdizf-49m5ke4b+q8~v$IKR3(P|O{QTI`($d%jcpn)% moUK~0V8I7QpfL=LYz)>$j-3?$8JydD54{s5m4S0Js;#C=OeWevCfn{byF zt%%=1A;yv*zhDN3XE)M-91Tww#}JO|$q6C?DG36BAwmfPMNC46yiPIk^tiS0@bDaB ea%h^^$jG2k!o<+s_&ed3GQW1%Wu z(pC?d>ZBs$OlRu>$j-3?$8JydD54{s5m4S0F7eCg$qqp`)Xhn4EUt zgvLIg5MxP@UoeBivm0qZj)td;V+hCf~w|6Yq+E&{0(QRT7lV`u_wxCmw-%Vcf_`KZp e$xCXOco-HxmYp+m<$gDyB@CXfelF{r5}E)@A41ar diff --git a/src/scss/leaflet/_markers.scss b/src/scss/leaflet/_markers.scss index a8ae015..b2ad0df 100644 --- a/src/scss/leaflet/_markers.scss +++ b/src/scss/leaflet/_markers.scss @@ -57,15 +57,16 @@ } .player__name { + padding-bottom: 0.2rem; grid-row: 2; } .player__health, .player__armor { - width: 5rem; + width: 7rem; height: 0.7rem; - display: block; + &, &::-webkit-meter-inner-element, &::-webkit-meter-bar { border-radius: 0; @@ -74,6 +75,9 @@ box-shadow: none; image-rendering: crisp-edges; image-rendering: pixelated; + display: block; + top: 0; + bottom: 0; } }