Skip to content

Commit 559caf8

Browse files
feat(snippets): add Queue Top Side Panel & Small Video Button (#780)
1 parent 5ebbe62 commit 559caf8

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

470 KB
Loading
420 KB
Loading

resources/snippets.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,5 +394,17 @@
394394
"description": "Hides the Full Screen button.",
395395
"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;}",
396396
"preview": "resources/assets/snippets/Hide-Full-Screen-Button.png"
397+
},
398+
{
399+
"title": "Queue Top Side Panel",
400+
"description": "Moves the \"Next in queue\" section to the top of the Now Playing view",
401+
"code": ".main-nowPlayingView-section:not(.main-nowPlayingView-queue) { order: 99; }",
402+
"preview": "resources/assets/snippets/Queue-Top-Side-Panel.png"
403+
},
404+
{
405+
"title": "Small Video Button",
406+
"description": "Makes the \"Switch to video\" button smaller and less intrusive, for consistency",
407+
"code": ".dcSY8Zom_VXgK71Lbym_ { position: absolute; opacity: 0.4; transition: opacity 0.5s; z-index: 999; } .dcSY8Zom_VXgK71Lbym_:hover { position: absolute; opacity: 1; } .dcSY8Zom_VXgK71Lbym_ .encore-text { display: none; }",
408+
"preview": "resources/assets/snippets/Small-Video-Button.png"
397409
}
398410
]

0 commit comments

Comments
 (0)