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]: Compact Sidebar #65

Closed
n7itro opened this issue Aug 19, 2024 · 1 comment
Closed

[create-theme]: Compact Sidebar #65

n7itro opened this issue Aug 19, 2024 · 1 comment
Labels
new-theme Submit a theme to be added to the theme library

Comments

@n7itro
Copy link
Member

n7itro commented Aug 19, 2024

Name

Compact Sidebar

Description

Allow the tab sidebar to take up less space!

Homepage

https://github.com/n7itro/Zen-Themes/

Image

https://i.imgur.com/adYfkN0.png

Theme Styles

/* Decrease the minimum width of the tab sidebar */
@media (-moz-bool-pref: "uc.sidebar.compact-min-width") and (-moz-bool-pref: "zen.view.sidebar-expanded") {  
   #navigator-toolbox {
     --zen-navigation-toolbar-min-width: 115px !important;
  }
}

/* Decrease the minimum height of tabs */
@media (-moz-bool-pref: "uc.sidebar.compact-tabs") {
  .tabbrowser-tab {
    --tab-min-width: 20px !important;
  }
}

Readme

This theme contains a few small tweaks for making the tab sidebar more compact:
- Reduce the minimum width of the sidebar while expanded
- Reduce the height of tabs

Each of these settings can be enabled individually by changing the configuration in the settings page.

Feel free to suggest more features for this theme.

Preferences

{
  "uc.sidebar.compact-min-width": "Decrease the minimum width of the tab sidebar", 
  "uc.sidebar.compact-tabs": "Decrease the height of tabs"
}
@n7itro n7itro added the new-theme Submit a theme to be added to the theme library label Aug 19, 2024
Copy link
Contributor

Thank you for your contribution! 🎉

Your theme has been successfully submitted. The maintainers will review it and get back to you soon.

Here are some details about your submission:

If you have any questions or need help, feel free to ask in the comments below or in the PR.

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