Merge origin/master: resolve CSS conflicts, keep both sides

This commit is contained in:
2026-06-04 16:22:40 +08:00
80 changed files with 5491 additions and 3557 deletions
+484 -69
View File
@@ -2831,10 +2831,10 @@
.product-clone-page[data-tool="clone"] .clone-ai-preview-showcase {
display: grid;
grid-template-columns: minmax(210px, 300px) 54px minmax(330px, 560px);
grid-template-columns: minmax(260px, 380px) 54px minmax(400px, 1fr);
align-items: center;
gap: 20px;
width: min(100%, 960px);
gap: 28px;
width: min(100%, 1120px);
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result,
@@ -2842,24 +2842,26 @@
position: relative;
overflow: hidden;
border: 1px solid #2c3038;
border-radius: 14px;
border-radius: 16px;
background: #1b1d23;
padding: 0;
cursor: pointer;
transition:
border-color 160ms ease,
transform 160ms ease;
border-color 200ms ease,
transform 200ms ease,
box-shadow 200ms ease;
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result:hover,
.product-clone-page[data-tool="clone"] .clone-ai-result-grid button:hover {
border-color: #00ff88;
transform: translateY(-1px);
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0, 255, 136, 0.1), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result:active,
.product-clone-page[data-tool="clone"] .clone-ai-result-grid button:active {
transform: scale(0.98);
transform: scale(0.97);
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result img,
@@ -2868,39 +2870,46 @@
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 300ms ease;
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result:hover img,
.product-clone-page[data-tool="clone"] .clone-ai-result-grid button:hover img {
transform: scale(1.03);
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result {
height: 360px;
height: 440px;
}
.product-clone-page[data-tool="clone"] .clone-ai-result-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
gap: 14px;
}
.product-clone-page[data-tool="clone"] .clone-ai-result-grid button {
height: 172px;
height: 210px;
}
.product-clone-page[data-tool="clone"] .clone-ai-result-grid button:first-child {
grid-column: 1 / -1;
height: 190px;
height: 240px;
}
.product-clone-page[data-tool="clone"] .clone-ai-main-result span,
.product-clone-page[data-tool="clone"] .clone-ai-result-grid span {
position: absolute;
left: 11px;
top: 11px;
max-width: calc(100% - 22px);
left: 12px;
top: 12px;
max-width: calc(100% - 24px);
overflow: hidden;
border: 1px solid #303540;
border: 1px solid rgba(48, 53, 64, 0.6);
border-radius: 999px;
background: #15171c;
background: rgba(21, 23, 28, 0.85);
backdrop-filter: blur(8px);
color: #d8deed;
padding: 6px 10px;
padding: 7px 13px;
font-size: 12px;
font-weight: 900;
text-overflow: ellipsis;
@@ -3000,6 +3009,346 @@
font-weight: 800;
}
/* ═══════════════════════════════════════════════
Flowchart Pipeline Layout (参考图风格)
流程图式布局:原图 → 分镜文本 → 分镜图 → 分镜视频
═══════════════════════════════════════════════ */
.clone-ai-flow-pipeline {
display: flex;
align-items: stretch;
gap: 0;
width: min(100%, 1100px);
min-height: 320px;
padding: 20px 0;
}
/* ── Source Node ── */
.clone-ai-flow-source {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
flex-shrink: 0;
}
.clone-ai-flow-node {
position: relative;
overflow: hidden;
border: 1px solid #2c3038;
border-radius: var(--radius-sm, 10px);
background: #1b1d23;
transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.clone-ai-flow-node:hover {
border-color: rgba(var(--accent-rgb), 0.4);
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.clone-ai-flow-node--source {
width: 160px;
height: 200px;
flex-shrink: 0;
}
.clone-ai-flow-node--source img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.clone-ai-flow-node__placeholder {
display: grid;
width: 100%;
height: 100%;
min-height: 80px;
place-items: center;
color: #565d6b;
font-size: 32px;
background: linear-gradient(135deg, #1b1d23 0%, #14161b 100%);
}
.clone-ai-flow-node__label {
color: #aeb8b1;
font-size: 13px;
font-weight: 700;
text-align: center;
}
.clone-ai-flow-node__tag {
position: absolute;
left: 8px;
top: 8px;
max-width: calc(100% - 16px);
overflow: hidden;
border: 1px solid #303540;
border-radius: 999px;
background: rgba(21, 23, 28, 0.92);
backdrop-filter: blur(6px);
color: #d8deed;
padding: 4px 10px;
font-size: 11px;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.clone-ai-flow-node__tag--accent {
border-color: rgba(var(--accent-rgb), 0.35);
background: rgba(var(--accent-rgb), 0.12);
color: var(--accent);
}
/* ── Text Node ── */
.clone-ai-flow-node--text {
min-width: 130px;
max-width: 160px;
padding: 16px 14px;
cursor: default;
}
.clone-ai-flow-node__text-content {
display: flex;
flex-direction: column;
gap: 6px;
}
.clone-ai-flow-node__text-title {
color: #eef2f6;
font-size: 14px;
font-weight: 800;
}
.clone-ai-flow-node__text-desc {
color: #758096;
font-size: 12px;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* ── Result Node ── */
.clone-ai-flow-node--result,
.clone-ai-flow-node--output {
width: 180px;
height: 140px;
flex-shrink: 0;
cursor: pointer;
}
.clone-ai-flow-node--result img,
.clone-ai-flow-node--output img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
/* ── Video Node ── */
.clone-ai-flow-node--video {
width: 160px;
height: 120px;
flex-shrink: 0;
}
/* ── Connector (分支连接线) ── */
.clone-ai-flow-connector {
display: flex;
align-items: center;
flex-shrink: 0;
width: 40px;
position: relative;
}
.clone-ai-flow-connector__trunk {
position: absolute;
left: 0;
top: 50%;
width: 20px;
height: 2px;
background: #3a3f48;
}
.clone-ai-flow-connector__branches {
position: absolute;
left: 20px;
top: 15%;
bottom: 15%;
width: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.clone-ai-flow-connector__branch {
position: relative;
width: 100%;
height: 2px;
background: #3a3f48;
}
.clone-ai-flow-connector__branch::before {
content: "";
position: absolute;
left: 0;
top: -8px;
width: 2px;
height: 18px;
background: #3a3f48;
}
.clone-ai-flow-connector__branch:last-child::before {
display: none;
}
.clone-ai-flow-connector__branches::before {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 2px;
background: #3a3f48;
}
/* ── Flow Arrow (节点间箭头) ── */
.clone-ai-flow-branch .clone-ai-flow-arrow {
width: 28px;
height: 16px;
flex-shrink: 0;
background: var(--accent);
clip-path: polygon(0 34%, 55% 34%, 55% 0, 100% 50%, 55% 100%, 55% 66%, 0 66%);
opacity: 0.7;
animation: clone-ai-arrow-pulse 1.6s ease-in-out infinite;
}
@keyframes clone-ai-arrow-pulse {
0%, 100% { opacity: 0.5; transform: translateX(0); }
50% { opacity: 1; transform: translateX(3px); }
}
/* ── Branches Container ── */
.clone-ai-flow-branches {
display: flex;
flex-direction: column;
gap: 16px;
flex: 1;
min-width: 0;
}
.clone-ai-flow-branch {
display: flex;
align-items: center;
gap: 10px;
}
/* ── Empty State Branches ── */
.clone-ai-flow-branches--empty .clone-ai-flow-branch {
opacity: 0.55;
}
.clone-ai-flow-branches--empty .clone-ai-flow-branch.is-generating {
opacity: 0.85;
}
.clone-ai-flow-branches--empty .clone-ai-flow-branch.is-generating .clone-ai-flow-node {
border-color: rgba(var(--accent-rgb), 0.25);
}
.clone-ai-flow-branches--empty .clone-ai-flow-branch.is-failed {
opacity: 0.7;
}
.clone-ai-flow-branches--empty .clone-ai-flow-branch.is-failed .clone-ai-flow-node {
border-color: rgba(255, 90, 95, 0.3);
}
/* ── Status Overlay ── */
.clone-ai-flow-status {
display: grid;
place-items: center;
align-content: center;
gap: 10px;
text-align: center;
padding: 16px 24px;
border: 1px solid #2c3038;
border-radius: var(--radius-md, 14px);
background: rgba(27, 29, 35, 0.85);
backdrop-filter: blur(8px);
width: min(100%, 480px);
}
.clone-ai-flow-status strong {
color: #d8deed;
font-size: 18px;
font-weight: 900;
}
.clone-ai-flow-status span {
color: #758096;
font-size: 14px;
font-weight: 600;
}
.clone-ai-flow-status .anticon {
color: var(--accent);
}
/* ── Flowchart Responsive ── */
@media (max-width: 900px) {
.clone-ai-flow-pipeline {
flex-direction: column;
align-items: center;
}
.clone-ai-flow-connector {
display: none;
}
.clone-ai-flow-source {
flex-direction: row;
gap: 16px;
}
.clone-ai-flow-node--source {
width: 100px;
height: 100px;
}
.clone-ai-flow-branches {
width: 100%;
}
.clone-ai-flow-branch {
flex-wrap: wrap;
justify-content: center;
}
.clone-ai-flow-node--result,
.clone-ai-flow-node--output {
width: 140px;
height: 110px;
}
.clone-ai-flow-node--text {
min-width: 100px;
}
}
/* ── Scope to clone tool + video output ── */
.product-clone-page[data-tool="clone"] .clone-ai-flow-pipeline {
width: min(100%, 1100px);
}
/* ═══════════════════════════════════════════════
End Flowchart Pipeline Styles
═══════════════════════════════════════════════ */
.product-clone-page .clone-ai-input-wrapper {
position: relative;
}
@@ -3453,8 +3802,8 @@
.product-clone-thumb-row,
.product-clone-ref-grid {
display: grid;
gap: 8px;
margin-top: 10px;
gap: 10px;
margin-top: 12px;
}
.product-clone-thumb-row {
@@ -3465,7 +3814,13 @@
.product-clone-ref-grid img {
width: 100%;
object-fit: cover;
border-radius: 8px;
border-radius: 10px;
transition: transform 250ms ease;
}
.product-clone-thumb-row img:hover,
.product-clone-ref-grid img:hover {
transform: scale(1.03);
}
.product-clone-thumb-row img {
@@ -3649,12 +4004,12 @@
display: grid;
align-content: center;
justify-items: center;
gap: 34px;
gap: 36px;
min-width: 0;
min-height: 0;
overflow: auto;
background: #f5f6f8;
padding: 42px;
padding: 48px;
}
.product-clone-preview__headline {
@@ -3678,21 +4033,29 @@
.product-clone-demo-board {
position: relative;
display: grid;
grid-template-columns: minmax(260px, 340px) 44px minmax(300px, 360px);
grid-template-columns: minmax(300px, 400px) 48px minmax(340px, 420px);
align-items: center;
gap: 30px;
width: min(100%, 780px);
border-radius: 22px;
gap: 34px;
width: min(100%, 920px);
border-radius: 24px;
background: #ffffff;
padding: 30px;
padding: 34px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.product-clone-source-card,
.product-clone-result-stack figure {
position: relative;
overflow: hidden;
border-radius: 14px;
border-radius: 16px;
background: #f2f4f7;
transition: transform 250ms ease, box-shadow 250ms ease;
}
.product-clone-source-card:hover,
.product-clone-result-stack figure:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.product-clone-source-card img,
@@ -3701,16 +4064,23 @@
width: 100%;
aspect-ratio: 1.55;
object-fit: cover;
transition: transform 300ms ease;
}
.product-clone-source-card:hover img,
.product-clone-result-stack figure:hover img {
transform: scale(1.02);
}
.product-clone-source-card span,
.product-clone-result-stack figcaption {
position: absolute;
top: 10px;
right: 10px;
top: 12px;
right: 12px;
border-radius: 999px;
background: #ffffff;
padding: 6px 10px;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(6px);
padding: 7px 13px;
color: #111827;
font-size: 12px;
font-weight: 800;
@@ -3759,7 +4129,7 @@
.product-clone-result-stack {
display: grid;
gap: 10px;
gap: 12px;
}
.product-clone-result-stack figure {
@@ -4509,19 +4879,25 @@
.product-set-demo-board {
display: grid;
grid-template-columns: 336px 40px 338px;
grid-template-columns: minmax(300px, 420px) 44px minmax(340px, 1fr);
align-items: center;
gap: 24px;
width: min(100%, 802px);
min-height: 336px;
gap: 28px;
width: min(100%, 960px);
min-height: 380px;
}
.product-set-demo-board figure {
position: relative;
overflow: hidden;
margin: 0;
border-radius: 12px;
border-radius: 14px;
background: #ffffff;
transition: transform 250ms ease, box-shadow 250ms ease;
}
.product-set-demo-board figure:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.product-set-demo-board img {
@@ -4529,6 +4905,11 @@
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 300ms ease;
}
.product-set-demo-board figure:hover img {
transform: scale(1.03);
}
.product-set-demo-board figcaption {
@@ -4538,35 +4919,43 @@
max-width: calc(100% - 24px);
overflow: hidden;
border-radius: 999px;
background: rgba(255, 255, 255, 0.86);
background: rgba(255, 255, 255, 0.88);
backdrop-filter: blur(6px);
color: #111827;
padding: 6px 10px;
font-size: 12px;
padding: 7px 14px;
font-size: 13px;
font-weight: 900;
text-overflow: ellipsis;
white-space: nowrap;
}
.product-set-main-card {
height: 336px;
height: 380px;
border-radius: 16px;
transition: transform 250ms ease, box-shadow 250ms ease;
}
.product-set-main-card:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.product-set-flow-arrow {
width: 40px;
height: 24px;
width: 44px;
height: 26px;
border-radius: 999px;
background: #b8c3d1;
background: linear-gradient(90deg, #b8c3d1, #d7dde6);
clip-path: polygon(0 28%, 58% 28%, 58% 0, 100% 50%, 58% 100%, 58% 72%, 0 72%);
}
.product-set-card-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
gap: 14px;
}
.product-set-card-grid figure {
height: 162px;
height: 184px;
}
.product-set-generated-note {
@@ -5020,13 +5409,13 @@
}
.product-clone-page[data-tool="set"] .product-set-demo-board {
grid-template-columns: minmax(360px, 486px) 44px minmax(360px, 486px);
gap: 28px;
width: min(100%, 1150px);
min-height: 576px;
grid-template-columns: minmax(380px, 1fr) 48px minmax(380px, 1fr);
gap: 32px;
width: min(100%, 1200px);
min-height: 620px;
border-radius: 32px;
background: #ffffff;
padding: 37px 30px;
padding: 40px 34px;
}
.product-clone-page[data-tool="set"] .product-set-demo-board figure {
@@ -5036,16 +5425,16 @@
}
.product-clone-page[data-tool="set"] .product-set-main-card {
height: 502px;
height: 540px;
background: #ffffff;
}
.product-clone-page[data-tool="set"] .product-set-card-grid {
gap: 18px;
gap: 20px;
}
.product-clone-page[data-tool="set"] .product-set-card-grid figure {
height: 242px;
height: 260px;
}
.product-clone-page[data-tool="set"] .product-set-demo-board figcaption {
@@ -6500,26 +6889,37 @@
.product-try-on-generated {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
width: min(100%, 766px);
border-radius: 18px;
gap: 14px;
width: min(100%, 820px);
border-radius: 20px;
background: #ffffff;
padding: 14px;
padding: 16px;
}
.product-try-on-generated figure {
position: relative;
overflow: hidden;
margin: 0;
border-radius: 12px;
border-radius: 14px;
background: #edf1f6;
transition: transform 250ms ease, box-shadow 250ms ease;
}
.product-try-on-generated figure:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.product-try-on-generated img {
display: block;
width: 100%;
height: 180px;
height: 200px;
object-fit: cover;
transition: transform 300ms ease;
}
.product-try-on-generated figure:hover img {
transform: scale(1.03);
}
.product-try-on-generated figcaption {
@@ -6527,8 +6927,9 @@
left: 10px;
bottom: 10px;
border-radius: 999px;
background: #ffffff;
padding: 5px 10px;
background: rgba(255, 255, 255, 0.88);
backdrop-filter: blur(6px);
padding: 6px 12px;
color: #111827;
font-size: 12px;
font-weight: 800;
@@ -7184,15 +7585,27 @@
overflow: hidden;
margin: 0;
border: 1px solid #dfe5ee;
border-radius: 10px;
border-radius: 12px;
background: #f5f6f8;
aspect-ratio: 1;
transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.product-set-thumb:hover {
border-color: #c6cdd8;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.product-set-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 250ms ease;
}
.product-set-thumb:hover img {
transform: scale(1.04);
}
.product-set-thumb button {
@@ -7200,12 +7613,13 @@
top: 6px;
right: 6px;
display: grid;
width: 24px;
height: 24px;
width: 26px;
height: 26px;
place-items: center;
border: 1px solid #dfe5ee;
border: 1px solid rgba(223, 229, 238, 0.7);
border-radius: 999px;
background: #ffffff;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(4px);
color: #111827;
cursor: pointer;
transition:
@@ -8081,6 +8495,7 @@
.ecommerce-template-apple-carousel.is-resetting .ecommerce-template-apple-card,
.ecommerce-template-apple-carousel.is-resetting .ecommerce-template-apple-card img {
transition: none;
}
.clone-ai-video-outfit-upload {
display: flex;
align-items: center;