fix(project): 호버 툴팁을 커서 위쪽 가운데로
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260918a" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260918b" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -45,5 +45,5 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<script src="/static/project.js?v=20260918a" defer></script>
|
||||
<script src="/static/project.js?v=20260918b" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260918a" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260918b" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -421,5 +421,5 @@
|
||||
window.PJ_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772"] | tojson }};
|
||||
window.PJ_STAGE_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772","#e8398a","#a15c43"] | tojson }};
|
||||
</script>
|
||||
<script src="/static/project.js?v=20260918a" defer></script>
|
||||
<script src="/static/project.js?v=20260918b" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260918a" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20260918b" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -544,5 +544,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20260918a" defer></script>
|
||||
<script src="/static/project.js?v=20260918b" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -426,6 +426,9 @@
|
||||
background: #1e1f21; color: #fff; font-size: 11px; font-weight: 700;
|
||||
padding: 4px 8px; border-radius: 6px; white-space: nowrap;
|
||||
box-shadow: 0 3px 10px rgba(0,0,0,.25);
|
||||
/* left/top 은 커서 좌표 그대로 — 말풍선 아래-가운데를 그 점에 맞춰
|
||||
커서 바로 위, 가로로는 커서 중앙에 오게 한다. */
|
||||
transform: translate(-50%, -100%);
|
||||
}
|
||||
.pj-hovertip[hidden] { display: none; }
|
||||
.pj-mytree-tasks { list-style: none; margin: 2px 0 0; padding: 0 0 0 8px; border-left: 2px solid #eef0f2; margin-left: 10px; }
|
||||
|
||||
@@ -4440,8 +4440,8 @@
|
||||
document.body.appendChild(tipEl);
|
||||
}
|
||||
tipEl.textContent = text;
|
||||
tipEl.style.left = (x + 14) + "px";
|
||||
tipEl.style.top = (y + 18) + "px";
|
||||
tipEl.style.left = x + "px";
|
||||
tipEl.style.top = (y - 10) + "px";
|
||||
tipEl.hidden = false;
|
||||
}
|
||||
function hide() { if (tipEl) tipEl.hidden = true; }
|
||||
|
||||
Reference in New Issue
Block a user