|
|
* { |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
box-sizing: border-box; |
|
|
} |
|
|
|
|
|
body { |
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; |
|
|
background: #0a0a0a; |
|
|
color: #e0e0e0; |
|
|
} |
|
|
|
|
|
.app { |
|
|
min-height: 100vh; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
} |
|
|
|
|
|
.app-header { |
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
|
|
padding: 1.5rem 2rem; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
align-items: center; |
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
|
|
} |
|
|
|
|
|
.app-header h1 { |
|
|
font-size: 1.8rem; |
|
|
font-weight: 600; |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.status { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
gap: 0.5rem; |
|
|
background: rgba(255, 255, 255, 0.2); |
|
|
padding: 0.5rem 1rem; |
|
|
border-radius: 20px; |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.status-dot { |
|
|
width: 8px; |
|
|
height: 8px; |
|
|
background: #4ade80; |
|
|
border-radius: 50%; |
|
|
animation: pulse 2s infinite; |
|
|
} |
|
|
|
|
|
@keyframes pulse { |
|
|
0% { |
|
|
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); |
|
|
} |
|
|
70% { |
|
|
box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); |
|
|
} |
|
|
100% { |
|
|
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); |
|
|
} |
|
|
} |
|
|
|
|
|
.main-container { |
|
|
flex: 1; |
|
|
display: grid; |
|
|
grid-template-columns: 300px 1fr 350px; |
|
|
gap: 1.5rem; |
|
|
padding: 1.5rem; |
|
|
max-width: 1600px; |
|
|
margin: 0 auto; |
|
|
width: 100%; |
|
|
} |
|
|
|
|
|
.control-panel, |
|
|
.analysis-panel, |
|
|
.logs-panel { |
|
|
background: #1a1a1a; |
|
|
border-radius: 12px; |
|
|
padding: 1.5rem; |
|
|
border: 1px solid #333; |
|
|
} |
|
|
|
|
|
.control-panel h2, |
|
|
.analysis-panel h2, |
|
|
.logs-panel h2 { |
|
|
margin-bottom: 1.5rem; |
|
|
color: #f0f0f0; |
|
|
font-size: 1.3rem; |
|
|
} |
|
|
|
|
|
.control-section { |
|
|
margin-bottom: 2rem; |
|
|
} |
|
|
|
|
|
.control-section h3 { |
|
|
margin-bottom: 1rem; |
|
|
color: #a0a0a0; |
|
|
font-size: 0.9rem; |
|
|
text-transform: uppercase; |
|
|
letter-spacing: 0.5px; |
|
|
} |
|
|
|
|
|
.control-group { |
|
|
margin-bottom: 1rem; |
|
|
} |
|
|
|
|
|
.control-group label { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
gap: 0.5rem; |
|
|
cursor: pointer; |
|
|
color: #d0d0d0; |
|
|
} |
|
|
|
|
|
.control-group input[type="checkbox"] { |
|
|
width: 18px; |
|
|
height: 18px; |
|
|
cursor: pointer; |
|
|
} |
|
|
|
|
|
.interval-control { |
|
|
margin-top: 0.5rem; |
|
|
margin-left: 1.5rem; |
|
|
} |
|
|
|
|
|
.interval-control label { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
gap: 0.3rem; |
|
|
font-size: 0.9rem; |
|
|
} |
|
|
|
|
|
.interval-control input[type="number"] { |
|
|
padding: 0.4rem; |
|
|
border: 1px solid #444; |
|
|
border-radius: 4px; |
|
|
background: #2a2a2a; |
|
|
color: #e0e0e0; |
|
|
width: 100%; |
|
|
} |
|
|
|
|
|
.btn { |
|
|
width: 100%; |
|
|
padding: 0.8rem; |
|
|
margin-bottom: 0.8rem; |
|
|
border: none; |
|
|
border-radius: 8px; |
|
|
font-size: 1rem; |
|
|
font-weight: 500; |
|
|
cursor: pointer; |
|
|
transition: all 0.2s; |
|
|
} |
|
|
|
|
|
.btn:disabled { |
|
|
opacity: 0.5; |
|
|
cursor: not-allowed; |
|
|
} |
|
|
|
|
|
.btn-primary { |
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.btn-primary:hover:not(:disabled) { |
|
|
transform: translateY(-2px); |
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4); |
|
|
} |
|
|
|
|
|
.btn-secondary { |
|
|
background: #4a5568; |
|
|
color: white; |
|
|
} |
|
|
|
|
|
.btn-secondary:hover:not(:disabled) { |
|
|
background: #5a6578; |
|
|
} |
|
|
|
|
|
.btn-tertiary { |
|
|
background: #2d3748; |
|
|
color: #cbd5e0; |
|
|
} |
|
|
|
|
|
.btn-tertiary:hover:not(:disabled) { |
|
|
background: #3d4758; |
|
|
} |
|
|
|
|
|
.demo-status { |
|
|
padding: 0.5rem; |
|
|
background: rgba(74, 222, 128, 0.1); |
|
|
border: 1px solid rgba(74, 222, 128, 0.3); |
|
|
border-radius: 6px; |
|
|
color: #4ade80; |
|
|
font-size: 0.9rem; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
.analysis-content { |
|
|
max-height: calc(100vh - 200px); |
|
|
overflow-y: auto; |
|
|
} |
|
|
|
|
|
.analysis-section { |
|
|
margin-bottom: 1.5rem; |
|
|
padding-bottom: 1.5rem; |
|
|
border-bottom: 1px solid #333; |
|
|
} |
|
|
|
|
|
.analysis-section:last-child { |
|
|
border-bottom: none; |
|
|
} |
|
|
|
|
|
.analysis-section h3 { |
|
|
margin-bottom: 0.8rem; |
|
|
color: #a0a0a0; |
|
|
font-size: 0.95rem; |
|
|
} |
|
|
|
|
|
.analysis-section p { |
|
|
color: #e0e0e0; |
|
|
line-height: 1.6; |
|
|
} |
|
|
|
|
|
.timestamp { |
|
|
margin-top: 0.5rem; |
|
|
color: #666; |
|
|
font-size: 0.85rem; |
|
|
} |
|
|
|
|
|
.element-list, |
|
|
.snippet-list, |
|
|
.risk-list { |
|
|
list-style: none; |
|
|
padding: 0; |
|
|
} |
|
|
|
|
|
.element-list li, |
|
|
.snippet-list li, |
|
|
.risk-list li { |
|
|
padding: 0.5rem; |
|
|
margin-bottom: 0.3rem; |
|
|
background: #2a2a2a; |
|
|
border-radius: 4px; |
|
|
font-size: 0.9rem; |
|
|
color: #d0d0d0; |
|
|
} |
|
|
|
|
|
.position { |
|
|
color: #888; |
|
|
font-size: 0.85rem; |
|
|
margin-left: 0.5rem; |
|
|
} |
|
|
|
|
|
.risk-section { |
|
|
background: rgba(239, 68, 68, 0.05); |
|
|
border: 1px solid rgba(239, 68, 68, 0.2); |
|
|
border-radius: 6px; |
|
|
padding: 1rem; |
|
|
} |
|
|
|
|
|
.risk-flag { |
|
|
background: rgba(239, 68, 68, 0.1) !important; |
|
|
color: #ef4444 !important; |
|
|
border-left: 3px solid #ef4444; |
|
|
} |
|
|
|
|
|
.no-analysis { |
|
|
text-align: center; |
|
|
color: #666; |
|
|
padding: 3rem; |
|
|
font-style: italic; |
|
|
} |
|
|
|
|
|
.logs-container { |
|
|
max-height: calc(100vh - 250px); |
|
|
overflow-y: auto; |
|
|
background: #0a0a0a; |
|
|
border-radius: 6px; |
|
|
padding: 0.5rem; |
|
|
} |
|
|
|
|
|
.log-entry { |
|
|
display: flex; |
|
|
gap: 0.5rem; |
|
|
padding: 0.4rem 0.6rem; |
|
|
margin-bottom: 0.2rem; |
|
|
background: #1a1a1a; |
|
|
border-radius: 4px; |
|
|
font-size: 0.85rem; |
|
|
font-family: 'Consolas', 'Monaco', monospace; |
|
|
border-left: 3px solid transparent; |
|
|
} |
|
|
|
|
|
.log-frame_capture { |
|
|
border-left-color: #667eea; |
|
|
} |
|
|
|
|
|
.log-analysis { |
|
|
border-left-color: #4ade80; |
|
|
} |
|
|
|
|
|
.log-timestamp { |
|
|
color: #666; |
|
|
font-size: 0.8rem; |
|
|
min-width: 150px; |
|
|
} |
|
|
|
|
|
.log-type { |
|
|
color: #a0a0a0; |
|
|
font-weight: 600; |
|
|
min-width: 100px; |
|
|
} |
|
|
|
|
|
.log-frame { |
|
|
color: #667eea; |
|
|
margin-left: auto; |
|
|
} |
|
|
|
|
|
.no-logs { |
|
|
text-align: center; |
|
|
color: #666; |
|
|
padding: 2rem; |
|
|
font-style: italic; |
|
|
} |
|
|
|
|
|
@media (max-width: 1200px) { |
|
|
.main-container { |
|
|
grid-template-columns: 1fr; |
|
|
} |
|
|
} |