update 4page
This commit is contained in:
@@ -0,0 +1,175 @@
|
||||
/**
|
||||
* Promo compare table module (copy from promotion-activity.css).
|
||||
* Scope: wrap markup in #promo-compare-module or [data-promo-compare-module].
|
||||
*
|
||||
* Usage:
|
||||
* <link href="../assets/css/modules/promo-compare.css" rel="stylesheet">
|
||||
* <div id="promo-compare-module" class="promo-compare-module" data-promo-compare-module>
|
||||
* <!-- paste section from pages/modules/promo-compare.section.html -->
|
||||
* </div>
|
||||
* Section glow: see docs/aifo-section-glow.md
|
||||
*/
|
||||
@import url("../aifo-section-glow.css");
|
||||
|
||||
#promo-compare-module {
|
||||
--primary: #f98715;
|
||||
--bg-card: #0e0e0e;
|
||||
--border-muted: #989795;
|
||||
--text-main: #f9f9f9;
|
||||
--text-muted: #909090;
|
||||
color: var(--text-main);
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-compare-module__page {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 1140px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 18px;
|
||||
padding-right: 18px;
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-section {
|
||||
position: relative;
|
||||
padding: 72px 0;
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-section__title {
|
||||
margin: 0 0 48px;
|
||||
font-size: clamp(32px, 4.5vw, 60px);
|
||||
line-height: 1.2;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.6px;
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-section__title .text-orange {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-section__title--center {
|
||||
text-align: center;
|
||||
max-width: 700px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-section--compare {
|
||||
padding-top: 48px;
|
||||
padding-bottom: 96px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 986px;
|
||||
margin: 0 auto;
|
||||
border: 0.5px solid var(--border-muted);
|
||||
border-radius: 15px;
|
||||
background: var(--bg-card);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__header,
|
||||
#promo-compare-module .compare-table__row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
min-height: 64px;
|
||||
padding: 18px 28px;
|
||||
font-size: 18px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell--other {
|
||||
color: var(--text-muted);
|
||||
border-right: 0.5px solid rgba(152, 151, 149, 0.35);
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell--aifo {
|
||||
color: var(--text-main);
|
||||
font-weight: 600;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(249, 135, 21, 0.04) 0%,
|
||||
rgba(249, 135, 21, 0.1) 100%
|
||||
);
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell--head {
|
||||
min-height: 72px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell--head.compare-table__cell--other {
|
||||
color: #b3b3b3;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell--head.compare-table__cell--aifo {
|
||||
color: var(--primary);
|
||||
font-weight: 700;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(249, 135, 21, 0.08) 0%,
|
||||
rgba(249, 135, 21, 0.16) 100%
|
||||
);
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__row:not(:last-child) .compare-table__cell,
|
||||
#promo-compare-module .compare-table__header .compare-table__cell {
|
||||
border-bottom: 0.5px solid rgba(152, 151, 149, 0.28);
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__icon {
|
||||
display: inline-flex;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__icon svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__icon--no {
|
||||
color: #e74c3c;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__icon--yes {
|
||||
color: #3ecf8e;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
#promo-compare-module .promo-section {
|
||||
padding: 48px 0;
|
||||
}
|
||||
|
||||
#promo-compare-module .promo-section__title {
|
||||
font-size: 32px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell {
|
||||
padding: 14px 16px;
|
||||
font-size: 14px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#promo-compare-module .compare-table__cell--head {
|
||||
font-size: 11px;
|
||||
min-height: 56px;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user