feat(outreach): 설정 화면 세로 2단(메일 | DM) + 메일 본문 서식 편집기, {이름} 빨강 굵게
- 설정 = 왼쪽 메일(제목·(광고)·보내는 이름·본문 편집기·끝 문구·사진), 오른쪽 인스타 DM, 위 저장 막대
- 메일 본문 = Quill 2.0.3 편집기(글자 크기·굵게·기울임·밑줄·취소선·색·배경·정렬·목록·링크·서식 지우기·되돌리기),
vendor/quill 에 자체 호스팅
- 본문 HTML 저장(fmt=html) — 서버 sanitize_html 로 허용 태그·스타일만, 예전 글은 text_to_html 로 자동 변환
- {이름} 은 두 편집기에서 빨강 굵게(화면에서만, 메일에는 남지 않음), 글자마다 서식이 달라도 이름으로 바꿈
- DM 편집기: 서식 없음, 글자 수, [메일 본문 글 가져오기]
- 테스트: 정리기·예전 글 변환·웹 흐름, 설정 화면 브라우저 테스트 추가
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+40
-5
@@ -65,12 +65,47 @@
|
||||
.otr-set-card { display: flex; flex-direction: column; gap: 10px; }
|
||||
.otr-field { display: flex; flex-direction: column; gap: 4px; }
|
||||
.otr-field .erp-input { width: 100%; min-width: 0; box-sizing: border-box; }
|
||||
.otr-body { font-size: 14px; line-height: 1.6; resize: vertical; }
|
||||
.otr-tpl-sub { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--color-subtle-ash, #e5e5e5); }
|
||||
.otr-count { align-self: flex-end; font-size: 12px; }
|
||||
.otr-count.is-over { color: #c0392b; }
|
||||
.otr-count { font-size: 12px; }
|
||||
.otr-count.is-over { color: #c22b10; font-weight: 700; }
|
||||
.otr-check { display: flex; align-items: baseline; gap: 6px; font-size: 13px; }
|
||||
.otr-set-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
/* 설정 — 위 저장 막대(스크롤해도 보임) + 세로 2단(왼쪽 메일 | 오른쪽 DM), 좁으면 위아래 */
|
||||
.otr-set-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0;
|
||||
padding: 10px 14px; background: #fff; border: 1px solid #e3e5e8; border-radius: 10px; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
|
||||
.otr-set-saved { font-size: 12px; }
|
||||
.otr-set-bar-gap { flex: 1; }
|
||||
.otr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
|
||||
.otr-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
|
||||
.otr-col-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid #eef0f2; }
|
||||
.otr-col-head .erp-muted { font-size: 12px; }
|
||||
.otr-dm-card { position: sticky; top: 72px; }
|
||||
.otr-note { margin: 0; font-size: 12.5px; line-height: 1.6; }
|
||||
.otr-dm-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
|
||||
.otr-tag { color: #e11d48; font-weight: 700; }
|
||||
@media (max-width: 1100px) {
|
||||
.otr-split { grid-template-columns: minmax(0, 1fr); }
|
||||
.otr-dm-card { position: static; }
|
||||
}
|
||||
/* 편집기(Quill snow) — 메일과 같은 글꼴·크기·줄 간격, {이름} 빨강 굵게(화면에서만) */
|
||||
.otr-settings .ql-toolbar.ql-snow { border-color: #d8dce2; border-radius: 8px 8px 0 0; background: #fafbfc; font-family: inherit; }
|
||||
.otr-settings .ql-toolbar.ql-snow .ql-formats { margin-right: 8px; }
|
||||
.otr-editor.ql-container.ql-snow { border-color: #d8dce2; border-radius: 0 0 8px 8px; font-family: Pretendard, 'Malgun Gothic', sans-serif; font-size: 14px; }
|
||||
.otr-editor-plain.ql-container.ql-snow { border-top: 1px solid #d8dce2; border-radius: 8px; }
|
||||
.otr-editor .ql-editor { min-height: 420px; max-height: 68vh; overflow-y: auto; line-height: 1.7; color: #111; }
|
||||
.otr-editor-plain .ql-editor { min-height: 320px; }
|
||||
.otr-editor .ql-editor.ql-blank::before { font-style: normal; color: #9aa1aa; }
|
||||
.otr-editor .otr-nametag-on { color: #e11d48 !important; font-weight: 700 !important; }
|
||||
.otr-settings .ql-snow .ql-picker.ql-size { width: 76px; }
|
||||
.otr-settings .ql-snow .ql-picker.ql-size .ql-picker-label::before,
|
||||
.otr-settings .ql-snow .ql-picker.ql-size .ql-picker-item::before { content: "기본"; }
|
||||
.otr-settings .ql-snow .ql-picker.ql-size .ql-picker-label[data-value]::before,
|
||||
.otr-settings .ql-snow .ql-picker.ql-size .ql-picker-item[data-value]::before { content: attr(data-value); }
|
||||
.otr-settings .ql-toolbar .ql-undo, .otr-settings .ql-toolbar .ql-redo { font-size: 17px; line-height: 1; color: #444; }
|
||||
.otr-settings .ql-snow .ql-tooltip { z-index: 5; }
|
||||
.otr-settings .ql-snow .ql-tooltip::before { content: "링크:"; }
|
||||
.otr-settings .ql-snow .ql-tooltip[data-mode=link]::before { content: "링크 주소:"; }
|
||||
.otr-settings .ql-snow .ql-tooltip a.ql-action::after { content: "고치기"; }
|
||||
.otr-settings .ql-snow .ql-tooltip a.ql-remove::before { content: "빼기"; }
|
||||
.otr-settings .ql-snow .ql-tooltip.ql-editing a.ql-action::after { content: "저장"; }
|
||||
.otr-images { display: flex; gap: 12px; flex-wrap: wrap; }
|
||||
.otr-image { margin: 0; width: 200px; border: 1px solid #e3e5e8; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
|
||||
.otr-image img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; background: #f6f7f9; }
|
||||
|
||||
Reference in New Issue
Block a user