Files
ptp/static/css/mobile-menu.css
Kirik 3de138ff41 UX overhaul: glassmorphism nav/footer, forms redesign, mobile fixes
Navigation:
- Nav bar pill shape (border-radius: 100px), dark glass style
- Icons added to all nav items (FA4 outline variants, fixed-width alignment)
- Footer hidden on all devices (nav panel covers mobile)
- Footer nav icons + text added before removal

Forms (ask.md, plan.md):
- Full glassmorphism redesign: rounded card, blur backdrop
- Input borders visible (#b8c4ce), focus ring, proper placeholder colors
- Select: self-contained CSS, no backdrop-filter conflict, arrow fixed
- Submit button: gradient with shadow
- File upload button: .file-btn class, fa-arrow-down icon
- form-note styled as info callout with left border + ⓘ icon
- Footnotes sup.fn: circular badge, baseline positioning (no line-height jump)
- Footnote ¹ on both consent checkboxes, accordion = full legal text
- Dark mode: opaque dark card (rgba 22,26,34,0.88), proper contrast
- Dark mode success/error messages adapted
- Double checkmark bug fixed (removed ::after overlay)
- Italic removed from privacy-details text

Layout:
- #main rounded corners (20px all sides) + margin for visibility
- Post card images rounded (border-radius: 10px)
- Page titles: uppercase removed, font-weight 900, left-aligned
- "Подробнее" button hidden on post cards
- iOS background-attachment: fixed bug fixed (scroll on mobile)
- Pagination mobile: counter restored, buttons above footer

Content:
- Page titles uncommented in front matter (gallery, map, ask, plan)
- Duplicate rawhtml title blocks removed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 00:44:57 +01:00

29 lines
968 B
CSS
Executable File

/* Кнопка открытия меню */
#navPanelToggle {
background: rgba(18, 22, 28, 0.75) !important;
backdrop-filter: blur(12px) !important;
-webkit-backdrop-filter: blur(12px) !important;
border: 1px solid rgba(255, 255, 255, 0.15) !important;
border-radius: 6px !important;
color: rgba(255, 255, 255, 0.9) !important;
text-shadow: none !important;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
font-family: 'Source Sans Pro', Helvetica, sans-serif !important;
font-weight: 900 !important;
letter-spacing: 0.075em !important;
text-transform: uppercase !important;
}
#navPanelToggle:hover {
background: rgba(18, 22, 28, 0.92) !important;
color: #ffffff !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}
@media (max-width: 480px) {
#navPanelToggle {
font-size: 0.75rem !important;
padding: 0.3rem 0.8rem !important;
}
}