Page 1 of 1

How to reduce line spacing in my bookmark list?

Posted: 2020-02-10, 11:07
by Boson
I switched from Windows 7 to Windows 10 x64 Pro (10.0.18363.592 Version 1909 (January 2020 Update)), Pale Moon v28.8.2.1
Is there a way to reduce line spacing in my bookmark list?
The same list looks different In Win 7 and Win 10:
Image

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-10, 12:12
by New Tobin Paradigm
You are pretty much subject to the OS Style and Metrics in most places on the Default Theme. That is the point of the Default Theme. Though userChrome may be able to do a thing.

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-10, 12:35
by Boson
New Tobin Paradigm wrote:
2020-02-10, 12:12
Though userChrome may be able to do a thing.
How? What do you need to write into userChrome?

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-10, 12:38
by jars_
userChrome.css

Code: Select all

/* height of the bookmark menu */
/* menupopup[placespopup],  v27 */
menupopup[context="placesContext"] {
	max-height: 60em !important;
	}


Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-10, 13:12
by Moonchild
That would control the overall height of the menu, not the item spacing.

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-11, 13:06
by coffeebreak
Boson wrote:
2020-02-10, 11:07
a way to reduce line spacing in my bookmark list?
Try this in userChrome.css.
(adapted from this MZ forum post)

You may want to play around with the numbers. I don't have Windows 10, but just plugged in numbers that made everything in the menu significantly smaller on my Windows 7 machine. This included making the fonts smaller, which may not be what you pictured.

(To affect all of your pulldown/popup menus, substitute menupopup for #bookmarksMenuPopup )

Code: Select all

#bookmarksMenuPopup menu, #bookmarksMenuPopup menuitem {
  height: 12px !important;
  font-size: 10px !important;
  padding-top: 0px !important;  
  padding-bottom: 0px !important;
}
#bookmarksMenuPopup .menu-iconic-icon {
  max-height: 12px !important;
  max-width: 12px !important;
}

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-13, 07:31
by Boson
coffeebreak wrote:
2020-02-11, 13:06
Try this ...
So I tried.
Image
The maximum I have achieved is a small reduction in line spacing with this code:

Code: Select all

#bookmarksMenuPopup menu, #bookmarksMenuPopup menuitem {
  height: 0px !important;
  font-size: 12px !important;
  padding-top: 0px !important;  
  padding-bottom: 0px !important;
}
Only one parameter (height) had a real effect on the reduction.
Have anyone got any other creative suggestions? :eh:

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-13, 08:07
by Boson
BTW, I found "Compact Moon" theme by Lootyhoof: https://addons.palemoon.org/addon/compact-moon-theme/
With this theme, my bookmark list looks even more compact than on Windows 7:
Image
I like this one very much. But I don't like what everything else looks like :(
Is there any way to change the default theme so that the bookmark list looks the same?

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-13, 11:33
by Lootyhoof
Boson wrote:
2020-02-13, 08:07
But I don't like what everything else looks like
Perhaps you should try the options extension, which configures how the theme looks: https://addons.palemoon.org/addon/compact-moon-options/

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-13, 12:30
by Boson
Wasn't as tricky as I thought. Just a couple of lines of code!
userChrome.css:

Code: Select all

#bookmarksMenuPopup menu, #bookmarksMenuPopup menuitem{
   margin-top:-4px !important;
  }
... and voila!
Image

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-13, 19:04
by back2themoon
Nice one. Quick question: does applying css visual 'tricks' have a performance impact on the browser?

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-13, 19:46
by Boson
back2themoon wrote:
2020-02-13, 19:04
Nice one. Quick question: does applying css visual 'tricks' have a performance impact on the browser?
I didn't notice a drop in performance. Everything running like clockwork.

Re: How to reduce line spacing in my bookmark list?

Posted: 2020-02-14, 00:36
by Moonchild
back2themoon wrote:
2020-02-13, 19:04
Nice one. Quick question: does applying css visual 'tricks' have a performance impact on the browser?
It shouldn't, unless your "tricks" are creating specific issues with layer rendering (which is possible) or generally use expensive processes on often-updated elements.