/* Main styles for Terminal Control Web Interface */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
margin: 0;
padding: 20px;
background: #f5f5f5;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
color: #333;
margin-bottom: 20px;
}
/* Table styles */
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f8f9fa;
font-weight: 600;
}
/* Button styles */
.btn {
display: inline-block;
padding: 8px 16px;
background: #007bff;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 14px;
border: none;
cursor: pointer;
}
.btn:hover {
background: #0056b3;
}
.btn-secondary {
background: #6c757d;
}
.btn-secondary:hover {
background: #545b62;
}
/* Status badges */
.status {
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
}
.status-active {
background: #d4edda;
color: #155724;
}
.status-waiting {
background: #fff3cd;
color: #856404;
}
.status-error {
background: #f8d7da;
color: #721c24;
}
.status-terminated {
background: #d1ecf1;
color: #0c5460;
}
/* Code elements */
code {
background: #f8f9fa;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Monaco', 'Consolas', monospace;
color: #333;
}
/* Empty state */
.empty-state {
text-align: center;
padding: 40px;
color: #666;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
body {
padding: 10px;
}
.container {
padding: 15px;
border-radius: 0;
margin: 0 -10px;
}
h1 {
font-size: 1.5rem;
margin-bottom: 15px;
}
/* Make table mobile-friendly */
table {
font-size: 14px;
}
th, td {
padding: 8px 6px;
font-size: 12px;
}
/* Stack table for very small screens */
@media (max-width: 600px) {
table, thead, tbody, th, td, tr {
display: block;
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr {
border: 1px solid #ccc;
margin-bottom: 10px;
padding: 10px;
background: #f9f9f9;
border-radius: 4px;
}
td {
border: none;
padding: 5px 0;
position: relative;
padding-left: 50%;
}
td:before {
content: attr(data-label) ": ";
position: absolute;
left: 6px;
width: 45%;
text-align: left;
font-weight: bold;
color: #333;
}
}
.btn {
padding: 10px 16px;
font-size: 14px;
width: 100%;
text-align: center;
margin-top: 5px;
}
}