065e81bf97
CS 통합 프로그램.ZIP(로컬 개발본 v9.0)의 기능 소스를 반영. DB 스키마는 기존과 동일해 마이그레이션 없이 그대로 사용한다. 가져온 것 - main.py / cafe24_api.py / templates / static: v9.0 기능 코드 - routers/coupang_milkrun.py, routers/mall_event.py (신규) - static/js/mall_event.js, static/js/milkrun_gsheet.js (신규) 운영 설정은 기존 것을 유지·재적용 - DB/카페24/네이버 접속정보를 하드코딩 대신 환경변수 기반으로 복원 - SSO(AuthGuardMiddleware, SessionMiddleware), /login, /logout, /health/db 복원 - APP_ROOT_PATH 서브경로 호스팅(root_path 템플릿 변수, app.js fetch 래퍼) 복원 - 구글시트 설정 인메모리 캐시(TTL 10분)와 /api/config/refresh 복원 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1923 lines
39 KiB
CSS
1923 lines
39 KiB
CSS
:root {
|
|
--bg-color-main: #f0f4f8;
|
|
--sidebar-bg: #1a202c;
|
|
--sidebar-text: #e2e8f0;
|
|
--sidebar-active: #2d3748;
|
|
|
|
--primary-color: #3182ce;
|
|
--primary-hover: #2b6cb0;
|
|
--secondary-color: #4a5568;
|
|
--accent-color: #ed8936;
|
|
--danger-color: #e53e3e;
|
|
|
|
--card-bg: rgba(255, 255, 255, 0.75);
|
|
--card-border: rgba(255, 255, 255, 0.5);
|
|
--card-shadow: 0 4px 12px 0 rgba(31, 38, 135, 0.05);
|
|
--glass-blur: blur(8px);
|
|
|
|
--text-main: #1a202c;
|
|
--text-muted: #4a5568;
|
|
|
|
--font-stack: 'Inter', 'Malgun Gothic', sans-serif;
|
|
--transition: 0.15s ease;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-stack);
|
|
background: var(--bg-color-main);
|
|
background-image:
|
|
radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
|
|
radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
|
|
radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
|
|
background-attachment: fixed;
|
|
color: var(--text-main);
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
font-size: 11px;
|
|
/* 극한의 압축을 위한 기본 폰트 더 축소 */
|
|
}
|
|
|
|
/* Typography */
|
|
h1 {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
margin-bottom: 2px;
|
|
color: #fff;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
margin-bottom: 4px;
|
|
color: var(--text-main);
|
|
border-bottom: 2px solid var(--primary-color);
|
|
padding-bottom: 2px;
|
|
display: inline-block;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
/* Layout */
|
|
.app-container {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 130px;
|
|
background-color: var(--sidebar-bg);
|
|
color: var(--sidebar-text);
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
|
|
z-index: 10;
|
|
}
|
|
|
|
.sidebar .logo {
|
|
padding: 12px 10px;
|
|
text-align: center;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.sidebar .logo p {
|
|
color: var(--accent-color);
|
|
font-size: 0.75rem;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.nav-links {
|
|
list-style: none;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.nav-links li {
|
|
/* 탭 글자 크기 — 사이드바(130px)에서 모든 메뉴가 한 줄에 들어가는 크기.
|
|
메뉴는 전부 이 크기 하나로 통일한다. */
|
|
padding: 11px 8px;
|
|
cursor: pointer;
|
|
font-weight: 200;
|
|
font-size: 0.8rem;
|
|
transition: var(--transition);
|
|
border-left: 3px solid transparent;
|
|
/* 어떤 경우에도 두 줄로 넘어가지 않게 */
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* 메뉴 아이콘: 글자 크기와 무관하게 원래 크기(1rem)를 유지한다.
|
|
1em이 아니라 rem으로 고정해야 메뉴 글자를 줄여도 아이콘이 같이 작아지지 않는다.
|
|
width는 글자 크기가 아니라 아이콘 칸 너비로, 메뉴 글자 시작선을 맞추는 용도. */
|
|
.nav-links li .nav-icon {
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
width: 1.25rem;
|
|
margin-right: 5px;
|
|
text-align: center;
|
|
font-style: normal;
|
|
vertical-align: -0.1em;
|
|
flex-shrink: 0;
|
|
/* 흑백 글리프로 떨어지지 않도록 컬러 이모지 폰트를 우선 지정 */
|
|
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
|
|
}
|
|
|
|
/* '준비중' 같은 상태 뱃지도 좁은 사이드바에 맞춰 축소 */
|
|
.nav-links li .nav-badge {
|
|
font-size: 0.5rem;
|
|
background: #e53e3e;
|
|
color: #fff;
|
|
padding: 1px 2px;
|
|
border-radius: 4px;
|
|
margin-left: 3px;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-links li:hover {
|
|
background-color: var(--sidebar-active);
|
|
}
|
|
|
|
.nav-links li.active {
|
|
background-color: var(--sidebar-active);
|
|
border-left-color: var(--primary-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
padding: 10px 15px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.tab-content {
|
|
display: none;
|
|
height: 100%;
|
|
}
|
|
|
|
.tab-content.active {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.tab-content.active.grid-layout {
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
}
|
|
|
|
.tab-content.active.flex-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Grid Layout */
|
|
.main-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 525px;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
gap: 10px;
|
|
height: calc(100vh - 45px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.order-workspace {
|
|
min-width: 0;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.order-category-panel {
|
|
padding: 8px;
|
|
flex-shrink: 0;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
border: 1px solid rgba(203, 213, 224, 0.9);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.order-category-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 6px;
|
|
color: #2d3748;
|
|
}
|
|
|
|
.order-category-heading strong {
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.order-category-heading span {
|
|
color: #4a5568;
|
|
font-size: 0.68rem;
|
|
}
|
|
|
|
.order-group-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
}
|
|
|
|
.order-group-button {
|
|
min-height: 28px;
|
|
padding: 4px 9px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: #2d3748;
|
|
cursor: pointer;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.order-group-button:hover,
|
|
.order-group-button.has-selection,
|
|
.order-group-button.is-active {
|
|
border-color: var(--primary-color);
|
|
background: #ebf8ff;
|
|
}
|
|
|
|
.order-group-count {
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 9px;
|
|
background: var(--primary-color);
|
|
color: #fff;
|
|
font-size: 0.65rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.order-group-button.has-selection .order-group-count {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.order-workspace-body {
|
|
min-height: 0;
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, 1fr) minmax(270px, 38%);
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.order-summary-column {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.order-summary-column .order-selected-panel {
|
|
flex: 1;
|
|
}
|
|
|
|
.new-cs-options-slot {
|
|
display: none;
|
|
}
|
|
|
|
.order-items-inline-host {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: 8px;
|
|
overflow: hidden;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.32);
|
|
}
|
|
|
|
.order-items-inline-empty {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
color: #4a5568;
|
|
font-size: 0.78rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.order-items-inline-empty span:first-child {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.order-selected-panel {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 9px;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.order-selected-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 6px;
|
|
border-bottom: 2px solid var(--primary-color);
|
|
}
|
|
|
|
.order-selected-heading h3 {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.order-selected-heading span {
|
|
color: #2b6cb0;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.order-selected-items {
|
|
min-height: 0;
|
|
flex: 1;
|
|
padding-top: 5px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.order-selected-empty {
|
|
padding: 20px 5px;
|
|
color: #718096;
|
|
font-size: 0.72rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.order-selected-row {
|
|
display: grid;
|
|
grid-template-columns: 20px minmax(0, 1fr) auto auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 6px 3px;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.order-selected-remove {
|
|
width: 18px;
|
|
height: 18px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
background: transparent;
|
|
color: #e53e3e;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.order-selected-remove:hover {
|
|
background: #fff5f5;
|
|
}
|
|
|
|
.order-selected-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.order-selected-qty {
|
|
width: 58px;
|
|
height: 24px;
|
|
padding: 1px 3px;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: #2b6cb0;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.order-selected-price {
|
|
min-width: 68px;
|
|
color: #2d3748;
|
|
font-weight: 700;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.order-selected-totals {
|
|
padding: 8px 2px;
|
|
border-top: 2px solid #cbd5e0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.order-selected-totals > div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 3px 1px;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.order-selected-totals strong {
|
|
color: #e53e3e;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.order-selected-totals > .order-summary-adjustments {
|
|
display: block;
|
|
padding: 0;
|
|
}
|
|
|
|
.order-summary-adjustments > div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 2px 1px;
|
|
color: #4a5568;
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.order-summary-adjustments b {
|
|
color: #2d3748;
|
|
}
|
|
|
|
.order-selected-totals > .order-summary-final {
|
|
margin-top: 3px;
|
|
padding-top: 5px;
|
|
border-top: 1px dashed #cbd5e0;
|
|
}
|
|
|
|
.order-preview-button {
|
|
width: 100%;
|
|
padding: 7px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.order-items-inline-host .order-item-group {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: none;
|
|
flex-direction: column;
|
|
padding: 8px;
|
|
overflow: hidden;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.order-items-inline-host .order-item-group.is-active {
|
|
display: flex;
|
|
}
|
|
|
|
.order-item-group .order-popup-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 6px;
|
|
border-bottom: 2px solid var(--primary-color);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.order-item-group .order-popup-header h3 {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.order-item-group .item-list {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 3px 8px;
|
|
padding: 8px 3px 2px 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.order-item-subgroup {
|
|
display: contents;
|
|
}
|
|
|
|
.order-item-subgroup-title {
|
|
display: none;
|
|
}
|
|
|
|
.classic-product-column {
|
|
display: contents;
|
|
}
|
|
|
|
.order-item-group .item-row {
|
|
min-width: 0;
|
|
background: #f7fafc;
|
|
}
|
|
|
|
.sms-preview-modal {
|
|
position: fixed;
|
|
z-index: 2600;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
background: rgba(0, 0, 0, 0.52);
|
|
}
|
|
|
|
.sms-preview-modal.is-open {
|
|
display: flex;
|
|
}
|
|
|
|
.sms-preview-dialog {
|
|
width: min(520px, calc(100vw - 30px));
|
|
height: min(760px, calc(100vh - 40px));
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 12px;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
|
|
.sms-preview-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 2px solid var(--primary-color);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sms-preview-heading h3 {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#sms-preview {
|
|
min-height: 0;
|
|
flex: 1;
|
|
margin-top: 10px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.right-col {
|
|
display: grid;
|
|
grid-template-columns: 260px 250px;
|
|
grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
|
|
gap: 15px;
|
|
height: 100%;
|
|
}
|
|
|
|
.right-panel-col1 {
|
|
display: contents;
|
|
}
|
|
|
|
.right-panel-col2 {
|
|
display: contents;
|
|
}
|
|
|
|
.right-col .customer-info {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.right-col .history-box {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
height: auto !important;
|
|
min-height: 0;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.right-col .manual-history-box {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
height: auto !important;
|
|
min-height: 0;
|
|
}
|
|
|
|
.right-col .sms-options {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
align-self: end;
|
|
}
|
|
|
|
/* New CS 전용 배치: 기존 CS 작업 화면과 입력 요소를 공유합니다. */
|
|
#order-tab.order-view-new .main-grid {
|
|
grid-template-columns: minmax(0, 1fr) 260px;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-category-heading strong {
|
|
font-size: 0.98rem;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-category-heading span {
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-group-button {
|
|
min-height: 34px;
|
|
padding: 5px 11px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-group-count {
|
|
min-width: 21px;
|
|
height: 21px;
|
|
border-radius: 11px;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-workspace-body {
|
|
grid-template-columns: minmax(0, 1fr) 370px;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-summary-column {
|
|
width: 370px;
|
|
gap: 10px;
|
|
}
|
|
|
|
#order-tab.order-view-new .new-cs-options-slot {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
#order-tab.order-view-new .new-cs-options-slot .sms-options {
|
|
width: 370px;
|
|
}
|
|
|
|
#order-tab.order-view-new .right-col {
|
|
display: block;
|
|
min-width: 0;
|
|
}
|
|
|
|
#order-tab.order-view-new .right-panel-col1 {
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: 370px minmax(0, 1fr) minmax(0, 1fr);
|
|
gap: 10px;
|
|
}
|
|
|
|
#order-tab.order-view-new .right-col .customer-info,
|
|
#order-tab.order-view-new .right-col .history-box,
|
|
#order-tab.order-view-new .right-col .manual-history-box {
|
|
grid-column: 1;
|
|
min-height: 0;
|
|
height: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
#order-tab.order-view-new .right-col .customer-info {
|
|
grid-row: 1;
|
|
height: 370px !important;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#order-tab.order-view-new .customer-info > h3 {
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
#order-tab.order-view-new .customer-info .form-group {
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
#order-tab.order-view-new .customer-info .form-group input {
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
#order-tab.order-view-new .customer-info .radio-group.mt-1,
|
|
#order-tab.order-view-new .customer-info .action-buttons.mt-1 {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
#order-tab.order-view-new .customer-info .btn {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#order-tab.order-view-new .right-col .history-box {
|
|
grid-row: 2;
|
|
}
|
|
|
|
#order-tab.order-view-new .right-col .manual-history-box {
|
|
grid-row: 3;
|
|
}
|
|
|
|
#order-tab.order-view-new #cust-address {
|
|
height: 100px;
|
|
min-height: 100px;
|
|
resize: vertical;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-group .item-list {
|
|
grid-template-columns: repeat(var(--subgroup-count, 1), minmax(0, 250px));
|
|
align-items: start;
|
|
justify-content: start;
|
|
gap: 12px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-subgroup {
|
|
width: 100%;
|
|
min-width: 180px;
|
|
max-width: 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
padding: 6px;
|
|
overflow: hidden;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 7px;
|
|
background: #f8fafc;
|
|
box-shadow: 0 1px 3px rgba(45, 55, 72, 0.08);
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-subgroup-title {
|
|
min-height: 28px;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: -6px -6px 3px;
|
|
padding: 5px 8px;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid #bee3f8;
|
|
border-left: 4px solid #3182ce;
|
|
background: #ebf8ff;
|
|
color: #2d3748;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-subgroup-title-text {
|
|
min-width: 0;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-subgroup-edit {
|
|
width: 24px;
|
|
height: 22px;
|
|
flex: 0 0 24px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 5px;
|
|
padding: 0;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
font-size: 0.78rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-subgroup-edit:hover,
|
|
#order-tab.order-view-new .order-item-subgroup-edit:focus-visible {
|
|
border-color: #90cdf4;
|
|
background: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-item-subgroup-title-input {
|
|
width: 100%;
|
|
height: 24px;
|
|
padding: 2px 6px;
|
|
border: 1px solid #3182ce;
|
|
border-radius: 4px;
|
|
background: #fff;
|
|
color: #1a202c;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
outline: none;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-preview-button {
|
|
border: 1px solid #cbd5e0;
|
|
background: #e2e8f0;
|
|
color: #4a5568;
|
|
}
|
|
|
|
#order-tab.order-view-new .order-preview-button:hover {
|
|
background: #cbd5e0;
|
|
}
|
|
|
|
/* CS 작업: 상품 전체가 펼쳐지는 기존 UI */
|
|
#order-tab.order-view-classic .order-category-panel,
|
|
#order-tab.order-view-classic .order-summary-column {
|
|
display: none;
|
|
}
|
|
|
|
#order-tab.order-view-classic .order-workspace-body {
|
|
height: 100%;
|
|
display: block;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#order-tab.order-view-classic .order-items-inline-host {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(6, max-content);
|
|
align-content: start;
|
|
align-items: start;
|
|
gap: 8px;
|
|
padding: 0;
|
|
overflow: auto;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#order-tab.order-view-classic .classic-product-column {
|
|
width: max-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
|
|
#order-tab.order-view-classic .order-items-inline-empty {
|
|
display: none !important;
|
|
}
|
|
|
|
#order-tab.order-view-classic .order-items-inline-host .order-item-group {
|
|
width: max-content;
|
|
max-width: none;
|
|
height: auto;
|
|
display: flex;
|
|
padding: 8px;
|
|
}
|
|
|
|
#order-tab.order-view-classic .order-item-group .item-list,
|
|
#order-tab.order-view-classic .order-item-subgroup {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
#order-tab.order-view-classic .order-item-subgroup + .order-item-subgroup {
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1.5px dashed #1a202c;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-col {
|
|
display: grid;
|
|
grid-template-columns: 260px 250px;
|
|
grid-template-rows: minmax(0, 1fr);
|
|
gap: 15px;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-panel-col1,
|
|
#order-tab.order-view-classic .right-panel-col2 {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
height: 100%;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-panel-col1 {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-panel-col2 {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-col .customer-info {
|
|
width: 100%;
|
|
height: 330px !important;
|
|
flex: 0 0 330px;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-col .history-box {
|
|
width: 100%;
|
|
height: 260px !important;
|
|
flex: 0 0 260px;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-col .manual-history-box {
|
|
width: 100%;
|
|
height: auto !important;
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
#order-tab.order-view-classic .sms-preview-modal {
|
|
position: static;
|
|
width: 100%;
|
|
height: auto;
|
|
flex: 1 1 0;
|
|
min-height: 0;
|
|
display: block;
|
|
padding: 8px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 8px;
|
|
background: var(--card-bg);
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
#order-tab.order-view-classic .sms-preview-dialog {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#order-tab.order-view-classic .sms-preview-heading {
|
|
display: none;
|
|
}
|
|
|
|
#order-tab.order-view-classic #sms-preview {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
#order-tab.order-view-classic .right-col .sms-options {
|
|
width: 100%;
|
|
flex: 0 0 auto;
|
|
align-self: auto;
|
|
}
|
|
|
|
.right-col::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.right-col::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Glass Cards */
|
|
.glass-card {
|
|
background: var(--card-bg);
|
|
backdrop-filter: var(--glass-blur);
|
|
-webkit-backdrop-filter: var(--glass-blur);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 8px;
|
|
padding: 8px;
|
|
box-shadow: var(--card-shadow);
|
|
}
|
|
|
|
/* Sections for Items */
|
|
.item-group-card {
|
|
width: max-content;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.item-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.item-row {
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
padding: 1px 4px;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
gap: 6px;
|
|
}
|
|
|
|
.item-row:hover {
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.item-row:has(input.chk-order:checked) {
|
|
background: #fef08a !important;
|
|
border-color: #eab308;
|
|
}
|
|
|
|
.item-row label {
|
|
flex: 1;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.item-row label input {
|
|
margin: 0;
|
|
transform: scale(0.85);
|
|
/* 체크박스 크기 축소 */
|
|
}
|
|
|
|
.item-row input[type="text"],
|
|
.item-row input[type="number"],
|
|
.item-row select {
|
|
width: 32px;
|
|
padding: 1px;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 3px;
|
|
text-align: center;
|
|
outline: none;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* 스피너(증감 화살표) 숨기기 */
|
|
.item-row input[type="number"]::-webkit-outer-spin-button,
|
|
.item-row input[type="number"]::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
.item-row input[type="number"] {
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.item-row input[type="text"]:focus,
|
|
.item-row input[type="number"]:focus,
|
|
.item-row select:focus {
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
/* Special Text Colors */
|
|
.text-orange {
|
|
color: #dd6b20;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Forms & Inputs */
|
|
.form-group {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 1px;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 4px 6px;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 4px;
|
|
font-size: 0.8rem;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
background: #fff;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 6px 10px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
font-size: 0.8rem;
|
|
transition: var(--transition);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--primary-hover);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--secondary-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #2d3748;
|
|
}
|
|
|
|
.btn-accent {
|
|
background: var(--accent-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-accent:hover {
|
|
background: #dd6b20;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background: #c53030;
|
|
}
|
|
|
|
.btn-large {
|
|
padding: 8px 12px;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.block {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.mt-1 {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.mt-2 {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Action Buttons Area */
|
|
.action-buttons {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4px;
|
|
}
|
|
|
|
.action-buttons.horizontal {
|
|
display: flex;
|
|
}
|
|
|
|
.action-buttons.horizontal .btn {
|
|
flex: 1;
|
|
}
|
|
|
|
.action-buttons .block {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
/* Radio & Checkbox Groups */
|
|
.radio-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.radio-group label,
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
cursor: pointer;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.radio-group input[type="radio"],
|
|
.checkbox-label input {
|
|
transform: scale(0.85);
|
|
}
|
|
|
|
.chk-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 3px;
|
|
}
|
|
|
|
/* Previews */
|
|
.preview-box {
|
|
flex: 1;
|
|
min-height: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.preview-box textarea {
|
|
flex: 1;
|
|
width: 100%;
|
|
background: #fff;
|
|
border: 1px solid #cbd5e0;
|
|
border-radius: 4px;
|
|
padding: 6px;
|
|
font-size: 0.8rem;
|
|
resize: none;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* History Box */
|
|
.history-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.history-box ul {
|
|
list-style: none;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.history-box ul::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
|
|
.history-box ul::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.history-box ul::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 0, 0, 0.15);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.history-box li {
|
|
padding: 4px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.history-box li:hover {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.action-text {
|
|
float: right;
|
|
font-size: 0.7rem;
|
|
color: var(--danger-color);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.action-text:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Modals */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 100;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
padding: 15px;
|
|
width: 90%;
|
|
max-width: 350px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 8px;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Gift Settings Grid */
|
|
.gift-settings-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
align-content: flex-start;
|
|
height: calc(100vh - 100px);
|
|
}
|
|
|
|
.gift-rule-card {
|
|
padding: 10px;
|
|
width: 410px;
|
|
height: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.rule-inputs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-bottom: 8px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.rule-inputs input {
|
|
width: 85px;
|
|
padding: 3px;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.gift-radio-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.bottom-action {
|
|
position: absolute;
|
|
bottom: 15px;
|
|
right: 15px;
|
|
}
|
|
|
|
/* Loading Overlay for Google Sheets */
|
|
.sheet-loader-overlay {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
right: 10px;
|
|
bottom: 0;
|
|
background: rgba(255, 255, 255, 0.85);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 10;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 5px solid #e2e8f0;
|
|
border-top: 5px solid #3182ce;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.4);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(49, 130, 206, 0.5);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(49, 130, 206, 0.8);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'NanumSquareNeo';
|
|
src: url('../font/NanumSquareNeo-bRg.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Pretendard-Regular';
|
|
src: url('../font/PRETENDARD-REGULAR.TTF') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Mobile Responsive Adjustments (Max-Width 800px)
|
|
========================================================================== */
|
|
@media (max-width: 800px) {
|
|
/* 1. Body & Container */
|
|
body {
|
|
overflow: auto;
|
|
}
|
|
.app-container {
|
|
flex-direction: column;
|
|
height: auto;
|
|
padding-bottom: 65px; /* space for bottom nav */
|
|
}
|
|
.content {
|
|
overflow: visible;
|
|
padding: 5px;
|
|
}
|
|
|
|
/* 2. Sidebar to Bottom Nav */
|
|
.sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
flex-direction: row;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.sidebar .logo {
|
|
display: none; /* Hide logo on mobile to save space */
|
|
}
|
|
.nav-links {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
margin: 0;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
background-color: var(--sidebar-bg); /* ensure background is solid */
|
|
}
|
|
.nav-links li {
|
|
flex: none;
|
|
min-width: 85px;
|
|
text-align: center;
|
|
padding: 15px 5px;
|
|
white-space: nowrap;
|
|
border-left: none;
|
|
border-bottom: 3px solid transparent;
|
|
font-size: 0.9rem;
|
|
}
|
|
.nav-links li.active {
|
|
border-left-color: transparent;
|
|
border-bottom-color: var(--primary-color);
|
|
}
|
|
/* 가로 스크롤 메뉴에서는 아이콘 칸을 좁혀 폭을 아낀다 */
|
|
.nav-links li .nav-icon {
|
|
width: auto;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
/* 3. Main Grid & Left Col (Product List) */
|
|
.main-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto;
|
|
gap: 15px;
|
|
}
|
|
.order-workspace {
|
|
height: auto;
|
|
min-height: 80vh;
|
|
}
|
|
.order-workspace-body {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: minmax(45vh, 1fr) minmax(35vh, auto);
|
|
}
|
|
.item-group-card {
|
|
width: 100%;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* 4. Right Col (Forms & SMS Preview) */
|
|
.right-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto;
|
|
gap: 15px;
|
|
}
|
|
.right-panel-col1, .right-panel-col2 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* 5. Override Inline Styles via !important */
|
|
.preview-box {
|
|
height: 200px !important;
|
|
}
|
|
.history-box, .manual-history-box {
|
|
height: 300px !important;
|
|
}
|
|
|
|
.history-box li, .manual-history-box li {
|
|
font-size: 0.65rem;
|
|
padding: 6px 4px;
|
|
white-space: normal; /* 글씨가 짤리지 않고 줄바꿈 되도록 설정 */
|
|
word-break: break-all;
|
|
}
|
|
|
|
.history-box li .action-text, .manual-history-box li .action-text {
|
|
font-size: 0.6rem;
|
|
margin-left: 5px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 6. Form Adjustments for Touch */
|
|
.chk-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
.chk-grid label {
|
|
padding: 8px 4px; /* Larger touch targets */
|
|
background: rgba(255, 255, 255, 0.5);
|
|
border-radius: 4px;
|
|
border: 1px solid #e2e8f0;
|
|
margin: 0;
|
|
}
|
|
.action-buttons {
|
|
flex-wrap: wrap;
|
|
}
|
|
.btn {
|
|
padding: 12px 10px;
|
|
font-size: 1rem;
|
|
}
|
|
input[type="text"], input[type="number"], select {
|
|
padding: 10px;
|
|
font-size: 1rem; /* Prevent zoom */
|
|
}
|
|
|
|
/* Settings / Manual Info */
|
|
.gift-settings-container {
|
|
flex-direction: column;
|
|
height: auto;
|
|
flex-wrap: nowrap;
|
|
}
|
|
.gift-rule-card {
|
|
width: 100%;
|
|
}
|
|
|
|
/* 7. Ver History UI Adjustments */
|
|
#manual-guide-tab .timeline-item h2 {
|
|
font-size: 1.3rem !important;
|
|
margin-bottom: 8px !important;
|
|
}
|
|
#manual-guide-tab .timeline-item h2 span {
|
|
font-size: 0.85rem !important;
|
|
}
|
|
#manual-guide-tab .timeline-item h4 {
|
|
font-size: 1.05rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
#manual-guide-tab .timeline-item h4 span {
|
|
font-size: 1.1rem !important;
|
|
}
|
|
#manual-guide-tab .timeline-item ul {
|
|
font-size: 0.9rem !important;
|
|
padding-left: 18px !important;
|
|
line-height: 1.5 !important;
|
|
}
|
|
#manual-guide-tab .timeline-item {
|
|
margin-bottom: 25px !important;
|
|
}
|
|
|
|
/* Return Tab Mobile Layout (Split top and bottom) */
|
|
.return-split-container {
|
|
flex-direction: column !important;
|
|
height: auto !important;
|
|
gap: 15px !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.return-split-container > .glass-card {
|
|
height: 45vh !important;
|
|
min-height: 320px !important;
|
|
flex: none !important;
|
|
}
|
|
|
|
.return-split-container .glass-card > div {
|
|
overflow: auto !important;
|
|
}
|
|
|
|
/* Mobile detail toggle and collapsible form elements */
|
|
.btn-detail-toggle {
|
|
display: inline-block !important;
|
|
height: 20px;
|
|
padding: 2px 6px;
|
|
font-size: 0.7rem;
|
|
background: #718096;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: normal;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.mobile-hide {
|
|
display: none !important;
|
|
}
|
|
|
|
form.show-details .mobile-hide {
|
|
display: flex !important;
|
|
}
|
|
|
|
form.show-details div.form-group.mobile-hide {
|
|
display: block !important;
|
|
}
|
|
|
|
/* Product Settings Tab Mobile Horizontal Scroll */
|
|
#product-groups-container {
|
|
overflow-x: auto !important;
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
/* Code Settings Tab Mobile Horizontal Scroll & Side-by-Side Layout */
|
|
.code-split-container {
|
|
overflow-x: auto !important;
|
|
overflow-y: hidden !important;
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
flex-wrap: nowrap !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.code-split-container > .glass-card:first-child {
|
|
flex: 0 0 560px !important;
|
|
width: 560px !important;
|
|
max-width: 560px !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.code-split-container > .glass-card:last-child {
|
|
flex: 0 0 1000px !important;
|
|
width: 1000px !important;
|
|
max-width: 1000px !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
/* Settings Tab Mobile Style Optimizations */
|
|
#gift-tab h1 {
|
|
color: #2d3748 !important;
|
|
}
|
|
|
|
select option {
|
|
color: #2d3748 !important;
|
|
background-color: #ffffff !important;
|
|
}
|
|
|
|
#gift-tab .left-settings,
|
|
#gift-tab .right-settings,
|
|
#gift-tab .third-settings {
|
|
width: 100% !important;
|
|
min-width: 100% !important;
|
|
max-width: 100% !important;
|
|
height: auto !important;
|
|
}
|
|
|
|
#gift-tab .glass-card {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
height: auto !important;
|
|
max-height: none !important;
|
|
}
|
|
|
|
#app-font-select {
|
|
flex: 1 !important;
|
|
min-width: 0 !important;
|
|
width: 100% !important;
|
|
max-width: calc(100% - 85px) !important;
|
|
}
|
|
|
|
.settings-action-container {
|
|
position: static !important;
|
|
margin-top: 15px !important;
|
|
margin-bottom: 80px !important;
|
|
width: 100% !important;
|
|
display: flex !important;
|
|
justify-content: flex-end !important;
|
|
}
|
|
}
|
|
|
|
.btn-detail-toggle {
|
|
display: none;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Auto Order (스마트스토어 발주 자동화) TAB Styles
|
|
========================================================================== */
|
|
|
|
/* File Drop Area */
|
|
.file-drop-area {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
max-width: 100%;
|
|
padding: 2rem 1rem;
|
|
border: 2px dashed rgb(200, 200, 200);
|
|
border-radius: 8px;
|
|
background-color: #fafbfc;
|
|
margin-bottom: 1rem;
|
|
transition: background-color 0.2s, border-color 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.file-drop-area.is-active {
|
|
background-color: #f0fdf4;
|
|
border-color: #03C75A;
|
|
}
|
|
|
|
.file-msg {
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
color: var(--text-secondary);
|
|
text-align: center;
|
|
}
|
|
|
|
/* Loading Spinner */
|
|
.spinner-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
#downloadSpinner, #uploadSpinner {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 3px solid #f3f3f3;
|
|
border-top: 3px solid #03C75A;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-left: 0.5rem;
|
|
display: inline-block;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Result Box */
|
|
.result-box {
|
|
margin-top: 1.5rem;
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border-color);
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.result-box.success {
|
|
border-color: #03C75A;
|
|
background-color: #f0fdf4;
|
|
}
|
|
|
|
.result-box.error {
|
|
border-color: #ff4a4a;
|
|
background-color: #fff5f5;
|
|
}
|
|
|
|
.result-box h3 {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Toggle Switch CSS */
|
|
.toggle-switch {
|
|
position: relative;
|
|
width: 50px;
|
|
height: 24px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.toggle-switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.switch-label {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: .4s;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.switch-label:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: white;
|
|
transition: .4s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.toggle-switch input:checked + .switch-label {
|
|
background-color: #03C75A;
|
|
}
|
|
|
|
.toggle-switch input:focus + .switch-label {
|
|
box-shadow: 0 0 1px #03C75A;
|
|
}
|
|
|
|
.toggle-switch input:checked + .switch-label:before {
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
/* 반품 송장 일괄 입력: 편집기처럼 입력 줄과 함께 움직이는 줄 번호 */
|
|
.bulk-tracking-editor {
|
|
--bulk-tracking-border: #cbd5e0;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.bulk-tracking-line-numbers {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 1px;
|
|
bottom: 1px;
|
|
left: 1px;
|
|
width: 38px;
|
|
padding: 10px 7px 10px 4px;
|
|
overflow: hidden;
|
|
border-right: 1px solid var(--bulk-tracking-border);
|
|
border-radius: 3px 0 0 3px;
|
|
background: #f7fafc;
|
|
color: #718096;
|
|
font-family: monospace;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
text-align: right;
|
|
white-space: pre;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.bulk-tracking-input {
|
|
display: block;
|
|
width: 100%;
|
|
height: 200px;
|
|
padding: 10px 10px 10px 48px;
|
|
overflow: auto;
|
|
border: 1px solid var(--bulk-tracking-border);
|
|
border-radius: 4px;
|
|
resize: vertical;
|
|
font-family: monospace;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
white-space: pre;
|
|
}
|
|
|
|
.bulk-tracking-input:focus {
|
|
outline: none;
|
|
border-color: var(--bulk-tracking-border);
|
|
}
|