535 lines
9.8 KiB
CSS
535 lines
9.8 KiB
CSS
|
|
/* Clean Style - IOV Data Analysis Agent */
|
||
|
|
|
||
|
|
:root {
|
||
|
|
--primary-color: #2563EB;
|
||
|
|
/* Tech Blue */
|
||
|
|
--primary-hover: #1D4ED8;
|
||
|
|
--bg-color: #FFFFFF;
|
||
|
|
--sidebar-bg: #F9FAFB;
|
||
|
|
--text-primary: #111827;
|
||
|
|
--text-secondary: #6B7280;
|
||
|
|
--border-color: #E5E7EB;
|
||
|
|
--card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
||
|
|
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
box-sizing: border-box;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: var(--font-family);
|
||
|
|
color: var(--text-primary);
|
||
|
|
background-color: var(--bg-color);
|
||
|
|
line-height: 1.5;
|
||
|
|
height: 100vh;
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.app-container {
|
||
|
|
display: flex;
|
||
|
|
height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Sidebar */
|
||
|
|
.sidebar {
|
||
|
|
width: 240px;
|
||
|
|
/* Compact width */
|
||
|
|
background-color: var(--sidebar-bg);
|
||
|
|
border-right: 1px solid var(--border-color);
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
padding: 1rem;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.brand {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
margin-bottom: 1.5rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.brand i {
|
||
|
|
color: var(--primary-color);
|
||
|
|
font-size: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-menu {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.5rem;
|
||
|
|
flex: 1;
|
||
|
|
overflow-y: hidden;
|
||
|
|
/* Let history list handle scroll */
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.75rem;
|
||
|
|
padding: 0.75rem 1rem;
|
||
|
|
border-radius: 0.375rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
text-decoration: none;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s;
|
||
|
|
font-size: 0.95rem;
|
||
|
|
border: none;
|
||
|
|
background: none;
|
||
|
|
width: 100%;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-item:hover {
|
||
|
|
background-color: #F3F4F6;
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-item.active {
|
||
|
|
background-color: #EFF6FF;
|
||
|
|
color: var(--primary-color);
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-item i {
|
||
|
|
width: 1.25rem;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-divider {
|
||
|
|
height: 1px;
|
||
|
|
background-color: var(--border-color);
|
||
|
|
margin: 1rem 0 0.5rem 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-section-title {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
text-transform: uppercase;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
font-weight: 600;
|
||
|
|
letter-spacing: 0.05em;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
padding-left: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* History List */
|
||
|
|
.history-list {
|
||
|
|
flex: 1;
|
||
|
|
overflow-y: auto;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.25rem;
|
||
|
|
padding-right: 5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.history-item {
|
||
|
|
font-size: 0.85rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
padding: 0.5rem 0.75rem;
|
||
|
|
border-radius: 0.375rem;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s;
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.history-item:hover {
|
||
|
|
background-color: #F3F4F6;
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.history-item.active {
|
||
|
|
background-color: #EFF6FF;
|
||
|
|
color: var(--primary-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
.status-bar {
|
||
|
|
margin-top: auto;
|
||
|
|
padding-top: 1rem;
|
||
|
|
border-top: 1px solid var(--border-color);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-dot {
|
||
|
|
width: 8px;
|
||
|
|
height: 8px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background-color: #D1D5DB;
|
||
|
|
}
|
||
|
|
|
||
|
|
.status-dot.running {
|
||
|
|
background-color: var(--primary-color);
|
||
|
|
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Main Content */
|
||
|
|
.main-content {
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
height: 100vh;
|
||
|
|
overflow: hidden;
|
||
|
|
background-color: #FFFFFF;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header {
|
||
|
|
height: 64px;
|
||
|
|
border-bottom: 1px solid var(--border-color);
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
padding: 0 2rem;
|
||
|
|
background-color: #FFFFFF;
|
||
|
|
}
|
||
|
|
|
||
|
|
.header h2 {
|
||
|
|
font-size: 1.25rem;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.content-area {
|
||
|
|
flex: 1;
|
||
|
|
overflow-y: auto;
|
||
|
|
padding: 2rem;
|
||
|
|
background-color: #ffffff;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Sections & Panel */
|
||
|
|
.section {
|
||
|
|
display: none;
|
||
|
|
max-width: 1000px;
|
||
|
|
margin: 0 auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section.active {
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.analysis-grid {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 350px 1fr;
|
||
|
|
gap: 2rem;
|
||
|
|
height: calc(100vh - 64px - 4rem);
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel {
|
||
|
|
background: #FFFFFF;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: 0.5rem;
|
||
|
|
padding: 1.5rem;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.panel-title {
|
||
|
|
font-size: 1rem;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--text-primary);
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Forms */
|
||
|
|
.form-group {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-label {
|
||
|
|
font-size: 0.875rem;
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-input,
|
||
|
|
.form-textarea {
|
||
|
|
padding: 0.625rem 0.875rem;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: 0.375rem;
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
color: var(--text-primary);
|
||
|
|
outline: none;
|
||
|
|
transition: border-color 0.2s;
|
||
|
|
width: 100%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-input:focus,
|
||
|
|
.form-textarea:focus {
|
||
|
|
border-color: var(--primary-color);
|
||
|
|
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-textarea {
|
||
|
|
resize: vertical;
|
||
|
|
min-height: 100px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Buttons */
|
||
|
|
.btn {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
padding: 0.625rem 1.25rem;
|
||
|
|
border-radius: 0.375rem;
|
||
|
|
font-weight: 500;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s;
|
||
|
|
border: 1px solid transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary {
|
||
|
|
background-color: var(--primary-color);
|
||
|
|
color: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-primary:hover {
|
||
|
|
background-color: var(--primary-hover);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-secondary {
|
||
|
|
background-color: white;
|
||
|
|
border-color: var(--border-color);
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-secondary:hover {
|
||
|
|
background-color: #F9FAFB;
|
||
|
|
border-color: #D1D5DB;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-sm {
|
||
|
|
padding: 0.375rem 0.75rem;
|
||
|
|
font-size: 0.875rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Upload Area */
|
||
|
|
.upload-area {
|
||
|
|
border: 2px dashed var(--border-color);
|
||
|
|
border-radius: 0.5rem;
|
||
|
|
padding: 2rem;
|
||
|
|
text-align: center;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: all 0.2s;
|
||
|
|
background-color: #F9FAFB;
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-area:hover,
|
||
|
|
.upload-area.dragover {
|
||
|
|
border-color: var(--primary-color);
|
||
|
|
background-color: #EFF6FF;
|
||
|
|
}
|
||
|
|
|
||
|
|
.upload-icon {
|
||
|
|
font-size: 1.5rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
margin-bottom: 0.75rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.file-list {
|
||
|
|
margin-top: 1rem;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 0.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.file-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.5rem;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
color: var(--text-primary);
|
||
|
|
background: #FFFFFF;
|
||
|
|
padding: 0.5rem;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: 0.25rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Tabs */
|
||
|
|
.tabs {
|
||
|
|
display: flex;
|
||
|
|
gap: 1rem;
|
||
|
|
margin-left: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab {
|
||
|
|
padding: 0.25rem 0.5rem;
|
||
|
|
font-size: 0.9rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
cursor: pointer;
|
||
|
|
border-bottom: 2px solid transparent;
|
||
|
|
transition: all 0.2s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab:hover {
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.tab.active {
|
||
|
|
color: var(--primary-color);
|
||
|
|
border-bottom-color: var(--primary-color);
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Log & Report Content */
|
||
|
|
.output-container {
|
||
|
|
flex: 1;
|
||
|
|
overflow-y: hidden;
|
||
|
|
/* Individual tabs scroll */
|
||
|
|
background: #F9FAFB;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: 0.375rem;
|
||
|
|
padding: 1rem;
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
#logsTab {
|
||
|
|
background-color: #1a1b26;
|
||
|
|
color: #a9b1d6;
|
||
|
|
font-family: 'JetBrains Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
|
||
|
|
padding: 1.5rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.log-content {
|
||
|
|
font-family: inherit;
|
||
|
|
font-size: 0.85rem;
|
||
|
|
white-space: pre-wrap;
|
||
|
|
line-height: 1.6;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-content {
|
||
|
|
font-size: 0.95rem;
|
||
|
|
line-height: 1.7;
|
||
|
|
color: #1F2937;
|
||
|
|
}
|
||
|
|
|
||
|
|
.report-content img {
|
||
|
|
max-width: 100%;
|
||
|
|
border-radius: 0.375rem;
|
||
|
|
margin: 1rem 0;
|
||
|
|
box-shadow: var(--card-shadow);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Empty State */
|
||
|
|
.empty-state {
|
||
|
|
text-align: center;
|
||
|
|
padding: 4rem 2rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Utilities */
|
||
|
|
.hidden {
|
||
|
|
display: none !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Gallery Carousel */
|
||
|
|
.carousel-container {
|
||
|
|
position: relative;
|
||
|
|
width: 100%;
|
||
|
|
flex: 1;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: #F3F4F6;
|
||
|
|
border-radius: 0.5rem;
|
||
|
|
overflow: hidden;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.carousel-slide {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.carousel-slide img {
|
||
|
|
max-width: 100%;
|
||
|
|
max-height: 500px;
|
||
|
|
object-fit: contain;
|
||
|
|
border-radius: 0.25rem;
|
||
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
||
|
|
transition: transform 0.2s;
|
||
|
|
background: white;
|
||
|
|
}
|
||
|
|
|
||
|
|
.carousel-btn {
|
||
|
|
position: absolute;
|
||
|
|
top: 50%;
|
||
|
|
transform: translateY(-50%);
|
||
|
|
background: rgba(255, 255, 255, 0.9);
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
border-radius: 50%;
|
||
|
|
width: 44px;
|
||
|
|
height: 44px;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
cursor: pointer;
|
||
|
|
z-index: 10;
|
||
|
|
color: var(--text-primary);
|
||
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||
|
|
transition: all 0.2s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.carousel-btn:hover {
|
||
|
|
background: var(--primary-color);
|
||
|
|
color: white;
|
||
|
|
border-color: var(--primary-color);
|
||
|
|
transform: translateY(-50%) scale(1.1);
|
||
|
|
}
|
||
|
|
|
||
|
|
.carousel-btn.prev {
|
||
|
|
left: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.carousel-btn.next {
|
||
|
|
right: 1rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.image-info {
|
||
|
|
width: 100%;
|
||
|
|
text-align: center;
|
||
|
|
color: var(--text-primary);
|
||
|
|
background: white;
|
||
|
|
padding: 1rem;
|
||
|
|
border-radius: 0.5rem;
|
||
|
|
border: 1px solid var(--border-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.image-title {
|
||
|
|
font-weight: 600;
|
||
|
|
font-size: 1.1rem;
|
||
|
|
margin-bottom: 0.5rem;
|
||
|
|
color: var(--primary-color);
|
||
|
|
}
|
||
|
|
|
||
|
|
.image-desc {
|
||
|
|
font-size: 0.9rem;
|
||
|
|
color: var(--text-secondary);
|
||
|
|
}
|