/* X11 Display viewer */ .app-xdisplay { display: flex; flex-direction: column; height: 100%; overflow: hidden; } /* Toolbar */ .xdisplay-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--bg-surface); border-bottom: 1px solid var(--border-structural); min-height: 40px; flex-shrink: 0; } .xdisplay-btn { height: 28px; padding: 0 12px; background: var(--bg-elevated); border: 1px solid var(--border-component); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-mono); font-size: 12px; cursor: pointer; white-space: nowrap; } .xdisplay-btn:hover { background: var(--accent-hover); border-color: var(--accent); color: var(--accent); } .xdisplay-connect-btn { margin-left: auto; background: var(--accent); color: #fff; border-color: var(--accent); } .xdisplay-connect-btn:hover { opacity: 0.9; color: #fff; } /* Launch dropdown */ .xdisplay-launch-group { position: relative; } .xdisplay-launch-menu { position: absolute; top: 100%; left: 0; margin-top: 4px; min-width: 160px; background: var(--bg-elevated); border: 1px solid var(--border-component); border-radius: var(--radius-sm); z-index: 100; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); overflow: hidden; } .xdisplay-launch-menu-item { display: block; width: 100%; padding: 8px 12px; background: none; border: none; color: var(--text-primary); font-family: var(--font-mono); font-size: 12px; text-align: left; cursor: pointer; } .xdisplay-launch-menu-item:hover { background: var(--accent-hover); color: var(--accent); } /* Running apps list */ .xdisplay-app-list { display: flex; align-items: center; gap: 6px; flex: 1; overflow-x: auto; min-width: 0; } .xdisplay-app-item { display: flex; align-items: center; gap: 4px; padding: 4px 8px; background: var(--bg-elevated); border: 1px solid var(--border-structural); border-radius: var(--radius-sm); white-space: nowrap; } .xdisplay-app-name { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); } .xdisplay-app-stop { width: 18px; height: 18px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; line-height: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; } .xdisplay-app-stop:hover { background: var(--status-red); color: #fff; } .xdisplay-no-apps { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); } /* Viewer area */ .xdisplay-viewer { flex: 1; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; background: #0d0f14; } .xdisplay-iframe { width: 100%; height: 100%; border: none; position: absolute; top: 0; left: 0; } /* Status messages */ .xdisplay-status { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); text-align: center; padding: 20px; max-width: 400px; line-height: 1.5; z-index: 1; } .xdisplay-status.info { color: var(--accent); } .xdisplay-status.error { color: var(--status-red); } .xdisplay-status.hidden { display: none; }