Refine landing layout: calendar actions and editorial gift section
This commit is contained in:
282
style.css
282
style.css
@ -286,6 +286,11 @@ img {
|
||||
border: 1px solid rgba(40, 89, 138, 0.08);
|
||||
}
|
||||
|
||||
.details-card__item--calendar {
|
||||
display: grid;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.details-card__item strong,
|
||||
.details-card__item span {
|
||||
display: block;
|
||||
@ -300,6 +305,42 @@ img {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.calendar-tools {
|
||||
margin-top: 0.3rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.calendar-tools__action {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 40px;
|
||||
width: auto;
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(30, 87, 138, 0.28);
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
color: var(--sea-dark);
|
||||
font-size: 0.88rem;
|
||||
font-weight: 700;
|
||||
padding: 0.42rem 0.82rem;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
|
||||
}
|
||||
|
||||
.calendar-tools__action:hover {
|
||||
background: rgba(30, 87, 138, 0.1);
|
||||
border-color: rgba(30, 87, 138, 0.5);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 8px 16px rgba(21, 60, 96, 0.1);
|
||||
}
|
||||
|
||||
.calendar-tools__action--button {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.form-card {
|
||||
padding: 1.8rem;
|
||||
}
|
||||
@ -419,6 +460,205 @@ textarea:focus {
|
||||
cursor: wait;
|
||||
}
|
||||
|
||||
.button--secondary {
|
||||
color: var(--sea-dark);
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 246, 252, 0.92) 100%);
|
||||
border: 1px solid rgba(30, 87, 138, 0.3);
|
||||
box-shadow: 0 10px 20px rgba(21, 60, 96, 0.12);
|
||||
}
|
||||
|
||||
.button--compact {
|
||||
min-height: 44px;
|
||||
padding: 0.55rem 1rem;
|
||||
font-size: 0.93rem;
|
||||
}
|
||||
|
||||
.gift {
|
||||
padding-top: 1.3rem;
|
||||
}
|
||||
|
||||
.gift__shell {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.gift__title {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.gift__layout {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
|
||||
column-gap: clamp(1.4rem, 3.2vw, 2.7rem);
|
||||
row-gap: 0;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.gift__layout::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: -0.68rem;
|
||||
width: min(360px, 44%);
|
||||
height: 1px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(90deg, rgba(30, 87, 138, 0.38), rgba(30, 87, 138, 0.05));
|
||||
}
|
||||
|
||||
.gift__layout::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: -0.4rem;
|
||||
width: min(190px, 26%);
|
||||
height: 1px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(90deg, rgba(30, 87, 138, 0.04), rgba(30, 87, 138, 0.22));
|
||||
}
|
||||
|
||||
.gift__col {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.gift__col--left {
|
||||
display: grid;
|
||||
gap: 0.55rem;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.gift__kicker {
|
||||
margin: 0 0 0.2rem;
|
||||
}
|
||||
|
||||
.gift__heading {
|
||||
max-width: 17ch;
|
||||
margin: 0;
|
||||
font-size: clamp(1.72rem, 3.25vw, 2.55rem);
|
||||
line-height: 1.06;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.gift__lead {
|
||||
margin: 0;
|
||||
color: var(--ink);
|
||||
max-width: 56ch;
|
||||
font-size: 0.99rem;
|
||||
line-height: 1.68;
|
||||
}
|
||||
|
||||
.gift__note {
|
||||
margin: 0;
|
||||
color: var(--ink-soft);
|
||||
line-height: 1.58;
|
||||
font-size: 0.92rem;
|
||||
max-width: 44ch;
|
||||
}
|
||||
|
||||
.gift__col--right {
|
||||
position: relative;
|
||||
align-self: start;
|
||||
padding-left: clamp(1rem, 1.9vw, 1.3rem);
|
||||
}
|
||||
|
||||
.gift__accent {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 2px;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(180deg, rgba(30, 87, 138, 0.62), rgba(30, 87, 138, 0.16));
|
||||
}
|
||||
|
||||
.gift__accent::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: -3px;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: rgba(30, 87, 138, 0.24);
|
||||
}
|
||||
|
||||
.gift__details {
|
||||
margin: 0;
|
||||
display: grid;
|
||||
gap: 0.74rem;
|
||||
}
|
||||
|
||||
.gift__row {
|
||||
margin: 0;
|
||||
padding: 0 0 0.64rem;
|
||||
border-bottom: 1px solid rgba(30, 87, 138, 0.18);
|
||||
}
|
||||
|
||||
.gift__row:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 0.1rem;
|
||||
}
|
||||
|
||||
.gift__row dt {
|
||||
color: var(--sea);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 0.22rem;
|
||||
}
|
||||
|
||||
.gift__row dd {
|
||||
margin: 0;
|
||||
color: var(--ink);
|
||||
font-weight: 700;
|
||||
line-height: 1.5;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.gift__row--iban dd {
|
||||
font-size: clamp(1.15rem, 2.3vw, 1.42rem);
|
||||
letter-spacing: 0.038em;
|
||||
color: var(--sea-dark);
|
||||
margin-bottom: 0.38rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.gift__row--iban {
|
||||
padding-top: 0.04rem;
|
||||
padding-bottom: 0.82rem;
|
||||
border-bottom-color: rgba(30, 87, 138, 0.22);
|
||||
}
|
||||
|
||||
.gift__copy {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.gift__iban-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.55rem 0.75rem;
|
||||
}
|
||||
|
||||
.gift__feedback {
|
||||
min-height: 1.15rem;
|
||||
margin: 0;
|
||||
color: var(--sea-dark);
|
||||
font-size: 0.84rem;
|
||||
font-weight: 700;
|
||||
opacity: 0.88;
|
||||
}
|
||||
|
||||
.form-status {
|
||||
min-height: 1.4rem;
|
||||
margin: 0;
|
||||
@ -482,6 +722,24 @@ textarea:focus {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.gift__layout {
|
||||
grid-template-columns: 1fr;
|
||||
row-gap: 0.88rem;
|
||||
}
|
||||
|
||||
.gift__layout::before,
|
||||
.gift__layout::after {
|
||||
width: min(320px, 100%);
|
||||
}
|
||||
|
||||
.gift__col--right {
|
||||
padding-left: 1.15rem;
|
||||
}
|
||||
|
||||
.gift__heading {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
@ -538,7 +796,8 @@ textarea:focus {
|
||||
}
|
||||
|
||||
.form-card,
|
||||
.details-card {
|
||||
.details-card,
|
||||
.gift__layout {
|
||||
padding: 1.2rem;
|
||||
}
|
||||
|
||||
@ -550,6 +809,27 @@ textarea:focus {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.calendar-tools__action {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gift__layout {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.gift__copy {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.gift__iban-actions {
|
||||
align-items: stretch;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.gift__feedback {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user