9fddafa423
This pull request implements **Mobile Responsiveness (v3) and a High-Fidelity Overhaul** for the dashboard view layer (`/dashboard`, `/catalog`, `/my-books`, `/profile`), matching the design aesthetics of the production mobile e-reader layout. ### Key Changes 1. **Re-engineered Floating Navigation Dock Capsule:** - Detached bottom capsule, floating 16px off the bottom with rounded `30px` borders. - Glassmorphic look in dark mode (`rgba(26, 26, 30, 0.75)`) and sepia theme in light mode (`rgba(244, 241, 234, 0.9)`). - Removed `translateY` offset on the central "AI" action button (robot icon inside a solid green circle). - Used `::deep` overrides to clean up text colors and icons, preventing browser visited link purple color defaults on `NavLink` items. - Restored compact standalone text labels under the navigation icons. 2. **Dashboard Layout Scale Compression & Fold Optimization:** - Compressed profile header avatar (`40px`), welcome title font size, and status pill spacing. - Compressed the `concepts-linear-stack` height to `120px` with scrolling. - Reduced book cover heights inside `MyBooks` to `200px` on mobile viewports. 3. **Current Reading Widget & Layout Margin Safety:** - Localized the widget button label to `"Kontynuuj czytanie"`. - Used safe area clearances (`calc(1.5rem + 72px + env(safe-area-inset-bottom))`) at the bottom of pages to prevent content from being covered by the capsule. 4. **Resolved Horizontal Layout Width Blowout (Grid Fix):** - Discovered that `.secondary-grid` was using flex layout inherited from desktop rather than grid layout on mobile. - Nowrap paragraphs in the concept list stretched the flex container to over 12,000 pixels wide, breaking the entire dashboard layout width. - Overrode `.secondary-grid` to `display: grid !important` on mobile, properly constraining layout width and allowing nowrap concept text truncation. ### Verification - All code changes compiled successfully under `dotnet build NexusReader.slnx --no-restore` (0 errors). - Validated correct layouts in list view, chart view, and light/dark theme toggles on a Samsung Galaxy S20 Ultra (412x915) viewport. --------- Co-authored-by: Marek Jasiński <jasins.marek@gmail.com> Reviewed-on: #80 Co-authored-by: Antigravity <antigravity@google.com> Co-committed-by: Antigravity <antigravity@google.com>