Dawnline 0.15.0
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
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
This commit is contained in:
1 parent
a1915f070b
commit
ba231e7187
51 files changed
+1713
-1062
No files matched your search
@@ -24,10 +24,11 @@
|
||||
.acc-row.open {
|
||||
margin-block: 10px;
|
||||
}
|
||||
.acc-row.open:first-child {
|
||||
/* The first and last rows that show (ui/accordion.ts: a row stepped out leaves none of its gap). */
|
||||
.acc-row.open.first {
|
||||
margin-top: 0;
|
||||
}
|
||||
.acc-row.open:last-child {
|
||||
.acc-row.open.last {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.acc-row:not(.open):not(.still):hover {
|
||||
@@ -90,6 +91,39 @@
|
||||
transform: translateX(8px);
|
||||
pointer-events: none;
|
||||
}
|
||||
/* Actions on what an open row holds (ui/accordion.ts aside): beside the chevron, over the head's end, coming
|
||||
in as the row opens and going as it shuts; the title keeps clear of them meanwhile (--aside-w: their width
|
||||
and a gap). */
|
||||
.acc-row.has-aside {
|
||||
position: relative;
|
||||
--aside-w: 72px;
|
||||
}
|
||||
.acc-aside {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 40px;
|
||||
height: 52px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition:
|
||||
opacity 200ms var(--ease-out),
|
||||
filter 200ms var(--ease-out),
|
||||
transform 200ms var(--ease-out);
|
||||
}
|
||||
.acc-row:not(.open) > .acc-aside {
|
||||
opacity: 0;
|
||||
filter: blur(4px);
|
||||
transform: translateX(8px);
|
||||
pointer-events: none;
|
||||
visibility: hidden;
|
||||
transition-property: opacity, filter, transform, visibility;
|
||||
}
|
||||
.acc-row.has-aside > .acc-head > .acc-title {
|
||||
transition: padding-right 200ms var(--ease-out);
|
||||
}
|
||||
.acc-row.has-aside.open > .acc-head > .acc-title {
|
||||
padding-right: var(--aside-w);
|
||||
}
|
||||
.acc-chev {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
||||
@@ -12,6 +12,9 @@ html {
|
||||
(main.ts), so the browser would hold "Your devices" still while an access row opens or folds, and pull a page
|
||||
scrolled less than the fold to the very top. A row grows and folds in place; a repaint glides what moves. */
|
||||
overflow-anchor: none;
|
||||
/* An app's page, not a document's: a double tap doesn't zoom (the viewport keeps its scale, main.ts stops
|
||||
Safari's pinch). Taps answer at once, with no wait for a second one. */
|
||||
touch-action: manipulation;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
@@ -60,7 +63,9 @@ a {
|
||||
:focus {
|
||||
outline: none;
|
||||
}
|
||||
:focus-visible {
|
||||
/* The focus ring only while the keyboard is moving focus (main.ts sets .kbd on Tab or an arrow and drops it on a
|
||||
press): focus a script moves, or one left after a click, shows nothing. */
|
||||
.kbd :focus-visible {
|
||||
outline: 2px solid color-mix(in srgb, var(--accent) 65%, transparent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
@@ -216,6 +216,10 @@
|
||||
color: var(--text);
|
||||
letter-spacing: -0.012em;
|
||||
}
|
||||
/* The system's caret where the field draws none (a touch screen, ui/caret.ts): the accent, as the drawn one. */
|
||||
.field input {
|
||||
caret-color: var(--accent);
|
||||
}
|
||||
.field input::placeholder {
|
||||
color: var(--text-3);
|
||||
}
|
||||
@@ -433,6 +437,16 @@
|
||||
.appseg .seg-b.on {
|
||||
flex: 1 1 56px;
|
||||
}
|
||||
/* At rest the pill stands on its item (ui/seg.ts sets --i of --n): the track's 4 px edge and the items before it
|
||||
(each --b wide) on the left, the items after it on the right; the picked item takes what is left, so does the
|
||||
pill, whatever the sheet's width. A pick moves it with its own left and right, then hands back. */
|
||||
.appseg {
|
||||
--b: 56px;
|
||||
}
|
||||
.appseg .seg-pill {
|
||||
left: calc(4px + var(--i, 0) * var(--b));
|
||||
right: calc(4px + (var(--n, 1) - 1 - var(--i, 0)) * var(--b));
|
||||
}
|
||||
.appseg .seg-b .i {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
@@ -454,6 +468,9 @@
|
||||
container-type: inline-size;
|
||||
}
|
||||
@container (max-width: 300px) {
|
||||
.appseg {
|
||||
--b: 44px;
|
||||
}
|
||||
.appseg .seg-b {
|
||||
flex-basis: 44px;
|
||||
padding: 0 12px;
|
||||
@@ -501,7 +518,7 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
.kind:hover .kind-tile,
|
||||
.kind:focus-visible .kind-tile {
|
||||
.kbd .kind:focus-visible .kind-tile {
|
||||
background: var(--knob);
|
||||
}
|
||||
.kind:active .kind-tile {
|
||||
@@ -510,7 +527,7 @@
|
||||
.kind:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
.kind:focus-visible .kind-lbl,
|
||||
.kbd .kind:focus-visible .kind-lbl,
|
||||
.kind.on {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
background: color-mix(in srgb, var(--raised), var(--text) 6%);
|
||||
}
|
||||
/* Not when an edit gave focus back to it (flows/rename.ts): only reached with Tab. */
|
||||
.dev-name.can-edit:focus-visible:not(.quiet) {
|
||||
.kbd .dev-name.can-edit:focus-visible:not(.quiet) {
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent);
|
||||
}
|
||||
.field.inline,
|
||||
@@ -187,6 +187,14 @@
|
||||
.dev.add:hover {
|
||||
background: color-mix(in srgb, var(--raised), var(--knob) 45%);
|
||||
}
|
||||
/* On light the darker step would land on the page's own grey and the card would melt into it: a touch off white,
|
||||
the words up to full colour. */
|
||||
@media (prefers-color-scheme: light) {
|
||||
.dev.add:hover {
|
||||
background: color-mix(in srgb, var(--raised), var(--text) 2.5%);
|
||||
color: var(--text);
|
||||
}
|
||||
}
|
||||
.dev.add:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
/* What every dropdown is made of (ui/drop.ts: the ⋯ menu, the pick pills' popups, the page's code): Liquid Glass
|
||||
(tokens.css --glass-*), the page behind blurred and its colours lifted, a soft even edge, a soft shadow on light
|
||||
only; over the page and a sheet alike. A dropdown cut to a shape of its own (a pick popup's tail) traces its edge
|
||||
and casts its shadow itself. */
|
||||
.drop {
|
||||
z-index: 60;
|
||||
background: var(--glass-bg);
|
||||
-webkit-backdrop-filter: blur(28px) saturate(1.8);
|
||||
backdrop-filter: blur(28px) saturate(1.8);
|
||||
box-shadow:
|
||||
inset 0 0 0 1px var(--glass-edge),
|
||||
var(--glass-shadow);
|
||||
}
|
||||
|
||||
/* Their one highlight (ui/glide.ts): under the items' icons and words (they sit over it), solid, the same for every
|
||||
item; it glides on GLIDE and presses in with what it is on. */
|
||||
.drop-hl {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
background: var(--glass-hl);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition:
|
||||
opacity 160ms var(--ease-out),
|
||||
scale 150ms var(--ease-out);
|
||||
}
|
||||
.drop-hl.moving {
|
||||
transition:
|
||||
opacity 160ms var(--ease-out),
|
||||
scale 150ms var(--ease-out),
|
||||
translate var(--spring-glide-dur, 400ms) var(--spring-glide, ease-out),
|
||||
width var(--spring-glide-dur, 400ms) var(--spring-glide, ease-out),
|
||||
height var(--spring-glide-dur, 400ms) var(--spring-glide, ease-out),
|
||||
border-radius var(--spring-glide-dur, 400ms) var(--spring-glide, ease-out);
|
||||
}
|
||||
.drop-hl.down {
|
||||
scale: 0.97;
|
||||
}
|
||||
@@ -12,3 +12,5 @@
|
||||
@import './sheet.css';
|
||||
@import './setup.css';
|
||||
@import './menu-toast.css';
|
||||
@import './drop.css';
|
||||
@import './pick.css';
|
||||
@@ -1,76 +1,108 @@
|
||||
/* The ⋯ menu (a highlight that glides after the pointer, tinted for Reconnect and Remove) and the
|
||||
toast slot at the bottom. */
|
||||
/* The ⋯ menu (ui/menu.ts): an iOS 26-style menu: Liquid Glass with a soft even edge, rows, thin lines
|
||||
between groups. And the toast slot at the bottom. */
|
||||
|
||||
.menu {
|
||||
position: fixed;
|
||||
z-index: 60;
|
||||
min-width: 224px;
|
||||
padding: 6px;
|
||||
border-radius: 20px;
|
||||
background: var(--field);
|
||||
box-shadow:
|
||||
var(--pop-shadow),
|
||||
inset 0 0 0 1px var(--line);
|
||||
}
|
||||
.menu-hl {
|
||||
/* On the dropdowns' glass (.drop, styles/drop.css). */
|
||||
.pop {
|
||||
position: absolute;
|
||||
left: 6px;
|
||||
right: 6px;
|
||||
top: 6px;
|
||||
height: 40px;
|
||||
border-radius: 14px;
|
||||
background: var(--knob);
|
||||
opacity: 0;
|
||||
transition: opacity 150ms var(--ease-out);
|
||||
pointer-events: none;
|
||||
min-width: 210px;
|
||||
overflow: hidden;
|
||||
border-radius: 24px;
|
||||
}
|
||||
.menu-hl.moving {
|
||||
transition:
|
||||
opacity 150ms var(--ease-out),
|
||||
transform var(--spring-quick-dur, 300ms) var(--spring-quick, ease-out),
|
||||
background-color 150ms;
|
||||
}
|
||||
.menu-hl.bad {
|
||||
background: var(--bad-soft);
|
||||
}
|
||||
.menu-hl.warn {
|
||||
background: color-mix(in srgb, var(--warn) 13%, transparent);
|
||||
}
|
||||
.mi {
|
||||
/* The Figma's Menu made compact: 6 px top and bottom, the rows 6 px in. */
|
||||
.pop-body {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 6px 0;
|
||||
}
|
||||
.pop-grp {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 6px;
|
||||
}
|
||||
/* A separator: 21 px high, its line 8 px further in than the rows. */
|
||||
.pop-sep {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
padding: 0 12px;
|
||||
border-radius: 14px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
height: 13px;
|
||||
padding: 0 16px;
|
||||
}
|
||||
.mi .i {
|
||||
.pop-sep > span {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--glass-sep);
|
||||
}
|
||||
/* A row: 8 px above and below the words (34 high, 50 with a line under the label); the icon further in from the
|
||||
row's rounded edge (14 px) than it is from the words (10 px), so it doesn't crowd the curve. */
|
||||
.mi {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
min-height: 34px;
|
||||
padding: 0 12px 0 14px;
|
||||
border-radius: 18px;
|
||||
color: var(--glass-text);
|
||||
text-align: left;
|
||||
transition: transform 150ms var(--ease-out);
|
||||
}
|
||||
/* Whole rows over the highlight (they have no fill of their own): pressed, a row scales as one layer, and its
|
||||
words must not drop under the highlight with it. */
|
||||
.mi {
|
||||
z-index: 3;
|
||||
}
|
||||
.mi:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
.kbd .mi:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.mi > .i {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
flex: none;
|
||||
color: currentColor;
|
||||
transition: scale var(--spring-glide-dur, 400ms) var(--spring-glide, ease-out);
|
||||
}
|
||||
.mi > .i {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: var(--text-2);
|
||||
}
|
||||
/* An option's check, kept in its place on the others so the names line up. */
|
||||
.mi .i.off {
|
||||
visibility: hidden;
|
||||
.mi.hot > .i {
|
||||
scale: 1.08;
|
||||
}
|
||||
.mi.warn,
|
||||
.mi.warn .i {
|
||||
.mi-b {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 1px;
|
||||
min-width: 0;
|
||||
padding: 8px 0;
|
||||
}
|
||||
.mi-l {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
line-height: 18px;
|
||||
letter-spacing: -0.2px;
|
||||
}
|
||||
.mi-s {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 11.5px;
|
||||
line-height: 15px;
|
||||
color: var(--glass-sub);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.mi.warn {
|
||||
color: var(--warn);
|
||||
}
|
||||
.mi.bad,
|
||||
.mi.bad .i {
|
||||
color: var(--bad);
|
||||
}
|
||||
.menu-sep {
|
||||
height: 1px;
|
||||
margin: 6px 12px;
|
||||
background: var(--line);
|
||||
.mi.bad {
|
||||
color: var(--glass-bad);
|
||||
}
|
||||
|
||||
/* One toast at a time; a new one comes in over the leaving one. */
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
.mt {
|
||||
position: relative;
|
||||
}
|
||||
/* While the words change (ui/morph.ts): nothing of them clipped, not even by a box that ends a long line in an
|
||||
ellipsis; that comes back once they have changed. */
|
||||
.mt-run {
|
||||
overflow: visible !important;
|
||||
text-overflow: clip !important;
|
||||
}
|
||||
.mt-ib {
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
|
||||
@@ -22,6 +22,13 @@
|
||||
-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;
|
||||
}
|
||||
@@ -81,14 +88,14 @@ body.scrolled .edge-fade.top {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
/* The language: a pill as high as the QR knob beside it, its code and a chevron that turns up while
|
||||
the menu is open. */
|
||||
/* 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: 4px;
|
||||
gap: 6px;
|
||||
height: 32px;
|
||||
padding: 0 8px 0 12px;
|
||||
padding: 0 8px 0 8px;
|
||||
border-radius: 999px;
|
||||
background: var(--knob);
|
||||
color: var(--text);
|
||||
@@ -109,15 +116,8 @@ body.scrolled .edge-fade.top {
|
||||
.cr-lang[aria-expanded='true'] {
|
||||
background: color-mix(in srgb, var(--knob), var(--text) 10%);
|
||||
}
|
||||
.cr-down {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
color: var(--text-2);
|
||||
transform: rotate(90deg);
|
||||
transition: transform 200ms var(--ease-out);
|
||||
}
|
||||
.cr-lang[aria-expanded='true'] .cr-down {
|
||||
transform: rotate(-90deg);
|
||||
.cr-lang .pp-chev {
|
||||
margin-left: -2px;
|
||||
}
|
||||
|
||||
/* Phones: one column, access first. From 960px: devices left, access right and sticky. The foot
|
||||
@@ -280,3 +280,73 @@ body.scrolled .edge-fade.top {
|
||||
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);
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
/* A pick pill (ui/pick.ts): the pill's own look is its class's (the language in the breadcrumb, the demo's
|
||||
set-up state); here what every one shares: what it leads with, its chevron, and its popup. */
|
||||
.pp {
|
||||
touch-action: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.pp-lead {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
flex: none;
|
||||
}
|
||||
/* The one it led with before, blurring away over the new one. */
|
||||
.pp-lead > .pp-gone {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
}
|
||||
.pp-lead[hidden] {
|
||||
display: none;
|
||||
}
|
||||
/* Turned by its own angle (ui/pick.ts), so shutting goes on round to down rather than back. */
|
||||
.pp-chev {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
flex: none;
|
||||
color: var(--text-2);
|
||||
rotate: 90deg;
|
||||
transition: rotate 260ms var(--ease-out);
|
||||
}
|
||||
|
||||
/* The popup: segments in one pill frame on Liquid Glass (tokens.css --glass-*), its tail one shape with it (a clip
|
||||
path, ui/pick.ts) with a soft even edge traced round both.
|
||||
The segments: clear on the glass as the menu's rows are; the dropdowns' highlight rests on the picked one (it is
|
||||
what says which is picked) and glides to the one pointed at; the picked one and the one pointed at in full text
|
||||
colour, the rest in the glass's subtitle colour. */
|
||||
.pp-pop {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
/* Its edge and shadow are its own (the clip path would cut the dropdowns' off): the ring and the shade. */
|
||||
.pp-pop.drop {
|
||||
box-shadow: none;
|
||||
}
|
||||
/* Room for the tail, towards the pill. */
|
||||
.pp-pop.above {
|
||||
padding-bottom: 9px;
|
||||
}
|
||||
.pp-pop.below {
|
||||
padding-top: 9px;
|
||||
}
|
||||
.pp-shade {
|
||||
position: fixed;
|
||||
z-index: 59;
|
||||
border-radius: 999px;
|
||||
pointer-events: none;
|
||||
box-shadow: var(--glass-shadow);
|
||||
}
|
||||
.pp-ring {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
fill: none;
|
||||
stroke: var(--glass-edge);
|
||||
stroke-width: 2;
|
||||
}
|
||||
.pp-pop button {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
height: 34px;
|
||||
padding: 0 10px;
|
||||
border-radius: 10px;
|
||||
color: var(--glass-sub);
|
||||
font-size: 12.5px;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
transition:
|
||||
color 150ms,
|
||||
background-color 150ms,
|
||||
transform 150ms var(--ease-out);
|
||||
}
|
||||
/* The ends follow the frame: half the segment's height (a larger radius would shrink every corner). */
|
||||
.pp-pop button:first-of-type {
|
||||
border-radius: 17px 10px 10px 17px;
|
||||
padding-left: 13px;
|
||||
}
|
||||
.pp-pop button:last-of-type {
|
||||
border-radius: 10px 17px 17px 10px;
|
||||
padding-right: 13px;
|
||||
}
|
||||
/* Under the pointer, or under a finger sliding over from the pill. */
|
||||
/* Under the pointer, or under a finger sliding over from the pill: the dropdowns' highlight is under it
|
||||
(ui/glide.ts); its words come up. */
|
||||
.pp-pop button.hot {
|
||||
color: var(--glass-text);
|
||||
}
|
||||
.pp-pop button:active {
|
||||
transform: scale(0.96);
|
||||
}
|
||||
.pp-pop button[aria-checked='true'] {
|
||||
color: var(--glass-text);
|
||||
}
|
||||
.kbd .pp-pop button:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
/* A language's flag: a 16px disc with a hairline so a white stripe keeps its edge. */
|
||||
.flag {
|
||||
position: relative;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
flex: none;
|
||||
}
|
||||
.flag svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.flag::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 50%;
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
.pp-pop button:not([aria-checked='true']):not(.hot) .flag {
|
||||
opacity: 0.7;
|
||||
}
|
||||
@@ -22,10 +22,6 @@
|
||||
.step + .step {
|
||||
margin-top: 20px;
|
||||
}
|
||||
/* No data: the connection step alone in its row (flows/setup-view.ts regroup). */
|
||||
.step[hidden] + .step {
|
||||
margin-top: 0;
|
||||
}
|
||||
.step-n {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
@@ -55,6 +51,12 @@
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
/* The connection (flows/setup-view.ts): its picker over its box, in step 2, a row or the again-row alike. */
|
||||
.conn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
/* The way, as on the old portal: one dotted line, three layers through the same dots (the dots, the
|
||||
light along them that runs and rests a beat, the green that fills them from the device); the
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
.sheet-root.open {
|
||||
display: block;
|
||||
}
|
||||
/* The dim alone, no blur behind it: a blur of the whole page would be drawn again on every frame the sheet and
|
||||
the dim move, and the system's own sheets dim too. */
|
||||
.scrim {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: var(--scrim);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.sheet {
|
||||
position: absolute;
|
||||
@@ -135,34 +135,31 @@
|
||||
top: 22px;
|
||||
right: 58px;
|
||||
}
|
||||
/* The connection's download and copy, on its row beside the chevron: quiet icons in the chevron's grey, a knob
|
||||
circle behind one under the pointer. */
|
||||
.hpill {
|
||||
position: relative;
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
}
|
||||
.hp-b {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 38px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: var(--knob);
|
||||
color: var(--text);
|
||||
border-radius: 50%;
|
||||
color: var(--text-2);
|
||||
transition:
|
||||
background-color 150ms,
|
||||
color 150ms,
|
||||
transform 150ms var(--ease-out);
|
||||
}
|
||||
.hp-b:first-of-type {
|
||||
border-radius: 16px 6px 6px 16px;
|
||||
}
|
||||
.hp-b:last-of-type {
|
||||
border-radius: 6px 16px 16px 6px;
|
||||
}
|
||||
.hp-b .i {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.hp-b:hover {
|
||||
background: color-mix(in srgb, var(--knob), var(--text) 6%);
|
||||
background: var(--knob);
|
||||
color: var(--text);
|
||||
}
|
||||
.hp-b:active {
|
||||
transform: scale(0.94);
|
||||
|
||||
@@ -39,14 +39,27 @@
|
||||
--accent: #4eafff;
|
||||
--accent-ink: #ffffff;
|
||||
--accent-soft: rgba(78, 175, 255, 0.13);
|
||||
--ok: #57d64b;
|
||||
--ok-soft: rgba(87, 214, 75, 0.14);
|
||||
--warn: #ff8a3d;
|
||||
--bad: #ff5c5c;
|
||||
--bad-soft: rgba(255, 92, 92, 0.13);
|
||||
--ok: #30d158;
|
||||
--ok-soft: rgba(48, 209, 88, 0.14);
|
||||
--warn: #ff8d28;
|
||||
--bad: #ff383c;
|
||||
--bad-soft: rgba(255, 56, 60, 0.13);
|
||||
--sel-bg: rgba(131, 209, 255, 0.25);
|
||||
--sel-fg: #64c6ff;
|
||||
--scrim: rgba(8, 8, 8, 0.8);
|
||||
/* iOS 26's Liquid Glass, Regular (Apple's Figma kit), for what pops over the page (the ⋯ menu, the pick pills'
|
||||
popups): black 60% with a white 6% film at 67%, blurred and its colours lifted; a soft even edge; its own
|
||||
text, subtitle and destructive colours; separators a touch softer than the edge; a solid highlight. */
|
||||
--glass-bg: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)), rgba(0, 0, 0, 0.4);
|
||||
--glass-edge: rgba(255, 255, 255, 0.05);
|
||||
--glass-sep: rgba(255, 255, 255, 0.04);
|
||||
--glass-text: #f5f5f5;
|
||||
--glass-sub: #8a8a8a;
|
||||
--glass-bad: var(--bad);
|
||||
--glass-hl: color-mix(in srgb, var(--raised), var(--text) 8%);
|
||||
--glass-hover: color-mix(in srgb, var(--raised), var(--text) 5%);
|
||||
/* No shadow on dark: the glass's edge sets it apart; on light a soft one. */
|
||||
--glass-shadow: 0 0 0 transparent;
|
||||
--line-glass: rgba(255, 255, 255, 0.07);
|
||||
--pop-shadow: 0 18px 48px -14px rgba(0, 0, 0, 0.75);
|
||||
--sheet-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.6);
|
||||
@@ -65,11 +78,11 @@
|
||||
--t-blue-a: #a6d9ff;
|
||||
--t-blue-b: #1d84e6;
|
||||
--t-green-a: #a8f29c;
|
||||
--t-green-b: #3aa32c;
|
||||
--t-green-b: #30d158;
|
||||
--t-red-a: #ffadad;
|
||||
--t-red-b: #dc3a3a;
|
||||
--t-red-b: #ff383c;
|
||||
--t-orange-a: #ffc08f;
|
||||
--t-orange-b: #ec6a12;
|
||||
--t-orange-b: #ff8d28;
|
||||
|
||||
--font: Geist, -apple-system, system-ui, 'Segoe UI', sans-serif;
|
||||
--mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
|
||||
@@ -98,14 +111,22 @@
|
||||
--text-3: #a6a6a4;
|
||||
--accent: #2b9dff;
|
||||
--accent-soft: rgba(43, 157, 255, 0.12);
|
||||
--ok: #33a328;
|
||||
--ok-soft: rgba(51, 163, 40, 0.12);
|
||||
--warn: #ee6a12;
|
||||
--bad: #e5484d;
|
||||
--bad-soft: rgba(229, 72, 77, 0.1);
|
||||
--ok: #30d158;
|
||||
--ok-soft: rgba(48, 209, 88, 0.12);
|
||||
--warn: #ff8d28;
|
||||
--bad: #ff383c;
|
||||
--bad-soft: rgba(255, 56, 60, 0.1);
|
||||
--sel-bg: rgba(78, 175, 255, 0.22);
|
||||
--sel-fg: #0a76cf;
|
||||
--scrim: rgba(236, 236, 235, 0.62);
|
||||
--glass-bg: rgba(245, 245, 245, 0.6);
|
||||
--glass-edge: rgba(0, 0, 0, 0.04);
|
||||
--glass-sep: rgba(0, 0, 0, 0.03);
|
||||
--glass-text: #1a1a1a;
|
||||
--glass-sub: #727272;
|
||||
--glass-hl: color-mix(in srgb, var(--raised), var(--text) 11%);
|
||||
--glass-hover: color-mix(in srgb, var(--raised), var(--text) 4%);
|
||||
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
||||
--line-glass: rgba(0, 0, 0, 0.07);
|
||||
--pop-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.2);
|
||||
--sheet-shadow: 0 24px 64px -18px rgba(0, 0, 0, 0.22);
|
||||
@@ -123,8 +144,8 @@
|
||||
--t-blue-a: #7cc4ff;
|
||||
--t-blue-b: #0a6fd6;
|
||||
--t-green-a: #82e070;
|
||||
--t-green-b: #2e8a22;
|
||||
--t-green-b: #30d158;
|
||||
--t-red-a: #ff9090;
|
||||
--t-red-b: #c92a2a;
|
||||
--t-red-b: #ff383c;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user