Commit Graph

4447 Commits

Author SHA1 Message Date
Lemon c2309a0bd7 Fix Saturn FAB mask rendering on iOS Safari
Remove pathLength/strokeDasharray/strokeDashoffset from the SVG mask,
which WebKit renders inconsistently. Use a simple full-path black
stroke instead — cross-browser safe with nearly identical visual result
at FAB size.
2026-03-22 23:33:06 -07:00
Lemon 982b1af312 Add gradient fill and colored drop-shadow to Saturn FAB
Planet body uses accent→primary diagonal gradient, ring uses
primary→accent horizontal gradient. Replaced generic drop-shadow-lg
with a primary-colored layered drop-shadow for a glowing float effect
that adapts to the current theme.
2026-03-22 23:33:06 -07:00
Lemon 0baab2521c Reduce mobile bottom nav height from h-14 (56px) to h-11 (44px)
Update all CSS utilities referencing bottom nav height (bottom-fab,
bottom-mobile-nav, pb-overscroll, ai-chat-height, livestream-height,
vine-slide-height) from 3.5rem to 2.75rem.
2026-03-22 23:33:06 -07:00
Lemon 2637cb2b1d Remove text labels from mobile bottom nav, keep icons only 2026-03-22 23:33:06 -07:00
Lemon ecfa74721b Revert logo size back to 28px in mobile top bar 2026-03-22 23:33:06 -07:00
Lemon 87092f0cad Reduce mobile top bar height from h-12 (48px) to h-10 (40px)
Update all CSS utilities that reference the top bar height (top-mobile-bar,
-mt-mobile-bar, ai-chat-height, livestream-height, vine-slide-height) from
3rem to 2.5rem. Scale logo from 28px to 24px to fit.
2026-03-22 23:33:06 -07:00
Lemon 14df0ba54d Further reduce tab sub-header height from py-2 to py-1.5 (~32px) 2026-03-22 23:33:06 -07:00
Lemon fe786415ad Reduce tab sub-header height from py-3.5 to py-2
Affects all shared tab bars (Follows/Ditto, Posts/Accounts,
All/Mentions, Follows/Global, etc.) via the single TabButton
component. Brings total height from ~48px to ~36px for a more
compact mobile experience.
2026-03-22 23:33:06 -07:00
Lemon 28788b1be6 Restructure search page mobile layout to clone feed page pattern
- Use identical inline sticky classes as Feed.tsx instead of STICKY_HEADER_CLASS
- Remove sidebar:py-5 from TabButtons to match Feed's default sizing
- Move search input bar outside conditional tab content, rendered
  always right after tabs (like ComposeBox on Feed page)
- Use px-4 py-3 to match ComposeBox container padding
- Share single SearchInput across both tabs instead of duplicating
- Conditionally show filter/save buttons only on posts tab
2026-03-22 23:33:06 -07:00
Lemon 2be05543ee Fix mobile search page gap between logo header and tabs
- Add flex-1 min-w-0 to <main> to match Feed page layout
- Reduce search input top padding on mobile (pt-2 vs pt-5) so it
  sits directly below the Posts/Accounts tabs without a gap
- Keep desktop padding unchanged with sidebar:pt-5
2026-03-22 23:33:06 -07:00
Lemon 845d1c067e Fix mobile search page layout: collapse gap between headers and tighten search field spacing
- Hide decorative arc SVG on mobile (only show on desktop with sidebar:block)
- Reduce top padding on search input containers from pt-5 to pt-3 on mobile
- Keep desktop layout unchanged with sidebar:pt-5
2026-03-22 23:33:06 -07:00
Lemon c0e393362c Move vine mute toggle from top-right to bottom-right corner 2026-03-22 23:33:06 -07:00
Lemon a8f2c54dac Add decorative arc to logo header when no sub-header exists
Introduces a hasSubHeader layout option. Pages with their own
tab bars set hasSubHeader: true, suppressing the arc on the
mobile top bar. Pages without tab bars (Bookmarks, Trends, etc.)
get the arc on the logo header automatically, ensuring the
bottom-most header always has the curved element.
2026-03-22 23:33:06 -07:00
Lemon 852b7a79de Add back arrow to Trends page header to match other pages
Updates the Trends header to use the same layout pattern as
Bookmarks, Treasures, and other feed pages with a back arrow
that links to home, hidden on desktop.
2026-03-22 23:33:06 -07:00
Lemon 96e1f42ce9 Update Bookmarks page header to match other feed page headers
Removes sticky behavior, backdrop blur, and background from the
header. Uses the same plain header style with back arrow, icon,
and title as Treasures and other feed pages.
2026-03-22 23:33:06 -07:00
Lemon c3851c918b Add decorative semi-ellipse arc below Search page Posts/Accounts tabs
Same curved arc treatment: removes border-b and backdrop-blur,
wraps tabs in a relative container with the SVG arc below.
2026-03-22 23:33:06 -07:00
Lemon c36dce050f Move Feed header below tabs for all KindFeedPage consumers
Repositions the header prop in the Feed component to render
after the tabs and ComposeBox instead of before them. This
applies to all pages using Feed via KindFeedPage including
Treasures, Emoji Packs, Music, Podcasts, Badges, Articles,
Polls, Colors, Decks, and WebXDC.
2026-03-22 23:33:06 -07:00
Lemon bf745b67e9 Move page headers below tab bars on Photos, Videos, Events, Books
Repositions the title/back-arrow header beneath the Follows/Global
tabs on all kind-specific feed pages, matching the layout pattern
established on the main feed and Themes pages.
2026-03-22 23:33:06 -07:00
Lemon bc40c68137 Reduce pencil icon size in Themes FAB to match planet proportions 2026-03-22 23:33:06 -07:00
Lemon e8f91c6e57 Move Themes page header below the tab bar
Places the title/back-arrow header beneath the My Themes/Follows/
Global tabs instead of between the logo header and tabs, matching
the main feed layout pattern.
2026-03-22 23:33:06 -07:00
Lemon 927fe25be5 Add decorative semi-ellipse arc to all kind-specific feed tab bars
Applies the same curved arc treatment to Photos, Videos, Vines,
Events, Books, and Themes feed pages — removing the flat bottom
border and adding an SVG semi-ellipse below the Follows/Global
tabs, consistent with the main feed and notifications pages.
2026-03-22 23:33:06 -07:00
Lemon 7e975ea0fe Add overflow visible to planet FAB SVG
Ensures the ring path that extends beyond the 24x24 viewBox
is not clipped by the browser's default SVG overflow hidden.
2026-03-22 23:33:06 -07:00
Lemon 4441342bff Scope content area negative margin to mobile viewport only
Wraps the -mt-mobile-bar styles in a max-width: 899px media
query so the negative margin and padding only apply when the
mobile top bar is visible. Desktop layout is unaffected.
2026-03-22 23:33:06 -07:00
Lemon ed018ba9ec Extend content area behind header for consistent opacity
Removes the fixed backing layer approach. Instead, pulls the
content area up behind the mobile header with a negative margin
and compensating padding. The content's bg-background/85 now
extends behind the header at all scroll positions, giving the
same double-opacity look as the tab bar without any stacking
issues.
2026-03-22 23:33:06 -07:00
Lemon 1fd3be1ca5 Fix header opacity by layering fixed backing below content area
Lowers the fixed backing layer to z-index 1 and adds z-10 to
the main content area. When at the top of the page, the backing
provides the 85% opacity behind the header. When scrolled, the
content area (z-10) occludes the backing (z-1), so only one
layer of 85% is ever behind the header — matching the tab bar.
2026-03-22 23:33:06 -07:00
Lemon 5193b7e1de Use fixed backing layer behind mobile top bar for consistent opacity
Adds a fixed bg-background/85 div at z-index 19 that stays at
the viewport top, while the sticky header sits at z-20 on top.
This ensures the header has the same double-opacity density as
the tab bar at all scroll positions without getting darker when
content scrolls behind it.
2026-03-22 23:33:06 -07:00
Lemon 023609f93c Add backing opacity layer to mobile top bar
Adds a bg-background/85 layer behind the bg-background/80 layer
in the top header, matching the double-opacity effect that the
tab bar gets from sitting over the main content area. This
ensures consistent visual density regardless of scroll position.
2026-03-22 23:33:06 -07:00
Lemon e610f460ca Use single clipped background for seamless drawer arc
Replaces the separate drawer + arc background approach with a
single div spanning both areas, clipped with an SVG clipPath
that defines the rectangle + curved edge shape. The background
image flows seamlessly through the drawer and into the arc
with no seam.
2026-03-22 23:33:06 -07:00
Lemon 6e9c971dd0 Extend drawer background image into the vertical arc
Moves the arc from the generic Sheet component into MobileDrawer
so it can inherit the theme background image. Uses clip-path
ellipse on an HTML div instead of SVG fill, with the same
bg-background/70 overlay applied when a background image is set.
2026-03-22 23:33:06 -07:00
Lemon cf8e60aaa1 Make drawer arc more dramatic and match sidebar background
Increases the arc width from 20px to 36px with a deeper curve,
and changes fill from background/80 to solid background to
match the drawer's actual background color.
2026-03-22 23:33:06 -07:00
Lemon 893a7dfb8a Add vertical semi-ellipse arc to left-side drawer edge
Removes the flat right border from the left sheet variant and
adds an SVG arc that curves outward along the right edge,
matching the curved styling used on the horizontal nav bars.
2026-03-22 23:33:06 -07:00
Lemon a90191ac61 Add decorative semi-ellipse arc to right edge of mobile drawer
Replaces the flat right border with an SVG arc that curves
outward along the full height of the drawer, matching the
curved design language used on the nav bars.
2026-03-22 23:33:06 -07:00
Lemon b4b9b9ab32 Shorten transparent ring mask gap on planet FAB
Uses stroke-dasharray/dashoffset to trim 5% off each end of
the mask path, so the transparent gap doesn't extend to the
very tips of the ring.
2026-03-22 23:33:06 -07:00
Lemon 755d216ff4 Shrink plus icon and thin out ring mask gap in planet FAB
Reduces plus from 20px to 16px and mask stroke from 4 to 3
for better proportions.
2026-03-22 23:33:06 -07:00
Lemon 66fd461dc3 Use SVG mask for truly transparent ring gap on planet FAB
Replaces the background-colored stroke hack with an SVG mask
that cuts the ring path out of the planet body, making the gap
genuinely see-through to whatever is behind the button.
2026-03-22 23:33:06 -07:00
Lemon 65a36f3df8 Add background-colored border around planet ring in FAB
Draws the ring path twice: first with a wider background stroke
to carve a visible gap where it crosses the planet body, then
the accent ring on top. This makes the ring distinct from the body.
2026-03-22 23:33:06 -07:00
Lemon ad723c41a0 Draw planet ring behind body so it only shows outside the circle
Reorders SVG elements so the ring is rendered first and the
filled planet body is drawn on top, occluding the ring where
it crosses. This gives a natural Saturn-like appearance.
2026-03-22 23:33:06 -07:00
Lemon f96048e4de Reduce plus icon size in planet FAB to match original proportions 2026-03-22 23:33:06 -07:00
Lemon 8049b045fe Replace circular FAB with filled planet icon shape
Uses the Saturn planet SVG as the button shape instead of a
plain circle. The planet body and ring are filled with the
accent color, and the plus icon remains centered on the body.
2026-03-22 23:33:06 -07:00
Lemon 954d8ed891 Restore 80% opacity on nav bars and arcs, keep blur removed
Brings back bg-background/80 and fill-background/80 for the
translucent look while keeping backdrop-blur-md removed.
2026-03-22 23:33:06 -07:00
Lemon eb486f2f60 Replace translucent blur with solid background on nav bars and arcs
Switches all sticky headers, bottom nav, and decorative arcs from
bg-background/80 + backdrop-blur-md to solid bg-background. This
unifies the bars and their curved extensions into visually cohesive
elements with no blur seams or transparency mismatches.
2026-03-22 23:33:06 -07:00
Lemon ad13f2b381 Add decorative semi-ellipse arc below notifications tab bar
Same curved arc treatment as the feed tabs: removes the bottom
border and adds an SVG semi-ellipse below the All/Mentions tabs.
2026-03-22 23:33:06 -07:00
Lemon 7873564d26 Hide right border on main content column in mobile view
Changes border-r to sidebar:border-r so the right border only
appears at the desktop sidebar breakpoint, not on mobile.
2026-03-22 23:33:06 -07:00
Lemon 33ac140e23 Remove stroke from decorative arc SVGs
Removes the border/stroke path from both the mobile bottom nav
and feed tabs arcs, leaving only the fill for a cleaner look.
2026-03-22 23:33:06 -07:00
Lemon 54d03a4c05 Remove bottom border from mobile top bar
Hides the border-b so the top header flows seamlessly into
the tab bar below it, consistent with the curved arc styling.
2026-03-22 23:33:06 -07:00
Lemon 8388722aac Add decorative semi-ellipse arc below feed tabs header
Same treatment as the mobile bottom nav: an SVG arc hangs below
the Follows/Ditto/Global tab bar, removing the flat border so
the tabs flow into the content with a smooth curved edge.
2026-03-22 23:33:06 -07:00
Lemon 35ae4f2f7c Add decorative semi-ellipse arc to mobile bottom nav
Adds an SVG arc on top of the MobileBottomNav that blends
seamlessly with the nav bar, creating a unified curved element.
Removes the top border so they feel like one continuous shape.
2026-03-22 23:33:06 -07:00
Lemon b6a6b43ee0 Move compose box below the feed tabs
Repositions the 'What's on your mind?' ComposeBox to render
after the Follows/Ditto/Global tab bar instead of above it,
so the tab navigation stays directly under the top header.
2026-03-22 23:33:05 -07:00
Alex Gleason 3ba269172c Merge branch 'main' of gitlab.com:soapbox-pub/ditto 2026-03-23 00:48:15 -05:00
Alex Gleason c4a67d5b05 Show list author with avatar and name in list page header
Display a small linked avatar and author name under the list title so
users can see who created the list and click through to their profile.
2026-03-23 00:44:40 -05:00