Admin 927d9b298f
Some checks failed
CI / verify (push) Has been cancelled
CI / print-rust (push) Has been cancelled
deploy: split desktop releases and fix downloads navigation
2026-09-23 22:53:10 +00:00

258 lines
7.0 KiB
CSS

.account-settings { grid-column: 1 / -1; }
.account-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 16px 18px;
border-top: 1px solid var(--line);
}
.account-actions .primary-button,
.account-actions .quiet-button { min-width: 120px; }
.account-message {
margin: 0;
padding: 0 18px 16px;
color: var(--green);
font-size: 10px;
font-weight: 800;
}
.access-requests { border-top: 1px solid var(--line); }
.access-requests-heading {
display: flex;
align-items: center;
gap: 10px;
padding: 15px 18px;
background: #fafaf6;
border-bottom: 1px solid var(--line);
}
.access-requests-heading svg { color: var(--green); }
.access-requests-heading strong,
.access-requests-heading small { display: block; }
.access-requests-heading strong { font-size: 11px; }
.access-requests-heading small { margin-top: 2px; color: #75807b; font-size: 9px; }
.access-requests article {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 16px;
padding: 13px 18px;
border-bottom: 1px solid var(--line);
}
.access-requests article:last-child { border-bottom: 0; }
.access-requests article > span { min-width: 0; }
.access-requests article strong,
.access-requests article small { display: block; }
.access-requests article strong { font-size: 11px; }
.access-requests article small { margin-top: 3px; color: #75807b; font-size: 9px; overflow-wrap: anywhere; }
.access-requests article > div { display: flex; gap: 7px; }
.access-requests .primary-button,
.access-requests .quiet-button { min-height: 34px; padding: 0 10px; }
.empty-requests { margin: 0; padding: 16px 18px; color: #75807b; font-size: 10px; }
@media (max-width: 760px) {
.account-actions { display: grid; grid-template-columns: 1fr 1fr; }
.account-actions .primary-button,
.account-actions .quiet-button { width: 100%; min-width: 0; }
.access-requests article { grid-template-columns: 1fr; }
.access-requests article > div { display: grid; grid-template-columns: 1fr 1fr; }
}
.desktop-downloads-link { grid-column: 1 / -1; }
.desktop-download-settings-link {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin: 16px 18px 18px;
padding: 14px 15px;
border: 1px solid var(--line);
border-radius: 12px;
color: inherit;
background: #fafaf6;
text-decoration: none;
transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.desktop-download-settings-link:hover {
border-color: rgba(31, 111, 78, .4);
background: #f4f8f4;
transform: translateY(-1px);
}
.desktop-download-settings-link strong,
.desktop-download-settings-link small { display: block; }
.desktop-download-settings-link strong { font-size: 11px; }
.desktop-download-settings-link small { margin-top: 3px; color: #75807b; font-size: 9px; }
.downloads-page {
min-height: 100vh;
padding: max(28px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(34px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
color: #17211f;
background:
radial-gradient(circle at 12% 0%, rgba(241, 205, 75, .22), transparent 30rem),
#f5f5ef;
}
.downloads-shell {
width: min(860px, 100%);
margin: 0 auto;
}
.downloads-back {
display: inline-flex;
align-items: center;
gap: 7px;
margin-bottom: 30px;
color: #52605b;
font-size: 12px;
font-weight: 800;
text-decoration: none;
}
.downloads-back:hover { color: var(--green); }
.downloads-hero {
display: grid;
grid-template-columns: 58px minmax(0, 1fr);
gap: 18px;
align-items: start;
margin-bottom: 24px;
}
.downloads-mark {
width: 58px;
height: 58px;
display: grid;
place-items: center;
border-radius: 16px;
color: #17211f;
background: #f4d35e;
box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
font-size: 18px;
font-weight: 950;
letter-spacing: -.04em;
}
.downloads-kicker {
margin: 1px 0 6px;
color: #69736f;
font-size: 10px;
font-weight: 900;
letter-spacing: .14em;
}
.downloads-hero h1 {
margin: 0;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: clamp(27px, 6vw, 44px);
line-height: 1.03;
letter-spacing: -.055em;
}
.downloads-hero > div > p:last-child {
max-width: 650px;
margin: 12px 0 0;
color: #626c68;
font-size: 13px;
line-height: 1.6;
}
.downloads-panel {
overflow: hidden;
border: 1px solid #d9ddd7;
border-radius: 18px;
background: rgba(255,255,252,.94);
box-shadow: 0 16px 50px rgba(42,52,48,.08);
}
.downloads-panel-heading {
padding: 21px 22px 17px;
border-bottom: 1px solid #e4e7e1;
}
.downloads-panel-heading h2 { margin: 0; font-size: 15px; }
.downloads-panel-heading p {
max-width: 650px;
margin: 5px 0 0;
color: #75807b;
font-size: 10px;
line-height: 1.5;
}
.desktop-download-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
padding: 18px 20px;
}
.desktop-download-card {
display: grid;
grid-template-columns: 42px minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
min-height: 76px;
padding: 13px 14px;
border: 1px solid #dfe3dc;
border-radius: 13px;
color: inherit;
background: #fafaf6;
text-decoration: none;
transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.desktop-download-card:hover {
border-color: rgba(31, 111, 78, .4);
background: #f4f8f4;
transform: translateY(-1px);
}
.desktop-download-icon {
width: 42px;
height: 42px;
display: grid;
place-items: center;
border-radius: 11px;
color: var(--green);
background: rgba(31, 111, 78, .09);
}
.desktop-download-copy { min-width: 0; }
.desktop-download-copy strong,
.desktop-download-copy small { display: block; }
.desktop-download-copy strong { font-size: 12px; }
.desktop-download-copy small { margin-top: 3px; color: #75807b; font-size: 9px; line-height: 1.35; }
.desktop-download-action {
display: inline-flex;
align-items: center;
gap: 5px;
color: var(--green);
font-size: 10px;
font-weight: 900;
white-space: nowrap;
}
.downloads-notes {
display: grid;
gap: 5px;
padding: 14px 20px 18px;
border-top: 1px solid #e4e7e1;
color: #75807b;
background: #fbfbf7;
}
.downloads-notes p { margin: 0; font-size: 9px; line-height: 1.5; }
.downloads-notes strong { color: #46514d; }
@media (max-width: 760px) {
.desktop-download-settings-link { align-items: flex-start; }
.downloads-page { padding-top: max(22px, env(safe-area-inset-top)); }
.downloads-back { margin-bottom: 24px; }
.downloads-hero { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.downloads-mark { width: 48px; height: 48px; border-radius: 14px; font-size: 16px; }
.desktop-download-grid { grid-template-columns: 1fr; padding: 14px; }
.desktop-download-card { grid-template-columns: 40px minmax(0, 1fr) auto; }
.downloads-panel-heading { padding: 18px 17px 15px; }
.downloads-notes { padding: 13px 16px 16px; }
}
.host-app-behind-page {
display: none;
}
.desktop-download-settings-link {
width: calc(100% - 36px);
cursor: pointer;
text-align: left;
font: inherit;
}
.downloads-back {
border: 0;
padding: 0;
background: transparent;
cursor: pointer;
font: inherit;
}