- Full IDE with terminal integration using xterm.js - Session management with local and web sessions - HTML preview functionality - Multi-terminal support with session picker Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
396 lines
6.1 KiB
CSS
396 lines
6.1 KiB
CSS
/**
|
|
* Tag Renderer Styles
|
|
*/
|
|
|
|
/* Operations Panel */
|
|
.operations-panel {
|
|
background: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
margin: 20px 0;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.operations-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 20px;
|
|
background: #252525;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.operations-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.operations-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.operations-list {
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Operation Item */
|
|
.operation-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid #333;
|
|
gap: 12px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.operation-item:hover {
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
.operation-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.operation-icon {
|
|
font-size: 24px;
|
|
width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.operation-details {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.operation-description {
|
|
flex: 1;
|
|
color: #e0e0e0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.btn-view-code {
|
|
background: #3a3a3a;
|
|
border: 1px solid #555;
|
|
color: #e0e0e0;
|
|
padding: 4px 12px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-view-code:hover {
|
|
background: #4a4a4a;
|
|
border-color: #666;
|
|
}
|
|
|
|
.operation-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.operation-status {
|
|
min-width: 80px;
|
|
text-align: right;
|
|
}
|
|
|
|
.operation-status span {
|
|
font-size: 12px;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Operation Type Colors */
|
|
.op-write {
|
|
border-left: 3px solid #4a9eff;
|
|
}
|
|
|
|
.op-rename {
|
|
border-left: 3px solid #ffa94d;
|
|
}
|
|
|
|
.op-delete {
|
|
border-left: 3px solid #ff6b6b;
|
|
}
|
|
|
|
.op-install {
|
|
border-left: 3px solid #51cf66;
|
|
}
|
|
|
|
.op-command {
|
|
border-left: 3px solid #cc5de8;
|
|
}
|
|
|
|
/* Status Colors */
|
|
.status-pending {
|
|
color: #ffd43b;
|
|
background: rgba(255, 212, 59, 0.1);
|
|
}
|
|
|
|
.status-approved {
|
|
color: #51cf66;
|
|
background: rgba(81, 207, 102, 0.1);
|
|
}
|
|
|
|
.status-rejected {
|
|
color: #ff6b6b;
|
|
background: rgba(255, 107, 107, 0.1);
|
|
}
|
|
|
|
.status-executing {
|
|
color: #4a9eff;
|
|
background: rgba(74, 158, 255, 0.1);
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-approve {
|
|
background: #2b7a4b;
|
|
color: white;
|
|
}
|
|
|
|
.btn-approve:hover:not(:disabled) {
|
|
background: #349858;
|
|
}
|
|
|
|
.btn-reject {
|
|
background: #a83d3d;
|
|
color: white;
|
|
}
|
|
|
|
.btn-reject:hover:not(:disabled) {
|
|
background: #c94e4e;
|
|
}
|
|
|
|
.btn-approve-all {
|
|
background: #2b7a4b;
|
|
color: white;
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn-approve-all:hover {
|
|
background: #349858;
|
|
}
|
|
|
|
.btn-reject-all {
|
|
background: #a83d3d;
|
|
color: white;
|
|
padding: 6px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn-reject-all:hover {
|
|
background: #c94e4e;
|
|
}
|
|
|
|
/* Progress Indicator */
|
|
.operation-progress {
|
|
background: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.progress-spinner {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 3px solid #333;
|
|
border-top-color: #4a9eff;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.progress-message {
|
|
color: #e0e0e0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Completion Message */
|
|
.operation-completion {
|
|
background: #1e3a2e;
|
|
border: 1px solid #2b7a4b;
|
|
border-radius: 8px;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
animation: slideIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.completion-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.completion-icon {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.completion-header h4 {
|
|
margin: 0;
|
|
color: #51cf66;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.completion-summary {
|
|
display: flex;
|
|
gap: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.completion-summary .success {
|
|
color: #51cf66;
|
|
}
|
|
|
|
.completion-summary .error {
|
|
color: #ff6b6b;
|
|
}
|
|
|
|
/* Error Message */
|
|
.operation-error {
|
|
background: #3a1e1e;
|
|
border: 1px solid #a83d3d;
|
|
border-radius: 8px;
|
|
padding: 16px 20px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.error-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.error-icon {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.error-header h4 {
|
|
margin: 0;
|
|
color: #ff6b6b;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.error-message {
|
|
color: #e0e0e0;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Code Modal */
|
|
.code-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
animation: fadeIn 0.2s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.modal-content {
|
|
background: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
max-width: 80vw;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
.modal-header h3 {
|
|
margin: 0;
|
|
color: #e0e0e0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.btn-close {
|
|
background: #3a3a3a;
|
|
border: 1px solid #555;
|
|
color: #e0e0e0;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 18px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.btn-close:hover {
|
|
background: #4a4a4a;
|
|
}
|
|
|
|
.modal-content pre {
|
|
margin: 0;
|
|
padding: 20px;
|
|
overflow: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.modal-content code {
|
|
font-family: 'Fira Code', 'Courier New', monospace;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: #e0e0e0;
|
|
}
|