Add theme: Disable Sidebar Hover

This commit is contained in:
Gambloide 2025-01-30 15:43:14 +00:00 committed by GitHub
parent 7b4c3e1628
commit 23c6c5acd5
4 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#navigator-toolbox {
pointer-events: none;
}
#navigator-toolbox>* {
pointer-events: all;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View file

@ -0,0 +1,8 @@
# Disable Toolbar Hover
All this mod/theme does is disabling mouse-pointer events on the sidebar/toolbar, while ensuring they stay enabled for its contents.
This means, the sidebar won't expand anymore if you are in compact mode and touch the borders of your browser window with your pointer. However, you can still hover tabs for preview etc. if the sidebar/toolbar is shown e.g. via keyboard shortcuts toggling its visibility.
The same applies to configurations where e.g. the sidebar is always visible, but usually expands on hover: it will not do that anymore, but you can still hover and click elements inside the sidebar.

View file

@ -0,0 +1,14 @@
{
"id": "ac1a4947-c808-4b46-a1e4-e4d1784df8e4",
"name": "Disable Sidebar Hover",
"description": "Disables the hover-to-expand interaction for the sidebar/toolbar, while keeping contents functional.",
"homepage": "https://gitlab.com/gambloide/zen-browser-no-toolbar-hover/-/tree/main",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac1a4947-c808-4b46-a1e4-e4d1784df8e4/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac1a4947-c808-4b46-a1e4-e4d1784df8e4/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac1a4947-c808-4b46-a1e4-e4d1784df8e4/image.png",
"author": "Gambloide",
"version": "1.0.0",
"tags": [],
"createdAt": "2025-01-30",
"updatedAt": "2025-01-30"
}