Clean up button style and colours, hide drop zone after load - #11
Merged
Conversation
Raw hex #2a3a2a/#3a5a3a/#4a7a4a → --green-bg/--green-border/--green-border-hover in shared :root. Index bare button is now neutral; .primary adds green (Run Query). Playground .btn.primary and dragover states use the variables. Shorten download button labels to ↓ CSV / ↓ NSV. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Gf4rSawGYHNmwRzAve4Qy
All playground buttons are now neutral — primary styling is only used on index's Run Query. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Gf4rSawGYHNmwRzAve4Qy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Gf4rSawGYHNmwRzAve4Qy
Stringify data at click time instead of capturing the original file text in the closure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Gf4rSawGYHNmwRzAve4Qy
Hides the icon and sub-text, shrinks padding. The drop target stays functional for replacing the file. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Gf4rSawGYHNmwRzAve4Qy
After a file is loaded, the full dropzone is hidden and a small dashed-border "Replace" element appears right-aligned in the actions row. It accepts both clicks and drops. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Gf4rSawGYHNmwRzAve4Qy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.