feat(pchome): automate authorized sales acquisition
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -271,7 +271,7 @@
|
||||
font-weight: var(--momo-font-semibold);
|
||||
font-size: var(--momo-text-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
letter-spacing: 0;
|
||||
padding: var(--momo-space-3);
|
||||
border-bottom: 1px solid var(--momo-border);
|
||||
white-space: nowrap;
|
||||
@@ -520,3 +520,265 @@
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- V10.776 automation cockpit ---------- */
|
||||
.ai-head__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--momo-space-2);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.ai-icon-button,
|
||||
.ai-row-action {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
border: 1px solid var(--momo-border);
|
||||
border-radius: var(--momo-radius-sm);
|
||||
background: var(--momo-surface-0);
|
||||
color: var(--momo-ink-secondary);
|
||||
}
|
||||
|
||||
.ai-icon-button:hover,
|
||||
.ai-icon-button:focus-visible,
|
||||
.ai-row-action:hover,
|
||||
.ai-row-action:focus-visible {
|
||||
border-color: #2f6f8f;
|
||||
color: #205771;
|
||||
outline: 2px solid rgba(47, 111, 143, 0.2);
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.ai-cockpit {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
margin-bottom: var(--momo-space-5);
|
||||
border-top: 1px solid var(--momo-border);
|
||||
border-bottom: 1px solid var(--momo-border);
|
||||
background: var(--momo-surface-0);
|
||||
}
|
||||
|
||||
.ai-metric {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
min-height: 118px;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: var(--momo-space-4) var(--momo-space-5);
|
||||
border-right: 1px solid var(--momo-border-light);
|
||||
}
|
||||
|
||||
.ai-metric:last-child { border-right: 0; }
|
||||
|
||||
.ai-metric__label,
|
||||
.ai-section__eyebrow {
|
||||
color: var(--momo-ink-tertiary);
|
||||
font-family: var(--momo-font-mono);
|
||||
font-size: var(--momo-text-xs);
|
||||
font-weight: var(--momo-font-semibold);
|
||||
letter-spacing: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.ai-metric__value {
|
||||
margin: var(--momo-space-2) 0 var(--momo-space-1);
|
||||
color: var(--momo-ink-primary);
|
||||
font-family: var(--momo-font-heading);
|
||||
font-size: var(--momo-text-xl);
|
||||
font-weight: var(--momo-font-bold);
|
||||
line-height: 1.25;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.ai-metric__value--compact { font-size: var(--momo-text-base); }
|
||||
.ai-metric__value[data-state="ready"] { color: #287a55; }
|
||||
.ai-metric__value[data-state="blocked"] { color: #a33e4a; }
|
||||
|
||||
.ai-metric__meta {
|
||||
color: var(--momo-ink-tertiary);
|
||||
font-size: var(--momo-text-xs);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.ai-inline-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--momo-space-2);
|
||||
margin: 0 0 var(--momo-space-5);
|
||||
padding: var(--momo-space-3) var(--momo-space-4);
|
||||
border-left: 3px solid #2f6f8f;
|
||||
background: rgba(47, 111, 143, 0.08);
|
||||
color: #205771;
|
||||
font-size: var(--momo-text-sm);
|
||||
}
|
||||
|
||||
.ai-inline-status[hidden] { display: none; }
|
||||
.ai-inline-status--success { border-color: #287a55; background: rgba(40, 122, 85, 0.09); color: #1f6245; }
|
||||
.ai-inline-status--warning { border-color: #a06b15; background: rgba(160, 107, 21, 0.09); color: #76500f; }
|
||||
.ai-inline-status--danger { border-color: #a33e4a; background: rgba(163, 62, 74, 0.09); color: #7b2f38; }
|
||||
|
||||
.ai-section {
|
||||
padding: var(--momo-space-5) 0;
|
||||
border-top: 1px solid var(--momo-border-light);
|
||||
}
|
||||
|
||||
.ai-section__head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--momo-space-3);
|
||||
margin-bottom: var(--momo-space-4);
|
||||
}
|
||||
|
||||
.ai-section__title {
|
||||
margin: var(--momo-space-1) 0 0;
|
||||
color: var(--momo-ink-primary);
|
||||
font-family: var(--momo-font-heading);
|
||||
font-size: var(--momo-text-lg);
|
||||
font-weight: var(--momo-font-semibold);
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.ai-mode-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--momo-space-1);
|
||||
padding: var(--momo-space-1) var(--momo-space-2);
|
||||
border: 1px solid rgba(40, 122, 85, 0.35);
|
||||
border-radius: var(--momo-radius-sm);
|
||||
background: rgba(40, 122, 85, 0.08);
|
||||
color: #1f6245;
|
||||
font-family: var(--momo-font-mono);
|
||||
font-size: var(--momo-text-xs);
|
||||
font-weight: var(--momo-font-semibold);
|
||||
}
|
||||
|
||||
.ai-source-list {
|
||||
border-top: 1px solid var(--momo-border-light);
|
||||
}
|
||||
|
||||
.ai-source-row {
|
||||
display: grid;
|
||||
grid-template-columns: 14px minmax(0, 1fr) auto;
|
||||
gap: var(--momo-space-3);
|
||||
align-items: center;
|
||||
min-height: 52px;
|
||||
padding: var(--momo-space-3) 0;
|
||||
border-bottom: 1px solid var(--momo-border-light);
|
||||
}
|
||||
|
||||
.ai-source-row--loading {
|
||||
display: block;
|
||||
color: var(--momo-ink-tertiary);
|
||||
font-size: var(--momo-text-sm);
|
||||
}
|
||||
|
||||
.ai-source-row__indicator {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-radius: 50%;
|
||||
background: var(--momo-border-strong);
|
||||
}
|
||||
|
||||
.ai-source-row__indicator--ready { background: #287a55; }
|
||||
.ai-source-row__indicator--degraded { background: #a06b15; }
|
||||
.ai-source-row__indicator--disabled { background: #8a9198; }
|
||||
|
||||
.ai-source-row__name {
|
||||
min-width: 0;
|
||||
color: var(--momo-ink-primary);
|
||||
font-size: var(--momo-text-sm);
|
||||
font-weight: var(--momo-font-semibold);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.ai-source-row__state {
|
||||
color: var(--momo-ink-tertiary);
|
||||
font-family: var(--momo-font-mono);
|
||||
font-size: var(--momo-text-xs);
|
||||
}
|
||||
|
||||
.ai-disclosure {
|
||||
margin-top: var(--momo-space-4);
|
||||
border-bottom: 1px solid var(--momo-border-light);
|
||||
}
|
||||
|
||||
.ai-disclosure summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--momo-space-2);
|
||||
padding: var(--momo-space-3) 0;
|
||||
color: var(--momo-ink-secondary);
|
||||
cursor: pointer;
|
||||
font-size: var(--momo-text-sm);
|
||||
font-weight: var(--momo-font-semibold);
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.ai-disclosure summary::-webkit-details-marker { display: none; }
|
||||
.ai-disclosure summary::after {
|
||||
margin-left: auto;
|
||||
color: var(--momo-ink-tertiary);
|
||||
content: "+";
|
||||
}
|
||||
.ai-disclosure[open] summary::after { content: "−"; }
|
||||
.ai-disclosure__body { padding: var(--momo-space-3) 0 var(--momo-space-5); }
|
||||
|
||||
.ai-count-separator {
|
||||
margin: 0 var(--momo-space-1);
|
||||
color: var(--momo-ink-tertiary);
|
||||
}
|
||||
|
||||
.ai-row-action {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin-left: var(--momo-space-2);
|
||||
color: #a33e4a;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.ai-cockpit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.ai-metric:nth-child(2) { border-right: 0; }
|
||||
.ai-metric:nth-child(-n + 2) { border-bottom: 1px solid var(--momo-border-light); }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.ai-head { flex-wrap: wrap; }
|
||||
.ai-head__main { flex-basis: calc(100% - 52px); }
|
||||
.ai-head__actions {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
.ai-head__actions .btn { flex: 1; min-height: 44px; }
|
||||
.ai-cockpit { grid-template-columns: 1fr; }
|
||||
.ai-metric,
|
||||
.ai-metric:nth-child(2) {
|
||||
min-height: 96px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--momo-border-light);
|
||||
}
|
||||
.ai-metric:last-child { border-bottom: 0; }
|
||||
.ai-section__head { align-items: flex-start; }
|
||||
.ai-mode-badge { max-width: 48%; text-align: right; }
|
||||
.ai-source-row { grid-template-columns: 14px minmax(0, 1fr) minmax(80px, auto); }
|
||||
|
||||
.ai-jobtable td:nth-child(1)::before { content: "檔案"; }
|
||||
.ai-jobtable td:nth-child(2)::before { content: "狀態"; }
|
||||
.ai-jobtable td:nth-child(3)::before { content: "進度"; }
|
||||
.ai-jobtable td:nth-child(4)::before { content: "筆數"; }
|
||||
.ai-jobtable td:nth-child(5)::before { content: "完成"; }
|
||||
.ai-jobtable td:nth-child(6)::before { content: "驗證"; }
|
||||
}
|
||||
|
||||
@media (max-width: 380px) {
|
||||
.ai-source-row {
|
||||
grid-template-columns: 14px minmax(0, 1fr);
|
||||
}
|
||||
.ai-source-row__state {
|
||||
grid-column: 2;
|
||||
}
|
||||
}
|
||||
|
||||
2
web/static/css/page-auto-import.css
vendored
2
web/static/css/page-auto-import.css
vendored
@@ -234,7 +234,7 @@
|
||||
font-weight: var(--momo-font-semibold);
|
||||
text-transform: uppercase;
|
||||
font-size: var(--momo-text-xs);
|
||||
letter-spacing: 0.04em;
|
||||
letter-spacing: 0;
|
||||
padding: var(--momo-space-3);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user