diff --git a/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/chrome.css b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/chrome.css new file mode 100644 index 00000000..e2c64f97 --- /dev/null +++ b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/chrome.css @@ -0,0 +1,26 @@ + +@media (-moz-bool-pref: "zen.view.compact") { + :root:not([customizing]) { + @media (-moz-bool-pref: "zen.view.compact.hide-tabbar") { + & #navigator-toolbox{ + left: 0 !important; + box-shadow: none !important; + transform: translate3d(-98%, 0, 0) !important; + padding:0; + } + +& #titlebar { + border: none !important; + box-shadow: none !important; + padding: 10px !important; + margin:10px 0 10px 10px !important; + box-sizing: border-box !important; + width: fit-content !important; + } + +& #navigator-toolbox:hover, & #navigator-toolbox[zen-has-hover], & #navigator-toolbox:focus-within, & #navigator-toolbox[zen-user-show], & #navigator-toolbox[flash-popup], & #navigator-toolbox[has-popup-menu], & #navigator-toolbox[movingtab], & #mainPopupSet:has(> #appMenu-popup:hover) ~ toolbox, & #navigator-toolbox:has(.tabbrowser-tab:active), & #navigator-toolbox:has([open="true"]:not(tab):not(#zen-sidepanel-button)) { + transform: translate3d(0, 0, 0) !important; + } + } + } + } diff --git a/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/image.png b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/image.png new file mode 100644 index 00000000..f38450a3 Binary files /dev/null and b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/image.png differ diff --git a/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/readme.md b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/readme.md new file mode 100644 index 00000000..dd6354e5 --- /dev/null +++ b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/readme.md @@ -0,0 +1,3 @@ + +# Better Floating Sidebar +A reimplementation of the floating sidebar seen in the [Floating Compact Sidebar](https://zen-browser.app/mods/46690a54-5eff-4141-8af8-9cd772ab6e2c) extension. Works with gradients and doesn't have the same trigger zone/padding/margin issues as the aforementioned extension. diff --git a/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/theme.json b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/theme.json new file mode 100644 index 00000000..8a0bef9d --- /dev/null +++ b/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/theme.json @@ -0,0 +1,14 @@ +{ + "id": "552a64da-6ece-4101-b605-f1aa8d844c7c", + "name": "Better Floating Sidebar", + "description": "A floating sidebar that obeys Zen gradient themes and is evenly margined and padded.", + "homepage": "", + "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/chrome.css", + "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/readme.md", + "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/552a64da-6ece-4101-b605-f1aa8d844c7c/image.png", + "author": "rockwillck", + "version": "1.0.0", + "tags": [], + "createdAt": "2024-10-31", + "updatedAt": "2024-10-31" +} \ No newline at end of file