1960 lines
44 KiB
CSS
1960 lines
44 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
h2,
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
.app {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
}
|
|
|
|
.app-body {
|
|
min-height: 0;
|
|
}
|
|
|
|
.app-main {
|
|
min-width: 0;
|
|
}
|
|
|
|
.app-loading {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
font: 700 16px/1 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
color: light-dark(oklch(0.42 0.01 145), oklch(0.76 0.01 145));
|
|
background: light-dark(oklch(0.965 0.006 145), oklch(0.18 0.012 145));
|
|
}
|
|
|
|
/* ============ Client overview ============ */
|
|
|
|
.app.client-app {
|
|
--client-bg: oklch(0.965 0.006 145);
|
|
--client-panel: oklch(0.995 0.003 145);
|
|
--client-control: oklch(0.955 0.006 145);
|
|
--client-border: oklch(0.86 0.012 145);
|
|
--client-text: oklch(0.24 0.014 145);
|
|
--client-muted: oklch(0.53 0.014 145);
|
|
--harbor-word: oklch(0.39 0.075 232);
|
|
--harbor-connect: oklch(0.57 0.11 185);
|
|
--harbor-gateway: oklch(0.61 0.12 72);
|
|
--client-accent: var(--harbor-connect);
|
|
--client-accent-soft: color-mix(in oklch, var(--client-accent) 22%, transparent);
|
|
grid-template-rows: 1fr;
|
|
color-scheme: light;
|
|
background: var(--client-bg);
|
|
}
|
|
|
|
.app-body.client-mode {
|
|
min-height: 100vh;
|
|
background: var(--client-bg);
|
|
}
|
|
|
|
.client-mode .app-main {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 48px 24px 32px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.client-shell {
|
|
position: relative;
|
|
width: min(100%, 1100px);
|
|
display: grid;
|
|
gap: 12px;
|
|
font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
color: var(--client-text);
|
|
}
|
|
|
|
.client-shell:has(.harbor-brand.is-gateway-active) {
|
|
--client-accent: var(--harbor-gateway);
|
|
}
|
|
|
|
.harbor-brand {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 2;
|
|
color: var(--harbor-word);
|
|
font-size: 13px;
|
|
letter-spacing: -0.035em;
|
|
transform: translate(-50%, calc(-50% - 25vh)) scale(3);
|
|
transform-origin: center;
|
|
transition: transform 1800ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.harbor-brand.is-switchable {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.harbor-brand-control {
|
|
position: relative;
|
|
appearance: none;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
padding: 3px 5px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
letter-spacing: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.harbor-brand-control:focus-visible {
|
|
outline: 1px solid color-mix(in srgb, var(--harbor-gateway) 55%, transparent);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.harbor-brand-control:disabled {
|
|
cursor: wait;
|
|
}
|
|
|
|
.client-shell.is-first-run .harbor-brand {
|
|
transform: translate(-50%, calc(-50% - 72px)) scale(1.35);
|
|
}
|
|
|
|
.harbor-brand-content {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
}
|
|
|
|
.client-shell.is-intro .harbor-brand-content {
|
|
animation: harbor-first-run 1200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-shell.is-intro .client-form {
|
|
animation: harbor-first-run-form 650ms 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
@keyframes harbor-first-run {
|
|
from { transform: translateY(53px) scale(1.59); }
|
|
}
|
|
|
|
@keyframes harbor-first-run-form {
|
|
from { opacity: 0; filter: blur(8px); }
|
|
}
|
|
|
|
.harbor-brand svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.7;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.harbor-brand .harbor-anchor-left {
|
|
stroke: var(--harbor-connect);
|
|
}
|
|
|
|
.harbor-brand .harbor-anchor-right {
|
|
stroke: var(--harbor-gateway);
|
|
}
|
|
|
|
.harbor-brand strong {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.harbor-brand-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45em;
|
|
}
|
|
|
|
.harbor-brand em {
|
|
color: var(--harbor-connect);
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.harbor-brand.is-gateway em {
|
|
color: var(--harbor-gateway);
|
|
}
|
|
|
|
.harbor-mode-control,
|
|
.harbor-mode-stack {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 4.5em;
|
|
height: 1.25em;
|
|
}
|
|
|
|
.harbor-mode-stack {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.harbor-mode-stack em {
|
|
position: absolute;
|
|
inset: 0 auto auto 0;
|
|
transition: color 420ms ease, opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.harbor-brand .harbor-mode-connect {
|
|
z-index: 2;
|
|
color: var(--harbor-connect);
|
|
animation: harbor-mode-ambient-front 10s ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-brand .harbor-mode-gateway {
|
|
z-index: 1;
|
|
color: var(--harbor-gateway);
|
|
opacity: 0.2;
|
|
filter: blur(0.4px);
|
|
transform: translate(0.42em, 0.34em) scale(0.96);
|
|
animation: harbor-mode-ambient-back 10s ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-mode-connect {
|
|
z-index: 1;
|
|
opacity: 0.18;
|
|
filter: blur(0.4px);
|
|
transform: translate(0.42em, 0.34em) scale(0.96);
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-mode-gateway {
|
|
z-index: 2;
|
|
opacity: 1;
|
|
filter: none;
|
|
transform: none;
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-mode-connect {
|
|
animation-name: harbor-mode-ambient-back;
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-mode-gateway {
|
|
animation-name: harbor-mode-ambient-front;
|
|
}
|
|
|
|
.harbor-brand-control.is-mode-animating .harbor-mode-connect {
|
|
animation: harbor-mode-float-front 1500ms ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-brand-control.is-mode-animating .harbor-mode-gateway {
|
|
animation: harbor-mode-float-back 1500ms ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-brand-control.is-mode-animating .harbor-mode-connect {
|
|
animation-name: harbor-mode-float-back;
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-brand-control.is-mode-animating .harbor-mode-gateway {
|
|
animation-name: harbor-mode-float-front;
|
|
}
|
|
|
|
@keyframes harbor-mode-float-front {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(0.12em); }
|
|
}
|
|
|
|
@keyframes harbor-mode-float-back {
|
|
0%, 100% { transform: translate(0.42em, 0.34em) scale(0.96); }
|
|
50% { transform: translate(0.42em, 0.22em) scale(0.96); }
|
|
}
|
|
|
|
@keyframes harbor-mode-ambient-front {
|
|
0%, 88%, 96%, 100% { transform: translateY(0); }
|
|
92% { transform: translateY(0.08em); }
|
|
}
|
|
|
|
@keyframes harbor-mode-ambient-back {
|
|
0%, 88%, 96%, 100% { transform: translate(0.42em, 0.34em) scale(0.96); }
|
|
92% { transform: translate(0.42em, 0.26em) scale(0.96); }
|
|
}
|
|
|
|
.harbor-brand .harbor-mode-swap {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: calc(100% + 4px);
|
|
width: 14px;
|
|
height: 14px;
|
|
opacity: 0.82;
|
|
stroke-width: 1.35;
|
|
transform: translateY(-50%);
|
|
transition: color 320ms ease, opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.harbor-mode-swap g,
|
|
.harbor-mode-swap path {
|
|
transform-box: fill-box;
|
|
transform-origin: center;
|
|
transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.harbor-mode-swap .is-connect {
|
|
stroke: var(--harbor-connect);
|
|
transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.harbor-mode-swap .is-connect path {
|
|
animation: harbor-arrow-ambient-right 10s ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-mode-swap .is-gateway {
|
|
stroke: var(--harbor-gateway);
|
|
transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.harbor-mode-swap .is-gateway path {
|
|
animation: harbor-arrow-ambient-left 10s ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-mode-swap .is-connect {
|
|
transform: translateY(6px);
|
|
}
|
|
|
|
.harbor-brand.is-gateway-active .harbor-mode-swap .is-gateway {
|
|
transform: translateY(-6px);
|
|
}
|
|
|
|
.harbor-mode-tooltip {
|
|
position: absolute;
|
|
bottom: calc(100% + 9px);
|
|
left: 0;
|
|
width: calc(100% + 22px);
|
|
display: grid;
|
|
gap: 2px;
|
|
padding: 5px 6px;
|
|
border-radius: 5px;
|
|
background: color-mix(in oklch, var(--client-panel) 68%, transparent);
|
|
box-shadow: 0 5px 18px oklch(0.08 0.015 145 / 0.1);
|
|
backdrop-filter: blur(8px) saturate(0.9);
|
|
color: var(--client-muted);
|
|
font-size: 4px;
|
|
line-height: 1.5;
|
|
letter-spacing: 0;
|
|
text-align: left;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
filter: blur(2px);
|
|
pointer-events: none;
|
|
transform: translateY(3px);
|
|
transition: opacity 90ms ease, filter 120ms ease, transform 140ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 140ms;
|
|
}
|
|
|
|
.harbor-mode-tooltip strong {
|
|
color: var(--client-text);
|
|
font-size: 4.2px;
|
|
}
|
|
|
|
.harbor-brand-control:hover .harbor-mode-tooltip,
|
|
.harbor-brand-control:focus-visible .harbor-mode-tooltip {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
filter: blur(0);
|
|
transform: translateY(0);
|
|
transition-delay: 20ms, 20ms, 20ms, 0s;
|
|
}
|
|
|
|
.harbor-brand-control:hover .harbor-mode-swap,
|
|
.harbor-brand-control:focus-visible .harbor-mode-swap {
|
|
opacity: 1;
|
|
}
|
|
|
|
.harbor-brand-control.is-mode-animating .harbor-mode-swap .is-connect path {
|
|
animation: harbor-arrow-float-right 1500ms ease-in-out infinite;
|
|
}
|
|
|
|
.harbor-brand-control.is-mode-animating .harbor-mode-swap .is-gateway path {
|
|
animation: harbor-arrow-float-left 1500ms ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes harbor-arrow-float-right {
|
|
0%, 100% { transform: translateX(0); }
|
|
50% { transform: translateX(1.25px); }
|
|
}
|
|
|
|
@keyframes harbor-arrow-float-left {
|
|
0%, 100% { transform: translateX(0); }
|
|
50% { transform: translateX(-1.25px); }
|
|
}
|
|
|
|
@keyframes harbor-arrow-ambient-right {
|
|
0%, 88%, 96%, 100% { transform: translateX(0); }
|
|
92% { transform: translateX(0.75px); }
|
|
}
|
|
|
|
@keyframes harbor-arrow-ambient-left {
|
|
0%, 88%, 96%, 100% { transform: translateX(0); }
|
|
92% { transform: translateX(-0.75px); }
|
|
}
|
|
|
|
.client-instructions-toggle {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 14px;
|
|
z-index: 30;
|
|
width: 42px;
|
|
height: 54px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--client-muted);
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
transition: transform 440ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-instructions-toggle svg {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 23px;
|
|
height: 18px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.7;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
overflow: visible;
|
|
transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-instructions-toggle path {
|
|
opacity: 0;
|
|
transform: translateX(-5px);
|
|
transition: opacity 260ms ease, transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-instructions-toggle path:last-child {
|
|
opacity: 1;
|
|
transform: translateX(-4px);
|
|
}
|
|
|
|
.client-instructions-toggle span {
|
|
position: absolute;
|
|
left: 48px;
|
|
width: max-content;
|
|
color: var(--client-text);
|
|
font: 700 10px/1.2 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
letter-spacing: 0.04em;
|
|
opacity: 0;
|
|
filter: blur(5px);
|
|
pointer-events: none;
|
|
transform: translateX(-8px);
|
|
transition: opacity 350ms ease, filter 350ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-instructions-toggle:hover,
|
|
.client-instructions-toggle:focus-visible {
|
|
outline: none;
|
|
transform: translateY(-50%) translateX(3px);
|
|
}
|
|
|
|
.client-instructions-toggle:hover path,
|
|
.client-instructions-toggle:focus-visible path {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.client-instructions-toggle:hover span,
|
|
.client-instructions-toggle:focus-visible span {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.client-instructions-toggle.is-open svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.client-instructions-toggle.is-open path {
|
|
opacity: 0;
|
|
}
|
|
|
|
.client-instructions-toggle.is-open path:first-child {
|
|
opacity: 1;
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.client-instructions-toggle.is-open span {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.client-instructions {
|
|
position: fixed;
|
|
inset: 0 auto 0 0;
|
|
z-index: 20;
|
|
width: min(470px, 100vw);
|
|
overflow-y: auto;
|
|
background: color-mix(in oklch, var(--client-bg) 99%, var(--client-panel));
|
|
color: var(--client-text);
|
|
box-shadow: 26px 0 72px oklch(0.09 0.015 145 / 0.12);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateX(-104%);
|
|
transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease, visibility 0s 760ms;
|
|
}
|
|
|
|
.client-instructions.is-open {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(0);
|
|
transition-delay: 0s;
|
|
}
|
|
|
|
.client-instructions-sheet {
|
|
min-height: 100%;
|
|
padding: 54px 34px 72px 72px;
|
|
font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
}
|
|
|
|
.client-instructions-header {
|
|
display: grid;
|
|
gap: 9px;
|
|
margin: 0 8px 38px;
|
|
}
|
|
|
|
.client-instructions-header span,
|
|
.client-instruction-summary > span {
|
|
color: var(--client-muted);
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.client-instructions-header h2 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
|
|
.client-instructions-intro {
|
|
display: grid;
|
|
gap: 12px;
|
|
margin-top: 15px;
|
|
color: var(--client-muted);
|
|
font-size: 11px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.client-instructions-intro p {
|
|
margin: 0;
|
|
}
|
|
|
|
.client-instruction-list {
|
|
display: grid;
|
|
gap: 15px;
|
|
}
|
|
|
|
.client-instruction-block {
|
|
border: 0;
|
|
border-radius: 22px;
|
|
background: color-mix(in oklch, var(--client-panel) 56%, var(--client-bg));
|
|
box-shadow: 0 14px 36px oklch(0.1 0.015 145 / 0.065);
|
|
transition: background 300ms ease, box-shadow 500ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-instruction-block:nth-child(even) {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.client-instruction-block:nth-child(3n) {
|
|
margin-right: 9px;
|
|
}
|
|
|
|
.client-instruction-block:hover,
|
|
.client-instruction-block.is-open {
|
|
background: color-mix(in oklch, var(--client-panel) 68%, var(--client-bg));
|
|
box-shadow: 0 20px 48px oklch(0.1 0.015 145 / 0.095);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.client-instruction-block.is-open {
|
|
animation: client-instruction-promote 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
@keyframes client-instruction-promote {
|
|
from { opacity: 0.72; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(-2px); }
|
|
}
|
|
|
|
::view-transition-old(root),
|
|
::view-transition-new(root) {
|
|
animation: none;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
::view-transition-group(instruction-proxybridge),
|
|
::view-transition-group(instruction-switchyomega),
|
|
::view-transition-group(instruction-vscode),
|
|
::view-transition-group(instruction-router) {
|
|
animation-duration: 560ms;
|
|
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-instruction-summary {
|
|
position: relative;
|
|
width: 100%;
|
|
display: grid;
|
|
gap: 7px;
|
|
padding: 21px 46px 21px 22px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.client-instruction-summary:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
.client-instruction-block:has(.client-instruction-summary:focus-visible) {
|
|
background: color-mix(in oklch, var(--client-panel) 72%, var(--client-bg));
|
|
box-shadow: 0 20px 48px oklch(0.1 0.015 145 / 0.11);
|
|
}
|
|
|
|
.client-instruction-summary > i {
|
|
position: absolute;
|
|
top: 27px;
|
|
right: 20px;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.client-instruction-summary > i::before,
|
|
.client-instruction-summary > i::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 0;
|
|
width: 12px;
|
|
height: 1px;
|
|
background: var(--client-muted);
|
|
transform-origin: center;
|
|
transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 360ms ease;
|
|
}
|
|
|
|
.client-instruction-summary > i::after {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.client-instruction-block.is-open .client-instruction-summary > i::after {
|
|
opacity: 0;
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.client-instruction-block.is-open .client-instruction-summary > i::before {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.client-instruction-summary strong {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.client-instruction-summary small {
|
|
max-width: 54ch;
|
|
color: var(--client-muted);
|
|
font-size: 10px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.client-instruction-reveal {
|
|
display: grid;
|
|
grid-template-rows: 0fr;
|
|
opacity: 0;
|
|
filter: blur(4px);
|
|
transition: grid-template-rows 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease, filter 500ms ease;
|
|
}
|
|
|
|
.client-instruction-block.is-open .client-instruction-reveal {
|
|
grid-template-rows: 1fr;
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
}
|
|
|
|
.client-instruction-body {
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
display: grid;
|
|
gap: 14px;
|
|
padding: 0 22px 24px;
|
|
color: var(--client-muted);
|
|
font-size: 11px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.client-instruction-body p,
|
|
.client-instruction-body ol {
|
|
margin: 0;
|
|
}
|
|
|
|
.client-instruction-body ol {
|
|
display: grid;
|
|
gap: 9px;
|
|
padding-left: 22px;
|
|
}
|
|
|
|
.client-instruction-body li::marker {
|
|
color: var(--client-accent);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.client-instruction-body code {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 12px 14px;
|
|
border-radius: 12px;
|
|
background: color-mix(in oklch, var(--client-control) 84%, transparent);
|
|
color: var(--client-text);
|
|
font: 500 11px/1.5 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.client-instruction-body .client-instruction-note {
|
|
padding: 11px 13px;
|
|
border-radius: 12px;
|
|
background: color-mix(in oklch, var(--client-control) 48%, transparent);
|
|
color: var(--client-text);
|
|
}
|
|
|
|
.client-instruction-body a {
|
|
width: fit-content;
|
|
color: var(--client-accent);
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.client-instruction-body a:hover {
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
}
|
|
|
|
.client-panel {
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 520px;
|
|
padding: 24px 0;
|
|
}
|
|
|
|
.client-panel.is-setup .client-form {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.client-power-section p {
|
|
color: var(--client-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.client-power-section {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 18px;
|
|
text-align: center;
|
|
animation: client-power-arrive 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
@keyframes client-power-arrive {
|
|
0% { opacity: 0; filter: blur(8px); transform: scale(0.94); }
|
|
100% { opacity: 1; filter: blur(0); transform: scale(1); }
|
|
}
|
|
|
|
.client-state-copy {
|
|
min-height: 54px;
|
|
}
|
|
|
|
.client-power {
|
|
position: relative;
|
|
width: 96px;
|
|
height: 96px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: var(--client-muted);
|
|
cursor: pointer;
|
|
transition: color 800ms cubic-bezier(0.16, 1, 0.3, 1), opacity 600ms ease;
|
|
}
|
|
|
|
.client-power::before,
|
|
.client-power::after {
|
|
content: '';
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-power::before {
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, color-mix(in oklch, currentColor 38%, transparent), transparent 70%);
|
|
opacity: 0;
|
|
filter: blur(2px);
|
|
transform: translate3d(0, 4px, 0) scale(0.62);
|
|
transition: opacity 1050ms cubic-bezier(0.16, 1, 0.3, 1), transform 1250ms cubic-bezier(0.16, 1, 0.3, 1), filter 1050ms ease;
|
|
}
|
|
|
|
.client-power::after {
|
|
width: 24px;
|
|
height: 24px;
|
|
background: radial-gradient(circle, color-mix(in oklch, currentColor 48%, transparent), transparent 72%);
|
|
opacity: 0;
|
|
filter: blur(5px);
|
|
transform: translate3d(-8px, 7px, 0) scale(0.7);
|
|
transition: opacity 850ms cubic-bezier(0.16, 1, 0.3, 1), transform 950ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-power[aria-checked='true']::before {
|
|
opacity: 0.76;
|
|
filter: blur(3px);
|
|
transform: translate3d(-3px, -2px, 0) scale(1.48);
|
|
}
|
|
|
|
.client-power[aria-checked='true']::after {
|
|
animation: client-power-light-flicker 4.7s 650ms ease-in-out infinite;
|
|
}
|
|
|
|
.client-power:hover:not(:disabled) {
|
|
color: var(--client-muted);
|
|
}
|
|
|
|
.client-power[aria-checked='true'] {
|
|
color: var(--client-accent);
|
|
}
|
|
|
|
.client-power:active:not(:disabled) {
|
|
opacity: 0.82;
|
|
}
|
|
|
|
.client-power:active:not(:disabled)::before {
|
|
animation: none;
|
|
opacity: 0.86;
|
|
transform: translate3d(3px, -2px, 0) scale(1.56);
|
|
}
|
|
|
|
.client-power:active:not(:disabled)::after {
|
|
animation: none;
|
|
opacity: 0.7;
|
|
transform: translate3d(-7px, 8px, 0) scale(1.18);
|
|
}
|
|
|
|
.client-power:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.client-power svg {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.7;
|
|
stroke-linecap: round;
|
|
filter: drop-shadow(0 0 0 transparent);
|
|
transition: filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-power:hover:not(:disabled) svg {
|
|
filter: drop-shadow(0 0 4px color-mix(in oklch, var(--client-muted) 32%, transparent));
|
|
}
|
|
|
|
.client-power[aria-checked='true']:hover:not(:disabled) {
|
|
color: var(--client-accent);
|
|
}
|
|
|
|
.client-power[aria-checked='true']:hover:not(:disabled) svg {
|
|
filter: drop-shadow(0 0 5px color-mix(in oklch, var(--client-accent) 48%, transparent));
|
|
}
|
|
|
|
.client-power[aria-checked='true'] svg {
|
|
filter: drop-shadow(0 0 4px color-mix(in oklch, var(--client-accent) 42%, transparent));
|
|
}
|
|
|
|
@keyframes client-power-light-flicker {
|
|
0%, 100% { opacity: 0.18; transform: translate3d(-8px, 7px, 0) scale(0.82); }
|
|
19% { opacity: 0.5; transform: translate3d(7px, 5px, 0) scale(1.08); }
|
|
46% { opacity: 0.26; transform: translate3d(8px, -7px, 0) scale(0.78); }
|
|
71% { opacity: 0.58; transform: translate3d(-6px, -8px, 0) scale(1.12); }
|
|
}
|
|
|
|
.client-power-section h2 {
|
|
font: 700 18px/1.3 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
letter-spacing: -0.04em;
|
|
animation: client-state-reveal 700ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-state-detail {
|
|
min-height: 20px;
|
|
display: grid;
|
|
place-items: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.client-state-detail > * {
|
|
grid-area: 1 / 1;
|
|
margin: 0;
|
|
animation: client-state-reveal 850ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.client-duration {
|
|
grid-area: 1 / 1;
|
|
display: block;
|
|
color: var(--client-text);
|
|
font-size: 14px;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.04em;
|
|
opacity: 0;
|
|
filter: blur(5px);
|
|
transition: opacity 260ms ease, filter 420ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-duration.is-active {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
}
|
|
|
|
.client-duration-stack {
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.client-duration-unit .client-duration-part.is-value {
|
|
display: inline-block;
|
|
min-width: 2ch;
|
|
text-align: right;
|
|
}
|
|
|
|
.client-duration-unit .client-duration-part.is-label {
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
|
|
.client-duration-unit[data-unit='days'] .is-label { width: 4ch; }
|
|
.client-duration-unit[data-unit='hours'] .is-label { width: 5ch; }
|
|
.client-duration-unit[data-unit='minutes'] .is-label { width: 6ch; }
|
|
.client-duration-unit[data-unit='seconds'] .is-label { width: 7ch; }
|
|
|
|
.client-duration-unit + .client-duration-unit::before {
|
|
content: ' ';
|
|
}
|
|
|
|
.client-duration-seconds-value {
|
|
display: inline-block;
|
|
animation: client-second-tick 380ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@keyframes client-second-tick {
|
|
from { opacity: 0.28; filter: blur(3px); transform: scale(0.9); }
|
|
to { opacity: 1; filter: blur(0); transform: scale(1); }
|
|
}
|
|
|
|
.client-duration-toggle {
|
|
width: 290px;
|
|
min-height: 24px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.client-duration-toggle:hover .client-duration,
|
|
.client-duration-toggle:focus-visible .client-duration {
|
|
text-shadow: 0 0 10px color-mix(in oklch, var(--client-text) 22%, transparent);
|
|
}
|
|
|
|
.client-duration-toggle:focus-visible {
|
|
outline: none;
|
|
}
|
|
|
|
.client-tooltip-anchor {
|
|
position: relative;
|
|
}
|
|
|
|
.client-tooltip {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
left: 50%;
|
|
z-index: 12;
|
|
width: max-content;
|
|
max-width: 220px;
|
|
padding: 6px 8px;
|
|
border-radius: 8px;
|
|
background: color-mix(in oklch, var(--client-panel) 68%, transparent);
|
|
box-shadow: 0 7px 22px oklch(0.08 0.015 145 / 0.1);
|
|
backdrop-filter: blur(10px) saturate(0.9);
|
|
color: var(--client-text);
|
|
font: 600 10px/1.35 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
letter-spacing: 0;
|
|
text-align: center;
|
|
white-space: normal;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
filter: blur(2px);
|
|
pointer-events: none;
|
|
transform: translate(-50%, -2px);
|
|
transition: opacity 90ms ease, filter 120ms ease, transform 140ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 140ms;
|
|
}
|
|
|
|
.client-tooltip-anchor:hover > .client-tooltip,
|
|
.client-tooltip-anchor:focus-visible > .client-tooltip {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
filter: blur(0);
|
|
transform: translate(-50%, 0);
|
|
transition-delay: 20ms, 20ms, 20ms, 0s;
|
|
}
|
|
|
|
.client-power-section p {
|
|
min-height: 0;
|
|
line-height: 20px;
|
|
}
|
|
|
|
@keyframes client-state-reveal {
|
|
0% { opacity: 0; filter: blur(5px); }
|
|
100% { opacity: 1; filter: blur(0); }
|
|
}
|
|
|
|
.client-form {
|
|
position: absolute;
|
|
left: calc(50% + 130px);
|
|
min-width: 0;
|
|
width: min(360px, calc(50% - 154px));
|
|
display: grid;
|
|
gap: 36px;
|
|
transform: translateX(0);
|
|
transition: left 850ms cubic-bezier(0.16, 1, 0.3, 1), transform 850ms cubic-bezier(0.16, 1, 0.3, 1), width 850ms cubic-bezier(0.16, 1, 0.3, 1), opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 650ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-form-content {
|
|
display: grid;
|
|
gap: 36px;
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
transition: opacity 360ms ease, filter 480ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-form.is-confirming-delete .client-form-content {
|
|
opacity: 0;
|
|
filter: blur(8px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-delete-confirmation {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 2;
|
|
width: 100%;
|
|
min-height: 250px;
|
|
display: grid;
|
|
align-content: center;
|
|
gap: 12px;
|
|
padding: 34px;
|
|
border-radius: 20px;
|
|
background: color-mix(in oklch, var(--client-panel) 88%, transparent);
|
|
box-shadow: 0 20px 54px oklch(0.08 0.015 145 / 0.12);
|
|
backdrop-filter: blur(16px);
|
|
transform: translate(-50%, -50%);
|
|
animation: client-delete-reveal 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.client-delete-confirmation > span {
|
|
color: oklch(0.68 0.15 28);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.client-delete-confirmation h2 {
|
|
font-size: 22px;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.client-delete-confirmation p {
|
|
color: var(--client-muted);
|
|
font-size: 11px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.client-delete-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.client-delete-actions button {
|
|
padding: 10px 14px;
|
|
border: 0;
|
|
border-radius: 9px;
|
|
background: color-mix(in oklch, var(--client-control) 74%, transparent);
|
|
color: var(--client-text);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: color 220ms ease, background 220ms ease, transform 220ms ease;
|
|
}
|
|
|
|
.client-delete-actions button:hover:not(:disabled),
|
|
.client-delete-actions button:focus-visible {
|
|
outline: none;
|
|
background: var(--client-control);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.client-delete-actions .is-danger {
|
|
color: oklch(0.68 0.15 28);
|
|
}
|
|
|
|
.client-delete-actions button:disabled {
|
|
opacity: 0.45;
|
|
cursor: wait;
|
|
}
|
|
|
|
@keyframes client-delete-reveal {
|
|
from { opacity: 0; filter: blur(8px); transform: translate(-50%, -48%) scale(0.97); }
|
|
to { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(1); }
|
|
}
|
|
|
|
.client-form.is-waiting {
|
|
opacity: 0;
|
|
filter: blur(10px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-shell:has(.harbor-brand.is-gateway-active) .client-form:not(.is-waiting) {
|
|
opacity: 0.34;
|
|
filter: grayscale(1) saturate(0);
|
|
}
|
|
|
|
.client-subscription {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 88px;
|
|
display: grid;
|
|
align-items: center;
|
|
justify-items: center;
|
|
}
|
|
|
|
.client-subscription-refresh,
|
|
.client-subscription-delete {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: var(--client-muted);
|
|
cursor: pointer;
|
|
transition: color 250ms ease, filter 500ms ease, opacity 300ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-subscription-refresh svg,
|
|
.client-subscription-delete svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.7;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.client-subscription-delete .client-trash-lid {
|
|
transform-origin: 12px 7px;
|
|
transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-subscription-delete:hover:not(:disabled) .client-trash-lid,
|
|
.client-subscription-delete:focus-visible .client-trash-lid {
|
|
transform: translateY(-2px) rotate(-10deg);
|
|
}
|
|
|
|
.client-subscription-refresh:hover:not(:disabled) {
|
|
color: var(--client-accent);
|
|
filter: drop-shadow(0 0 6px color-mix(in oklch, var(--client-accent) 55%, transparent));
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.client-subscription-refresh:disabled {
|
|
color: var(--client-accent);
|
|
cursor: wait;
|
|
animation: client-spin 900ms linear infinite;
|
|
}
|
|
|
|
.client-subscription-refresh:focus-visible {
|
|
outline: 2px solid var(--client-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.client-subscription-delete:hover:not(:disabled) {
|
|
color: oklch(0.68 0.15 28);
|
|
filter: drop-shadow(0 0 6px oklch(0.68 0.15 28 / 0.45));
|
|
}
|
|
|
|
.client-subscription-delete:disabled {
|
|
opacity: 0.4;
|
|
cursor: wait;
|
|
}
|
|
|
|
.client-subscription-delete:focus-visible {
|
|
outline: 2px solid oklch(0.68 0.15 28);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.client-subscription.is-editing .client-subscription-refresh,
|
|
.client-subscription.is-editing .client-subscription-delete {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-subscription-edit,
|
|
.client-subscription-summary {
|
|
grid-area: 1 / 1;
|
|
width: 100%;
|
|
border: 0;
|
|
background: transparent;
|
|
transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-subscription-edit {
|
|
width: min(100%, 380px);
|
|
min-height: 44px;
|
|
display: block;
|
|
position: relative;
|
|
opacity: 0;
|
|
filter: blur(16px);
|
|
transform: translateY(6px) scale(0.96);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-subscription-edit::before,
|
|
.client-subscription-edit::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 1px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-subscription-edit::before {
|
|
background: var(--client-border);
|
|
}
|
|
|
|
.client-subscription-edit::after {
|
|
background: var(--client-accent);
|
|
opacity: 0.72;
|
|
filter: blur(0.5px);
|
|
box-shadow: 0 0 8px var(--client-accent), 0 0 18px var(--client-accent-soft);
|
|
transition: background 500ms ease, box-shadow 500ms ease;
|
|
}
|
|
|
|
.client-subscription-edit.is-invalid::after {
|
|
background: oklch(0.68 0.15 28);
|
|
box-shadow: 0 0 8px oklch(0.68 0.15 28 / 0.72), 0 0 18px oklch(0.68 0.15 28 / 0.24);
|
|
}
|
|
|
|
.client-subscription.is-timing-out .client-subscription-edit::after {
|
|
animation: client-subscription-timeout 5s linear forwards;
|
|
}
|
|
|
|
@keyframes client-subscription-timeout {
|
|
0% {
|
|
opacity: 0.9;
|
|
box-shadow: 0 0 8px var(--client-accent), 0 0 18px var(--client-accent-soft);
|
|
}
|
|
100% {
|
|
opacity: 0.08;
|
|
box-shadow: 0 0 0 transparent;
|
|
}
|
|
}
|
|
|
|
.client-subscription.is-editing .client-subscription-edit {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
transform: translateY(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.client-subscription-edit input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 44px;
|
|
padding: 0 42px;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: var(--client-text);
|
|
caret-color: transparent;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.client-subscription-edit input::placeholder {
|
|
color: var(--client-muted);
|
|
}
|
|
|
|
.client-subscription-edit input.has-value {
|
|
color: transparent;
|
|
caret-color: transparent;
|
|
}
|
|
|
|
.client-subscription-edit input:-webkit-autofill,
|
|
.client-subscription-edit input:-webkit-autofill:hover,
|
|
.client-subscription-edit input:-webkit-autofill:focus {
|
|
box-shadow: 0 0 0 1000px var(--client-bg) inset;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.client-subscription-domain {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 42px;
|
|
right: 42px;
|
|
overflow: hidden;
|
|
color: var(--client-text);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
transform: translateY(-50%);
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-subscription-submit {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 0;
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--client-accent);
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: color 250ms ease, filter 500ms ease, opacity 250ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-subscription-submit:hover:not(:disabled),
|
|
.client-subscription-submit:focus-visible {
|
|
filter: drop-shadow(0 0 5px var(--client-accent)) drop-shadow(0 0 14px var(--client-accent));
|
|
transform: scale(1.14);
|
|
}
|
|
|
|
.client-subscription-submit:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
.client-subscription-edit.is-checking .client-subscription-submit {
|
|
color: var(--client-muted);
|
|
animation: client-validation-pulse 900ms ease-in-out infinite alternate;
|
|
}
|
|
|
|
.client-subscription-edit.is-invalid .client-subscription-submit {
|
|
color: oklch(0.68 0.15 28);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
@keyframes client-validation-pulse {
|
|
to { opacity: 0.35; }
|
|
}
|
|
|
|
.client-subscription-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.client-subscription-domain-button {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.client-subscription-summary {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
min-height: 88px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 0 2px;
|
|
color: var(--client-muted);
|
|
text-align: center;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.client-subscription.is-editing .client-subscription-summary {
|
|
opacity: 0;
|
|
filter: blur(18px);
|
|
transform: translateY(-4px) scale(1.06);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-subscription-heading > span {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.client-subscription-domain-button strong {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: var(--client-text);
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.055em;
|
|
opacity: 0.88;
|
|
text-shadow: 0 0 20px color-mix(in oklch, var(--client-accent) 24%, transparent);
|
|
transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), text-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1), transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.client-subscription-domain-button:hover strong {
|
|
opacity: 1;
|
|
transform: translateY(-2px);
|
|
text-shadow: 0 0 28px color-mix(in oklch, var(--client-accent) 42%, transparent);
|
|
}
|
|
|
|
.client-usage {
|
|
width: min(100%, 250px);
|
|
display: grid;
|
|
gap: 7px;
|
|
margin: -10px auto 0;
|
|
color: var(--client-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.client-usage > span {
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@keyframes client-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.client-usage > strong {
|
|
color: var(--client-text);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
transition: color 700ms ease, filter 700ms ease, text-shadow 700ms ease;
|
|
}
|
|
|
|
.client-usage.is-updated {
|
|
animation: client-usage-glow 1100ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-usage.is-updated > strong {
|
|
color: var(--client-accent);
|
|
filter: brightness(1.25);
|
|
text-shadow: 0 0 8px var(--client-accent), 0 0 22px color-mix(in oklch, var(--client-accent) 70%, transparent);
|
|
}
|
|
|
|
.client-usage.is-updated .client-usage-bar i {
|
|
animation: client-bar-flare 1100ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
@keyframes client-usage-glow {
|
|
30% { filter: drop-shadow(0 0 18px color-mix(in oklch, var(--client-accent) 78%, transparent)); }
|
|
}
|
|
|
|
@keyframes client-bar-flare {
|
|
30% { box-shadow: 0 0 6px var(--client-accent), 0 0 20px var(--client-accent); filter: brightness(1.45); }
|
|
}
|
|
|
|
.client-usage > strong small {
|
|
color: var(--client-muted);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.client-usage-bar {
|
|
height: 2px;
|
|
overflow: hidden;
|
|
background: var(--client-border);
|
|
}
|
|
|
|
.client-usage-bar i {
|
|
display: block;
|
|
height: 100%;
|
|
background: var(--client-accent);
|
|
box-shadow: 0 0 8px var(--client-accent);
|
|
transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-usage-details {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
font-size: 9px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.client-servers {
|
|
display: block;
|
|
}
|
|
|
|
.client-server-prompt {
|
|
display: block;
|
|
margin-bottom: 12px;
|
|
color: var(--client-muted);
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
animation: client-state-reveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.client-server-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
width: min(100%, 210px);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.client-server {
|
|
min-width: 0;
|
|
min-height: 50px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
padding: 7px 4px 8px;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--client-border);
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--client-text);
|
|
text-align: center;
|
|
cursor: pointer;
|
|
animation: client-server-enter 760ms calc(var(--server-index) * 110ms) cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.client-server-grid.is-leaving {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.client-server-grid.is-leaving .client-server {
|
|
animation: client-server-leave 420ms calc(var(--server-index) * 90ms) cubic-bezier(0.4, 0, 1, 1) forwards;
|
|
}
|
|
|
|
@keyframes client-server-leave {
|
|
0% {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
transform: translateY(0);
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
filter: blur(3px);
|
|
transform: translateY(8px);
|
|
}
|
|
}
|
|
|
|
@keyframes client-server-enter {
|
|
0% {
|
|
opacity: 0;
|
|
filter: blur(3px);
|
|
transform: translateY(-8px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
filter: blur(0);
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.client-server:hover:not(:disabled) {
|
|
transform: translateY(-2px);
|
|
background: transparent;
|
|
opacity: 1;
|
|
}
|
|
|
|
.client-server:active:not(:disabled) {
|
|
transform: translateY(0) scale(0.97);
|
|
}
|
|
|
|
.client-server.is-selected {
|
|
border-bottom: 2px solid var(--client-accent);
|
|
background: transparent;
|
|
}
|
|
|
|
.client-server strong {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
overflow-wrap: anywhere;
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
.client-server small {
|
|
color: var(--client-muted);
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
|
|
.client-server small.good { color: var(--client-accent); }
|
|
.client-server small.medium { color: oklch(0.72 0.12 80); }
|
|
.client-server small.slow { color: oklch(0.65 0.16 30); }
|
|
|
|
.client-server:disabled {
|
|
cursor: wait;
|
|
}
|
|
|
|
.client-subscription-edit button:focus-visible,
|
|
.client-subscription-domain-button:focus-visible,
|
|
.client-server:focus-visible,
|
|
.client-power:focus-visible {
|
|
outline: 2px solid var(--client-accent);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.client-proxies {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 5px;
|
|
width: 240px;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.client-proxies.has-tabs {
|
|
min-height: 91px;
|
|
}
|
|
|
|
.client-proxy-label {
|
|
color: var(--client-muted);
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.client-proxy-label.is-gateway {
|
|
color: var(--client-accent);
|
|
text-shadow: 0 0 10px color-mix(in oklch, var(--client-accent) 42%, transparent);
|
|
}
|
|
|
|
.client-proxy-address {
|
|
color: var(--client-text);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
text-shadow: 0 0 12px color-mix(in oklch, var(--client-accent) 12%, transparent);
|
|
}
|
|
|
|
.client-access-point {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 5px;
|
|
animation: client-access-reveal 450ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
@keyframes client-access-reveal {
|
|
0% { opacity: 0; filter: blur(4px); }
|
|
100% { opacity: 1; filter: blur(0); }
|
|
}
|
|
|
|
.client-access-tabs {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
width: 220px;
|
|
margin-bottom: 8px;
|
|
border-bottom: 1px solid var(--client-border);
|
|
}
|
|
|
|
.client-access-tabs .client-access-tab {
|
|
width: auto;
|
|
padding: 6px 4px 7px;
|
|
border: 0;
|
|
border-bottom: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--client-muted);
|
|
font: 700 9px/1.2 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
letter-spacing: 0.06em;
|
|
cursor: pointer;
|
|
transition: color 220ms ease, border-color 300ms ease, filter 300ms ease;
|
|
}
|
|
|
|
.client-access-tabs .client-access-tab.is-active {
|
|
border-bottom-color: var(--client-accent);
|
|
color: var(--client-text);
|
|
filter: drop-shadow(0 0 5px color-mix(in oklch, var(--client-accent) 45%, transparent));
|
|
}
|
|
|
|
.client-access-tab:focus-visible {
|
|
outline: 2px solid var(--client-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.client-proxy-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.client-error {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: min(420px, 90vw);
|
|
color: oklch(0.62 0.2 28);
|
|
font: 600 11px/1.5 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
text-align: center;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.client-copy-button {
|
|
position: relative;
|
|
width: 86px;
|
|
padding: 6px 10px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--client-muted);
|
|
font: 700 9px/1.2 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
|
|
letter-spacing: 0.06em;
|
|
cursor: pointer;
|
|
opacity: 0.76;
|
|
transition: color 220ms ease, opacity 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.client-copy-label {
|
|
transition: opacity 100ms ease;
|
|
}
|
|
|
|
.client-copy-button.is-copied .client-copy-label,
|
|
.client-copy-button.is-copy-error .client-copy-label {
|
|
opacity: 0;
|
|
}
|
|
|
|
.client-copy-feedback {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--client-accent);
|
|
animation: client-copy-fade 800ms cubic-bezier(0.4, 0, 1, 1) forwards;
|
|
}
|
|
|
|
.client-copy-button.is-copy-error .client-copy-feedback {
|
|
color: oklch(0.68 0.15 28);
|
|
filter: drop-shadow(0 0 5px oklch(0.68 0.15 28 / 0.45));
|
|
}
|
|
|
|
@keyframes client-copy-fade {
|
|
0%, 18% { opacity: 1; filter: drop-shadow(0 0 5px var(--client-accent)); }
|
|
100% { opacity: 0; filter: drop-shadow(0 0 0 transparent); }
|
|
}
|
|
|
|
.client-copy-button:hover {
|
|
color: var(--client-text);
|
|
opacity: 1;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.client-copy-button:active {
|
|
transform: translateY(0) scale(0.98);
|
|
}
|
|
|
|
.client-copy-button.is-copied {
|
|
opacity: 1;
|
|
color: var(--client-accent);
|
|
}
|
|
|
|
.client-copy-button:focus-visible {
|
|
outline: 2px solid var(--client-accent);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.app.client-app {
|
|
--client-bg: oklch(0.18 0.012 145);
|
|
--client-panel: oklch(0.22 0.012 145);
|
|
--client-control: oklch(0.26 0.012 145);
|
|
--client-border: oklch(0.34 0.015 145);
|
|
--client-text: oklch(0.93 0.008 145);
|
|
--client-muted: oklch(0.68 0.012 145);
|
|
--harbor-word: oklch(0.78 0.07 232);
|
|
--harbor-connect: oklch(0.75 0.1 185);
|
|
--harbor-gateway: oklch(0.79 0.11 72);
|
|
--client-accent: var(--harbor-connect);
|
|
--client-accent-soft: color-mix(in oklch, var(--client-accent) 22%, transparent);
|
|
color-scheme: dark;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.client-mode .app-main {
|
|
padding: 20px 14px;
|
|
}
|
|
|
|
.client-panel {
|
|
position: static;
|
|
grid-template-columns: 1fr;
|
|
gap: 26px;
|
|
min-height: 0;
|
|
padding: 20px 6px;
|
|
}
|
|
|
|
.harbor-brand {
|
|
transform: translate(-50%, calc(-50% - 28vh)) scale(2.15);
|
|
}
|
|
|
|
.client-instructions-toggle {
|
|
left: 8px;
|
|
}
|
|
|
|
.client-instructions-sheet {
|
|
padding: 40px 18px 60px 58px;
|
|
}
|
|
|
|
.client-instructions-header h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.client-instruction-block:nth-child(n) {
|
|
margin-inline: 0;
|
|
}
|
|
|
|
.client-form {
|
|
position: relative;
|
|
width: 100%;
|
|
transform: none;
|
|
}
|
|
|
|
.client-panel.is-setup .client-form {
|
|
transform: none;
|
|
}
|
|
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.client-power,
|
|
.client-power::before,
|
|
.client-power::after,
|
|
.client-power svg,
|
|
.client-usage-bar i,
|
|
.client-subscription-refresh,
|
|
.client-subscription-delete,
|
|
.client-power-section,
|
|
.client-form,
|
|
.client-usage,
|
|
.client-usage > strong,
|
|
.client-server,
|
|
.client-copy-button,
|
|
.client-access-tab,
|
|
.client-access-point,
|
|
.client-copy-feedback,
|
|
.client-duration,
|
|
.client-duration-seconds-value,
|
|
.client-instructions,
|
|
.client-instructions-toggle,
|
|
.client-instructions-toggle svg,
|
|
.client-instructions-toggle path,
|
|
.client-instructions-toggle span,
|
|
.client-instruction-block,
|
|
.client-instruction-reveal,
|
|
.client-instruction-summary > i::before,
|
|
.client-instruction-summary > i::after,
|
|
.client-subscription-edit,
|
|
.client-subscription-edit::after,
|
|
.client-subscription-submit,
|
|
.client-subscription-summary,
|
|
.client-subscription-summary strong {
|
|
transition: none;
|
|
animation: none;
|
|
}
|
|
|
|
.harbor-brand {
|
|
transition: none;
|
|
animation: none;
|
|
}
|
|
|
|
.harbor-brand-content {
|
|
animation: none;
|
|
}
|
|
|
|
.harbor-mode-stack em,
|
|
.harbor-mode-swap g,
|
|
.harbor-mode-swap path,
|
|
.harbor-brand .harbor-mode-swap,
|
|
.harbor-mode-tooltip {
|
|
transition: none;
|
|
animation: none;
|
|
}
|
|
|
|
.client-form-content,
|
|
.client-delete-confirmation,
|
|
.client-delete-actions button,
|
|
.client-subscription-delete .client-trash-lid {
|
|
transition: none;
|
|
animation: none;
|
|
}
|
|
|
|
.client-tooltip {
|
|
transition: none;
|
|
}
|
|
|
|
.client-state-copy h2,
|
|
.client-state-detail > * {
|
|
animation: none;
|
|
}
|
|
}
|