Izheil / Quantum-Nox-Firefox-Dark-Full-Theme

A customizable full dark theme for Firefox. You can also add extra functions using the CSS and JS files here apart from the theme.
Mozilla Public License 2.0
394 stars 42 forks source link

Sizing of Tabs and Bookmarks Menu #126

Closed forplan0 closed 3 years ago

forplan0 commented 3 years ago

What i need to change is:

  1. i wanna smaller (height) for tabs? Where to find this? Also is option to get smaller space between rows of tabs...

  2. And also smaller (height) of bookmarks when i open bookmarks menu

Thank you

Izheil commented 3 years ago

To change the height of tabs you can either enable compact mode on about:config by toggling browser.compactmode.show as "true" and then change the density to compact on the customize page (right click empty space on the tab bar > personalize toolbar > Density combobox at the bottom of the page that will open), or apply the fixes in here.

For bookmarks menu, do you mean the bookmarks toolbar menu, or the bookmarks menu that can be accessed through the star icon with the line below?

forplan0 commented 3 years ago

Wow you are quick :)

I set compact mode and is OK for me now. Thank you.

For other question i mean this https://i.ibb.co/ryTQ4YQ/12-07-2021-12-56-38.jpg Will be better if bookmarks will be closer together.

Izheil commented 3 years ago

Try adding this to your userChrome.css file:

/* Makes the bookmarks menu (not the bookmarks toolbar menu one) more compact */
#BMB_bookmarksPopup .subviewbutton {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

Change the 2px value to something bigger if you want them less compact.

Lower than 2px they would start to look not so good.

forplan0 commented 3 years ago

Thank you i add this and it's much better.

Also i wanna set this same thing to (bookmarks toolbar menu when i open some folder with bookmarks)

What is code for this?

Izheil commented 3 years ago

This should do:

/* Changes the sizing of the bookmarks toolbar menu items */
#PlacesToolbarItems .bookmark-item {
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}

If you feel like it's still too padded, set them as 0 and they will be the most compact possible.

forplan0 commented 3 years ago

Thank you again this works.

I have also one question no regarding to theme, but i see you have knowledge around firefox...

I try many addons but can't resolve my problem.

I usually have open like 10 firefox windows. When i need to restart pc or restart firefox i just go under managment and kill right firefox.exe. And when i start firefox there all windows open back. But my problem is because this windows open on random order. But i wish that they open in same order then they was before kill process. Because usually they are date related...

Maybe if you know about this Anyway Thank you

Izheil commented 3 years ago

I don't know what's your workflow, but killing Firefox using the task manager or any other manager like that is not recommended for a few reasons, mostly possible data loss.

If you want to close multiple windows just go to the hamburguer menu -> Exit. That will close all currently open windows without the need to force-quit firefox.

You also have a shortcut for that, pressing Ctrl + shift + Q.

You can then restore your last session on the hamburguer menu -> History -> Restore last session, or the titlebar menu (press alt to show it) -> History -> Restore last session

The second thing is... why not tabs or tab groups? You can use an addon like Simple tab groups to only show the tabs of each window you had before at a time.

If you still prefer to use multiple windows windows, you'd be better off using a session manager like Tab session manager, which will save not only your open tabs, but the windows they are open in. It should open them in the same order, but I don't usually use more than 1 window, so I haven't tested opening more myself to know for sure.