Commit Graph

22 Commits

Author SHA1 Message Date
4356af4e0a fix mobile hamburger menu positioning and layout
All checks were successful
CI / update (push) Successful in 1m11s
Improve profile picture and navigation alignment on mobile:
- Position UserHeader fixed 2rem from viewport bottom (avoids browser UI issues)
- Center UserHeader horizontally within hamburger menu
- Add 2rem margin to links wrapper for better spacing
- Align navigation items to flex-start for left alignment
2025-12-27 10:24:44 +01:00
2b76b47083 improve header navigation styling and active link highlighting
Optimize header link spacing and add visual feedback for active pages:
- Reduce link padding and gap for more compact navigation
- Shorten German labels: "In Saison" to "Saison", "Stichwörter" to "Tags"
- Remove "Tipps" section from navigation menu

Add active page highlighting across all layouts:
- Highlight current page links in red (matching hover color)
- Desktop: animated red underline that smoothly slides between links
- Mobile: static red underline for active links in hamburger menu
- Underline aligns precisely with text width (excludes padding)

Improve transitions:
- Fix color transition to only animate color, not layout properties
- Disable underline transition during window resize to prevent lag
- Underline updates immediately on resize for perfect alignment
2025-12-27 10:15:16 +01:00
51b0928489 fix mobile header shadow appearing over hamburger menu
Separate the drop shadow from the button wrapper into its own fixed
element with a lower z-index. This prevents the shadow from appearing
over the hamburger menu when it's pulled out on mobile.

- Create separate button_wrapper_shadow element
- Move box-shadow styling to shadow element
- Set shadow z-index to 9 to stay below menu but above page content
- Use fixed positioning with pointer-events: none
2025-12-27 09:54:17 +01:00
8d5d64a9bd refactor language selector into separate component
Extract language switching functionality from UserHeader into a new
LanguageSelector component. In mobile view, the selector appears in
the top bar next to the hamburger menu. In desktop view, it appears
in the navigation bar to the left of the UserHeader.

- Create LanguageSelector component with local element bindings
- Update Header component with language_selector_mobile and
  language_selector_desktop slots
- Remove language selector code from UserHeader
- Update recipe and main layouts to use new component
- Hide desktop language selector inside mobile hamburger menu
2025-12-27 09:46:04 +01:00
96c7e504fb fix: remove scale transform on homepage icon hover 2025-12-12 22:55:43 +01:00
683967932b "fix" symbol in header on mobile 2024-02-20 20:27:33 +01:00
d1587a3672 move globals out of component into css file 2024-02-18 23:34:14 +01:00
895c5c5157 slightly improve js-free Card rendering 2024-01-21 10:34:23 +01:00
3ebd48f480 fix Login/PFP falling below viewport 2024-01-20 17:49:20 +01:00
2b18b377c0 Header: add box-shadow 2024-01-20 16:29:47 +01:00
00c23bcdba dark theme implemented 2024-01-20 00:39:53 +01:00
9eab9a5553 finally fix symbol on mobile 2023-10-04 22:53:03 +02:00
2ceb8ef864 fix mess-up on hover 2023-07-23 12:48:12 +02:00
bfdc12736c user displayed in navbar with option to logout 2023-07-19 14:52:50 +02:00
3609b7a510 fix global .icon for action_button 2023-07-18 18:11:47 +02:00
e7119b5a03 fix global .icon for action_button 2023-07-18 18:10:57 +02:00
ce5cd87d01 symbol in Header 2023-07-18 18:09:31 +02:00
4321ece385 First fully working user management, move to layout groups 2023-07-18 14:18:52 +02:00
fd1157151e break word 2023-07-13 23:15:13 +02:00
e3de4e8db9 less mislicks, switched to :focus where appropriate 2023-07-13 18:27:02 +02:00
fa23378952 Card hover effect smooth, mobile navbar hides on click 2023-07-13 13:54:42 +02:00
0ad95d1f2c API routes now return proper Responses and basic errors are handled
slight improvements in layouting
2023-07-02 23:39:31 +02:00