303 lines
5.3 KiB
CSS
303 lines
5.3 KiB
CSS
.remote-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 41;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.modal-overlay.remote-overlay-backdrop {
|
|
background: var(--overlay-scrim);
|
|
backdrop-filter: blur(6px);
|
|
z-index: 40;
|
|
}
|
|
|
|
.remote-panel {
|
|
width: min(960px, 100%);
|
|
max-height: 90vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.remote-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--border-base);
|
|
}
|
|
|
|
.remote-eyebrow {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-size: 11px;
|
|
color: var(--text-subtle);
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.remote-title {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.remote-subtitle {
|
|
margin: 4px 0 0;
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.remote-close {
|
|
border: 1px solid var(--border-base);
|
|
background: var(--surface-secondary);
|
|
color: var(--text-primary);
|
|
border-radius: 999px;
|
|
padding: 6px 10px;
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.remote-body {
|
|
padding: 16px 24px 24px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.remote-section {
|
|
border: 1px solid var(--border-base);
|
|
border-radius: 12px;
|
|
background: var(--surface-secondary);
|
|
padding: 16px;
|
|
}
|
|
|
|
.remote-section-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.remote-section-title {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.remote-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.remote-label {
|
|
margin: 0;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.remote-help {
|
|
margin: 2px 0 0;
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.remote-refresh {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--border-base);
|
|
background: var(--surface-primary);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.remote-refresh-label {
|
|
display: inline-block;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.remote-refresh-label {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.remote-toggle {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-base);
|
|
background: var(--surface-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.remote-toggle-switch {
|
|
width: 58px;
|
|
height: 28px;
|
|
border-radius: 999px;
|
|
background: var(--surface-secondary);
|
|
border: 1px solid var(--border-base);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 8px 0 6px;
|
|
transition: background 0.2s ease, border-color 0.2s ease;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.remote-toggle-state {
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.remote-toggle-thumb {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
background: var(--surface-primary);
|
|
transition: transform 0.2s ease;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.remote-toggle-switch[data-checked="true"] {
|
|
background: var(--accent-primary);
|
|
border-color: var(--accent-primary);
|
|
color: var(--surface-primary);
|
|
}
|
|
|
|
.remote-toggle-switch[data-checked="true"] .remote-toggle-thumb {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
.remote-toggle-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.remote-toggle-title {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.remote-toggle-caption {
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.remote-toggle-note {
|
|
margin: 12px 0 0;
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.remote-address-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.remote-address {
|
|
border: 1px solid var(--border-base);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
background: var(--surface-primary);
|
|
}
|
|
|
|
.remote-address-main {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.remote-address-url {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.remote-address-meta {
|
|
margin: 4px 0 0;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.remote-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.remote-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--border-base);
|
|
background: var(--surface-secondary);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.remote-qr {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 12px;
|
|
border: 1px dashed var(--border-base);
|
|
border-radius: 10px;
|
|
background: var(--surface-secondary);
|
|
}
|
|
|
|
.remote-qr-img {
|
|
width: 160px;
|
|
height: 160px;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.remote-card {
|
|
border: 1px dashed var(--border-base);
|
|
border-radius: 10px;
|
|
padding: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.remote-error {
|
|
border: 1px solid var(--border-critical, #e65c5c);
|
|
background: color-mix(in srgb, var(--border-critical, #e65c5c) 10%, transparent);
|
|
border-radius: 10px;
|
|
padding: 12px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.remote-spin {
|
|
animation: remote-spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes remote-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|