Skip to content

Commit

Permalink
feat(snippets): add Hide Open miniPlayer, Full screen (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ender-Wang authored Jun 7, 2024
1 parent 3908201 commit 6f210f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
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.
12 changes: 12 additions & 0 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,5 +376,17 @@
"description": "Changes the background of unplayable tracks to make it easier to spot them in large playlists.",
"code": ".main-trackList-disabled{background:#f004}.main-trackList-disabled:focus-within,.main-trackList-disabled:hover{background:#f005}.main-trackList-disabled.main-trackList-selected,.main-trackList-disabled.main-trackList-selected:hover{background:#f006}",
"preview": "resources/assets/snippets/More-Visible-Unplayable-Tracks"
},
{
"title": "Hide Mini Player Button",
"description": "Hides the Mini Player button.",
"code": "button:has(path[d='M16 2.45c0-.8-.65-1.45-1.45-1.45H1.45C.65 1 0 1.65 0 2.45v11.1C0 14.35.65 15 1.45 15h5.557v-1.5H1.5v-11h13V7H16V2.45z']) {display: none;}",
"preview": "resources/assets/snippets/Hide-Mini-Player-Button.png"
},
{
"title": "Hide Full Screen Button",
"description": "Hides the Full Screen button.",
"code": "button:has(path[d='M6.53 9.47a.75.75 0 0 1 0 1.06l-2.72 2.72h1.018a.75.75 0 0 1 0 1.5H1.25v-3.579a.75.75 0 0 1 1.5 0v1.018l2.72-2.72a.75.75 0 0 1 1.06 0zm2.94-2.94a.75.75 0 0 1 0-1.06l2.72-2.72h-1.018a.75.75 0 1 1 0-1.5h3.578v3.579a.75.75 0 0 1-1.5 0V3.81l-2.72 2.72a.75.75 0 0 1-1.06 0z']) {display: none;}",
"preview": "resources/assets/snippets/Hide-Full-Screen-Button.png"
}
]

0 comments on commit 6f210f8

Please sign in to comment.