feat: 首页响应式视觉升级与全局UI细节打磨
本次提交包含以下改进: ## 1. 首页轮播卡片响应式重构 (HomePage.tsx + home.css) - 将旋转木马卡片偏移量从固定px值改为clamp()流式单位,随视口宽度自适应缩放 - 使用calc(0px - ...)替代乘法计算方向偏移,兼容CSS变量传递 - 轮播舞台新增mask-image渐变遮罩,边缘卡片自然淡出 - 非激活卡片增加saturate/brightness滤镜,强化主次视觉层级 - 激活卡与非激活卡分别设置图片filter效果 - 移除旧carousel-card-label样式 - 多断点适配:1200px/980px/720px/480px逐级调整卡片尺寸和舞台高度 ## 2. 首页入口按钮重设计 (HomePage.tsx + home.css) - 按钮文案从'新手/老手/电商'改为'快速生成/专业创作/电商出图' - 每个按钮新增small副标题('新手友好'/'画布工作流'/'商品视觉') - 主按钮(专业创作)使用渐变绿色背景+发光阴影,新建--primary small样式 - 普通按钮玻璃态背景+内阴影,hover绿色边框高亮 - 720px以下单列全宽布局,按钮居中 ## 3. 首页全页视觉强化 (home.css) - Scrim层三重渐变叠加+radial光晕 - Hero区域文字text-shadow + text-wrap: balance排版 - Feature页面::before叠加渐变遮罩 - Feature Visual卡片增加边框/阴影/背景三层嵌套 - Experience区域斜向分割线装饰背景 - Cookie Consent弹窗玻璃态重设计,移动端自适应 ## 4. 首页工具盒区域打磨 (toolbox.css) - 全新CSS变量(--toolbox-radius-card/inner) - 工具盒整体深色渐变背景+radial光晕 - Shell容器max-width + clamp流式padding - 左侧品牌区域标题/brand-icon/subtitle重设计 - 工具列表项、工作流卡片统一玻璃态风格 - 工具卡片hover上浮4px+绿色边框+阴影增强 - @media: 1160px/980px/680px/420px四断点响应式 ## 5. 工具盒卡片布局简化 (MorePage.tsx + more.css) - 核心工具卡片移除独立icon区域,改为单列网格布局 - 普通工具卡片隐藏.more-card__icon(近期记录除外) - 预览图aspect-ratio从16/9改为4/3,内边距优化 - 移动端移除featured-icon相关样式 ## 6. 脚本评审Showcase响应式改造 (script-review-showcase.css) - 主容器从@media切换为@container查询,跟随父容器自适应 - 新增880px/720px/560px三档container断点 - 图表列在720px以下改为水平进度条布局(bar从垂直改水平) - 图表列增加卡片边框/圆角/背景 - 品牌区域、评分标签、流程卡片逐级压缩 - @media保留外层padding控制 ## 7. 通知中心UI修复 (dark-green.css) - notification-center改为inline-flex定位锚点 - 面板改为absolute+flex列布局,修复定位偏移 - 列表flex自适应高度+overscroll-behavior: contain - 移动端面板右偏移clamp适配,箭头位置同步 - 高度单位从vh改为dvh,避免移动浏览器地址栏干扰
This commit is contained in:
+533
-15
@@ -402,21 +402,6 @@
|
||||
transform: translateZ(20px) scale(1.02);
|
||||
}
|
||||
|
||||
.omni-home__carousel-card-label {
|
||||
position: absolute;
|
||||
bottom: 12px;
|
||||
left: 14px;
|
||||
z-index: 2;
|
||||
padding: 4px 12px;
|
||||
border-radius: 999px;
|
||||
background: rgba(var(--accent-rgb, 0, 255, 136), 0.16);
|
||||
border: 1px solid rgba(var(--accent-rgb, 0, 255, 136), 0.24);
|
||||
color: var(--fg-body, #f3f5f2);
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.omni-home__carousel-card:hover {
|
||||
box-shadow:
|
||||
0 28px 58px rgb(0 0 0 / 34%),
|
||||
@@ -2479,3 +2464,536 @@
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Home page product polish and responsive hardening ===== */
|
||||
.web-shell[data-view="home"] .omni-home {
|
||||
--home-card-radius: 14px;
|
||||
--home-panel-radius: 18px;
|
||||
--home-safe-inline: clamp(16px, 4.6vw, 72px);
|
||||
scroll-padding-top: 16px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__scrim {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(5, 8, 13, 0.82), rgba(5, 8, 13, 0.52) 38%, rgba(5, 8, 13, 0.9)),
|
||||
radial-gradient(circle at 50% 24%, rgba(var(--accent-rgb), 0.1), transparent 36%),
|
||||
linear-gradient(90deg, rgba(5, 8, 13, 0.86), rgba(5, 8, 13, 0.48) 48%, rgba(5, 8, 13, 0.86));
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__shell {
|
||||
padding: clamp(28px, 4.4vw, 58px) var(--home-safe-inline) clamp(34px, 4.8vw, 70px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__hero {
|
||||
width: min(100%, 1240px);
|
||||
gap: clamp(16px, 2vw, 24px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__copy {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__copy h1 {
|
||||
max-width: min(100%, 920px);
|
||||
white-space: normal;
|
||||
text-wrap: balance;
|
||||
font-size: clamp(34px, 4vw, 62px);
|
||||
letter-spacing: 0;
|
||||
text-shadow: 0 18px 54px rgb(0 0 0 / 34%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__copy p {
|
||||
max-width: 680px;
|
||||
color: rgb(235 245 240 / 72%);
|
||||
font-size: clamp(14px, 1.25vw, 18px);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__actions {
|
||||
width: min(100%, 620px);
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry {
|
||||
min-height: 64px;
|
||||
border-color: rgb(255 255 255 / 11%);
|
||||
border-radius: 12px;
|
||||
background:
|
||||
linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 3%)),
|
||||
rgb(12 16 17 / 78%);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgb(255 255 255 / 8%),
|
||||
0 16px 34px rgb(0 0 0 / 22%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry > span:not(.anticon) {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
justify-items: center;
|
||||
min-width: 0;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry small {
|
||||
color: rgb(235 245 240 / 48%);
|
||||
font-size: 11px;
|
||||
font-weight: 760;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry--primary small {
|
||||
color: rgb(6 16 20 / 62%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry:hover {
|
||||
border-color: rgb(0 255 136 / 34%);
|
||||
background:
|
||||
linear-gradient(180deg, rgb(255 255 255 / 9%), rgb(255 255 255 / 4%)),
|
||||
rgb(17 22 22 / 88%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry--primary,
|
||||
.web-shell[data-view="home"] .omni-home__entry--primary:hover {
|
||||
border-color: rgb(0 255 136 / 82%);
|
||||
background:
|
||||
linear-gradient(180deg, rgb(88 255 172 / 100%), rgb(0 255 136 / 100%));
|
||||
box-shadow:
|
||||
0 18px 42px rgb(0 255 136 / 14%),
|
||||
inset 0 1px 0 rgb(255 255 255 / 28%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel {
|
||||
width: min(100%, 1180px);
|
||||
min-height: clamp(380px, 36vw, 560px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage {
|
||||
width: min(100%, 1180px);
|
||||
height: clamp(360px, 34vw, 530px);
|
||||
overflow: hidden;
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
|
||||
mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card {
|
||||
width: clamp(500px, 45vw, 760px);
|
||||
height: clamp(281px, 25.31vw, 428px);
|
||||
border: 1px solid rgb(255 255 255 / 5%);
|
||||
border-radius: var(--home-panel-radius);
|
||||
background:
|
||||
linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(0 0 0 / 5%)),
|
||||
#07100f;
|
||||
box-shadow:
|
||||
0 18px 46px rgb(0 0 0 / 30%),
|
||||
inset 0 1px 0 rgb(255 255 255 / 8%),
|
||||
inset 0 0 0 1px rgb(255 255 255 / 2%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card::before {
|
||||
background:
|
||||
linear-gradient(180deg, rgb(2 12 12 / 18%), transparent 34%, rgb(3 9 10 / 30%)),
|
||||
linear-gradient(90deg, rgb(4 10 12 / 38%), transparent 24%, transparent 76%, rgb(4 10 12 / 38%)),
|
||||
radial-gradient(circle at 50% 58%, rgb(0 255 136 / 8%), transparent 54%);
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 3;
|
||||
border-radius: inherit;
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgb(255 255 255 / 4%),
|
||||
inset 0 -42px 64px rgb(2 8 9 / 32%),
|
||||
inset 0 34px 56px rgb(255 255 255 / 4%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card.is-active {
|
||||
border-color: rgb(255 255 255 / 7%);
|
||||
box-shadow:
|
||||
0 26px 70px rgb(0 0 0 / 38%),
|
||||
0 0 0 1px rgb(255 255 255 / 4%),
|
||||
0 0 46px rgb(0 0 0 / 18%),
|
||||
inset 0 1px 0 rgb(255 255 255 / 10%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card:not(.is-active) {
|
||||
filter: saturate(0.62) brightness(0.66) contrast(0.96);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage .omni-home__carousel-card img,
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage .omni-home__carousel-card.is-active img {
|
||||
object-fit: contain;
|
||||
transform: translateZ(12px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage .omni-home__carousel-card img {
|
||||
filter:
|
||||
saturate(0.72)
|
||||
contrast(0.98)
|
||||
brightness(0.72)
|
||||
hue-rotate(8deg)
|
||||
drop-shadow(0 18px 18px rgb(0 0 0 / 18%));
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage .omni-home__carousel-card.is-active img {
|
||||
filter:
|
||||
saturate(0.9)
|
||||
contrast(1.03)
|
||||
brightness(0.88)
|
||||
hue-rotate(6deg)
|
||||
drop-shadow(0 22px 22px rgb(0 0 0 / 18%));
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page {
|
||||
padding-inline: var(--home-safe-inline);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page::before {
|
||||
background:
|
||||
linear-gradient(90deg, rgb(5 8 13 / 96%) 0%, rgb(5 8 13 / 80%) 40%, rgb(5 8 13 / 52%) 100%),
|
||||
linear-gradient(180deg, rgb(255 255 255 / 4%), transparent 34%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-visual {
|
||||
border-radius: var(--home-panel-radius);
|
||||
border-color: rgb(255 255 255 / 10%);
|
||||
background:
|
||||
linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%)),
|
||||
#0d1111;
|
||||
box-shadow:
|
||||
0 24px 68px rgb(0 0 0 / 34%),
|
||||
inset 0 1px 0 rgb(255 255 255 / 8%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-copy h2,
|
||||
.web-shell[data-view="home"] .omni-home__experience-copy h2 {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-copy p,
|
||||
.web-shell[data-view="home"] .omni-home__experience-copy p {
|
||||
color: rgb(232 238 236 / 74%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-script,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-model,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-ecommerce {
|
||||
padding-inline: clamp(10px, 1.8vw, 28px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-script .omni-home__feature-visual,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-model .omni-home__feature-visual,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-ecommerce .omni-home__feature-visual {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience {
|
||||
background:
|
||||
linear-gradient(112deg, rgb(0 255 136 / 10%) 0 1px, transparent 1px 20%),
|
||||
linear-gradient(68deg, rgb(0 255 136 / 7%) 0 1px, transparent 1px 22%),
|
||||
linear-gradient(180deg, #070b10 0%, #05080d 100%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience-route {
|
||||
border-radius: var(--home-card-radius);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] :is(
|
||||
.omni-home__shell,
|
||||
.omni-home__feature-page,
|
||||
.omni-home__toolbox-page,
|
||||
.omni-home__experience
|
||||
) {
|
||||
scroll-margin-top: 64px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent {
|
||||
right: clamp(14px, 2vw, 24px);
|
||||
bottom: 12px;
|
||||
width: min(560px, calc(100vw - 28px));
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border-color: rgb(0 255 136 / 20%);
|
||||
border-radius: 13px;
|
||||
background:
|
||||
linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 3%)),
|
||||
rgb(13 17 18 / 92%);
|
||||
box-shadow:
|
||||
0 18px 46px rgb(0 0 0 / 30%),
|
||||
inset 0 1px 0 rgb(255 255 255 / 7%);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent strong {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent p {
|
||||
margin-top: 4px;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
line-height: 1.32;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent__actions {
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent__actions a,
|
||||
.web-shell[data-view="home"] .cookie-consent__actions button {
|
||||
min-height: 32px;
|
||||
padding-inline: 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 1200px) {
|
||||
.web-shell[data-view="home"] .omni-home__carousel {
|
||||
min-height: clamp(340px, 42vw, 500px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage {
|
||||
width: min(100%, 1020px);
|
||||
height: clamp(320px, 39vw, 470px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card {
|
||||
width: clamp(470px, 57vw, 660px);
|
||||
height: clamp(264px, 32.06vw, 371px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.web-shell[data-view="home"] .omni-home {
|
||||
scroll-snap-type: none;
|
||||
overscroll-behavior-y: auto;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__shell {
|
||||
min-height: auto;
|
||||
padding-top: clamp(24px, 4vw, 38px);
|
||||
padding-bottom: clamp(34px, 6vw, 58px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__hero {
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__actions {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry {
|
||||
min-height: 58px;
|
||||
padding-inline: 18px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry small {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel {
|
||||
width: min(100%, 820px);
|
||||
min-height: clamp(290px, 54vw, 430px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage {
|
||||
width: min(100%, 820px);
|
||||
height: clamp(280px, 51vw, 410px);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-deck {
|
||||
transform: scale(0.96);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page,
|
||||
.web-shell[data-view="home"] .omni-home__experience {
|
||||
min-height: auto;
|
||||
padding-block: clamp(44px, 7vw, 72px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-copy h2,
|
||||
.web-shell[data-view="home"] .omni-home__experience-copy h2 {
|
||||
font-size: clamp(34px, 7vw, 58px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-copy p,
|
||||
.web-shell[data-view="home"] .omni-home__experience-copy p {
|
||||
font-size: clamp(15px, 2.4vw, 20px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-script .omni-home__feature-visual,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-model .omni-home__feature-visual,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-ecommerce .omni-home__feature-visual {
|
||||
height: auto;
|
||||
min-height: clamp(520px, 78vw, 720px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience {
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience-visual {
|
||||
min-height: 260px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.web-shell[data-view="home"] .omni-home__copy h1 {
|
||||
font-size: clamp(30px, 9vw, 44px);
|
||||
line-height: 1.08;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__copy p {
|
||||
max-width: 520px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__actions {
|
||||
grid-template-columns: 1fr;
|
||||
width: min(100%, 420px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry {
|
||||
justify-content: center;
|
||||
min-height: 54px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__entry > span:not(.anticon) {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel {
|
||||
min-height: clamp(260px, 70vw, 360px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage {
|
||||
height: clamp(248px, 66vw, 340px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-deck {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card {
|
||||
width: min(94vw, 520px);
|
||||
height: min(52.88vw, 292px);
|
||||
min-height: 206px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-stats {
|
||||
position: relative;
|
||||
inset: auto;
|
||||
margin-top: 18px;
|
||||
max-width: none;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience-routes {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience-route {
|
||||
min-height: 84px;
|
||||
padding: 13px 14px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience-route b {
|
||||
font-size: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.web-shell[data-view="home"] .omni-home {
|
||||
--home-safe-inline: 14px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__shell {
|
||||
padding-top: 20px;
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__hero {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__copy {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel {
|
||||
min-height: clamp(228px, 68vw, 286px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-stage {
|
||||
height: clamp(218px, 64vw, 274px);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-deck {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__carousel-card {
|
||||
width: 94vw;
|
||||
height: 52.88vw;
|
||||
min-height: 188px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page,
|
||||
.web-shell[data-view="home"] .omni-home__experience {
|
||||
padding-block: 34px 44px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] :is(
|
||||
.omni-home__shell,
|
||||
.omni-home__feature-page,
|
||||
.omni-home__toolbox-page,
|
||||
.omni-home__experience
|
||||
) {
|
||||
scroll-margin-top: 60px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-script .omni-home__feature-visual,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-model .omni-home__feature-visual,
|
||||
.web-shell[data-view="home"] .omni-home__feature-page.is-ecommerce .omni-home__feature-visual {
|
||||
min-height: 560px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .omni-home__experience-routes {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent {
|
||||
right: 10px;
|
||||
bottom: max(10px, env(safe-area-inset-bottom));
|
||||
grid-template-columns: 1fr;
|
||||
width: calc(100vw - 20px);
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent p {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
text-overflow: initial;
|
||||
white-space: normal;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent__actions {
|
||||
justify-content: stretch;
|
||||
}
|
||||
|
||||
.web-shell[data-view="home"] .cookie-consent__actions a,
|
||||
.web-shell[data-view="home"] .cookie-consent__actions button {
|
||||
flex: 1 1 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user