Skip to content

Commit

Permalink
feat(snippets): update New Hover Panel preview (#798)
Browse files Browse the repository at this point in the history
* feat(snippets): update `New Hover Panel` preview

* Delete new-hover-panel.png

---------

Co-authored-by: Isaac <padspambox@gmail.com>
  • Loading branch information
Ender-Wang and theRealPadster committed Jul 5, 2024
1 parent 28ae0c6 commit e560b8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file added resources/assets/snippets/new-hover-panel.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/assets/snippets/new-hover-panel.png
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"title": "New Hover Panel",
"description": "A New Hover Panel that servers the same purpose as the legacy 'Hover Panels', but only for the left sidebar and without modifying any other elements.",
"code": "#Desktop_LeftSidebar_Id {\n position: absolute;\n left: -280px;\n width: 288px;\n height: 100%;\n background-color: black;\n opacity: 0;\n visibility: visible;\n transition: left 0.5s ease, opacity 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n left: 0;\n opacity: 1;\n visibility: visible;\n}\n:root {\n margin-left: -8px;\n}",
"preview": "resources/assets/snippets/new-hover-panel.png"
"preview": "resources/assets/snippets/new-hover-panel.gif"
},
{
"title": "Dynamic Left Sidebar",
Expand Down

0 comments on commit e560b8e

Please sign in to comment.