Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[create-theme]: Disable Sidebar Hover #953

Closed
1 task
Gambloide opened this issue Jan 16, 2025 · 1 comment
Closed
1 task

[create-theme]: Disable Sidebar Hover #953

Gambloide opened this issue Jan 16, 2025 · 1 comment
Labels
new-theme Submit a theme to be added to the theme library

Comments

@Gambloide
Copy link

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

Image

https://gitlab.com/gambloide/zen-browser-no-toolbar-hover/-/raw/main/store-image.png

Type

  • JSON Color Theme

Theme Styles

#navigator-toolbox {
    pointer-events: none;
}

#navigator-toolbox>* {
    pointer-events: all;
}

Readme

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

Preferences

@Gambloide Gambloide added the new-theme Submit a theme to be added to the theme library label Jan 16, 2025
Copy link
Contributor

Error creating theme

Sorry about that! There was an error creating the theme. Please try again or contact the maintainers for help.

Preferences file is invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-theme Submit a theme to be added to the theme library
Projects
None yet
Development

No branches or pull requests

1 participant