chahuadev-dev-launcher / web /popup-terminal.css
chahuadev's picture
fix: remove ineffective sandbox on home/support iframes (allow-scripts+allow-same-origin defeats sandbox per spec)
b92316a verified
Raw History Blame Contribute Delete
3.12 kB
* { box-sizing: border-box; }
:root {
--glass: rgba(3, 20, 34, 0.88);
--glass-strong: rgba(2, 12, 21, 0.92);
--line: rgba(91, 169, 255, 0.28);
--text: #d3ecff;
--subtle: #85abd4;
--ok: #39d98a;
--err: #f16f7d;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
font-family: "Segoe UI", "Trebuchet MS", sans-serif;
color: var(--text);
background:
radial-gradient(110% 130% at 10% 5%, rgba(38, 125, 220, 0.22), transparent 45%),
radial-gradient(95% 120% at 90% 90%, rgba(5, 43, 82, 0.35), transparent 48%),
#010812;
}
.window-shell {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background: linear-gradient(165deg, var(--glass), var(--glass-strong));
border: 1px solid var(--line);
}
.window-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
border-bottom: 1px solid var(--line);
background: rgba(1, 16, 29, 0.74);
}
.title-wrap {
min-width: 0;
}
.title {
font-size: 13px;
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.meta {
margin-top: 2px;
font-size: 11px;
color: var(--subtle);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.kill-btn {
border: 1px solid rgba(241, 111, 125, 0.5);
background: rgba(188, 46, 64, 0.2);
color: #ffd8dd;
padding: 6px 10px;
font: inherit;
font-size: 12px;
border-radius: 7px;
cursor: pointer;
}
.kill-btn:hover {
background: rgba(215, 60, 82, 0.4);
}
.terminal-wrap {
position: relative;
flex: 1;
min-height: 0;
padding: 10px 10px 8px;
overflow: hidden;
}
#terminal {
width: 100%;
height: 100%;
border: 1px solid rgba(95, 160, 255, 0.22);
border-radius: 10px;
overflow: hidden;
background: rgba(2, 10, 18, 0.82);
}
.monitor-card {
position: absolute;
right: 18px;
bottom: 18px;
min-width: 126px;
padding: 8px 10px;
border-radius: 8px;
border: 1px solid rgba(94, 173, 255, 0.34);
background: rgba(2, 17, 30, 0.82);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
pointer-events: none;
}
.monitor-label {
font-size: 10px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #7eb7f1;
}
.monitor-grid {
margin-top: 5px;
display: grid;
grid-template-columns: 1fr auto;
gap: 3px 8px;
font-size: 11px;
}
.monitor-grid span {
color: #8ab4de;
}
.monitor-grid strong {
color: #e5f4ff;
}
.window-foot {
display: flex;
align-items: center;
gap: 8px;
padding: 7px 12px;
border-top: 1px solid var(--line);
background: rgba(1, 16, 29, 0.7);
font-size: 12px;
color: var(--subtle);
}
#status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--ok);
box-shadow: 0 0 10px rgba(57, 217, 138, 0.6);
}
#status-dot.error {
background: var(--err);
box-shadow: 0 0 10px rgba(241, 111, 125, 0.65);
}
.xterm,
.xterm * {
user-select: text !important;
}