Codex/ecommerce history sync #29
@@ -752,6 +752,7 @@ const maxCloneProductImages = 20;
|
|||||||
const maxCloneReferenceImages = 20;
|
const maxCloneReferenceImages = 20;
|
||||||
const cloneVideoDurationMin = 5;
|
const cloneVideoDurationMin = 5;
|
||||||
const cloneVideoDurationMax = 45;
|
const cloneVideoDurationMax = 45;
|
||||||
|
const composerDurationOptions = [5, 10, 15];
|
||||||
const cloneVideoQualityOptions: Array<{ key: CloneVideoQualityKey; label: string; desc: string }> = [
|
const cloneVideoQualityOptions: Array<{ key: CloneVideoQualityKey; label: string; desc: string }> = [
|
||||||
{ key: "standard", label: "标准", desc: "快速出片" },
|
{ key: "standard", label: "标准", desc: "快速出片" },
|
||||||
{ key: "high", label: "高清", desc: "推荐" },
|
{ key: "high", label: "高清", desc: "推荐" },
|
||||||
@@ -875,6 +876,42 @@ const blobToDataUrl = (blob: Blob): Promise<string> =>
|
|||||||
reader.readAsDataURL(blob);
|
reader.readAsDataURL(blob);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function createLocalImageItems(files: File[], limit: number, prefix: string): CloneImageItem[] {
|
||||||
|
const selectedFiles = Array.from(files).slice(0, limit);
|
||||||
|
const stamp = Date.now();
|
||||||
|
return selectedFiles.map((file, index) => {
|
||||||
|
const localPreviewUrl = URL.createObjectURL(file);
|
||||||
|
const mimeType = normalizeEcommerceImageMime(file.type);
|
||||||
|
return {
|
||||||
|
id: `${prefix}-${stamp}-${index}`,
|
||||||
|
src: localPreviewUrl,
|
||||||
|
name: file.name,
|
||||||
|
file,
|
||||||
|
format: getImageFileFormat(file),
|
||||||
|
mimeType,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async function uploadImageItem(item: CloneImageItem): Promise<{ src?: string; ossKey?: string; width?: number; height?: number }> {
|
||||||
|
if (!item.file) return {};
|
||||||
|
const mimeType = normalizeEcommerceImageMime(item.file.type);
|
||||||
|
try {
|
||||||
|
const uploadBlob = item.file.type === mimeType ? item.file : new Blob([item.file], { type: mimeType });
|
||||||
|
const [uploaded, dimensions] = await Promise.all([
|
||||||
|
aiGenerationClient.uploadAssetBinary(uploadBlob, {
|
||||||
|
name: item.file.name,
|
||||||
|
mimeType,
|
||||||
|
scope: ecommerceOssScopes.productSource,
|
||||||
|
}),
|
||||||
|
readImageDimensions(item.src).catch(() => ({})),
|
||||||
|
]);
|
||||||
|
return { src: uploaded.url, ossKey: uploaded.ossKey, ...dimensions };
|
||||||
|
} catch {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async function createUploadedImageItems(files: File[], limit: number, prefix: string): Promise<CloneImageItem[]> {
|
async function createUploadedImageItems(files: File[], limit: number, prefix: string): Promise<CloneImageItem[]> {
|
||||||
const selectedFiles = Array.from(files).slice(0, limit);
|
const selectedFiles = Array.from(files).slice(0, limit);
|
||||||
const stamp = Date.now();
|
const stamp = Date.now();
|
||||||
@@ -1550,13 +1587,13 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
const cloneRatioOptions = baseCloneRatioOptions;
|
const cloneRatioOptions = baseCloneRatioOptions;
|
||||||
const composerRatioOptions = useMemo(
|
const composerRatioOptions = useMemo(
|
||||||
() => [
|
() => [
|
||||||
"1000×1000px 1:1",
|
"1000×1000px\u00a0\u00a0\u00a01:1",
|
||||||
"800×1200px 2:3",
|
"800×1200px\u00a0\u00a0\u00a02:3",
|
||||||
"1200×800px 3:2",
|
"1200×800px\u00a0\u00a0\u00a03:2",
|
||||||
"1200×900px 4:3",
|
"1200×900px\u00a0\u00a0\u00a04:3",
|
||||||
"900×1200px 3:4",
|
"900×1200px\u00a0\u00a0\u00a03:4",
|
||||||
"1080×1920px 9:16",
|
"1080×1920px\u00a0\u00a0\u00a09:16",
|
||||||
"1920×1080px 16:9",
|
"1920×1080px\u00a0\u00a0\u00a016:9",
|
||||||
],
|
],
|
||||||
[],
|
[],
|
||||||
);
|
);
|
||||||
@@ -1691,20 +1728,30 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const addSetImages = async (files: File[]) => {
|
const addSetImages = (files: File[]) => {
|
||||||
if (setImages.length >= 3) return;
|
if (setImages.length >= 3) return;
|
||||||
const imageFiles = notifyRejectedImages(files);
|
const imageFiles = notifyRejectedImages(files);
|
||||||
if (!imageFiles.length) return;
|
if (!imageFiles.length) return;
|
||||||
try {
|
const remainingSlots = 3 - setImages.length;
|
||||||
const nextImages = await createUploadedImageItems(imageFiles, 3 - setImages.length, "set");
|
if (remainingSlots <= 0) return;
|
||||||
setSetImages((current) => {
|
|
||||||
if (current.length >= 3) return current;
|
const localItems = createLocalImageItems(imageFiles, remainingSlots, "set");
|
||||||
return nextImages.length ? [...current, ...nextImages].slice(0, 3) : current;
|
setSetImages((current) => [...current, ...localItems].slice(0, 3));
|
||||||
});
|
setProductSetStatus("ready");
|
||||||
setProductSetStatus("ready");
|
|
||||||
} catch (err) {
|
Promise.all(localItems.map(async (item) => {
|
||||||
toast.error(err instanceof Error ? err.message : "商品图上传失败");
|
const uploaded = await uploadImageItem(item);
|
||||||
}
|
if (uploaded.src) URL.revokeObjectURL(item.src);
|
||||||
|
return { id: item.id, uploaded };
|
||||||
|
})).then((results) => {
|
||||||
|
const updateMap = new Map(results.map((result) => [result.id, result.uploaded]));
|
||||||
|
setSetImages((current) => current.map((item) => {
|
||||||
|
const update = updateMap.get(item.id);
|
||||||
|
return update ? { ...item, ...update } : item;
|
||||||
|
}));
|
||||||
|
}).catch(() => {
|
||||||
|
toast.error("套图后台上传失败,请检查网络后重试");
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSetUpload = (event: ChangeEvent<HTMLInputElement>) => {
|
const handleSetUpload = (event: ChangeEvent<HTMLInputElement>) => {
|
||||||
@@ -2789,20 +2836,33 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const addProductImages = async (files: File[]) => {
|
const addProductImages = (files: File[]) => {
|
||||||
const imageFiles = notifyRejectedImages(files);
|
const imageFiles = notifyRejectedImages(files);
|
||||||
if (!imageFiles.length) return;
|
if (!imageFiles.length) return;
|
||||||
try {
|
const remainingSlots = maxCloneProductImages - productImages.length;
|
||||||
const nextImages = await createUploadedImageItems(imageFiles, maxCloneProductImages - productImages.length, "product");
|
if (remainingSlots <= 0) return;
|
||||||
setProductImages((current) => {
|
|
||||||
if (current.length >= maxCloneProductImages) return current;
|
const localItems = createLocalImageItems(imageFiles, remainingSlots, "product");
|
||||||
return nextImages.length ? [...current, ...nextImages].slice(0, maxCloneProductImages) : current;
|
setProductImages((current) => [...current, ...localItems].slice(0, maxCloneProductImages));
|
||||||
});
|
setStatus("ready");
|
||||||
setStatus("ready");
|
setResults([]);
|
||||||
setResults([]);
|
|
||||||
} catch (err) {
|
Promise.all(localItems.map(async (item) => {
|
||||||
toast.error(err instanceof Error ? err.message : "商品图上传失败");
|
const uploaded = await uploadImageItem(item);
|
||||||
}
|
if (uploaded.src) {
|
||||||
|
URL.revokeObjectURL(item.src);
|
||||||
|
}
|
||||||
|
return { id: item.id, uploaded };
|
||||||
|
})).then((results) => {
|
||||||
|
const updateMap = new Map(results.map((result) => [result.id, result.uploaded]));
|
||||||
|
setProductImages((current) => current.map((item) => {
|
||||||
|
const update = updateMap.get(item.id);
|
||||||
|
if (!update) return item;
|
||||||
|
return { ...item, ...update };
|
||||||
|
}));
|
||||||
|
}).catch(() => {
|
||||||
|
toast.error("商品图后台上传失败,请检查网络后重试");
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleProductUpload = (event: ChangeEvent<HTMLInputElement>) => {
|
const handleProductUpload = (event: ChangeEvent<HTMLInputElement>) => {
|
||||||
@@ -2856,22 +2916,29 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const addCloneReferenceImages = async (files: File[]) => {
|
const addCloneReferenceImages = (files: File[]) => {
|
||||||
const imageFiles = notifyRejectedImages(files);
|
const imageFiles = notifyRejectedImages(files);
|
||||||
if (!imageFiles.length) return;
|
if (!imageFiles.length) return;
|
||||||
const remainingSlots = maxCloneReferenceImages - cloneReferenceImages.length;
|
const remainingSlots = maxCloneReferenceImages - cloneReferenceImages.length;
|
||||||
if (remainingSlots <= 0) return;
|
if (remainingSlots <= 0) return;
|
||||||
try {
|
|
||||||
const nextImages = await createUploadedImageItems(imageFiles, remainingSlots, "reference");
|
const localItems = createLocalImageItems(imageFiles, remainingSlots, "reference");
|
||||||
if (!nextImages.length) return;
|
setCloneReferenceImages((current) => [...current, ...localItems].slice(0, maxCloneReferenceImages));
|
||||||
setCloneReferenceImages((current) => {
|
hydrateCloneReferenceImageMeta(localItems);
|
||||||
if (current.length >= maxCloneReferenceImages) return current;
|
|
||||||
return nextImages.length ? [...current, ...nextImages].slice(0, maxCloneReferenceImages) : current;
|
Promise.all(localItems.map(async (item) => {
|
||||||
});
|
const uploaded = await uploadImageItem(item);
|
||||||
hydrateCloneReferenceImageMeta(nextImages);
|
if (uploaded.src) URL.revokeObjectURL(item.src);
|
||||||
} catch (err) {
|
return { id: item.id, uploaded };
|
||||||
toast.error(err instanceof Error ? err.message : "参考图上传失败");
|
})).then((results) => {
|
||||||
}
|
const updateMap = new Map(results.map((result) => [result.id, result.uploaded]));
|
||||||
|
setCloneReferenceImages((current) => current.map((item) => {
|
||||||
|
const update = updateMap.get(item.id);
|
||||||
|
return update ? { ...item, ...update } : item;
|
||||||
|
}));
|
||||||
|
}).catch(() => {
|
||||||
|
toast.error("参考图后台上传失败,请检查网络后重试");
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const removeCloneReferenceImage = (imageId: string) => {
|
const removeCloneReferenceImage = (imageId: string) => {
|
||||||
@@ -3327,23 +3394,38 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
};
|
};
|
||||||
}, [openCloneModelSelect]);
|
}, [openCloneModelSelect]);
|
||||||
|
|
||||||
|
const addGarmentImages = (files: File[]) => {
|
||||||
|
const uploadedFiles = notifyRejectedImages(files);
|
||||||
|
if (!uploadedFiles.length) return;
|
||||||
|
const remainingSlots = 5 - garmentImages.length;
|
||||||
|
if (remainingSlots <= 0) return;
|
||||||
|
|
||||||
|
const localItems = createLocalImageItems(uploadedFiles, remainingSlots, "garment");
|
||||||
|
setGarmentImages((current) => [...current, ...localItems].slice(0, 5));
|
||||||
|
setTryOnStatus("ready");
|
||||||
|
|
||||||
|
Promise.all(localItems.map(async (item) => {
|
||||||
|
const uploaded = await uploadImageItem(item);
|
||||||
|
if (uploaded.src) URL.revokeObjectURL(item.src);
|
||||||
|
return { id: item.id, uploaded };
|
||||||
|
})).then((results) => {
|
||||||
|
const updateMap = new Map(results.map((result) => [result.id, result.uploaded]));
|
||||||
|
setGarmentImages((current) => current.map((item) => {
|
||||||
|
const update = updateMap.get(item.id);
|
||||||
|
return update ? { ...item, ...update } : item;
|
||||||
|
}));
|
||||||
|
}).catch(() => {
|
||||||
|
toast.error("服饰图后台上传失败,请检查网络后重试");
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
const handleGarmentUpload = (event: ChangeEvent<HTMLInputElement>) => {
|
const handleGarmentUpload = (event: ChangeEvent<HTMLInputElement>) => {
|
||||||
const files = event.target.files;
|
const files = event.target.files;
|
||||||
if (!files?.length) return;
|
if (!files?.length) {
|
||||||
const uploadedFiles = notifyRejectedImages(Array.from(files));
|
|
||||||
if (!uploadedFiles.length) {
|
|
||||||
event.target.value = "";
|
event.target.value = "";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
void (async () => {
|
addGarmentImages(Array.from(files));
|
||||||
try {
|
|
||||||
const nextImages = await createUploadedImageItems(uploadedFiles, 5 - garmentImages.length, "garment");
|
|
||||||
setGarmentImages((current) => [...current, ...nextImages].slice(0, 5));
|
|
||||||
setTryOnStatus("ready");
|
|
||||||
} catch (err) {
|
|
||||||
toast.error(err instanceof Error ? err.message : "服饰图上传失败");
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
event.target.value = "";
|
event.target.value = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3379,20 +3461,30 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
reader.readAsDataURL(blob);
|
reader.readAsDataURL(blob);
|
||||||
});
|
});
|
||||||
|
|
||||||
const addDetailImages = async (files: File[]) => {
|
const addDetailImages = (files: File[]) => {
|
||||||
const uploadedFiles = notifyRejectedImages(files);
|
const uploadedFiles = notifyRejectedImages(files);
|
||||||
if (!uploadedFiles.length) return;
|
if (!uploadedFiles.length) return;
|
||||||
try {
|
const remainingSlots = 3 - detailProductImages.length;
|
||||||
const nextImages = await createUploadedImageItems(uploadedFiles, 3 - detailProductImages.length, "detail");
|
if (remainingSlots <= 0) return;
|
||||||
setDetailProductImages((current) => {
|
|
||||||
if (current.length >= 3) return current;
|
const localItems = createLocalImageItems(uploadedFiles, remainingSlots, "detail");
|
||||||
return nextImages.length ? [...current, ...nextImages].slice(0, 3) : current;
|
setDetailProductImages((current) => [...current, ...localItems].slice(0, 3));
|
||||||
});
|
setDetailStatus("ready");
|
||||||
setDetailStatus("ready");
|
setDetailResultUrl(null);
|
||||||
setDetailResultUrl(null);
|
|
||||||
} catch (err) {
|
Promise.all(localItems.map(async (item) => {
|
||||||
toast.error(err instanceof Error ? err.message : "详情图上传失败");
|
const uploaded = await uploadImageItem(item);
|
||||||
}
|
if (uploaded.src) URL.revokeObjectURL(item.src);
|
||||||
|
return { id: item.id, uploaded };
|
||||||
|
})).then((results) => {
|
||||||
|
const updateMap = new Map(results.map((result) => [result.id, result.uploaded]));
|
||||||
|
setDetailProductImages((current) => current.map((item) => {
|
||||||
|
const update = updateMap.get(item.id);
|
||||||
|
return update ? { ...item, ...update } : item;
|
||||||
|
}));
|
||||||
|
}).catch(() => {
|
||||||
|
toast.error("详情图后台上传失败,请检查网络后重试");
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const uploadCloneImages = async (images: CloneImageItem[]): Promise<string[]> => {
|
const uploadCloneImages = async (images: CloneImageItem[]): Promise<string[]> => {
|
||||||
@@ -5114,11 +5206,10 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
}
|
}
|
||||||
if (menuToRender === "platform") {
|
if (menuToRender === "platform") {
|
||||||
return (
|
return (
|
||||||
<div key={composerPopoverKey} className={`ecom-command-popover ecom-command-popover--list ecom-command-popover--ratio ecom-command-popover--platform${popoverClosingClass}`} style={composerPopoverStyle}>
|
<div key={composerPopoverKey} className={`ecom-command-popover ecom-command-popover--list ecom-command-popover--platforms${popoverClosingClass}`} style={composerPopoverStyle}>
|
||||||
{platformOptions.map((option) => (
|
{platformOptions.map((option) => (
|
||||||
<button key={option} type="button" className={platform === option ? "is-active" : ""} onClick={() => { handleClonePlatformChange(option); setComposerMenu(null); }}>
|
<button key={option} type="button" className={platform === option ? "is-active" : ""} onClick={() => { handleClonePlatformChange(option); setComposerMenu(null); }}>
|
||||||
{renderPlatformLogo(option)}
|
{option}
|
||||||
<span className="ecom-platform-name">{option}</span>
|
|
||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
@@ -5149,6 +5240,17 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (menuToRender === "settings" && activeCommerceScenario === "salesVideo") {
|
||||||
|
return (
|
||||||
|
<div key={composerPopoverKey} className={`ecom-command-popover ecom-command-popover--list ecom-command-popover--duration${popoverClosingClass}`} style={composerPopoverStyle}>
|
||||||
|
{composerDurationOptions.map((option) => (
|
||||||
|
<button key={option} type="button" className={cloneVideoDuration === option ? "is-active" : ""} onClick={() => { setCloneVideoDuration(option); setComposerMenu(null); }}>
|
||||||
|
{option}秒
|
||||||
|
</button>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<div key={composerPopoverKey} className={`ecom-command-popover ecom-command-popover--settings ecom-command-popover--settings-${cloneOutput}${popoverClosingClass}`} style={composerPopoverStyle}>
|
<div key={composerPopoverKey} className={`ecom-command-popover ecom-command-popover--settings ecom-command-popover--settings-${cloneOutput}${popoverClosingClass}`} style={composerPopoverStyle}>
|
||||||
{cloneOutput === "set" ? (
|
{cloneOutput === "set" ? (
|
||||||
@@ -5738,14 +5840,18 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
) : null}
|
) : null}
|
||||||
{shouldShowScenarioSettings ? (
|
{shouldShowScenarioSettings ? (
|
||||||
<div className="ecom-command-option-row ecom-command-option-row--settings">
|
<div className="ecom-command-option-row ecom-command-option-row--settings">
|
||||||
<button type="button" className={composerMenu === "platform" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("platform", event)}>
|
{activeCommerceScenario !== "salesVideo" && activeCommerceScenario !== "poster" ? (
|
||||||
<span className="ecom-command-option-icon" aria-hidden="true"><GlobalOutlined /></span>
|
<button type="button" className={composerMenu === "platform" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("platform", event)}>
|
||||||
<span>平台</span>{platform}
|
<span className="ecom-command-option-icon" aria-hidden="true"><GlobalOutlined /></span>
|
||||||
</button>
|
<span>平台</span>{platform}
|
||||||
<button type="button" className={composerMenu === "language" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("language", event)}>
|
</button>
|
||||||
<span className="ecom-command-option-icon" aria-hidden="true"><FileImageOutlined /></span>
|
) : null}
|
||||||
<span>语种</span>{language}
|
{activeCommerceScenario !== "salesVideo" ? (
|
||||||
</button>
|
<button type="button" className={composerMenu === "language" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("language", event)}>
|
||||||
|
<span className="ecom-command-option-icon" aria-hidden="true"><FileImageOutlined /></span>
|
||||||
|
<span>语种</span>{language}
|
||||||
|
</button>
|
||||||
|
) : null}
|
||||||
<button type="button" className={composerMenu === "ratio" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("ratio", event)}>
|
<button type="button" className={composerMenu === "ratio" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("ratio", event)}>
|
||||||
<span className="ecom-command-option-icon" aria-hidden="true"><TableOutlined /></span>
|
<span className="ecom-command-option-icon" aria-hidden="true"><TableOutlined /></span>
|
||||||
<span>比例</span>{getRatioDisplayParts(ratio).aspect}
|
<span>比例</span>{getRatioDisplayParts(ratio).aspect}
|
||||||
@@ -5753,7 +5859,8 @@ function ProductClonePage(_props: ProductClonePageProps = {}) {
|
|||||||
{scenarioAdvancedSettingsKeys.includes(activeCommerceScenario) ? (
|
{scenarioAdvancedSettingsKeys.includes(activeCommerceScenario) ? (
|
||||||
<button type="button" className={composerMenu === "settings" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("settings", event)}>
|
<button type="button" className={composerMenu === "settings" ? "is-active" : ""} onClick={(event) => toggleComposerMenu("settings", event)}>
|
||||||
<span className="ecom-command-option-icon" aria-hidden="true"><SettingOutlined /></span>
|
<span className="ecom-command-option-icon" aria-hidden="true"><SettingOutlined /></span>
|
||||||
<span>设置</span>{composerSettingLabel}
|
<span>{activeCommerceScenario === "salesVideo" ? "时长" : "设置"}</span>
|
||||||
|
{activeCommerceScenario === "salesVideo" ? `${cloneVideoDuration}秒` : composerSettingLabel}
|
||||||
</button>
|
</button>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -14328,9 +14328,8 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
row-gap: 10px !important;
|
row-gap: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings {
|
||||||
flex: 1 1 calc(50% - 5px) !important;
|
display: none !important;
|
||||||
justify-content: flex-start !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
@@ -14339,40 +14338,6 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 420px) {
|
@media (max-width: 420px) {
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings {
|
|
||||||
display: flex !important;
|
|
||||||
flex-wrap: nowrap !important;
|
|
||||||
gap: 7px !important;
|
|
||||||
justify-content: stretch !important;
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button {
|
|
||||||
display: inline-flex !important;
|
|
||||||
flex: 1 1 0 !important;
|
|
||||||
width: auto !important;
|
|
||||||
min-width: 0 !important;
|
|
||||||
max-width: none !important;
|
|
||||||
height: 42px !important;
|
|
||||||
min-height: 42px !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
justify-content: center !important;
|
|
||||||
font-size: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button > span:not(.ecom-command-option-icon) {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings .ecom-command-option-icon {
|
|
||||||
display: inline-grid !important;
|
|
||||||
width: 22px !important;
|
|
||||||
height: 22px !important;
|
|
||||||
min-width: 22px !important;
|
|
||||||
margin: 0 !important;
|
|
||||||
font-size: 14px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
align-items: center !important;
|
align-items: center !important;
|
||||||
@@ -19482,9 +19447,16 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
border-radius: 14px !important;
|
border-radius: 14px !important;
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
background: #181b1f !important;
|
background: linear-gradient(135deg, #1ebddb 0%, #0f829b 100%) !important;
|
||||||
box-shadow: 0 12px 28px rgba(16, 32, 44, 0.14) !important;
|
box-shadow: 0 12px 28px rgba(15, 130, 155, 0.22) !important;
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
|
transition: transform 160ms ease, box-shadow 160ms ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-ai-submit:hover {
|
||||||
|
background: linear-gradient(135deg, #21c8e3 0%, #1194ad 100%) !important;
|
||||||
|
box-shadow: 0 14px 32px rgba(15, 130, 155, 0.28) !important;
|
||||||
|
transform: translateY(-1px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
@@ -20125,3 +20097,378 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
color: #0f7895 !important;
|
color: #0f7895 !important;
|
||||||
font-weight: 600 !important;
|
font-weight: 600 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Platform picker: single-column scrollable list without logos, matching language/ratio style. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--platforms.ecom-command-popover--platforms {
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
flex-wrap: nowrap !important;
|
||||||
|
gap: 2px !important;
|
||||||
|
width: fit-content !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
max-width: calc(100vw - 48px) !important;
|
||||||
|
max-height: min(320px, calc(100dvh - 180px)) !important;
|
||||||
|
padding: 5px !important;
|
||||||
|
border: 1px solid rgba(16, 115, 204, 0.1) !important;
|
||||||
|
border-radius: 12px !important;
|
||||||
|
background: #ffffff !important;
|
||||||
|
box-shadow: 0 12px 32px rgba(16, 115, 204, 0.1) !important;
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
overflow-y: auto !important;
|
||||||
|
scrollbar-width: thin !important;
|
||||||
|
scrollbar-color: rgba(16, 115, 204, 0.28) transparent !important;
|
||||||
|
animation: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button {
|
||||||
|
display: flex !important;
|
||||||
|
flex: 0 0 auto !important;
|
||||||
|
align-items: center !important;
|
||||||
|
justify-content: center !important;
|
||||||
|
width: 100% !important;
|
||||||
|
height: 36px !important;
|
||||||
|
min-height: 36px !important;
|
||||||
|
padding: 0 16px !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-radius: 8px !important;
|
||||||
|
color: rgba(16, 32, 44, 0.78) !important;
|
||||||
|
background: transparent !important;
|
||||||
|
font-size: 14px !important;
|
||||||
|
font-weight: 500 !important;
|
||||||
|
white-space: nowrap !important;
|
||||||
|
animation: none !important;
|
||||||
|
transition: background 120ms ease, color 120ms ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button:hover {
|
||||||
|
background: rgba(30, 189, 219, 0.08) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
transform: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button.is-active {
|
||||||
|
background: rgba(30, 189, 219, 0.12) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--platforms.ecom-command-popover--platforms::-webkit-scrollbar {
|
||||||
|
width: 5px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--platforms.ecom-command-popover--platforms::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(16, 115, 204, 0.28) !important;
|
||||||
|
border-radius: 999px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Ratio & Language pickers: stronger active state so the selected option is clearly visible. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active {
|
||||||
|
background: rgba(30, 189, 219, 0.2) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active::before,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active::before {
|
||||||
|
position: absolute !important;
|
||||||
|
left: 8px !important;
|
||||||
|
top: 50% !important;
|
||||||
|
width: 5px !important;
|
||||||
|
height: 5px !important;
|
||||||
|
border-radius: 999px !important;
|
||||||
|
background: #1ebddb !important;
|
||||||
|
transform: translateY(-50%) scale(1) !important;
|
||||||
|
opacity: 1 !important;
|
||||||
|
content: "" !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active {
|
||||||
|
position: relative !important;
|
||||||
|
padding-left: 22px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Platform picker: stronger active state with a visible dot indicator. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button.is-active {
|
||||||
|
position: relative !important;
|
||||||
|
padding-left: 22px !important;
|
||||||
|
background: rgba(30, 189, 219, 0.2) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button.is-active::before {
|
||||||
|
position: absolute !important;
|
||||||
|
left: 8px !important;
|
||||||
|
top: 50% !important;
|
||||||
|
width: 5px !important;
|
||||||
|
height: 5px !important;
|
||||||
|
border-radius: 999px !important;
|
||||||
|
background: #1ebddb !important;
|
||||||
|
transform: translateY(-50%) scale(1) !important;
|
||||||
|
opacity: 1 !important;
|
||||||
|
content: "" !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Ratio/Language/Platform pickers: clean active state without dot indicator, keep color highlight only. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button.is-active {
|
||||||
|
position: static !important;
|
||||||
|
padding-left: 16px !important;
|
||||||
|
padding-right: 16px !important;
|
||||||
|
background: rgba(30, 189, 219, 0.2) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--ratio-picker.ecom-command-popover--ratio-picker button.is-active::before,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--languages.ecom-command-popover--languages button.is-active::before,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--platforms.ecom-command-popover--platforms button.is-active::before {
|
||||||
|
content: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Duration picker: single-column scrollable list for video duration, matching ratio/language style. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--duration.ecom-command-popover--duration {
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
flex-wrap: nowrap !important;
|
||||||
|
gap: 2px !important;
|
||||||
|
width: fit-content !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
max-width: calc(100vw - 48px) !important;
|
||||||
|
max-height: min(320px, calc(100dvh - 180px)) !important;
|
||||||
|
padding: 5px !important;
|
||||||
|
border: 1px solid rgba(16, 115, 204, 0.1) !important;
|
||||||
|
border-radius: 12px !important;
|
||||||
|
background: #ffffff !important;
|
||||||
|
box-shadow: 0 12px 32px rgba(16, 115, 204, 0.1) !important;
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
overflow-y: auto !important;
|
||||||
|
scrollbar-width: thin !important;
|
||||||
|
scrollbar-color: rgba(16, 115, 204, 0.28) transparent !important;
|
||||||
|
animation: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--duration.ecom-command-popover--duration button {
|
||||||
|
display: flex !important;
|
||||||
|
flex: 0 0 auto !important;
|
||||||
|
align-items: center !important;
|
||||||
|
justify-content: center !important;
|
||||||
|
width: 100% !important;
|
||||||
|
height: 36px !important;
|
||||||
|
min-height: 36px !important;
|
||||||
|
padding: 0 16px !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-radius: 8px !important;
|
||||||
|
color: rgba(16, 32, 44, 0.78) !important;
|
||||||
|
background: transparent !important;
|
||||||
|
font-size: 14px !important;
|
||||||
|
font-weight: 500 !important;
|
||||||
|
white-space: nowrap !important;
|
||||||
|
animation: none !important;
|
||||||
|
transition: background 120ms ease, color 120ms ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--duration.ecom-command-popover--duration button:hover {
|
||||||
|
background: rgba(30, 189, 219, 0.08) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
transform: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-popover--duration.ecom-command-popover--duration button.is-active {
|
||||||
|
background: rgba(30, 189, 219, 0.2) !important;
|
||||||
|
color: #0f7895 !important;
|
||||||
|
font-weight: 700 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--duration.ecom-command-popover--duration::-webkit-scrollbar {
|
||||||
|
width: 5px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--duration.ecom-command-popover--duration::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(16, 115, 204, 0.28) !important;
|
||||||
|
border-radius: 999px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Final composer rhythm: keep attachments compact and pin the toolbelt to the card bottom. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
justify-content: flex-start !important;
|
||||||
|
align-items: stretch !important;
|
||||||
|
gap: clamp(12px, 1.6vw, 18px) !important;
|
||||||
|
min-height: clamp(250px, 31vh, 316px) !important;
|
||||||
|
padding: clamp(18px, 2.05vw, 24px) clamp(18px, 2.3vw, 26px) clamp(16px, 1.9vw, 22px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
|
||||||
|
min-height: clamp(286px, 35vh, 340px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-asset-popover,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-popover {
|
||||||
|
display: flex !important;
|
||||||
|
flex-wrap: nowrap !important;
|
||||||
|
align-items: center !important;
|
||||||
|
align-self: start !important;
|
||||||
|
gap: 12px !important;
|
||||||
|
width: 100% !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
min-height: 64px !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 2px 2px !important;
|
||||||
|
border: 0 !important;
|
||||||
|
background: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
overflow-x: auto !important;
|
||||||
|
overflow-y: hidden !important;
|
||||||
|
scrollbar-width: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-popover::-webkit-scrollbar {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-add {
|
||||||
|
flex: 0 0 64px !important;
|
||||||
|
width: 64px !important;
|
||||||
|
height: 64px !important;
|
||||||
|
min-height: 64px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-radius: 15px !important;
|
||||||
|
background: rgba(30, 189, 219, 0.1) !important;
|
||||||
|
color: #0b8fb2 !important;
|
||||||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add span {
|
||||||
|
font-size: 24px !important;
|
||||||
|
line-height: 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add small {
|
||||||
|
margin-top: 4px !important;
|
||||||
|
color: #0f7f9e !important;
|
||||||
|
font-size: 14px !important;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-thumb {
|
||||||
|
flex: 0 0 64px !important;
|
||||||
|
width: 64px !important;
|
||||||
|
height: 64px !important;
|
||||||
|
min-height: 64px !important;
|
||||||
|
border-radius: 15px !important;
|
||||||
|
box-shadow: 0 12px 28px rgba(16, 115, 204, 0.12) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-option-row--settings {
|
||||||
|
align-self: start !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > textarea {
|
||||||
|
flex: 1 1 auto !important;
|
||||||
|
align-self: stretch !important;
|
||||||
|
width: 100% !important;
|
||||||
|
min-height: 86px !important;
|
||||||
|
height: auto !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
line-height: 1.58 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) > textarea {
|
||||||
|
min-height: 78px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
|
flex: 0 0 auto !important;
|
||||||
|
align-self: end !important;
|
||||||
|
width: 100% !important;
|
||||||
|
margin: auto 0 0 !important;
|
||||||
|
padding-top: clamp(12px, 1.45vw, 16px) !important;
|
||||||
|
border-top: 1px solid rgba(30, 189, 219, 0.12) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
|
||||||
|
min-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||||
|
gap: 12px !important;
|
||||||
|
min-height: 318px !important;
|
||||||
|
padding: 18px 16px 16px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
|
||||||
|
min-height: 336px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-asset-popover,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-popover {
|
||||||
|
gap: 10px !important;
|
||||||
|
min-height: 58px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-thumb {
|
||||||
|
flex-basis: 58px !important;
|
||||||
|
width: 58px !important;
|
||||||
|
height: 58px !important;
|
||||||
|
min-height: 58px !important;
|
||||||
|
border-radius: 14px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add span {
|
||||||
|
font-size: 22px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add small {
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > textarea,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) > textarea {
|
||||||
|
min-height: 96px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
|
min-height: 58px !important;
|
||||||
|
padding-top: 12px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 390px) {
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||||
|
min-height: 306px !important;
|
||||||
|
padding-inline: 14px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
|
||||||
|
min-height: 326px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-thumb {
|
||||||
|
flex-basis: 54px !important;
|
||||||
|
width: 54px !important;
|
||||||
|
height: 54px !important;
|
||||||
|
min-height: 54px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -12522,9 +12522,16 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
border-radius: 14px !important;
|
border-radius: 14px !important;
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
background: #181b1f !important;
|
background: linear-gradient(135deg, #1ebddb 0%, #0f829b 100%) !important;
|
||||||
box-shadow: 0 12px 28px rgba(16, 32, 44, 0.14) !important;
|
box-shadow: 0 12px 28px rgba(15, 130, 155, 0.22) !important;
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
|
transition: transform 160ms ease, box-shadow 160ms ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-ai-submit:hover {
|
||||||
|
background: linear-gradient(135deg, #21c8e3 0%, #1194ad 100%) !important;
|
||||||
|
box-shadow: 0 14px 32px rgba(15, 130, 155, 0.28) !important;
|
||||||
|
transform: translateY(-1px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
@@ -12639,3 +12646,179 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
overflow-y: auto !important;
|
overflow-y: auto !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Final composer rhythm: keep attachments compact and pin the toolbelt to the card bottom. */
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||||
|
display: flex !important;
|
||||||
|
flex-direction: column !important;
|
||||||
|
justify-content: flex-start !important;
|
||||||
|
align-items: stretch !important;
|
||||||
|
gap: clamp(12px, 1.6vw, 18px) !important;
|
||||||
|
min-height: clamp(250px, 31vh, 316px) !important;
|
||||||
|
padding: clamp(18px, 2.05vw, 24px) clamp(18px, 2.3vw, 26px) clamp(16px, 1.9vw, 22px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
|
||||||
|
min-height: clamp(286px, 35vh, 340px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-asset-popover,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-popover {
|
||||||
|
display: flex !important;
|
||||||
|
flex-wrap: nowrap !important;
|
||||||
|
align-items: center !important;
|
||||||
|
align-self: start !important;
|
||||||
|
gap: 12px !important;
|
||||||
|
width: 100% !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
min-height: 64px !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 2px 2px !important;
|
||||||
|
border: 0 !important;
|
||||||
|
background: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
overflow-x: auto !important;
|
||||||
|
overflow-y: hidden !important;
|
||||||
|
scrollbar-width: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-popover::-webkit-scrollbar {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-add {
|
||||||
|
flex: 0 0 64px !important;
|
||||||
|
width: 64px !important;
|
||||||
|
height: 64px !important;
|
||||||
|
min-height: 64px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-radius: 15px !important;
|
||||||
|
background: rgba(30, 189, 219, 0.1) !important;
|
||||||
|
color: #0b8fb2 !important;
|
||||||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add span {
|
||||||
|
font-size: 24px !important;
|
||||||
|
line-height: 1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add small {
|
||||||
|
margin-top: 4px !important;
|
||||||
|
color: #0f7f9e !important;
|
||||||
|
font-size: 14px !important;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-thumb {
|
||||||
|
flex: 0 0 64px !important;
|
||||||
|
width: 64px !important;
|
||||||
|
height: 64px !important;
|
||||||
|
min-height: 64px !important;
|
||||||
|
border-radius: 15px !important;
|
||||||
|
box-shadow: 0 12px 28px rgba(16, 115, 204, 0.12) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-option-row--settings {
|
||||||
|
align-self: start !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > textarea {
|
||||||
|
flex: 1 1 auto !important;
|
||||||
|
align-self: stretch !important;
|
||||||
|
width: 100% !important;
|
||||||
|
min-height: 86px !important;
|
||||||
|
height: auto !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
line-height: 1.58 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) > textarea {
|
||||||
|
min-height: 78px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
|
flex: 0 0 auto !important;
|
||||||
|
align-self: end !important;
|
||||||
|
width: 100% !important;
|
||||||
|
margin: auto 0 0 !important;
|
||||||
|
padding-top: clamp(12px, 1.45vw, 16px) !important;
|
||||||
|
border-top: 1px solid rgba(30, 189, 219, 0.12) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-actions {
|
||||||
|
min-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||||
|
gap: 12px !important;
|
||||||
|
min-height: 318px !important;
|
||||||
|
padding: 18px 16px 16px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
|
||||||
|
min-height: 336px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-asset-popover,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-popover {
|
||||||
|
gap: 10px !important;
|
||||||
|
min-height: 58px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-thumb {
|
||||||
|
flex-basis: 58px !important;
|
||||||
|
width: 58px !important;
|
||||||
|
height: 58px !important;
|
||||||
|
min-height: 58px !important;
|
||||||
|
border-radius: 14px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add span {
|
||||||
|
font-size: 22px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add small {
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > textarea,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) > textarea {
|
||||||
|
min-height: 96px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
|
min-height: 58px !important;
|
||||||
|
padding-top: 12px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 390px) {
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer {
|
||||||
|
min-height: 306px !important;
|
||||||
|
padding-inline: 14px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) {
|
||||||
|
min-height: 326px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-asset-thumb,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-add,
|
||||||
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-composer-wrap:not(.has-generated.is-compact) .clone-ai-input-wrapper.ecom-command-composer:has(.ecom-command-asset-popover) .ecom-command-asset-thumb {
|
||||||
|
flex-basis: 54px !important;
|
||||||
|
width: 54px !important;
|
||||||
|
height: 54px !important;
|
||||||
|
min-height: 54px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -3461,9 +3461,8 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
row-gap: 10px !important;
|
row-gap: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings {
|
||||||
flex: 1 1 calc(50% - 5px) !important;
|
display: none !important;
|
||||||
justify-content: flex-start !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
@@ -3472,40 +3471,6 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 420px) {
|
@media (max-width: 420px) {
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings {
|
|
||||||
display: flex !important;
|
|
||||||
flex-wrap: nowrap !important;
|
|
||||||
gap: 7px !important;
|
|
||||||
justify-content: stretch !important;
|
|
||||||
overflow: visible !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button {
|
|
||||||
display: inline-flex !important;
|
|
||||||
flex: 1 1 0 !important;
|
|
||||||
width: auto !important;
|
|
||||||
min-width: 0 !important;
|
|
||||||
max-width: none !important;
|
|
||||||
height: 42px !important;
|
|
||||||
min-height: 42px !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
justify-content: center !important;
|
|
||||||
font-size: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings button > span:not(.ecom-command-option-icon) {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-option-row.ecom-command-option-row--settings .ecom-command-option-icon {
|
|
||||||
display: inline-grid !important;
|
|
||||||
width: 22px !important;
|
|
||||||
height: 22px !important;
|
|
||||||
min-width: 22px !important;
|
|
||||||
margin: 0 !important;
|
|
||||||
font-size: 14px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .ecom-command-toolbar {
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
align-items: center !important;
|
align-items: center !important;
|
||||||
@@ -3560,15 +3525,18 @@ html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[d
|
|||||||
z-index: 160 !important;
|
z-index: 160 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--platform {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--platforms {
|
||||||
width: min(360px, calc(100% - var(--composer-popover-left, 0px))) !important;
|
width: fit-content !important;
|
||||||
max-width: min(360px, calc(100% - var(--composer-popover-left, 0px))) !important;
|
min-width: 0 !important;
|
||||||
|
max-width: min(320px, calc(100% - var(--composer-popover-left, 0px))) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages,
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--languages,
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--ratio-picker,
|
||||||
width: min(420px, calc(100% - var(--composer-popover-left, 0px))) !important;
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--duration {
|
||||||
max-width: min(420px, calc(100% - var(--composer-popover-left, 0px))) !important;
|
width: fit-content !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
max-width: min(320px, calc(100% - var(--composer-popover-left, 0px))) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--settings {
|
html body #root .ecommerce-standalone.ecommerce-standalone .product-clone-page[data-tool="clone"][data-tool="clone"] .clone-ai-input-wrapper.ecom-command-composer > .ecom-command-popover.ecom-command-popover--settings {
|
||||||
|
|||||||
Reference in New Issue
Block a user