Dawnline 0.12.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 portal's traffic charts show what came down and what went up apart. A device's last 7 days and "Data this month" draw each day both ways: downloads rise above a thin line, uploads hang below it, on one scale. Beside them "↓ 3.2 GB ↑ 557 MB" instead of one total; hover a day for its own, its date where "left" stands - Charts answer the pointer between their bars too, in the portal and in the admin's daily charts (a device's week, a device card's 30 days, the last 30 days): the figures no longer blink back to the total - The calendar under "Access until" plays its days in only when the row is opened, not again each time the page refreshes with it open - On a phone the page comes in from the top down: "Your access" first, then the devices - "Show key" on a router's set-up morphs to "Hide key" with its icon, and brings the keys themselves into focus (it blurred the field names)
This commit is contained in:
1 parent
2f2aaf6c34
commit
fb73ac3a9f
33 files changed
+396
-199
No files matched your search
@@ -125,28 +125,6 @@
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.mbars {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 3px;
|
||||
height: 64px;
|
||||
}
|
||||
.mbars i {
|
||||
flex: 1;
|
||||
border-radius: 2.5px;
|
||||
background: var(--bar);
|
||||
min-height: 3px;
|
||||
transition: background-color 120ms;
|
||||
}
|
||||
.mbars i.future {
|
||||
background: color-mix(in srgb, var(--bar) 45%, transparent);
|
||||
}
|
||||
.mbars i.today {
|
||||
background: var(--accent);
|
||||
}
|
||||
.mbars i:not(.future):hover {
|
||||
background: var(--text-2);
|
||||
}
|
||||
.month-axis {
|
||||
position: relative;
|
||||
display: flex;
|
||||
@@ -171,7 +149,10 @@
|
||||
font-size: 13px;
|
||||
color: var(--text-2);
|
||||
}
|
||||
.month-read b {
|
||||
.month-read > * {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.month-read .ud {
|
||||
color: var(--text);
|
||||
font-weight: 500;
|
||||
font-size: 15px;
|
||||
@@ -273,7 +254,8 @@
|
||||
.until.soon .cal-g i.end {
|
||||
box-shadow: inset 0 0 0 1.5px var(--warn);
|
||||
}
|
||||
.acc-row.open .cal-g i {
|
||||
/* The days come in when the person opens the row, not when a repaint rebuilds it open. */
|
||||
.acc-row.opened .cal-g i {
|
||||
animation: cal-in 360ms var(--ease-out) backwards;
|
||||
animation-delay: calc(var(--i) * 7ms);
|
||||
}
|
||||
@@ -339,7 +321,7 @@
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.acc-row.open .cal-g i {
|
||||
.acc-row.opened .cal-g i {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
/* Traffic by day, both ways (ui/bars.ts): downloads rise above a hairline, uploads hang below it,
|
||||
today in accent; a device card's week and the month in "Your access". Beside them, "↓ 3.9 GB ↑ 819 MB".
|
||||
The columns meet: each takes half the gap on either side, so the pointer reads a day in the gaps too, and
|
||||
the row gives the outer halves back so the bars stand where a plain gap would put them. */
|
||||
|
||||
.bars {
|
||||
--gap: 3px;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex: none;
|
||||
margin-inline: calc(var(--gap) / -2);
|
||||
}
|
||||
.bars-week {
|
||||
--gap: 4px;
|
||||
}
|
||||
.bars .col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-inline: calc(var(--gap) / 2);
|
||||
}
|
||||
.bars-month .col {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.bars .half {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.bars .half.top {
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.bars i {
|
||||
display: block;
|
||||
border-radius: 2.5px;
|
||||
transition: background-color 120ms;
|
||||
}
|
||||
.bars-week i {
|
||||
width: 6px;
|
||||
border-radius: 3px;
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
.bars .dn {
|
||||
background: color-mix(in srgb, var(--text) 24%, transparent);
|
||||
}
|
||||
.bars .up {
|
||||
background: color-mix(in srgb, var(--text) 11%, transparent);
|
||||
}
|
||||
.bars .today .dn {
|
||||
background: var(--accent);
|
||||
}
|
||||
.bars .today .up {
|
||||
background: color-mix(in srgb, var(--accent) 45%, transparent);
|
||||
}
|
||||
.bars .col:not(.future):hover .dn {
|
||||
background: var(--text-2);
|
||||
}
|
||||
.bars .col:not(.future):hover .up {
|
||||
background: color-mix(in srgb, var(--text-2) 50%, transparent);
|
||||
}
|
||||
.bars .today:hover .dn {
|
||||
background: color-mix(in srgb, var(--accent) 75%, var(--text));
|
||||
}
|
||||
.bars .future i {
|
||||
height: 3px;
|
||||
background: color-mix(in srgb, var(--bar) 45%, transparent);
|
||||
}
|
||||
.bars .axis {
|
||||
position: absolute;
|
||||
left: calc(var(--gap) / 2);
|
||||
right: calc(var(--gap) / 2);
|
||||
height: 1px;
|
||||
background: var(--line);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* ↓ down ↑ up: the arrows are the line icon turned; the upload one step quieter. */
|
||||
.ud {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ud > span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
.ud .i {
|
||||
width: 0.8em;
|
||||
height: 0.8em;
|
||||
stroke-width: 2.2;
|
||||
color: var(--text-2);
|
||||
}
|
||||
.ud-dn .i {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.ud-up {
|
||||
color: var(--text-2);
|
||||
}
|
||||
.ud-up .i {
|
||||
transform: rotate(-90deg);
|
||||
color: var(--text-3);
|
||||
}
|
||||
@@ -97,27 +97,6 @@
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.spark {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 4px;
|
||||
height: 34px;
|
||||
}
|
||||
.spark i {
|
||||
width: 6px;
|
||||
border-radius: 3px;
|
||||
background: var(--bar);
|
||||
transition: background-color 150ms;
|
||||
}
|
||||
.spark i.today {
|
||||
background: var(--accent);
|
||||
}
|
||||
.spark i:hover {
|
||||
background: var(--text-2);
|
||||
}
|
||||
.spark i.today:hover {
|
||||
background: color-mix(in srgb, var(--accent) 75%, var(--text));
|
||||
}
|
||||
.dev .setup-btn {
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
@import './base.css';
|
||||
@import './controls.css';
|
||||
@import './morph.css';
|
||||
@import './bars.css';
|
||||
@import './accordion.css';
|
||||
@import './page.css';
|
||||
@import './devices.css';
|
||||
|
||||
Reference in new issue
Block a user