55cc3ae10d
This PR introduces a major optimization of graph dynamics, immersive reading experience, and architectural stabilization. ### 🚀 Key Improvements - **Knowledge Graph (Fix #16)**: - Implemented smooth D3.js transitions using the General Update Pattern. - Added "Neon Flash" entry animations and dynamic node dimming for better focus. - **Immersive Reader (Fix #12)**: - Standardized centered layout (`max-width: 800px`) with **Merriweather** typography. - Optimized line-height and letter-spacing for premium readability. - **Technical Code Blocks (Fix #20)**: - High-contrast dark containers for code snippets. - **JetBrains Mono** integration and neon-accented scrollbars. - **Architectural Stabilization**: - Enforced a strict **'no async void'** policy in UI services using `Func<Task>`. - Resolved WASM runtime DI errors by implementing dummy service proxies for server-side dependencies. - Replaced generic 'Not Found' message with a branded Nexus preloader. Fixes #7, Fixes #12, Fixes #16, Fixes #20. Reviewed-on: #19 Co-authored-by: Marek Jasiński <jasins.marek@gmail.com> Co-committed-by: Marek Jasiński <jasins.marek@gmail.com>
109 lines
1.9 KiB
CSS
109 lines
1.9 KiB
CSS
.reader-footer {
|
|
position: relative;
|
|
height: 50px;
|
|
background: #F9F9F9;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.08);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 1.5rem;
|
|
z-index: 10;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.navigation-controls {
|
|
display: grid;
|
|
grid-template-columns: 32px 1fr 32px;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
width: 260px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nav-btn {
|
|
background: white;
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-radius: 6px;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
color: #333;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.nav-btn:hover:not(:disabled) {
|
|
background: #f0f0f0;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-btn:disabled {
|
|
opacity: 0.3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.chapter-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #333;
|
|
}
|
|
|
|
.chapter-title {
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.chapter-count {
|
|
opacity: 0.5;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.progress-container {
|
|
flex: 1;
|
|
height: 6px;
|
|
background: rgba(0, 0, 0, 0.05);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
margin: 0 1rem;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background: #2ECC71;
|
|
border-radius: 3px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.meta-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
font-size: 0.75rem;
|
|
color: #888;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.battery {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
} |