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]: Bookmark Toolbar Tweaks #61

Closed
n7itro opened this issue Aug 19, 2024 · 0 comments
Closed

[create-theme]: Bookmark Toolbar Tweaks #61

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

Comments

@n7itro
Copy link
Member

n7itro commented Aug 19, 2024

Name

Bookmark Toolbar Tweaks

Description

Center the bookmarks, hide the icons!

Homepage

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

Image

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

Theme Styles

/* Center the bookmarks toolbar */
@media (-moz-bool-pref: "uc.bookmarks.center-toolbar") {
  #PlacesToolbarItems {
    justify-content: center;
  }
}

/* Hide folder icons in the bookmarks toolbar */
@media (-moz-bool-pref: "uc.bookmarks.hide-folder-icons") {
  .bookmark-item[container="true"] .toolbarbutton-icon {
    display: none;
  }
}

/* Hide favicons in the bookmarks toolbar */
@media (-moz-bool-pref: "uc.bookmarks.hide-favicons") {
  .bookmark-item:not([container]) .toolbarbutton-icon {
    display: none;
  }
}

Readme

This theme contains a few small tweaks to the bookmarks toolbar:
- Center the toolbar
- Hide bookmark or bookmark folder icons

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

To enable the bookmarks toolbar, press Ctrl + Shift + B

Feel free to suggest additional tweaks.

Preferences

{
  "uc.bookmarks.center-toolbar": "Center the bookmarks toolbar", 
  "uc.bookmarks.hide-folder-icons": "Hide folder icons", 
  "uc.bookmarks.hide-favicons": "Hide website icons"
}
@n7itro n7itro added the new-theme Submit a theme to be added to the theme library label Aug 19, 2024
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

2 participants