Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show stash-ids with their endpoint #4216

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

WithoutPants
Copy link
Collaborator

Changes the display of stash-ids to show their endpoint. Currently shows as pill, but open to changing this based on feedback.

The component includes the endpoint name as the value for data-endpoint, so the colours can be customised per endpoint using custom css.

Examples:
image
image
image
image

@WithoutPants WithoutPants added the improvement Something needed tweaking. label Oct 17, 2023
@WithoutPants WithoutPants added this to the Version 0.24.0 milestone Oct 17, 2023
@WithoutPants WithoutPants merged commit a83dfff into stashapp:develop Oct 17, 2023
2 checks passed
@IAmKontrast
Copy link

IAmKontrast commented Jan 3, 2024

I prefer a cleaner and less conspicuous look like this.

image
(second trash bin is mouse-over)

If somebody looking for the same style changes, add following to Custom CSS:

Stash IDs
.stash-id-pill * { background-color: transparent!important; font-weight: 400; }
For endpoint separating use .stash-id-pill[data-endpoint="<endpoint name e. g. StashDB>"] * instead

Delete buttons
button[title="Delete Stash ID"] { padding: .375rem .375rem; background-color: transparent; border-color: transparent; }

halkeye pushed a commit to halkeye/stash that referenced this pull request Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants