feat(project): apply Asana system fonts to Project screens
Override the font token only on Project pages, preserve icon and monospace fonts, and update CSS/JS cache versions. Match the image viewer font stack as well.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -296,5 +296,5 @@
|
||||
{% include "project/_side_modals.html" %}
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20261002b" defer></script>
|
||||
<script src="/static/project.js?v=20261002c" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -196,5 +196,5 @@
|
||||
{% include "project/_side_modals.html" %}
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20261002b" defer></script>
|
||||
<script src="/static/project.js?v=20261002c" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<link rel="stylesheet" href="/static/project-help.css?v=20260926v" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -104,5 +104,5 @@
|
||||
{% include "project/_side_modals.html" %}
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20261002b" defer></script>
|
||||
<script src="/static/project.js?v=20261002c" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -100,5 +100,5 @@
|
||||
"today": {{ today | tojson }}
|
||||
}
|
||||
</script>
|
||||
<script src="/static/project.js?v=20261002b" defer></script>
|
||||
<script src="/static/project.js?v=20261002c" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
<!-- 타임라인 vis-timeline — self-host -->
|
||||
@@ -496,5 +496,5 @@
|
||||
</script>
|
||||
|
||||
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
|
||||
<script src="/static/project.js?v=20261002b" defer></script>
|
||||
<script src="/static/project.js?v=20261002c" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "erp_base.html" %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002b" />
|
||||
<link rel="stylesheet" href="/static/project.css?v=20261002c" />
|
||||
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
|
||||
{% endblock %}
|
||||
|
||||
@@ -70,5 +70,5 @@
|
||||
{% include "project/_side_modals.html" %}
|
||||
{% include "project/_member_tasks_modal.html" %}
|
||||
|
||||
<script src="/static/project.js?v=20261002b" defer></script>
|
||||
<script src="/static/project.js?v=20261002c" defer></script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -12,8 +12,19 @@
|
||||
--pj-card-radius: 12px;
|
||||
--pj-card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 2px 6px rgba(16,24,40,.06);
|
||||
--pj-card-shadow-hover: 0 6px 16px rgba(16,24,40,.10), 0 2px 4px rgba(16,24,40,.06);
|
||||
/* 아사나 웹앱 기본 시스템 폰트 + 한글 대체(Apple SD Gothic Neo·Malgun Gothic).
|
||||
project.css 는 Project 화면에서만 불러오므로 공통 토큰 --font-geist 를 여기서
|
||||
덮으면 본문·상단바·공용 대화상자(erp-dialog.css)까지 이 화면에서만 바뀐다. */
|
||||
--pj-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
||||
"Helvetica Neue", Helvetica, Arial,
|
||||
"Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
|
||||
--font-geist: var(--pj-font);
|
||||
}
|
||||
|
||||
/* 입력창·버튼은 브라우저 기본 폼 폰트 대신 본문 폰트를 따른다. :where() 라 특이성 0 —
|
||||
아이콘 폰트(.material-symbols-*)·이모지 등 기존 font-family 지정이 항상 이긴다. */
|
||||
:where(button, input, select, textarea, optgroup) { font-family: inherit; }
|
||||
|
||||
.pj-wrap { padding: 4px 2px 40px; color: var(--pj-ink); }
|
||||
|
||||
/* ── 버튼 ── */
|
||||
|
||||
@@ -2109,7 +2109,7 @@
|
||||
};
|
||||
const html = '<!doctype html><html lang="ko"><head><meta charset="utf-8"><title>이미지</title>' +
|
||||
'<meta name="viewport" content="width=device-width, initial-scale=1"><style>' +
|
||||
'html,body{margin:0;height:100%;overflow:hidden;background:#202226;color:#fff;font-family:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif}' +
|
||||
'html,body{margin:0;height:100%;overflow:hidden;background:#202226;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Helvetica,Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}' +
|
||||
'#stage{position:fixed;inset:0;cursor:grab;touch-action:none}#stage.drag{cursor:grabbing}' +
|
||||
'#img{position:absolute;left:0;top:0;transform-origin:0 0;user-select:none;-webkit-user-drag:none;box-shadow:0 6px 28px rgba(0,0,0,.45);background:#fff;max-width:none}' +
|
||||
'#bar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:4px;' +
|
||||
|
||||
Reference in New Issue
Block a user