style(project): 보드 섹션 좌우 여백 축소 + 섹션 세로 스크롤바 화살표 제거·투명 바탕

- .pj-col 좌우 padding 12px → 6px(색 헤더의 음수 여백도 맞춤)
- .pj-col-body 스크롤바: ::-webkit-scrollbar 로 6px 막대만(버튼 없음, 트랙 투명).
  크롬은 scrollbar-width 를 주면 webkit 스타일을 무시하고 화살표 막대를 그려서
  표준 속성은 파이어폭스(@supports not selector(::-webkit-scrollbar))에만
- 정적 파일 버전 20260926a

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 02:20:26 +09:00
parent 6acf69ba29
commit 98369af504
5 changed files with 24 additions and 12 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925k" />
<link rel="stylesheet" href="/static/project.css?v=20260926a" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -99,5 +99,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20260925k" defer></script>
<script src="/static/project.js?v=20260926a" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925k" />
<link rel="stylesheet" href="/static/project.css?v=20260926a" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -98,5 +98,5 @@
"today": {{ today | tojson }}
}
</script>
<script src="/static/project.js?v=20260925k" defer></script>
<script src="/static/project.js?v=20260926a" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925k" />
<link rel="stylesheet" href="/static/project.css?v=20260926a" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -465,5 +465,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260925k" defer></script>
<script src="/static/project.js?v=20260926a" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260925k" />
<link rel="stylesheet" href="/static/project.css?v=20260926a" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -68,5 +68,5 @@
{% include "project/_side_modals.html" %}
{% include "project/_member_tasks_modal.html" %}
<script src="/static/project.js?v=20260925k" defer></script>
<script src="/static/project.js?v=20260926a" defer></script>
{% endblock %}
+16 -4
View File
@@ -232,7 +232,8 @@
flex: 0 0 300px; width: 300px; max-height: 100%;
display: flex; flex-direction: column; min-height: 0;
background: #eef0f4; border: 1px solid #e2e4ea; border-radius: 14px;
padding: 12px; box-sizing: border-box;
/* 좌우 여백은 작게(6px) — 카드가 컬럼 폭을 더 쓴다 */
padding: 12px 6px; box-sizing: border-box;
}
.pj-empty { position: static; }
/* 완료로 지정된 세션 — 반투명 + 보드 끝으로(정렬은 JS 쪽 comparator 담당) */
@@ -264,9 +265,9 @@
border: 1px solid var(--pj-accent); border-radius: 6px; background: #fff; outline: none;
}
/* 세션 색상 지정 시 — 점 대신 헤더(윗부분) 전체를 그 색으로 칠한다.
.pj-col 의 padding(12px)만큼 밀어내 컬럼 테두리에 딱 맞춘다. */
.pj-col 의 padding(위 12px·좌우 6px)만큼 밀어내 컬럼 테두리에 딱 맞춘다. */
.pj-col-head.pj-col-head-colored {
margin: -12px -12px 4px; padding: 10px 14px; border-bottom: none;
margin: -12px -6px 4px; padding: 10px 14px; border-bottom: none;
border-radius: 13px 13px 0 0;
}
.pj-col-head.pj-col-head-colored .pj-col-name { color: #fff; }
@@ -286,7 +287,18 @@
.pj-col-body {
display: flex; flex-direction: column; gap: 8px; min-height: 40px;
border-radius: 8px; padding-top: 8px;
flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin;
flex: 1 1 auto; overflow-y: auto; overflow-x: hidden;
}
/* 컬럼 세로 스크롤바 — 위아래 화살표 없이 얇은 막대만, 바탕은 투명.
크롬은 scrollbar-width/scrollbar-color 를 주면 아래 ::-webkit-scrollbar 를 무시하고
윈도우 기본(화살표 있는) 막대를 그리므로 표준 속성은 파이어폭스에만 준다. */
.pj-col-body::-webkit-scrollbar { width: 6px; background: transparent; }
.pj-col-body::-webkit-scrollbar-track { background: transparent; }
.pj-col-body::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.pj-col-body::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .2); border-radius: 3px; }
.pj-col-body::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .35); }
@supports not selector(::-webkit-scrollbar) {
.pj-col-body { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .25) transparent; }
}
.pj-col-head { flex: none; }
.pj-col-body.is-over { background: var(--pj-accent-tint); outline: 2px dashed var(--pj-accent); }