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

This commit is contained in:
javier committed 2026-09-21 13:32:05 +02:00
1 parent 89a7a7b8e5
commit 31d2d98d49
46 files changed
+4039 -162

No files matched your search

@@ -1049,20 +1049,6 @@ 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;
@@ -1854,6 +1840,91 @@ textarea.input {
color: var(--muted);
}
/* Tables, scrolling sideways on their own when the screen is narrower than their columns */
.table-scroll {
overflow-x: auto;
}
.table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.table th,
.table td {
padding: var(--space-3) var(--space-3) var(--space-3) 0;
border-top: 1px solid var(--line);
text-align: left;
vertical-align: middle;
white-space: nowrap;
}
.table th {
border-top: 0;
color: var(--muted);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.table td a {
color: var(--ink);
}
/* A checkbox whose label runs over several lines */
.check--block {
align-items: flex-start;
line-height: 1.45;
}
.check--block input {
flex-shrink: 0;
margin-top: 2px;
}
/* A switch: a button that flips a setting and says which way it is */
.switch {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: var(--control-md);
padding: 0;
border: 0;
background: none;
font-size: 13px;
cursor: pointer;
}
.switch__track {
position: relative;
flex-shrink: 0;
width: 44px;
height: 26px;
border-radius: 13px;
background: var(--rule);
}
.switch__track::after {
content: "";
position: absolute;
top: 3px;
left: 3px;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--card);
}
.switch[aria-checked="true"] .switch__track {
background: var(--header);
}
.switch[aria-checked="true"] .switch__track::after {
left: 21px;
}
/* Empty states */
.empty {
display: flex;