KMH
Initial commit: FastVLM Screen Observer application
509a107
.screen-capture-container {
padding: 20px;
border-radius: 8px;
background: #f7f9fc;
margin: 20px 0;
}
.error-banner {
background: #fee;
border: 1px solid #fcc;
border-radius: 6px;
padding: 12px 16px;
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.error-content {
display: flex;
align-items: center;
gap: 10px;
flex: 1;
}
.error-icon {
color: #d32f2f;
flex-shrink: 0;
}
.error-message {
color: #c62828;
font-size: 14px;
line-height: 1.4;
}
.retry-button {
background: #fff;
color: #d32f2f;
border: 1px solid #d32f2f;
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
transition: all 0.2s;
}
.retry-button:hover {
background: #d32f2f;
color: white;
}
.capture-controls {
display: flex;
gap: 12px;
margin-bottom: 16px;
}
.capture-button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 12px 24px;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.3s;
box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}
.capture-button:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(102, 126, 234, 0.3);
}
.capture-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.capture-button.capturing {
background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}
.spinner {
width: 16px;
height: 16px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.recording-dot {
width: 8px;
height: 8px;
background: #f44336;
border-radius: 50%;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
}
}
.stop-button {
background: #f44336;
color: white;
border: none;
padding: 12px 20px;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
}
.stop-button:hover {
background: #d32f2f;
}
.snapshot-button {
background: #4caf50;
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
margin-bottom: 16px;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 8px;
}
.snapshot-button:hover {
background: #45a049;
transform: scale(1.05);
}
.capture-icon {
flex-shrink: 0;
}
.compatibility-info {
margin-top: 20px;
padding: 12px;
background: white;
border-radius: 6px;
border: 1px solid #e0e0e0;
}
.compatibility-info details {
cursor: pointer;
}
.compatibility-info summary {
font-weight: 600;
color: #333;
user-select: none;
padding: 4px 0;
}
.compatibility-info summary:hover {
color: #667eea;
}
.compatibility-info ul {
margin-top: 12px;
padding-left: 20px;
list-style: none;
}
.compatibility-info li {
padding: 4px 0;
font-size: 14px;
color: #666;
}
.compatibility-info li::before {
margin-right: 8px;
}