slideshare/src/App.css
Michael Mainguy 9b0b16969f feat: implement complete presentation management system with aspect ratio support
## Major Features Added:

### Presentation Management
- Complete CRUD operations for presentations (create, read, update, delete)
- IndexedDB storage for offline presentation data
- Comprehensive presentation list view with metadata
- Navigation integration with header menu

### Slide Management
- Full slide editor with layout selection and content editing
- Live preview with theme styling applied
- Speaker notes functionality
- Enhanced layout previews with realistic sample content
- Themed layout selection with proper CSS inheritance

### Aspect Ratio System
- Support for 3 common presentation formats: 16:9, 4:3, 16:10
- Global CSS system baked into theme engine
- Visual aspect ratio selection in presentation creation
- Responsive scaling for different viewing contexts
- Print-optimized styling with proper dimensions

### User Experience Improvements
- Enhanced sample content generation for realistic previews
- Improved navigation with presentation management
- Better form styling and user interaction
- Comprehensive error handling and loading states
- Mobile-responsive design throughout

### Technical Infrastructure
- Complete TypeScript type system for presentations
- Modular component architecture
- CSS aspect ratio classes for theme consistency
- Enhanced template rendering with live updates
- Robust storage utilities with proper error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 16:34:00 -05:00

166 lines
2.5 KiB
CSS

/* Import aspect ratio system for theme engine */
@import './styles/aspectRatios.css';
/* App Layout */
.app-root {
width: 100%;
margin: 0;
padding: 0;
text-align: left;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
min-height: 100vh;
}
.app-header {
border-bottom: 1px solid #e5e7eb;
background: #ffffff;
width: 100%;
box-sizing: border-box;
}
.app-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
border-bottom: 1px solid #f1f5f9;
}
.app-logo {
font-size: 1.25rem;
font-weight: 700;
color: #1e293b;
text-decoration: none;
transition: color 0.2s ease;
}
.app-logo:hover {
color: #3b82f6;
}
.nav-actions {
display: flex;
align-items: center;
gap: 1rem;
}
.nav-button {
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
font-size: 0.875rem;
text-decoration: none;
transition: all 0.2s ease;
border: none;
cursor: pointer;
}
.nav-button.primary {
background: #3b82f6;
color: white;
}
.nav-button.primary:hover {
background: #2563eb;
}
.nav-link {
color: #64748b;
text-decoration: none;
font-weight: 500;
font-size: 0.875rem;
transition: color 0.2s ease;
}
.nav-link:hover {
color: #334155;
}
.page-title-section {
padding: 2rem;
text-align: center;
}
.app-header h1 {
margin: 0;
color: #1f2937;
font-size: 2rem;
font-weight: 600;
}
.app-header p {
margin: 0.5rem 0 0 0;
color: #6b7280;
font-size: 1rem;
}
.app-main {
padding: 2rem;
max-width: 1400px;
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
.selected-theme-section {
margin-top: 2rem;
padding: 1.5rem;
border: 1px solid #d1d5db;
border-radius: 0.5rem;
background: #f9fafb;
}
.selected-theme-title {
margin: 0 0 1rem 0;
color: #1f2937;
font-size: 1.25rem;
font-weight: 600;
}
.selected-theme-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
font-size: 0.875rem;
}
.selected-theme-item {
color: #374151;
}
.selected-theme-item strong {
color: #1f2937;
font-weight: 600;
}
/* Responsive Design */
@media (max-width: 768px) {
.app-main {
padding: 1rem;
}
.selected-theme-grid {
grid-template-columns: 1fr;
gap: 0.75rem;
}
.app-nav {
padding: 1rem;
flex-direction: column;
gap: 1rem;
align-items: stretch;
}
.nav-actions {
justify-content: center;
}
.page-title-section {
padding: 1.5rem 1rem;
}
.app-header h1 {
font-size: 1.5rem;
}
}