Merge remote-tracking branch 'origin/master' into feat/profile-ui-polish
This commit is contained in:
@@ -16,43 +16,29 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Directional page transitions */
|
||||
.page-motion--enter.is-forward {
|
||||
animation: page-slide-in-forward 200ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
||||
}
|
||||
|
||||
.page-motion--enter.is-backward {
|
||||
animation: page-slide-in-backward 200ms var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
||||
/* Exit: fade + directional slide */
|
||||
.page-motion--exit {
|
||||
animation: page-out 180ms ease forwards;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.page-motion--exit.is-forward {
|
||||
animation: page-slide-out-forward 180ms ease both;
|
||||
animation: page-slide-out-forward 180ms ease forwards;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.page-motion--exit.is-backward {
|
||||
animation: page-slide-out-backward 180ms ease both;
|
||||
animation: page-slide-out-backward 180ms ease forwards;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@keyframes page-slide-in-forward {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
/* Cancel child's own entrance animation during exit */
|
||||
.page-motion--exit .page-motion {
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
@keyframes page-slide-in-backward {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
@keyframes page-out {
|
||||
to { opacity: 0; transform: translateY(-6px); }
|
||||
}
|
||||
|
||||
@keyframes page-slide-out-forward {
|
||||
@@ -67,4 +53,4 @@
|
||||
opacity: 0;
|
||||
transform: translateX(16px);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -65,18 +65,7 @@
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.page-motion--exit {
|
||||
animation: page-out 180ms ease both;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.page-motion--exit .page-motion {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
@keyframes page-out {
|
||||
to { opacity: 0; transform: translateY(-6px); }
|
||||
}
|
||||
/* page-motion--exit moved to page-transition.css */
|
||||
|
||||
.page-loading-center {
|
||||
display: flex;
|
||||
|
||||
@@ -592,6 +592,19 @@
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.studio-canvas-loading-spinner {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border: 3px solid rgba(var(--accent-rgb), 0.18);
|
||||
border-top-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
animation: canvas-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes canvas-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.studio-canvas-project-bar {
|
||||
right: 10px;
|
||||
|
||||
@@ -122,6 +122,16 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ecom-video-flowbar__stage-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: #53e5ff;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
animation: ecom-video-node-breathe 1.6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.ecom-video-flow-action {
|
||||
display: inline-grid;
|
||||
width: 38px;
|
||||
@@ -484,6 +494,197 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Empty state ─────────────────────────────── */
|
||||
.ecom-video-empty {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
color: #697486;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ── Flow map vertical stacking ────────────────── */
|
||||
.ecom-video-flow-map {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
padding: 20px 0 40px;
|
||||
}
|
||||
|
||||
/* ── Text nodes (plan steps) ──────────────────── */
|
||||
.ecom-video-flow-node--text {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
gap: 6px;
|
||||
width: clamp(64px, 7vw, 90px);
|
||||
min-height: 74px;
|
||||
padding: 12px 8px;
|
||||
border-color: #2a3d30;
|
||||
background: #131d1a;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--text.is-completed {
|
||||
border-color: #1c4d3a;
|
||||
background: #162820;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--text.is-pulsing {
|
||||
border-color: #53e5ff;
|
||||
animation: ecom-video-node-breathe 1.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node__text-icon {
|
||||
display: grid;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
place-items: center;
|
||||
border-radius: 999px;
|
||||
background: #1c4d3a;
|
||||
color: #34d399;
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--text.is-pulsing .ecom-video-flow-node__text-icon {
|
||||
background: #1a4d4d;
|
||||
color: #53e5ff;
|
||||
}
|
||||
|
||||
/* ── Node labels ──────────────────────────────── */
|
||||
.ecom-video-flow-node__label {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
color: #9fadb8;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--source .ecom-video-flow-node__label,
|
||||
.ecom-video-flow-node--text .ecom-video-flow-node__label {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* ── Image nodes (storyboard images) ───────────── */
|
||||
.ecom-video-flow-node--image {
|
||||
width: clamp(88px, 9vw, 128px);
|
||||
aspect-ratio: 9 / 13;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--image .ecom-video-flow-node__media {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--image .ecom-video-flow-node__label {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 6px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--image .ecom-video-flow-node__progress {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: auto;
|
||||
height: auto;
|
||||
background: none;
|
||||
color: #53e5ff;
|
||||
font-size: 15px;
|
||||
font-weight: 1000;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--image .ecom-video-flow-node__placeholder {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: #18231f;
|
||||
color: #7eeecf;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
/* ── Video nodes ──────────────────────────────── */
|
||||
.ecom-video-flow-node--video {
|
||||
width: clamp(88px, 9vw, 128px);
|
||||
aspect-ratio: 9 / 16;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--video .ecom-video-flow-node__label {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 6px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--video .ecom-video-flow-node__progress {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: auto;
|
||||
height: auto;
|
||||
background: none;
|
||||
color: #53e5ff;
|
||||
font-size: 15px;
|
||||
font-weight: 1000;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--video .ecom-video-flow-node__placeholder {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: #18231f;
|
||||
color: #7eeecf;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.ecom-video-flow-node--video .ecom-video-flow-node__media video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* ── Error label ──────────────────────────────── */
|
||||
.ecom-video-flow-node__error {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 24px;
|
||||
overflow: hidden;
|
||||
color: #ff9f9f;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* ── Scene strip overflow ─────────────────────── */
|
||||
.ecom-video-scene-strip--text {
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #414958 transparent;
|
||||
}
|
||||
|
||||
.ecom-video-scene-strip--text::-webkit-scrollbar {
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.ecom-video-scene-strip--text::-webkit-scrollbar-thumb {
|
||||
background: #414958;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.ecom-video-flowbar {
|
||||
grid-template-columns: auto 1fr;
|
||||
|
||||
@@ -520,6 +520,48 @@
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.script-eval-v5-retry-btn {
|
||||
margin-left: auto;
|
||||
min-width: 56px;
|
||||
padding: 4px 14px;
|
||||
border: 1px solid rgba(255, 107, 53, 0.35);
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: #ff6b35;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
|
||||
.script-eval-v5-retry-btn:hover:not(:disabled) {
|
||||
background: rgba(255, 107, 53, 0.15);
|
||||
}
|
||||
|
||||
.script-eval-v5-retry-btn:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.script-eval-v5-loading {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
gap: 12px;
|
||||
padding: 32px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.script-eval-v5-loading strong {
|
||||
color: var(--fg-body);
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.script-eval-v5-loading p {
|
||||
color: var(--fg-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.script-eval-v5-hero {
|
||||
margin-bottom: 18px;
|
||||
|
||||
@@ -4890,7 +4890,7 @@
|
||||
}
|
||||
|
||||
.management-status-trend {
|
||||
padding: 6px 14px 10px;
|
||||
padding: 12px 18px 16px;
|
||||
border-top: 1px solid var(--border-weak);
|
||||
}
|
||||
|
||||
|
||||
@@ -563,3 +563,266 @@
|
||||
overflow: auto;
|
||||
scrollbar-color: rgba(var(--accent-rgb), 0.42) transparent;
|
||||
}
|
||||
|
||||
/* ── Info button & popover ────────────────────── */
|
||||
.info-button {
|
||||
display: inline-grid;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
place-items: center;
|
||||
border: 1px solid rgba(var(--accent-rgb), 0.22);
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--fg-muted);
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
|
||||
}
|
||||
|
||||
.info-button:hover {
|
||||
color: var(--accent);
|
||||
border-color: rgba(var(--accent-rgb), 0.4);
|
||||
background: rgba(var(--accent-rgb), 0.06);
|
||||
}
|
||||
|
||||
.info-popover-anchor {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.info-popover {
|
||||
position: absolute;
|
||||
top: calc(100% + 10px);
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
min-width: 280px;
|
||||
max-width: min(360px, calc(100vw - 32px));
|
||||
padding: 20px;
|
||||
border-radius: 14px;
|
||||
background: var(--bg-panel);
|
||||
border: 1px solid var(--border-normal);
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
.info-popover dl {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
|
||||
.info-popover dt {
|
||||
color: var(--fg-muted);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.info-popover dd {
|
||||
margin: 0 0 0 0;
|
||||
color: var(--fg-body);
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.info-popover__links {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--border-weak);
|
||||
}
|
||||
|
||||
.info-popover__links a {
|
||||
color: var(--accent);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.info-popover__links a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* ── Admin monitor ──────────────────────────── */
|
||||
.admin-monitor-trigger {
|
||||
position: fixed;
|
||||
bottom: 16px;
|
||||
right: 16px;
|
||||
z-index: 200;
|
||||
display: grid;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
place-items: center;
|
||||
border: 1px solid rgba(var(--accent-rgb), 0.3);
|
||||
border-radius: 50%;
|
||||
background: var(--bg-panel);
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 12px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
.admin-monitor-trigger__dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
animation: admin-monitor-pulse 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes admin-monitor-pulse {
|
||||
0%, 100% { opacity: 0.4; transform: scale(1); }
|
||||
50% { opacity: 1; transform: scale(1.3); }
|
||||
}
|
||||
|
||||
.admin-monitor {
|
||||
position: fixed;
|
||||
bottom: 60px;
|
||||
right: 16px;
|
||||
z-index: 199;
|
||||
width: min(480px, calc(100vw - 32px));
|
||||
max-height: 70vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--border-normal);
|
||||
border-radius: 12px;
|
||||
background: var(--bg-panel);
|
||||
box-shadow: 0 8px 40px rgba(0,0,0,0.35);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.admin-monitor__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 12px 16px;
|
||||
border-bottom: 1px solid var(--border-weak);
|
||||
}
|
||||
|
||||
.admin-monitor__header strong {
|
||||
font-size: 13px;
|
||||
color: var(--fg-body);
|
||||
}
|
||||
|
||||
.admin-monitor__actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.admin-monitor__actions button {
|
||||
padding: 3px 12px;
|
||||
border: 1px solid var(--border-normal);
|
||||
border-radius: 5px;
|
||||
background: transparent;
|
||||
color: var(--fg-muted);
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.admin-monitor__actions button:hover:not(:disabled) {
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.admin-monitor__list {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.admin-monitor__empty {
|
||||
padding: 24px;
|
||||
text-align: center;
|
||||
color: var(--fg-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.admin-monitor__item {
|
||||
border-bottom: 1px solid var(--border-weak);
|
||||
}
|
||||
|
||||
.admin-monitor__item summary {
|
||||
display: grid;
|
||||
grid-template-columns: 60px 1fr 36px 100px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 4px;
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.admin-monitor__source {
|
||||
display: inline-block;
|
||||
padding: 2px 6px;
|
||||
border-radius: 3px;
|
||||
background: rgba(var(--accent-rgb), 0.12);
|
||||
color: var(--accent);
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.admin-monitor__msg {
|
||||
overflow: hidden;
|
||||
color: var(--fg-body);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-monitor__count {
|
||||
display: inline-block;
|
||||
min-width: 24px;
|
||||
padding: 1px 5px;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 107, 53, 0.15);
|
||||
color: #ff6b35;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.admin-monitor__item time {
|
||||
color: var(--fg-muted);
|
||||
font-size: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.admin-monitor__detail {
|
||||
padding: 8px 12px 12px;
|
||||
color: var(--fg-muted);
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.admin-monitor__detail pre {
|
||||
margin-top: 6px;
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
background: var(--bg-inset);
|
||||
font-size: 10px;
|
||||
max-height: 120px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.admin-monitor__pager {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
padding: 8px;
|
||||
border-top: 1px solid var(--border-weak);
|
||||
font-size: 11px;
|
||||
color: var(--fg-muted);
|
||||
}
|
||||
|
||||
.admin-monitor__pager button {
|
||||
padding: 2px 10px;
|
||||
border: 1px solid var(--border-normal);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--fg-muted);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.admin-monitor__pager button:hover:not(:disabled) {
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user