.
This commit is contained in:
@@ -387,7 +387,7 @@ async function addAllToInquiry() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="!loading && products.length" class="sticky-footer">
|
||||
<div v-if="!loading && products.length" class="sticky-footer calite-detail__footer">
|
||||
<button type="button" class="inquiry-bar" :disabled="adding" @click="addAllToInquiry">
|
||||
{{ adding ? 'در حال افزودن...' : 'افزودن همه به سبد استعلام' }}
|
||||
<small>{{ formatNumber(patterns.length) }} طرح انتخاب میشود</small>
|
||||
@@ -810,21 +810,127 @@ html.dark .inquiry-bar {
|
||||
color: #0b0f14;
|
||||
}
|
||||
|
||||
html.dark .calite-detail__footer.sticky-footer {
|
||||
background: #0b0f14;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.calite-detail {
|
||||
padding: 0;
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
overflow: visible;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.calite-detail__scroll {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.calite-hero {
|
||||
min-height: 380px;
|
||||
height: min(48vh, 460px);
|
||||
min-height: 300px;
|
||||
height: 340px;
|
||||
}
|
||||
|
||||
.calite-hero__nav {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.calite-hero__copy {
|
||||
inset-inline: 36px 36px;
|
||||
bottom: 28px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.calite-hero__copy h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.calite-hero__usage {
|
||||
font-size: 0.9375rem;
|
||||
}
|
||||
|
||||
.calite-hero__latin {
|
||||
font-size: 2.125rem;
|
||||
}
|
||||
|
||||
.calite-hero__tagline {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.calite-detail__body {
|
||||
padding: 18px 28px 28px;
|
||||
max-width: 1120px;
|
||||
margin-inline: auto;
|
||||
width: 100%;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.attr-row {
|
||||
max-width: 720px;
|
||||
margin-inline: auto;
|
||||
padding: 8px 0 4px;
|
||||
}
|
||||
|
||||
.attr {
|
||||
font-size: 0.875rem;
|
||||
padding: 12px 12px;
|
||||
}
|
||||
|
||||
.attr__icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.physical-cta {
|
||||
max-width: 720px;
|
||||
margin-inline: auto;
|
||||
min-height: 56px;
|
||||
}
|
||||
|
||||
.pattern-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.calite-detail__footer.sticky-footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
inset-inline: auto;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
padding: 12px 28px 24px;
|
||||
background: #f4f0ed;
|
||||
}
|
||||
|
||||
.inquiry-bar {
|
||||
max-width: 1120px;
|
||||
margin-inline: auto;
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.toast {
|
||||
bottom: 96px;
|
||||
bottom: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.calite-hero {
|
||||
min-height: 360px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.calite-detail__body {
|
||||
padding: 24px 40px 36px;
|
||||
}
|
||||
|
||||
.pattern-grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.calite-detail__footer.sticky-footer {
|
||||
padding-inline: 40px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user