Skip to content

Fix slider visibility and coordination bond rendering - #117

Merged
jonathanschultzNU merged 2 commits into
mainfrom
cursor/slider-coord-bonds-0636
Aug 31, 2026
Merged

Fix slider visibility and coordination bond rendering#117
jonathanschultzNU merged 2 commits into
mainfrom
cursor/slider-coord-bonds-0636

Conversation

@jonathanschultzNU

@jonathanschultzNU jonathanschultzNU commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

Post-merge polish fixes from manual testing:

  1. Sliders — Shared slider_chrome_css() with WebKit/Mozilla track/thumb styling, accent-coloured handles, and thicker tracks so sliders stay visible on every palette.

  2. Coordination bonding — Hide 3Dmol's thick default metal-ligand sticks on ferrocene/metal complexes; draw thin dashed coordination cylinders instead.

  3. Docs landing hero — Hero gradient now sits on a masked ::before layer so the full-bleed background fades to transparent at the edges instead of a hard rectangular cutoff (light and dark themes).

Test plan

  • Load ferrocene — thin dashed gray metal bonds, not thick orange spokes
  • Toggle palettes — sliders clearly visible (IR FWHM, orbital isovalue, trajectory scrubber)
  • Docs home page — hero background softens at left/right/top/bottom edges in light and dark mode
  • CI green
Open in Web Open in Cursor 

Sliders now style WebKit/Mozilla track and thumb pseudo-elements with
accent-coloured handles and thicker tracks so they stay visible on every
palette. Ferrocene and other metal complexes hide 3Dmol's thick default
metal-ligand sticks and show thin dashed coordination bonds instead.

Co-authored-by: Jonathan Schultz <jonathanschultzNU@users.noreply.github.com>
@NCCU-Schultz-Lab
NCCU-Schultz-Lab marked this pull request as ready for review August 31, 2026 20:46
Apply black formatting on app.py string concat and app_visualization.
Hero gradient now renders on a masked ::before layer so the landing
page background softens to transparent instead of a hard rectangular edge.

Co-authored-by: Jonathan Schultz <jonathanschultzNU@users.noreply.github.com>
@jonathanschultzNU
jonathanschultzNU merged commit 8d25a2f into main Aug 31, 2026
5 checks passed
@jonathanschultzNU
jonathanschultzNU deleted the cursor/slider-coord-bonds-0636 branch August 31, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants