Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / ucode static checks (push) Blocked by required conditions
CI / ucode compiles and tests pass (OpenWrt 24.10) (push) Blocked by required conditions
CI / ucode compiles and tests pass (OpenWrt 25.12) (push) Blocked by required conditions
- The device menu (⋯) is an iOS-style menu on frosted glass: the copy actions show the address they copy, Rename, Reconnect and Remove sit under them, and one highlight glides from row to row - The language picker shows flags; pick a language with a click, or press the pill and slide onto one. The flag and the code change in place - The page's QR code opens as a small card under its button, with Copy link and Share - All dropdowns look and behave the same: frosted glass, one open at a time, and a press outside, Escape or the button again closes them - Setting a device up: when it can't finish connecting or connects but passes no data, the sheet keeps just the status and what it means. No data now says the router drops its traffic because the address doesn't match, and the device's card says "Connected, but no data" right away instead of "Connected" - Setting a phone up from another device: Download and Copy for the connection sit on its row, next to the arrow - On iPhone and iPad the caret shows as soon as a field is focused, the page no longer zooms on a pinch or a double tap, and sheets and their animations run smoother - A press near the edge of a button or a card always counts, even as it shrinks under the pointer - Animations settle without a jump at the end - New green, orange and red - The focus ring shows only while moving around with the keyboard
353 lines
8.2 KiB
CSS
353 lines
8.2 KiB
CSS
/* The page's frame: the edge fades, the breadcrumb, the two columns and their heads, the notice that
|
|
says what stops the devices, and the card that stands alone when the link stopped working. */
|
|
|
|
/* The page fades out under the edges (iconiqui's dia-text, measured): on top a blur that thins out
|
|
over a darkening ramp, once the page scrolls; at the bottom only the ramp. Above the page, under
|
|
sheets, menus and toasts. */
|
|
.edge-fade {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 30;
|
|
pointer-events: none;
|
|
}
|
|
.edge-fade.top {
|
|
top: 0;
|
|
height: calc(80px + env(safe-area-inset-top, 0px));
|
|
opacity: 0;
|
|
transition: opacity 200ms;
|
|
background: linear-gradient(var(--bg) 0%, color-mix(in srgb, var(--bg) 75%, transparent) 50%, transparent 100%);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.88) 44%, transparent 100%);
|
|
mask-image: linear-gradient(#000 0%, rgba(0, 0, 0, 0.88) 44%, transparent 100%);
|
|
}
|
|
/* On a phone the blur under it is drawn again on every frame of a scroll: the fade to the page's colour alone. */
|
|
@media (pointer: coarse) {
|
|
.edge-fade.top {
|
|
-webkit-backdrop-filter: none;
|
|
backdrop-filter: none;
|
|
}
|
|
}
|
|
body.scrolled .edge-fade.top {
|
|
opacity: 1;
|
|
}
|
|
.edge-fade.bot {
|
|
bottom: 0;
|
|
height: calc(96px + env(safe-area-inset-bottom, 0px));
|
|
background: linear-gradient(to top in oklab, var(--bg) 0%, transparent 100%);
|
|
}
|
|
|
|
/* The breadcrumb (iconiqui, measured): 32px high, the mark in a 32px box, 15px crumbs 6px apart
|
|
with a 14px chevron, the current one brighter. The mark is one colour: the text's. */
|
|
.crumbs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
height: 32px;
|
|
margin: 0 0 32px;
|
|
}
|
|
.cr-mark {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: grid;
|
|
place-items: center;
|
|
flex: none;
|
|
}
|
|
.logo {
|
|
width: 24px;
|
|
height: 24px;
|
|
flex: none;
|
|
overflow: hidden;
|
|
}
|
|
.logo .sun,
|
|
.logo .bar {
|
|
fill: var(--text);
|
|
}
|
|
.cr-path {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
letter-spacing: -0.15px;
|
|
color: var(--text-2);
|
|
}
|
|
.cr-path span {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.cr-path .cur {
|
|
color: var(--text);
|
|
font-weight: 500;
|
|
}
|
|
.cr-path .i {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
/* The language (a pick pill, ui/pick.ts): as high as the QR knob beside it, its flag, its code and a chevron
|
|
that turns up while the popup is open. */
|
|
.cr-lang {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 32px;
|
|
padding: 0 8px 0 8px;
|
|
border-radius: 999px;
|
|
background: var(--knob);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.01em;
|
|
flex: none;
|
|
transition:
|
|
transform 150ms var(--ease-out),
|
|
background-color 150ms;
|
|
}
|
|
.cr-lang:hover {
|
|
background: color-mix(in srgb, var(--knob), var(--text) 6%);
|
|
}
|
|
.cr-lang:active {
|
|
transform: scale(0.94);
|
|
}
|
|
.cr-lang[aria-expanded='true'] {
|
|
background: color-mix(in srgb, var(--knob), var(--text) 10%);
|
|
}
|
|
.cr-lang .pp-chev {
|
|
margin-left: -2px;
|
|
}
|
|
|
|
/* Phones: one column, access first. From 960px: devices left, access right and sticky. The foot
|
|
clears the bottom fade at the end of the scroll. */
|
|
.page {
|
|
max-width: 1072px;
|
|
margin: 0 auto;
|
|
padding-left: var(--gutter-l);
|
|
padding-right: var(--gutter-r);
|
|
padding-block: calc(40px + env(safe-area-inset-top, 0px)) 112px;
|
|
}
|
|
.cols {
|
|
display: grid;
|
|
gap: 40px;
|
|
}
|
|
.cols > .access {
|
|
order: -1;
|
|
}
|
|
@media (min-width: 960px) {
|
|
.cols {
|
|
grid-template-columns: minmax(0, 1fr) 384px;
|
|
gap: 36px;
|
|
align-items: start;
|
|
}
|
|
.cols > .access {
|
|
order: 0;
|
|
position: sticky;
|
|
top: calc(84px + env(safe-area-inset-top, 0px));
|
|
}
|
|
}
|
|
.sec-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
padding: 0 4px 12px;
|
|
}
|
|
.sec-head h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
line-height: 28px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
.sec-head .aside {
|
|
color: var(--text-3);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
.sec-head .aside.warn-t {
|
|
color: var(--warn);
|
|
}
|
|
.note-s {
|
|
margin: 12px 4px 0;
|
|
color: var(--text-3);
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
/* The notice's slot holds its margin (flow-root) and clips it while its height glides, so a notice that comes or
|
|
goes is uncovered or folded away instead of hanging over what follows (page/notices.ts). */
|
|
.notice-slot {
|
|
display: flow-root;
|
|
overflow-y: clip;
|
|
}
|
|
/* A notice wears its tone: the fill tinted, the rim a little stronger. */
|
|
.notice {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 18px 14px 14px;
|
|
border-radius: 24px;
|
|
background: var(--raised);
|
|
margin: 0 0 22px;
|
|
}
|
|
.notice .gi {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
.notice .t {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
.notice b {
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.notice span {
|
|
color: var(--text-2);
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
}
|
|
.notice.warn {
|
|
background: color-mix(in srgb, var(--warn) 10%, var(--raised));
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 22%, transparent);
|
|
}
|
|
.notice.bad {
|
|
background: color-mix(in srgb, var(--bad) 10%, var(--raised));
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 22%, transparent);
|
|
}
|
|
|
|
/* The page when there is nothing else: the link stopped working, or nothing could load. */
|
|
/* One card in place of the page: the breadcrumb over it, the two together in the middle of the screen. */
|
|
.page.single {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-block: calc(24px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
/* Centred on its words, the mark hanging to their left, then nudged right by about half the mark's width:
|
|
to the eye the mark and words together sit in the middle. The row keeps room for the mark on both sides. */
|
|
.page.single .crumbs {
|
|
position: relative;
|
|
left: 12px;
|
|
max-width: calc(100% - 84px);
|
|
margin: 0 0 16px;
|
|
}
|
|
.page.single .cr-mark {
|
|
position: absolute;
|
|
right: calc(100% + 10px);
|
|
top: 0;
|
|
}
|
|
.page.single .page-body {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
.page.single .gone {
|
|
margin: 0;
|
|
}
|
|
.gone {
|
|
max-width: 400px;
|
|
margin: 12vh auto 0;
|
|
padding: 32px 24px 28px;
|
|
border-radius: var(--r-sheet);
|
|
background: var(--raised);
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.gone .gi {
|
|
width: 56px;
|
|
height: 56px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.gone h1 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
line-height: 28px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.gone p {
|
|
margin: 6px 0 0;
|
|
color: var(--text-2);
|
|
text-wrap: balance;
|
|
}
|
|
|
|
/* This page's code for another device (flows/page-code.ts): a card grown out of the QR knob where it stands, on
|
|
the ⋯ menu's Liquid Glass; the code on top and under it Copy link and Share. */
|
|
.pc-card {
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 244px;
|
|
padding: 10px;
|
|
/* The dropdowns' radius (the ⋯ menu's), on their glass (.drop). */
|
|
border-radius: 24px;
|
|
}
|
|
/* Concentric with the card: its radius less the 10 px around the code. */
|
|
.pc-card .qrbox.big {
|
|
width: 224px;
|
|
height: 224px;
|
|
border-radius: 14px;
|
|
}
|
|
.pc-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
.pc-row .knob {
|
|
width: 36px;
|
|
height: 36px;
|
|
background: color-mix(in srgb, var(--glass-text) 6%, transparent);
|
|
color: var(--glass-text);
|
|
}
|
|
.pc-row .knob:hover {
|
|
background: color-mix(in srgb, var(--glass-text) 11%, transparent);
|
|
}
|
|
.pc-copy {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 36px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
padding: 0 14px;
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, var(--glass-text) 6%, transparent);
|
|
color: var(--glass-text);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.01em;
|
|
transition:
|
|
transform 150ms var(--ease-out),
|
|
background-color 150ms;
|
|
}
|
|
.pc-copy:hover {
|
|
background: color-mix(in srgb, var(--glass-text) 11%, transparent);
|
|
}
|
|
.pc-copy:active {
|
|
transform: scale(0.96);
|
|
}
|
|
.pc-copy .i {
|
|
width: 16px;
|
|
height: 16px;
|
|
flex: none;
|
|
}
|
|
.pc-copy .lbl {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.pc-copy.copied {
|
|
color: var(--ok);
|
|
}
|