Implemented phase 2 for the POC prototype in the Website service.

This commit is contained in:
javier committed 2026-09-21 11:44:58 +02:00
1 parent 09c7b8a1a7
commit 43dcc03da6
28 files changed
+1468 -65

No files matched your search

@@ -558,6 +558,12 @@ input[type="radio"] {
font-size: 15px;
}
.button--xl {
height: 56px;
gap: 10px;
font-size: 16px;
}
.button--block {
width: 100%;
}
@@ -688,6 +694,13 @@ input[type="radio"] {
line-height: 1.2;
}
.field__error {
color: var(--bad);
font-size: 12px;
font-weight: 600;
line-height: 1.45;
}
.field__hint {
color: var(--muted);
font-size: 12px;
@@ -705,6 +718,12 @@ input[type="radio"] {
font-size: 14px;
}
.input--lg {
height: 50px;
padding: 0 14px;
font-size: 16px;
}
.input--sm {
height: var(--control-sm);
padding: 0 10px;
@@ -1030,6 +1049,20 @@ textarea.input {
color: #ffffff;
}
/* The sign-out is a form, so it cannot be triggered by a link on another site. */
.site-header__sign-out {
display: flex;
margin: 0;
}
.site-header__sign-out button {
min-height: var(--control-md);
padding: 0 var(--space-1);
border: 0;
background: none;
cursor: pointer;
}
.site-header__account {
display: inline-flex;
align-items: center;
@@ -0,0 +1,107 @@
/* CCN — sign-in page. Drawn bare: no site header or footer. */
.gate {
display: flex;
flex: 1 0 auto;
flex-direction: column;
width: 100%;
max-width: 438px;
margin: 0 auto;
}
.gate__bar {
position: relative;
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
height: 56px;
padding: 0 var(--space-1);
}
.gate__close {
position: absolute;
left: var(--space-1);
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--control-md);
height: var(--control-md);
color: var(--ink);
}
.gate__wordmark {
font-family: var(--font-lettering);
font-size: 24px;
letter-spacing: 0.04em;
line-height: 1;
}
.gate__main {
display: flex;
flex-direction: column;
gap: var(--space-7);
padding: var(--space-5) var(--space-6) var(--space-6);
}
.gate__intro {
display: flex;
flex-direction: column;
gap: 10px;
}
.gate__intro .type-eyebrow {
letter-spacing: 0.1em;
}
/* The heading stays at its phone size: the screen is a phone-width column at every breakpoint. */
.gate__intro .type-h1 {
font-size: 36px;
}
.gate__lead {
color: var(--ink-soft);
}
.gate__form {
display: flex;
flex-direction: column;
gap: var(--space-7);
}
.gate__saved {
display: flex;
align-items: center;
gap: var(--space-3);
height: var(--control-lg);
padding: 0 var(--space-3);
border: 1px solid var(--line);
border-radius: var(--radius-sm);
background: var(--card);
box-shadow: var(--shadow-sheet);
font-size: 14px;
}
.gate__saved strong {
font-weight: 600;
}
.gate__saved-note {
color: var(--muted);
}
.gate__recover {
padding-top: var(--space-4);
font-size: 13px;
text-align: center;
}
.gate__recover a {
color: var(--muted);
}
@media (min-width: 600px) {
.gate {
padding-top: var(--space-10);
}
}