Skip to content

[SFW Switch] Update Stash Battle selectors - #800

Open
dtt-git wants to merge 1 commit into
stashapp:mainfrom
dtt-git:sfwswitch-stash-battle-selectors
Open

dtt-git wants to merge 1 commit into
stashapp:mainfrom
dtt-git:sfwswitch-stash-battle-selectors

Conversation

@dtt-git

@dtt-git dtt-git commented Oct 22, 2026

Copy link
Copy Markdown

Stash Battle renamed its CSS classes from pwr-* to sb-* in v2.5.7, so SFW mode stopped blurring it until v2.7.0 added the old names back as a stopgap. This switches SFW Switch to the current sb-* classes so Stash Battle can drop the old names.

  • Replaces the pwr-* Stash Battle selectors with sb-* (blur, light blur and hover unblur)
  • Removes a duplicated selector
  • Bumps version to 1.10

Works with Stash Battle 2.5.7 and later.

Stash Battle renamed its pwr-* classes to sb-* in v2.5.7, so SFW mode stopped blurring it until v2.7.0 added the old names back for compatibility. Target the current sb-* classes so Stash Battle can drop the pwr-* names. Also removes a duplicated selector.

Co-authored-by: Cursor <cursoragent@cursor.com>
@discourse-stashapp

Copy link
Copy Markdown

This pull request has been mentioned on Stash Forum. There might be relevant details there:

https://discourse.stashapp.cc/t/sfw-switch/4658/36

@DogmaDragon DogmaDragon added the type:plugin Plugins label Oct 22, 2026
@DogmaDragon

Copy link
Copy Markdown
Contributor

Any reason to not support older selectors if they are unique to not break functionality for people who still uses older version of the plugin?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants