v1.3.0: Full terminal with shell execution, APK build/install, AI deploy pipeline

This commit is contained in:
admin
2026-05-19 16:48:23 +04:00
Unverified
parent 426787b161
commit 83fb658a1e
12 changed files with 1483 additions and 12 deletions

View File

@@ -906,3 +906,220 @@ a:hover { text-decoration: underline; }
.mode-cards { gap: 8px; }
.mode-card { padding: 10px 8px; }
}
/* Terminal Full Screen */
.term-screen-container {
height: 100%;
display: flex;
flex-direction: column;
background: #0d0d0d;
}
.term-screen-header {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border);
min-height: 52px;
}
.term-screen-header h2 { font-size: 16px; flex: 1; }
.term-screen-header-right {
display: flex;
align-items: center;
gap: 8px;
}
.term-cwd-display {
font-family: 'Fira Code', 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--success);
background: rgba(46, 213, 115, 0.1);
padding: 3px 8px;
border-radius: 4px;
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.term-output {
flex: 1;
overflow-y: auto;
padding: 12px;
font-family: 'Fira Code', 'JetBrains Mono', 'Cascadia Code', monospace;
font-size: 13px;
line-height: 1.5;
color: #e0e0e0;
background: #0d0d0d;
-webkit-overflow-scrolling: touch;
word-break: break-all;
white-space: pre-wrap;
}
.term-output .term-line { margin-bottom: 1px; }
.term-output .term-cmd { color: var(--success); font-weight: 700; }
.term-output .term-err { color: var(--danger); }
.term-output .term-info { color: var(--accent); }
.term-output .term-success { color: var(--success); }
.term-output .term-warning { color: var(--warning); }
.term-output .term-path { color: var(--accent); text-decoration: underline; }
.term-input-area {
padding: 8px 12px 16px;
background: var(--bg-secondary);
border-top: 1px solid var(--border);
}
.term-quick-actions {
display: flex;
gap: 4px;
margin-bottom: 8px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.term-quick-actions::-webkit-scrollbar { display: none; }
.term-quick-btn {
background: var(--bg-tertiary);
border: 1px solid var(--border);
color: var(--text-secondary);
padding: 4px 10px;
border-radius: 6px;
font-size: 11px;
font-family: 'Fira Code', monospace;
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
}
.term-quick-btn:active { background: var(--accent-dim); color: var(--accent); }
.term-input-row {
display: flex;
align-items: center;
gap: 8px;
}
.term-prompt {
color: var(--success);
font-family: 'Fira Code', monospace;
font-size: 16px;
font-weight: 700;
flex-shrink: 0;
}
.term-input {
flex: 1;
background: #0d0d0d;
border: 1px solid var(--border);
color: #e0e0e0;
padding: 10px 14px;
border-radius: 8px;
font-size: 14px;
font-family: 'Fira Code', monospace;
outline: none;
}
.term-input:focus { border-color: var(--accent); }
.term-run-btn, .term-stop-btn {
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background: var(--success);
color: white;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.term-stop-btn { background: var(--danger); }
.mode-btn-term {
flex-shrink: 0;
}
/* Deploy button in messages */
.deploy-btn {
display: inline-flex;
align-items: center;
gap: 4px;
background: linear-gradient(135deg, var(--success), var(--accent));
color: white;
border: none;
padding: 6px 14px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
margin-top: 6px;
transition: all var(--transition);
}
.deploy-btn:hover { opacity: 0.9; transform: scale(1.02); }
.deploy-btn:active { transform: scale(0.98); }
.install-apk-btn {
display: inline-flex;
align-items: center;
gap: 4px;
background: var(--accent);
color: white;
border: none;
padding: 6px 14px;
border-radius: 6px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
margin-top: 4px;
margin-left: 6px;
}
/* Dev Setup Screen */
.devsetup-status {
text-align: center;
color: var(--text-secondary);
font-size: 13px;
line-height: 1.6;
margin-bottom: 16px;
}
.devsetup-status p { margin-bottom: 6px; }
.devsetup-progress-bar {
width: 100%;
height: 8px;
background: var(--bg-tertiary);
border-radius: 4px;
overflow: hidden;
margin-bottom: 8px;
}
.devsetup-progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--accent), var(--success));
border-radius: 4px;
width: 0%;
transition: width 0.3s ease;
}
.devsetup-progress-text {
text-align: center;
font-size: 12px;
color: var(--text-secondary);
margin-bottom: 12px;
}
/* Command history popup */
.term-history {
position: absolute;
bottom: 100%;
left: 0;
right: 0;
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 8px;
max-height: 200px;
overflow-y: auto;
z-index: 10;
display: none;
}
.term-history.visible { display: block; }
.term-history-item {
padding: 8px 12px;
font-size: 12px;
font-family: 'Fira Code', monospace;
color: var(--text-secondary);
cursor: pointer;
border-bottom: 1px solid var(--border);
}
.term-history-item:hover { background: var(--accent-dim); color: var(--text-primary); }