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

feat(snippets): add 3 element hiding snippets #531

Merged
merged 7 commits into from
Jul 9, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/resources/snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,22 @@ export default [
"code": ".x-progressBar-progressBarBg { height: 100% !important; } .x-progressBar-sliderArea { height: 100% !important; } .x-progressBar-fillColor { height: 100% !important; }",
"preview": "resources/assets/snippets/thicker-bars.png",
},
{
"title": "Hide friends activity button",
"description": "Hides the friends activity button next to your profile picture",
"code": "button.encore-over-media-set.main-topBar-buddyFeed {display: none;}",
"preview": "resources/assets/snippets/hide-friends-activity-button.png",
},
{
"title": "Fullscreen hide playing from",
"description": "Hides the playing from card while in fullscreen view",
"code": ".npv-header.npv-header {display: none;}",
"preview": "resources/assets/snippets/fullscreen-hide-playing-from.png",
},
{
"title": "Fullscreen hide next up",
"description": "Hides the next up card while in fullscreen view (appears shortly before switching to the next song)",
"code": ".npv-up-next.fade-in-and-out-transition-enter-done {display: none;}",
"preview": "resources/assets/snippets/fullscreen-hide-next-up.png",
},
];