/* 관리자 콘솔: 일반 사이트(밝은 배경·파란 포인트)와 대비되는 다크 테마(짙은 남색 배경·호박색 포인트) */ :root { --bg: #0b1220; --panel: #121a2b; --panel2: #18223a; --line: #263353; --text: #e6ebf5; --muted: #8b98b8; --accent: #f5a524; --accent2: #ffc457; --ok: #34d399; --warn: #fb923c; --bad: #f87171; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } * { box-sizing: border-box; } body { margin: 0; padding: 16px; font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif; font-size: 13px; color: var(--text); background: var(--bg); } .adm { max-width: 1480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; } .adm-hdr { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; } .brand { display: flex; align-items: center; gap: 10px; } .brand h1 { margin: 0; font-size: 17px; letter-spacing: .3px; } .logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #0b1220; display: grid; place-items: center; font-weight: 700; } .spacer { flex: 1; } .muted { color: var(--muted); font-size: 12px; } .tabs { display: flex; gap: 4px; } .tabs button { padding: 7px 14px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; cursor: pointer; } .tabs button.active { background: var(--panel2); color: var(--accent2); border-color: var(--line); } .tabs button:hover { color: var(--text); } button, .btn { font: inherit; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); cursor: pointer; text-decoration: none; display: inline-block; } button:hover, .btn:hover { border-color: var(--accent); } button:disabled { opacity: .45; cursor: not-allowed; } .primary { background: var(--accent); border-color: var(--accent); color: #0b1220; font-weight: 700; } .primary:hover { background: var(--accent2); } .ghost.danger { color: var(--bad); border-color: #7f1d1d; } .ghost.warn { color: var(--warn); } .card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; } h2 { font-size: 14px; margin: 0 0 10px; color: var(--accent2); } h3 { font-size: 13px; margin: 12px 0 6px; } .hidden { display: none !important; } .kpi { display: flex; gap: 8px; flex-wrap: wrap; } .kpi .tot { min-width: 140px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; flex-direction: column; } .kpi .k { font-size: 11px; color: var(--muted); } .kpi .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; } .table-wrap { overflow-x: auto; } table.adm-t { width: 100%; border-collapse: collapse; font-size: 12px; } table.adm-t th, table.adm-t td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; } table.adm-t th { color: var(--muted); font-weight: 600; } table.adm-t td.wrap { white-space: normal; max-width: 560px; } table.adm-t td.num { text-align: right; font-variant-numeric: tabular-nums; } tr.clickable { cursor: pointer; } tr.clickable:hover td { background: var(--panel2); } .st-error, .st-interrupted { color: var(--bad); font-weight: 600; } .st-cancelled { color: var(--warn); } .st-running { color: var(--accent2); } .st-done { color: var(--ok); } .st-idle { color: var(--muted); } .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 1000px) { .grid { grid-template-columns: 1fr; } } .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; } .field-label { font-size: 12px; color: var(--muted); margin: 10px 0 4px; } .log { margin: 0; background: #060b16; color: #cbd5e1; border: 1px solid var(--line); border-radius: 8px; padding: 10px; height: 480px; overflow: auto; font-family: var(--mono); font-size: 12px; white-space: pre-wrap; word-break: break-word; } .log .info { color: #93c5fd; } .log .tool { color: #a7f3d0; } .log .assistant { color: #fde68a; } .log .warn { color: #fca5a5; } .log .debug { color: #f9a8d4; } .log .t { color: #64748b; } .json { max-height: 260px; overflow: auto; background: #060b16; color: #cbd5e1; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-family: var(--mono); font-size: 11px; white-space: pre-wrap; } input, select { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #0f172a; color: var(--text); width: 100%; margin: 4px 0 8px; } input:focus, select:focus { outline: 2px solid #3b4a75; border-color: var(--accent); } .radio { display: block; margin: 8px 0 4px; } .radio input { width: auto; margin: 0 6px 0 0; } .inline { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px 22px; } .inline input { margin: 0; } code { font-family: var(--mono); background: #0f172a; padding: 1px 5px; border-radius: 4px; } .fx-line { margin: 8px 0; font-size: 12px; color: var(--muted); } .charge-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; margin-top: 8px; } .charge-form input { margin: 0; } .pos { color: var(--ok); } .neg { color: var(--bad); font-weight: 600; } .two { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; } textarea { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #0f172a; color: var(--text); width: 100%; margin: 4px 0 8px; font-family: var(--mono); font-size: 11px; } .deploy-box { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; background: var(--panel2); } .star { color: var(--accent); } .deploy-result { border-radius: 10px; padding: 10px 12px; margin: 6px 0 10px; font-size: 12px; border: 1px solid var(--line); background: #0f172a; } .deploy-result.ok { border-color: #065f46; background: #052e2b; } .deploy-result.fail { border-color: #7f1d1d; background: #2a1215; } .deploy-result.busy { border-color: var(--accent); } .deploy-result h4 { margin: 0 0 6px; font-size: 13px; } .deploy-result ul { margin: 6px 0 0; padding-left: 18px; } .deploy-result li { margin: 3px 0; } .deploy-result a { color: var(--accent2); } .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; } .badge.deploying { background: #dbeafe; color: #1e40af; } .deploy-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; padding: 8px 12px; border-radius: 8px; font-size: 13px; } .deploy-status.running { background: #1e3a8a; color: #dbeafe; } .deploy-status.ok { background: #064e3b; color: #d1fae5; } .deploy-status.fail { background: #7f1d1d; color: #fee2e2; } .deploy-status a { color: inherit; text-decoration: underline; } .deploy-status.running .ds-icon { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #93c5fd; border-top-color: #fff; animation: spin .9s linear infinite; display: inline-block; } @keyframes spin { to { transform: rotate(360deg); } } .badge.pending { background: #fef3c7; color: #92400e; } .badge.deployed { background: #d1fae5; color: #065f46; } .badge.working { background: #e0e7ff; color: #3730a3; } .badge.empty { background: #1f2937; color: var(--muted); } h2 .tabs button { padding: 4px 10px; font-size: 12px; } /* 표가 화면 밖으로 나가지 않도록: flex/grid 자식의 최소 너비 해제, 표는 컨테이너 안에서 가로 스크롤 */ .adm > * , .card, .grid > * { min-width: 0; max-width: 100%; } .table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } table.adm-t td:not(.num):not(.wrap) { white-space: normal; } table.adm-t td.act { white-space: nowrap; } table.adm-t td.act button, table.adm-t td.act .btn { padding: 4px 8px; font-size: 11px; margin: 1px 0; } .dlg { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: grid; place-items: center; z-index: 50; } .dlg-box { width: 520px; max-width: calc(100vw - 32px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; } .ledger-scroll { max-height: 360px; overflow-y: auto; } .ledger-scroll thead th { position: sticky; top: 0; background: var(--panel, #111827); } .badge.planned { background: #1e3a8a; color: #dbeafe; } .badge-n { display: inline-block; min-width: 16px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; margin-left: 4px; } /* v1.2.0: Webmaker 화면 외형 편집기 */ .th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 10px; margin: 8px 0; } .th-grid label { font-size: 12px; color: var(--muted); } .th-preview { display: grid; gap: 0; height: 150px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 6px 0 10px; background: var(--tp-bg); font-size: var(--tp-fs); color: var(--tp-text); } .th-preview .tp-left { background: var(--tp-panel); display: flex; flex-direction: column; gap: var(--tp-pad); border-right: 1px solid var(--tp-line); } .th-preview .tp-top { background: var(--tp-top); color: var(--tp-top-text); padding: 6px 8px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; } .th-preview .tp-pill { white-space: nowrap; font-weight: 600; font-size: 11px; border: 1px solid var(--tp-accent); border-radius: 999px; padding: 1px 6px; } .th-preview .tp-card { margin: 0 8px; padding: var(--tp-pad); border: 1px solid var(--tp-line); border-radius: var(--tp-radius); font-size: 12px; } .th-preview .tp-muted { color: var(--tp-muted); } .th-preview .tp-btn { margin: 0 8px; background: var(--tp-accent); border-color: var(--tp-accent); color: #fff; border-radius: var(--tp-radius); padding: 4px 10px; align-self: flex-start; font-size: 12px; } .th-preview .tp-right { display: grid; place-items: center; color: var(--tp-muted); font-size: 12px; } /* v1.3.2 로그 보기 */ .lg-filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; } .lg-kinds { display: flex; flex-wrap: wrap; gap: 6px; } .lg-kind { padding: 5px 10px; border-radius: 999px; font-size: 12px; opacity: .55; } .lg-kind.on { opacity: 1; border-color: var(--accent); } .lg-kind.error.on { color: #fca5a5; } .lg-kind.warn.on { color: #fcd34d; } .lg-kind.deploy.on, .lg-kind.done.on { color: #6ee7b7; } .st-warn { color: #fcd34d; } .lg-wrap { max-height: 64vh; overflow: auto; } /* v1.3.2 메일 시스템 탭 */ .ms-status { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; line-height: 1.6; } .ms-status b { color: var(--accent2); } .ms-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; border: 1px solid var(--line); } .ms-pill.ready, .ms-pill.send-only { color: #6ee7b7; border-color: #065f46; } .ms-pill.setting-up { color: #fcd34d; border-color: #92400e; } .ms-pill.off { color: var(--muted); } /* v1.3.2 화면 설정 탭: 왼쪽 조정, 오른쪽 넓은 미리보기 */ .th-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; } .th-stage { min-width: 0; } /* 1280px iframe 가 칸을 넓히지 않게 (그래야 축소 비율이 맞음) */ @media (max-width: 1100px) { .th-layout { grid-template-columns: 1fr; } } .th-controls { position: sticky; top: 8px; } .th-views { gap: 4px; margin-bottom: 8px; } .th-views button.active { border-color: var(--accent); color: var(--accent2); } .th-frames.one .th-frame-wrap { width: 100%; } .th-frames.all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .th-frame-wrap .th-vp { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; } .th-frame-wrap[data-view="mobile"] .th-vp { max-width: 390px; } .th-frame-wrap iframe { border: 0; transform-origin: 0 0; display: block; } /* v1.3.2: 탭이 9개로 늘어 한 줄에 다 안 들어가면 단어가 잘리지 않게 줄 단위로 넘김 */ .adm-hdr { flex-wrap: wrap; } .tabs { flex-wrap: wrap; } .tabs button { white-space: nowrap; padding: 7px 10px; } .brand { white-space: nowrap; } /* v1.3.5 버전 변경 알림 띠 */ .ver-bar { margin: 10px 0; padding: 8px 12px; border: 1px solid #92400e; border-radius: 10px; color: #fcd34d; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } /* v1.3.10: 관리자 콘솔 다국어 — 번역문이 길어도 칸 안에서 줄바꿈 */ .adm, .card, .kpi .tot { min-width: 0; max-width: 100%; } .tabs button { white-space: normal; } td, th, label, p { overflow-wrap: anywhere; } .table-wrap { max-width: 100%; overflow-x: auto; } /* v1.3.10 템플릿 트리 */ .tp-tree { border: 1px solid var(--line); border-radius: 8px; padding: 4px; max-height: 360px; overflow: auto; } .tp-node { display: flex; align-items: center; gap: 4px; } .tp-node.on { background: var(--panel2); border-radius: 6px; } .tp-node .link { background: transparent; border: 0; color: var(--text); text-align: left; padding: 3px 4px; flex: 1; } .tp-node .ghost { padding: 1px 6px; font-size: 11px; } /* v1.3.16 저장하지 않은 변경 표시 (data-dirty-watch 입력칸) */ input.dirty, select.dirty { outline: 2px solid #f59e0b; outline-offset: 1px; } input[type=radio].dirty { outline-offset: 2px; } .muted.ok { color: #059669; } /* v1.4.0 회원 목록의 계정 종류 (선택 + 변경 버튼 한 줄) */ .acct-type { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; vertical-align: middle; } .acct-type select { width: auto; margin: 0; padding: 3px 6px; font-size: 12px; } /* v1.6.40 선불 충전 상품 폼: 칸이 많아 3열 → 자동 채움 */ .charge-form.pp-form { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: center; } .charge-form.pp-form select { margin: 0; } .charge-form.pp-form button { white-space: nowrap; }