feat: enhance ecommerce UI with typewriter animation, icon buttons, responsive layout, and refined design tokens
- EcommercePage.tsx: Add typewriter animation (useTypewriter hook) for slogan text with blinking cursor; replace text-based add/delete buttons with Ant Design icons (CloudUploadOutlined, DeleteOutlined); make command history panel responsive to window width (auto-collapse ≤1180px); update button labels from generic "添加" to context-specific "上传商品图" / "上传素材" - New useTypewriter.ts hook: Character-by-character typewriter animation with configurable speed and pause-before-loop, auto-resets on text change - reset.css: Add comprehensive HTML/body typography baseline (font-size, text-rendering, font-smoothing, line-height); extend reset coverage to select/canvas/svg elements; add overflow-wrap:anywhere for text-bearing elements; add min-width:0 to prevent form element overflow - primitives.css: Add reusable typography utility classes (ui-page-title, ui-section-title, ui-body-copy) with design token references - tokens.css: Expand design token set for typography scales, font weights, and leading values - ecommerce-standalone.css: Add 689 lines of standalone ecommerce page styles - Page CSS (ecommerce, image-workbench, more-tools, more, script-tokens, script-tokens-v5, studio-layout): Enhanced visual styles and layout refinements across all pages - app-shell.css: Shell-level layout and styling improvements
This commit is contained in:
@@ -5220,6 +5220,270 @@
|
||||
background-color: var(--smart-cutout-bg, #ffffff) !important;
|
||||
}
|
||||
|
||||
/* P0 page polish: premium AI commerce landing surface without touching logic. */
|
||||
.ecommerce-standalone__topbar {
|
||||
min-height: 66px !important;
|
||||
border-bottom-color: rgba(30, 189, 219, 0.18) !important;
|
||||
background: rgba(248, 249, 250, 0.86) !important;
|
||||
box-shadow: 0 12px 36px rgba(16, 115, 204, 0.055) !important;
|
||||
backdrop-filter: blur(18px) saturate(1.12) !important;
|
||||
-webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone__brand {
|
||||
min-height: 40px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone__brand strong {
|
||||
letter-spacing: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone__account button {
|
||||
min-height: 40px !important;
|
||||
border-radius: 12px !important;
|
||||
box-shadow: 0 10px 24px rgba(16, 115, 204, 0.055) !important;
|
||||
transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone__account button:hover {
|
||||
box-shadow: 0 14px 32px rgba(30, 189, 219, 0.12) !important;
|
||||
transform: translateY(-1px) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"]::before {
|
||||
opacity: 0.82 !important;
|
||||
filter: blur(70px) saturate(1.08) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-preview {
|
||||
background:
|
||||
radial-gradient(circle at 19% 8%, rgba(30, 189, 219, 0.13), transparent 24rem),
|
||||
radial-gradient(circle at 82% 11%, rgba(16, 115, 204, 0.09), transparent 26rem),
|
||||
linear-gradient(180deg, #fbfdfe 0%, #f8f9fa 54%, #f5f9fb 100%) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-title {
|
||||
color: #10202c !important;
|
||||
text-wrap: balance !important;
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||
border-color: rgba(30, 189, 219, 0.24) !important;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 254, 0.94)),
|
||||
#feffff !important;
|
||||
box-shadow:
|
||||
0 24px 70px rgba(16, 115, 204, 0.11),
|
||||
0 10px 26px rgba(30, 189, 219, 0.06),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
|
||||
transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:focus-within {
|
||||
border-color: rgba(30, 189, 219, 0.46) !important;
|
||||
box-shadow:
|
||||
0 30px 82px rgba(16, 115, 204, 0.14),
|
||||
0 0 0 4px rgba(30, 189, 219, 0.09),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 1) !important;
|
||||
transform: translateY(-1px) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-composer textarea {
|
||||
color: #10202c !important;
|
||||
caret-color: #1ebddb !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-composer textarea::placeholder {
|
||||
color: #7b929e !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-reference,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-option-row button,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__tools button,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__list button {
|
||||
transition:
|
||||
border-color 180ms ease,
|
||||
background 180ms ease,
|
||||
color 180ms ease,
|
||||
box-shadow 180ms ease,
|
||||
transform 180ms ease !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-option-row button:hover,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-option-row button.is-active {
|
||||
box-shadow: 0 10px 22px rgba(30, 189, 219, 0.08) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send {
|
||||
background: linear-gradient(135deg, #1073cc 0%, #1ebddb 100%) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send:hover:not(:disabled) {
|
||||
box-shadow: 0 18px 38px rgba(30, 189, 219, 0.28) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-send:disabled {
|
||||
border-color: rgba(30, 189, 219, 0.18) !important;
|
||||
background: #eef6f8 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board {
|
||||
gap: 0 !important;
|
||||
border-color: rgba(30, 189, 219, 0.16) !important;
|
||||
background: rgba(254, 255, 255, 0.96) !important;
|
||||
box-shadow:
|
||||
0 22px 56px rgba(16, 115, 204, 0.09),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button {
|
||||
isolation: isolate !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button::before,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button::after {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button span {
|
||||
width: 30px !important;
|
||||
height: 30px !important;
|
||||
border: 1px solid rgba(30, 189, 219, 0.16) !important;
|
||||
border-radius: 10px !important;
|
||||
background: rgba(30, 189, 219, 0.075) !important;
|
||||
color: #1073cc !important;
|
||||
font-size: 16px !important;
|
||||
transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button strong {
|
||||
max-width: 100% !important;
|
||||
letter-spacing: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:hover {
|
||||
color: #0f6678 !important;
|
||||
background: linear-gradient(180deg, rgba(30, 189, 219, 0.12), rgba(30, 189, 219, 0.055)) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:hover span {
|
||||
border-color: rgba(30, 189, 219, 0.36) !important;
|
||||
background: #ffffff !important;
|
||||
color: #1ebddb !important;
|
||||
transform: translateY(-1px) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history {
|
||||
border-left-color: rgba(30, 189, 219, 0.14) !important;
|
||||
background: rgba(254, 255, 255, 0.9) !important;
|
||||
box-shadow: -18px 0 46px rgba(16, 115, 204, 0.065) !important;
|
||||
backdrop-filter: blur(18px) saturate(1.08) !important;
|
||||
-webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__heading,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__empty,
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__list button {
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history__empty {
|
||||
color: #6d8592 !important;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 249, 250, 0.92)),
|
||||
#f8f9fa !important;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-composer-wrap.is-before-generate {
|
||||
left: 18px !important;
|
||||
right: 18px !important;
|
||||
width: auto !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-history {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
min-height: 224px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:not(:nth-child(6n + 1))::before {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:not(:nth-child(3n + 1))::before {
|
||||
position: absolute !important;
|
||||
top: 14px !important;
|
||||
bottom: 14px !important;
|
||||
left: 0 !important;
|
||||
width: 1px !important;
|
||||
content: "" !important;
|
||||
background: rgba(30, 189, 219, 0.12) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:nth-child(n + 4)::after {
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 14px !important;
|
||||
right: 14px !important;
|
||||
height: 1px !important;
|
||||
content: "" !important;
|
||||
background: rgba(30, 189, 219, 0.12) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.ecommerce-standalone__topbar {
|
||||
min-height: 60px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .clone-ai-preview {
|
||||
padding-inline: 18px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-title {
|
||||
font-size: clamp(26px, 8vw, 34px) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
min-height: 300px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:not(:nth-child(3n + 1))::before {
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:not(:nth-child(2n + 1))::before {
|
||||
position: absolute !important;
|
||||
top: 14px !important;
|
||||
bottom: 14px !important;
|
||||
left: 0 !important;
|
||||
width: 1px !important;
|
||||
content: "" !important;
|
||||
background: rgba(30, 189, 219, 0.12) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone .product-clone-page[data-tool="clone"] .ecom-command-quick-board button:nth-child(n + 3)::after {
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 14px !important;
|
||||
right: 14px !important;
|
||||
height: 1px !important;
|
||||
content: "" !important;
|
||||
background: rgba(30, 189, 219, 0.12) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ecommerce-soft-popover-out {
|
||||
from {
|
||||
opacity: 1;
|
||||
@@ -5232,3 +5496,428 @@
|
||||
transform: translate3d(0, 8px, 0) scale(0.982);
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- Typewriter cursor blink ---- */
|
||||
.typewriter-cursor {
|
||||
display: inline-block;
|
||||
color: #1ebddb;
|
||||
font-weight: 400;
|
||||
animation: typewriter-blink 0.8s steps(1) infinite;
|
||||
}
|
||||
|
||||
@keyframes typewriter-blink {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0; }
|
||||
}
|
||||
|
||||
/* #/imageWorkbench narrow viewport alignment and history drawer access. */
|
||||
@media (max-width: 1180px) {
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] {
|
||||
--ecom-history-offset: 0px !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-preview.clone-ai-preview {
|
||||
width: 100% !important;
|
||||
max-width: none !important;
|
||||
justify-items: center !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.ecom-command-composer-wrap {
|
||||
left: 50% !important;
|
||||
right: auto !important;
|
||||
width: min(920px, calc(100vw - 48px)) !important;
|
||||
max-width: calc(100vw - 48px) !important;
|
||||
transform: translateX(-50%) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"]:not(.is-history-collapsed) {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] > .product-clone-shell.product-clone-shell {
|
||||
transition:
|
||||
filter 260ms ease,
|
||||
opacity 260ms ease,
|
||||
transform 260ms ease !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"]:not(.is-history-collapsed) > .product-clone-shell.product-clone-shell {
|
||||
filter: blur(12px) saturate(0.94) !important;
|
||||
opacity: 0.36 !important;
|
||||
transform: scale(0.992) !important;
|
||||
pointer-events: none !important;
|
||||
user-select: none !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-history.ecom-command-history {
|
||||
position: fixed !important;
|
||||
top: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: 0 !important;
|
||||
z-index: 120 !important;
|
||||
display: grid !important;
|
||||
width: min(292px, calc(100vw - 72px)) !important;
|
||||
border-top-left-radius: 22px !important;
|
||||
border-left-color: rgba(30, 189, 219, 0.28) !important;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(240, 250, 255, 0.92), rgba(226, 243, 255, 0.9)),
|
||||
rgba(254, 255, 255, 0.94) !important;
|
||||
box-shadow:
|
||||
-28px 0 72px rgba(16, 115, 204, 0.18),
|
||||
-1px 0 0 rgba(255, 255, 255, 0.8) inset !important;
|
||||
backdrop-filter: blur(22px) saturate(1.12) !important;
|
||||
-webkit-backdrop-filter: blur(22px) saturate(1.12) !important;
|
||||
transform: translateX(0) !important;
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"].is-history-collapsed .ecom-command-history.ecom-command-history {
|
||||
display: grid !important;
|
||||
transform: translateX(100%) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"].is-history-collapsed .ecom-command-history__toggle.ecom-command-history__toggle {
|
||||
position: absolute !important;
|
||||
top: 50% !important;
|
||||
left: -52px !important;
|
||||
z-index: 130 !important;
|
||||
display: inline-flex !important;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-preview.clone-ai-preview {
|
||||
padding-inline: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.ecom-command-composer-wrap {
|
||||
width: calc(100vw - 32px) !important;
|
||||
max-width: calc(100vw - 32px) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-history.ecom-command-history {
|
||||
top: 0 !important;
|
||||
width: min(300px, calc(100vw - 58px)) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"].is-history-collapsed .ecom-command-history__toggle.ecom-command-history__toggle {
|
||||
left: -46px !important;
|
||||
width: 40px !important;
|
||||
height: 40px !important;
|
||||
min-height: 40px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* #/imageWorkbench mobile composer spacing refinement. */
|
||||
@media (max-width: 640px) {
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.ecom-command-composer-wrap.is-before-generate {
|
||||
top: clamp(26px, 5.6vh, 42px) !important;
|
||||
gap: 18px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-title.ecom-command-title {
|
||||
max-width: min(100%, 440px) !important;
|
||||
margin-inline: auto !important;
|
||||
font-size: clamp(29px, 7.8vw, 34px) !important;
|
||||
line-height: 1.14 !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||
min-height: 0 !important;
|
||||
grid-template-columns: minmax(0, 1fr) !important;
|
||||
grid-template-rows: auto auto !important;
|
||||
align-items: stretch !important;
|
||||
gap: 12px !important;
|
||||
padding: 16px !important;
|
||||
border-radius: 24px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer textarea {
|
||||
min-height: 74px !important;
|
||||
height: 74px !important;
|
||||
padding: 8px 0 2px !important;
|
||||
line-height: 1.6 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
justify-content: flex-start !important;
|
||||
gap: 10px !important;
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row {
|
||||
display: flex !important;
|
||||
flex-wrap: wrap !important;
|
||||
align-items: center !important;
|
||||
justify-content: flex-start !important;
|
||||
gap: 8px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row button,
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-upload-inline {
|
||||
flex: 1 1 calc(50% - 8px) !important;
|
||||
max-width: none !important;
|
||||
min-height: 38px !important;
|
||||
justify-content: center !important;
|
||||
padding-inline: 10px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-submit-row {
|
||||
align-self: flex-end !important;
|
||||
justify-content: flex-end !important;
|
||||
width: auto !important;
|
||||
min-width: 46px !important;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-send-button.ecom-command-send {
|
||||
width: 46px !important;
|
||||
height: 46px !important;
|
||||
min-width: 46px !important;
|
||||
min-height: 46px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap.ecom-command-composer-wrap.is-before-generate {
|
||||
top: 24px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-title.ecom-command-title {
|
||||
font-size: clamp(25px, 8vw, 30px) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row button,
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-upload-inline {
|
||||
flex-basis: calc(50% - 8px) !important;
|
||||
min-height: 36px !important;
|
||||
font-size: 12px !important;
|
||||
padding-inline: 8px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* #/imageWorkbench mobile header, headline, and upload clarity. */
|
||||
@media (max-width: 640px) {
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__topbar {
|
||||
display: grid !important;
|
||||
grid-template-columns: minmax(116px, 1fr) auto !important;
|
||||
align-items: center !important;
|
||||
gap: 8px !important;
|
||||
min-height: 62px !important;
|
||||
padding: 8px 12px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__brand {
|
||||
min-width: 0 !important;
|
||||
gap: 8px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__logo {
|
||||
flex: 0 0 36px !important;
|
||||
width: 36px !important;
|
||||
height: 36px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__brand strong {
|
||||
min-width: 0 !important;
|
||||
overflow: hidden !important;
|
||||
color: #10202c !important;
|
||||
font-size: 15px !important;
|
||||
font-weight: 900 !important;
|
||||
line-height: 1.08 !important;
|
||||
text-overflow: ellipsis !important;
|
||||
white-space: normal !important;
|
||||
word-break: keep-all !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__account {
|
||||
min-width: 0 !important;
|
||||
gap: 6px !important;
|
||||
justify-content: flex-end !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__credits {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
min-width: 0 !important;
|
||||
max-width: 94px !important;
|
||||
min-height: 38px !important;
|
||||
padding-inline: 10px !important;
|
||||
overflow: hidden !important;
|
||||
font-size: 13px !important;
|
||||
font-weight: 800 !important;
|
||||
text-overflow: ellipsis !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-profile-menu__trigger {
|
||||
min-width: 46px !important;
|
||||
min-height: 40px !important;
|
||||
padding: 0 7px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-profile-menu__trigger > span:not(.local-user-avatar) {
|
||||
max-width: 58px !important;
|
||||
overflow: hidden !important;
|
||||
text-overflow: ellipsis !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-title.ecom-command-title {
|
||||
max-width: min(92vw, 520px) !important;
|
||||
background: linear-gradient(92deg, #10202c 0%, #123d5a 46%, #1073cc 72%, #1ebddb 100%) !important;
|
||||
-webkit-background-clip: text !important;
|
||||
background-clip: text !important;
|
||||
color: transparent !important;
|
||||
text-shadow: 0 16px 40px rgba(16, 115, 204, 0.12) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-reference:not(.ecom-command-reference--inline) {
|
||||
min-height: 54px !important;
|
||||
grid-auto-flow: column !important;
|
||||
grid-template-columns: auto minmax(0, auto) !important;
|
||||
justify-content: center !important;
|
||||
gap: 10px !important;
|
||||
border-style: solid !important;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(245, 253, 255, 0.98), rgba(231, 249, 254, 0.92)) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-reference:not(.ecom-command-reference--inline) span {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-reference:not(.ecom-command-reference--inline) strong {
|
||||
max-width: none !important;
|
||||
font-size: 13px !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-reference--inline {
|
||||
order: -1 !important;
|
||||
flex-basis: 100% !important;
|
||||
justify-content: center !important;
|
||||
gap: 8px !important;
|
||||
color: #0f6678 !important;
|
||||
border-color: rgba(30, 189, 219, 0.32) !important;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(241, 252, 255, 0.98), rgba(229, 248, 253, 0.92)) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-reference--inline span {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__topbar {
|
||||
grid-template-columns: minmax(92px, 1fr) auto !important;
|
||||
gap: 6px !important;
|
||||
padding-inline: 10px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__brand strong {
|
||||
font-size: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__brand strong::before {
|
||||
content: "OmniAI" !important;
|
||||
font-size: 15px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-standalone__credits {
|
||||
max-width: 88px !important;
|
||||
min-height: 36px !important;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-profile-menu__trigger {
|
||||
width: 42px !important;
|
||||
min-width: 42px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .ecommerce-profile-menu__trigger > span:not(.local-user-avatar) {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* #/imageWorkbench unified headline tone and asset removal affordance. */
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-title.ecom-command-title {
|
||||
max-width: min(920px, 92vw) !important;
|
||||
margin-inline: auto !important;
|
||||
background:
|
||||
linear-gradient(96deg, #10202c 0%, #164359 36%, #0f829b 68%, #18bfd2 100%) !important;
|
||||
-webkit-background-clip: text !important;
|
||||
background-clip: text !important;
|
||||
color: transparent !important;
|
||||
text-shadow: 0 18px 46px rgba(15, 130, 155, 0.13) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .typewriter-cursor {
|
||||
color: #18bfd2 !important;
|
||||
text-shadow: 0 0 18px rgba(24, 191, 210, 0.28) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb > button {
|
||||
width: 30px !important;
|
||||
height: 30px !important;
|
||||
min-width: 30px !important;
|
||||
min-height: 30px !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.78) !important;
|
||||
border-radius: 999px !important;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(202, 53, 84, 0.96), rgba(145, 42, 68, 0.96)) !important;
|
||||
box-shadow:
|
||||
0 12px 28px rgba(145, 42, 68, 0.24),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
|
||||
color: #fff !important;
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
transform: translate(6px, -6px) scale(0.92) !important;
|
||||
transition:
|
||||
opacity 160ms ease,
|
||||
transform 160ms ease,
|
||||
box-shadow 160ms ease,
|
||||
visibility 160ms ease !important;
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb:hover > button,
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb:focus-within > button {
|
||||
opacity: 1 !important;
|
||||
pointer-events: auto !important;
|
||||
transform: translate(0, 0) scale(1) !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb > button:hover {
|
||||
box-shadow:
|
||||
0 14px 32px rgba(145, 42, 68, 0.32),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
|
||||
transform: translate(0, 0) scale(1.04) !important;
|
||||
}
|
||||
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb > button .anticon {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
.ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb > button {
|
||||
opacity: 1 !important;
|
||||
pointer-events: auto !important;
|
||||
transform: translate(0, 0) scale(1) !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user