.adp-ssh-terminal-window { position: fixed; left: 0; top: 0; width: min(var(--adp-ssh-w, 960px), calc(100vw - 16px)); height: min(var(--adp-ssh-h, 640px), calc(100vh - 16px)); min-width: min(360px, calc(100vw - 16px)); min-height: 260px; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.24); background: #020617; box-shadow: 0 18px 52px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(15, 23, 42, 0.64); z-index: 2147483000; opacity: 0; transform: translate3d(var(--adp-ssh-x, 24px), var(--adp-ssh-y, 24px), 0) scale(0.985); transform-origin: top left; transition: opacity 140ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1); contain: layout paint style; isolation: isolate; backface-visibility: hidden; } .adp-ssh-terminal-window::before, .adp-ssh-terminal-window::after { content: ""; position: absolute; pointer-events: none; border-radius: inherit; } .adp-ssh-terminal-window::before { inset: 0; z-index: 2; background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.17), transparent 28%), linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 32%, rgba(45, 212, 191, 0.08) 72%, transparent); opacity: 0.28; } .adp-ssh-terminal-window::after { inset: -58%; z-index: 6; opacity: 0; background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.34), rgba(45, 212, 191, 0.16) 28%, transparent 58%), linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.42) 48%, transparent 62%); transform: translate3d(-42%, -22%, 0) rotate(9deg) scale(0.78); } .adp-ssh-terminal-window.is-ready { opacity: 1; transform: translate3d(var(--adp-ssh-x, 24px), var(--adp-ssh-y, 24px), 0) scale(1); } .adp-ssh-terminal-window.is-liquid-motion { will-change: transform, opacity; } .adp-ssh-terminal-window.is-liquid-motion::before { opacity: 0.5; } .adp-ssh-terminal-window.is-liquid-motion::after { animation: adp-ssh-tahoe-sheen 520ms cubic-bezier(0.16, 1, 0.3, 1) both; will-change: transform, opacity; } .adp-ssh-terminal-window.is-motion-minimize::after { animation-duration: 460ms; } .adp-ssh-terminal-window.is-motion-close::after { animation-duration: 260ms; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); } .adp-ssh-terminal-window.is-motion-lite::after { display: none; } .adp-ssh-terminal-window.is-interacting { transition: none; user-select: none; will-change: transform, width, height; } .adp-ssh-terminal-window.is-interacting .adp-ssh-terminal-frame { pointer-events: none; } .adp-ssh-terminal-window.is-minimized { width: min(380px, calc(100vw - 24px)); height: 38px; min-height: 38px; border-radius: 12px; border-color: rgba(45, 212, 191, 0.38); } .adp-ssh-terminal-titlebar { position: relative; z-index: 4; height: 34px; flex: 0 0 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 0 8px 0 11px; border-bottom: 1px solid rgba(148, 163, 184, 0.15); background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98)); color: #d1d5db; cursor: grab; touch-action: none; } .adp-ssh-terminal-window.is-dragging .adp-ssh-terminal-titlebar { cursor: grabbing; } .adp-ssh-terminal-title { min-width: 0; display: flex; align-items: center; gap: 8px; font: 600 12px/1 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: rgba(226, 232, 240, 0.92); letter-spacing: 0; } .adp-ssh-terminal-title i { color: #2dd4bf; font-size: 12px; } .adp-ssh-terminal-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .adp-ssh-terminal-grip { width: 58px; height: 4px; border-radius: 999px; background: rgba(148, 163, 184, 0.42); justify-self: center; } .adp-ssh-terminal-controls { position: relative; z-index: 7; justify-self: end; display: flex; align-items: center; gap: 6px; } .adp-ssh-terminal-control { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid rgba(148, 163, 184, 0.18); background: rgba(15, 23, 42, 0.78); color: rgba(226, 232, 240, 0.92); cursor: pointer; padding: 0; transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease; } .adp-ssh-terminal-control:hover { background: rgba(51, 65, 85, 0.82); border-color: rgba(148, 163, 184, 0.34); } .adp-ssh-terminal-control[data-adp-ssh-close]:hover { background: rgba(239, 68, 68, 0.88); border-color: rgba(248, 113, 113, 0.96); color: #fff; } .adp-ssh-terminal-frame-wrap { position: relative; z-index: 1; min-height: 0; flex: 1 1 auto; overflow: hidden; background: #000; } .adp-ssh-terminal-window.is-minimized .adp-ssh-terminal-frame-wrap { width: 1px; height: 1px; min-height: 0; flex: 0 0 1px; overflow: hidden; opacity: 0; pointer-events: none; } .adp-ssh-terminal-frame { width: 100%; height: 100%; border: 0; display: block; background: #000; } .adp-ssh-terminal-resize { position: absolute; z-index: 5; display: block; touch-action: none; } @keyframes adp-ssh-tahoe-sheen { 0% { opacity: 0; transform: translate3d(-42%, -22%, 0) rotate(9deg) scale(0.78); } 34% { opacity: 0.95; } 100% { opacity: 0; transform: translate3d(34%, 18%, 0) rotate(9deg) scale(1.14); } } .adp-ssh-terminal-window.is-minimized .adp-ssh-terminal-resize { display: none; } .adp-ssh-terminal-resize-n { top: 0; left: 16px; right: 16px; height: 7px; cursor: ns-resize; } .adp-ssh-terminal-resize-e { top: 16px; right: 0; bottom: 16px; width: 7px; cursor: ew-resize; } .adp-ssh-terminal-resize-s { right: 16px; bottom: 0; left: 16px; height: 7px; cursor: ns-resize; } .adp-ssh-terminal-resize-w { top: 16px; bottom: 16px; left: 0; width: 7px; cursor: ew-resize; } .adp-ssh-terminal-resize-ne, .adp-ssh-terminal-resize-nw, .adp-ssh-terminal-resize-se, .adp-ssh-terminal-resize-sw { width: 16px; height: 16px; } .adp-ssh-terminal-resize-ne { top: 0; right: 0; cursor: nesw-resize; } .adp-ssh-terminal-resize-nw { top: 0; left: 0; cursor: nwse-resize; } .adp-ssh-terminal-resize-se { right: 0; bottom: 0; cursor: nwse-resize; } .adp-ssh-terminal-resize-sw { bottom: 0; left: 0; cursor: nesw-resize; } .adp-ssh-terminal-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 2147482500; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: none; background: rgba(2, 6, 23, 0.86); color: #d1d5db; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34); cursor: pointer; transition: transform 140ms ease, color 140ms ease, box-shadow 140ms ease; } .adp-ssh-terminal-launcher:hover { transform: translateY(-1px) scale(1.03); color: #f8fafc; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42); } .adp-ssh-terminal-launcher.is-hidden { display: none; } @media (max-width: 640px) { .adp-ssh-terminal-window { min-width: 280px; min-height: 220px; border-radius: 12px; } .adp-ssh-terminal-window.is-minimized { width: min(340px, calc(100vw - 16px)); } .adp-ssh-terminal-grip { width: 42px; } } @media (pointer: coarse) { .adp-ssh-terminal-titlebar { height: 38px; flex-basis: 38px; } .adp-ssh-terminal-resize-n, .adp-ssh-terminal-resize-s { height: 12px; } .adp-ssh-terminal-resize-e, .adp-ssh-terminal-resize-w { width: 12px; } .adp-ssh-terminal-resize-ne, .adp-ssh-terminal-resize-nw, .adp-ssh-terminal-resize-se, .adp-ssh-terminal-resize-sw { width: 22px; height: 22px; } } @media (prefers-reduced-motion: reduce), (update: slow) { .adp-ssh-terminal-window, .adp-ssh-terminal-launcher { transition-duration: 60ms; } .adp-ssh-terminal-window { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(15, 23, 42, 0.58); } .adp-ssh-terminal-window::before { opacity: 0.28; } .adp-ssh-terminal-window::after { display: none; } } @media (prefers-reduced-transparency: reduce) { .adp-ssh-terminal-window::before, .adp-ssh-terminal-window::after { display: none; } }