Skip to content

github-files-filter : strikethrough applied filter names #68

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

Merged
merged 1 commit into from
Jan 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion github-files-filter.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name GitHub Files Filter
// @version 1.1.4
// @version 1.1.5
// @description A userscript that adds filters that toggle the view of repo files by extension
// @license MIT
// @author Rob Garrison
Expand All @@ -22,6 +22,9 @@
// animation delay; See #46
GM_addStyle(`
.gff-filter .btn.selected { font-variant: small-caps; }
.gff-filter .btn:not(.selected):not(:first-child) {
text-decoration: line-through;
}
.gff-filter .gff-all:not(.selected):focus,
.gff-filter .gff-all:not(.selected) ~ .btn:focus,
.gff-filter .gff-all:not(.selected) ~ .btn.selected:focus,
Expand Down