This commit is contained in:
mr. m 2025-06-30 00:45:33 +03:00 committed by GitHub
commit f04918fbf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 43 additions and 0 deletions

View file

@ -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;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

View file

@ -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.

View file

@ -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"
}