Zecken-Icon neu: großer Körper, kurze Beine, display:inline fix, SW by-v326
This commit is contained in:
parent
acd93e83e6
commit
546551a8db
4 changed files with 17 additions and 21 deletions
|
|
@ -1530,7 +1530,7 @@ window.Page_map = (() => {
|
|||
let zecken = '';
|
||||
if (w.zecken_warnung) {
|
||||
const col = w.zecken_warnung === 'hoch' ? '#991B1B' : '#92400E';
|
||||
zecken = ` · <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="${col}" style="width:15px;height:15px;vertical-align:-3px;flex-shrink:0" title="Zeckenrisiko ${w.zecken_warnung}"><ellipse cx="128" cy="46" rx="9" ry="22"/><ellipse cx="128" cy="88" rx="36" ry="32"/><ellipse cx="128" cy="174" rx="72" ry="68"/><path d="M93,112 Q58,82 22,66" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M163,112 Q198,82 234,66" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M90,134 Q50,118 16,110" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M166,134 Q206,118 240,110" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M88,156 Q46,152 12,152" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M168,156 Q210,152 244,152" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M90,176 Q50,186 20,198" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/><path d="M166,176 Q206,186 236,198" fill="none" stroke="${col}" stroke-width="13" stroke-linecap="round"/></svg>`;
|
||||
zecken = ` · <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="${col}" style="display:inline;width:14px;height:14px;vertical-align:-2px" title="Zeckenrisiko ${w.zecken_warnung}"><ellipse cx="128" cy="68" rx="26" ry="22"/><ellipse cx="128" cy="158" rx="88" ry="80"/><path d="M52,120 Q20,106 8,94" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M44,142 Q12,136 2,132" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M44,164 Q12,162 2,162" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M52,184 Q22,192 10,204" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M204,120 Q236,106 248,94" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M212,142 Q244,136 254,132" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M212,164 Q244,162 254,162" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/><path d="M204,184 Q234,192 246,204" fill="none" stroke="${col}" stroke-width="14" stroke-linecap="round"/></svg>`;
|
||||
}
|
||||
info.innerHTML = `${icon} ${temp} ${w.desc}${regen}${zecken}`;
|
||||
info.classList.remove('map-weather-chip--hidden');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue