SHA256
326 lines
6.1 KiB
CSS
326 lines
6.1 KiB
CSS
/* Device/session/pairing feature styles. */
|
|
|
|
.qr-card {
|
|
justify-items: center;
|
|
}
|
|
|
|
|
|
.qr-code {
|
|
width: min(220px, 100%);
|
|
aspect-ratio: 1;
|
|
fill: #eff5ff;
|
|
background: #111723;
|
|
border-radius: 22px;
|
|
padding: 18px;
|
|
}
|
|
|
|
|
|
.camera-shell {
|
|
position: relative;
|
|
min-height: 380px;
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
background: #09101a;
|
|
}
|
|
|
|
|
|
.camera-video {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 380px;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
|
|
.camera-frame {
|
|
position: absolute;
|
|
inset: 70px 40px 110px;
|
|
border: 3px solid rgba(83, 216, 251, 0.85);
|
|
border-radius: 24px;
|
|
box-shadow: 0 0 0 999px rgba(5, 9, 16, 0.38);
|
|
}
|
|
|
|
|
|
.camera-hint,
|
|
.camera-error {
|
|
position: absolute;
|
|
left: 16px;
|
|
right: 16px;
|
|
text-align: center;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
background: rgba(10, 14, 23, 0.78);
|
|
}
|
|
|
|
|
|
.camera-hint {
|
|
bottom: 18px;
|
|
}
|
|
|
|
|
|
.camera-error {
|
|
top: 18px;
|
|
color: #ffd7df;
|
|
}
|
|
|
|
|
|
.camera-placeholder {
|
|
width: 100%;
|
|
min-height: 380px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #c8d6f9;
|
|
background:
|
|
radial-gradient(circle at 20% 10%, rgba(83, 216, 251, 0.16), transparent 48%),
|
|
linear-gradient(180deg, #0a1220, #070d17);
|
|
}
|
|
|
|
|
|
.session-status {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
|
|
.session-status--online {
|
|
color: #3dbb72;
|
|
}
|
|
|
|
|
|
.session-item {
|
|
width: 100%;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
|
|
|
|
.session-tabs {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
|
|
.session-tab {
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--text-muted);
|
|
min-height: 36px;
|
|
padding: 6px 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.session-tab.is-active {
|
|
color: var(--text);
|
|
border-color: rgba(83, 216, 251, 0.45);
|
|
background: rgba(83, 216, 251, 0.15);
|
|
}
|
|
|
|
|
|
.session-current-badge {
|
|
display: inline-flex;
|
|
margin-top: 8px;
|
|
padding: 4px 9px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
color: #d7ffe3;
|
|
border: 1px solid rgba(132, 244, 161, 0.36);
|
|
background: rgba(132, 244, 161, 0.1);
|
|
}
|
|
|
|
|
|
.qr-demo {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 8px;
|
|
border: 2px solid rgba(255, 255, 255, 0.85);
|
|
background:
|
|
linear-gradient(
|
|
90deg,
|
|
#f6fbff 0 8px,
|
|
#0f1524 8px 16px,
|
|
#f6fbff 16px 24px,
|
|
#0f1524 24px 32px,
|
|
#f6fbff 32px 40px,
|
|
#0f1524 40px 48px,
|
|
#f6fbff 48px 56px,
|
|
#0f1524 56px 64px
|
|
);
|
|
}
|
|
|
|
|
|
.qr-image {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
background: #fff;
|
|
}
|
|
|
|
|
|
/* Pairing approve/reject use their semantic button roles; legacy green/red surfaces were not observable in Stage 3.1. */
|
|
|
|
.pairing-request-actions > button {
|
|
flex: 1 1 140px;
|
|
}
|
|
|
|
|
|
.pairing-transfer-dialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 13000;
|
|
}
|
|
|
|
|
|
.pairing-transfer-dialog__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(3, 7, 15, .76);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
|
|
|
|
.pairing-transfer-dialog__card {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: min(calc(100vw - 28px), 390px);
|
|
transform: translate(-50%, -50%);
|
|
padding: 16px;
|
|
gap: 14px;
|
|
}
|
|
|
|
|
|
.pairing-transfer-key-list {
|
|
display: grid;
|
|
gap: 9px;
|
|
}
|
|
|
|
|
|
.pairing-transfer-key {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
gap: 11px;
|
|
min-height: 58px;
|
|
padding: 9px 12px;
|
|
border: 1px solid rgba(255,255,255,.11);
|
|
border-radius: 14px;
|
|
background: rgba(255,255,255,.035);
|
|
}
|
|
|
|
|
|
.pairing-transfer-key span {
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
|
|
.pairing-transfer-key small {
|
|
color: rgba(255,255,255,.48);
|
|
}
|
|
|
|
|
|
.pairing-transfer-key.is-required {
|
|
opacity: .82;
|
|
}
|
|
|
|
|
|
.pairing-transfer-dialog__actions {
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
|
|
/* Pairing actions retain the exact Stage 3.1 focus-only approve/reject variant. */
|
|
.screen-content.settings-bordered-actions .pairing-approve-btn,
|
|
.screen-content.settings-bordered-actions .pairing-reject-btn {
|
|
border-radius: 14px;
|
|
padding-inline: 12px;
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-approve-btn {
|
|
color: #fff;
|
|
background: transparent;
|
|
background-image: none;
|
|
border: 0;
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-approve-btn:hover {
|
|
color: #fff;
|
|
background: transparent;
|
|
background-image: none;
|
|
border: 0;
|
|
box-shadow: none;
|
|
transform: none;
|
|
filter: brightness(1.12);
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-approve-btn:active {
|
|
color: #fff;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
background-image: none;
|
|
border: 0;
|
|
box-shadow:
|
|
inset 0 3px 8px rgba(0, 0, 0, 0.58),
|
|
inset 0 -1px 2px rgba(255, 255, 255, 0.08);
|
|
transform: none;
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-approve-btn:focus,
|
|
.screen-content.settings-bordered-actions .pairing-approve-btn:focus-visible {
|
|
background: linear-gradient(180deg, rgba(57, 180, 108, 0.92), rgba(22, 116, 69, 0.94));
|
|
border: 1px solid rgba(126, 235, 170, 0.55);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(22, 116, 69, 0.20);
|
|
transform: none;
|
|
filter: none;
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-reject-btn {
|
|
color: #fff;
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-reject-btn:hover {
|
|
color: #fff;
|
|
background: transparent;
|
|
border: 0;
|
|
box-shadow: none;
|
|
transform: translateY(-1px);
|
|
filter: brightness(1.12);
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-reject-btn:active {
|
|
color: #fff;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
border: 0;
|
|
box-shadow:
|
|
inset 0 3px 8px rgba(0, 0, 0, 0.58),
|
|
inset 0 -1px 2px rgba(255, 255, 255, 0.08);
|
|
transform: translateY(1px) scale(0.97);
|
|
filter: brightness(0.9);
|
|
}
|
|
|
|
.screen-content.settings-bordered-actions .pairing-reject-btn:focus,
|
|
.screen-content.settings-bordered-actions .pairing-reject-btn:focus-visible {
|
|
color: #fff1f3;
|
|
background: rgba(134, 31, 49, 0.28);
|
|
border: 1px solid rgba(255, 105, 128, 0.42);
|
|
box-shadow: none;
|
|
transform: none;
|
|
filter: none;
|
|
}
|