style(project): compact toolbar and reset icon

This commit is contained in:
2026-10-03 06:29:50 +09:00
parent db39d3b383
commit 36a6866b96
9 changed files with 17 additions and 15 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<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=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -57,7 +57,9 @@
<button type="button" class="pj-goal-format-btn" data-goal-format="{{ key }}" aria-label="{{ label }}" title="{{ label }}" aria-pressed="false" disabled><span class="pj-goal-font-letter" aria-hidden="true">가</span></button>
{% endfor %}
</div>
<button type="button" class="pj-btn" data-goal-format="reset" disabled>서식 초기화</button>
<div class="pj-goal-format-group" role="group" aria-label="서식 초기화">
<button type="button" class="pj-goal-format-btn" data-goal-format="reset" aria-label="서식 초기화" title="서식 초기화" disabled><svg class="pj-goal-reset-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m16 3 5 5a2 2 0 0 1 0 3L11 21H7l-4-4a2 2 0 0 1 0-3L13 3a2 2 0 0 1 3 0Z"/><path d="m8 9 7 7M11 21h10"/></svg></button>
</div>
</div>
{% endif %}
<div class="pj-view pj-goal-pane" id="pj-goal-pane">
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<link rel="stylesheet" href="/static/project-help.css?v=20261002d" />
<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=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<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=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<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=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20261003c" />
<link rel="stylesheet" href="/static/project.css?v=20261003d" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
+4 -5
View File
@@ -2722,20 +2722,19 @@ html[data-pj-font="nanum-square-round"] { --pj-font: "NanumSquareRound", var(--p
.pj-options-dialog p { font-size: 12px; color: var(--pj-ink-soft); }
.pj-options-dialog .pj-options-error { color: #c22b10; }
.pj-options-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.pj-goal-format { position: fixed; z-index: 1200; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 6px 8px; max-width: calc(100vw - 16px); box-sizing: border-box; border: 1px solid var(--pj-border); border-radius: 8px; box-shadow: 0 4px 16px #0002; background: #fff; color: var(--pj-ink); font-family: var(--pj-font); font-size: 12px; }
.pj-goal-format { position: fixed; z-index: 1200; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 6px; max-width: calc(100vw - 16px); box-sizing: border-box; border: 1px solid var(--pj-border); border-radius: 8px; box-shadow: 0 4px 16px #0002; background: #fff; color: var(--pj-ink); font-family: var(--pj-font); font-size: 12px; }
.pj-goal-format[hidden], .pj-goal-color-grid[hidden] { display: none; }
.pj-goal-format-group { display: inline-flex; align-items: center; gap: 2px; }
.pj-goal-format-group + .pj-goal-format-group { border-left: 1px solid var(--pj-border); padding-left: 6px; }
.pj-goal-format .pj-goal-format-btn, .pj-goal-format [data-goal-format="reset"] { display: inline-flex; align-items: center; justify-content: center; height: 32px; box-sizing: border-box; border: 1px solid transparent; border-radius: 4px; padding: 0 8px; background: #fff; color: inherit; font: inherit; line-height: 1; cursor: pointer; }
.pj-goal-format .pj-goal-format-btn { min-width: 32px; }
.pj-goal-format .pj-goal-format-btn { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 24px; box-sizing: border-box; border: 1px solid transparent; border-radius: 4px; padding: 0 5px; background: #fff; color: inherit; font: inherit; line-height: 1; cursor: pointer; }
.pj-goal-format .pj-goal-format-btn:hover, .pj-goal-format [data-goal-format="reset"]:hover { background: #f3f4f6; }
.pj-goal-format .pj-goal-format-btn[aria-pressed="true"] { border-color: #b5b9c0; background: #e8eaed; }
.pj-goal-format .pj-goal-format-btn[aria-pressed="mixed"] { background: #f3f4f6; box-shadow: inset 0 -2px #9ca3af; }
.pj-goal-format .pj-goal-format-btn:focus-visible { outline: 2px solid var(--pj-accent); outline-offset: 1px; }
.pj-goal-format [data-goal-format="reset"] { border-color: #d8dce2; margin-left: 4px; }
.pj-goal-reset-icon { width: 14.4px; height: 14.4px; }
.pj-goal-color-picker { position: relative; display: flex; align-items: center; }
.pj-goal-color-toggle { gap: 5px; }
/* 아이콘만 이전 크기의 80%로 축소, 버튼 높이와 초기화 버튼 정렬은 유지한다. */
/* 아이콘은 처음 크기의 80%, 버튼은 24px 높이로 맞춘다. */
.pj-goal-color-letter { display: flex; flex-direction: column; align-items: stretch; font-size: 13.6px; line-height: 14.4px; }
.pj-goal-color-preview { display: block; width: 14.4px; height: 2.4px; background: #000; box-shadow: inset 0 0 0 1px #0002; }
.pj-goal-format-chevron { width: 6.4px; height: 6.4px; }