diff --git a/js/main.js b/js/main.js index e9d4981..2d4e439 100644 --- a/js/main.js +++ b/js/main.js @@ -2237,8 +2237,33 @@ function createFaceMarkerIcon(size = 60) { } function createCurrentStayIcon(text) { + const wrapStyle = [ + 'position:relative', + 'width:0', + 'height:0', + 'pointer-events:none', + 'transform:translate(-50%,-82px)' + ].join(';'); + const badgeStyle = [ + 'display:inline-flex', + 'align-items:center', + 'justify-content:center', + 'min-width:120px', + 'height:30px', + 'padding:0 10px', + 'border:2px solid #fff', + 'border-radius:999px', + 'background:rgba(28,28,30,.9)', + 'color:#fff', + 'box-shadow:0 4px 14px rgba(0,0,0,.28)', + 'box-sizing:border-box', + 'font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif', + 'font-size:12px', + 'font-weight:800', + 'white-space:nowrap' + ].join(';'); return { - content: `