Files
Nexus.Reader/src/NexusReader.UI.Shared/Components/Organisms/GlobalIntelligencePanel.razor.css
T

95 lines
1.9 KiB
CSS

.global-intelligence-panel {
background: var(--nexus-bg, #0a0a0a);
border-left: 1px solid rgba(255, 255, 255, 0.05);
height: 100%;
display: flex;
flex-direction: column;
padding: 1.5rem;
}
.panel-header h3 {
margin: 0;
color: var(--nexus-neon, #00ff99);
font-size: 1.25rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.panel-header p {
color: rgba(255, 255, 255, 0.5);
font-size: 0.85rem;
margin: 0.25rem 0 1.5rem 0;
}
.results-container {
flex: 1;
overflow-y: auto;
margin-top: 1rem;
padding-right: 0.5rem;
}
.search-result-item {
background: var(--nexus-card, #141414);
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
border: 1px solid rgba(255, 255, 255, 0.05);
transition: transform 0.2s ease, border-color 0.2s ease;
}
.search-result-item:hover {
transform: translateX(4px);
border-color: rgba(0, 255, 153, 0.3);
}
.result-meta {
display: flex;
justify-content: space-between;
font-size: 0.75rem;
margin-bottom: 0.5rem;
}
.relevance {
color: var(--nexus-neon, #00ff99);
font-weight: 600;
}
.source {
color: rgba(255, 255, 255, 0.4);
}
.result-snippet {
color: rgba(255, 255, 255, 0.8);
font-size: 0.9rem;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.loading-state, .empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 200px;
color: rgba(255, 255, 255, 0.3);
text-align: center;
}
.nexus-spinner {
width: 30px;
height: 30px;
border: 2px solid rgba(0, 255, 153, 0.1);
border-top-color: var(--nexus-neon, #00ff99);
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 1rem;
}
@keyframes spin {
to { transform: rotate(360deg); }
}