Skip to content
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