Bookmarks Toolbar - Horizontal Spacing

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Bookmarks Toolbar - Horizontal Spacing

Unread post by fatboy » 2023-07-07, 14:23

Good Morning Folks,

I noticed a change in the horizontal spacing increased a lot after an update (can't tell exactly when), but the spacing changed quite a bit and it differs depending on the theme installed. I have some screenshots below, the ones with an asterisk is the ones that changed.

*Default
pm_H_spacing_Default.png
*White Moon
pm_H_spacing_WhiteMoon.png
Dark Moon
pm_H_spacing_Darkmoon.png
Post Modern Revisited
pm_H_spacing_PostModernRevisited.png
Moonscape
pm_H_spacing_Moonscape.png
The Dark Moon, Post Modern and Moonscape screenshots is how the spacing always was, but the default and white moon themes changed for some reason?
You do not have the required permissions to view the files attached to this post.
Systemd Free - MX Linux, Antix Linux & Artix Linux

Michaell
Lunatic
Lunatic
Posts: 286
Joined: 2018-05-26, 18:13

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by Michaell » 2023-07-07, 15:58

FWIW, it doesn't seemed to have changed perceptibly on my heavily customized bookmarks toolbar. (Windows 10)
Win10home(1709), PM33.1.0-portable as of Apr 23, '24

Blacklab
Board Warrior
Board Warrior
Posts: 1081
Joined: 2012-06-08, 12:14

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by Blacklab » 2023-07-07, 18:11

fatboy wrote:The Dark Moon, Post Modern and Moonscape screenshots is how the spacing always was, but the default and white moon themes changed for some reason?
You don't say what OS you are using? Looking at your 5 example Bookmark Toolbar screenshots none look the same as the Pale Moon default Bookmarks Toolbar on a clean profile (out-of-the-box/no extensions/no CSS userstyles added):

Pale Moon default Bookmarks Toolbar.jpg
Pale Moon default Bookmarks Toolbar (on Win7) + a few example folders
(Clean profile, some toolbar buttons rearranged via 'Customize' window)

Your top two Bookmarks Toolbars (*Default & *White Moon)... the ones that now exhibit additional spacing... both show the same type of 'down arrow' on the RH side of folder titles. This implies that there is some additional styling at work? How are these 'down arrows' being generated? By the OS you are on? By any CSS userstyles in use? By any toolbar or bookmarks extensions in use?

Suggest try starting a new Pale Moon profile and see if your "additional horizontal spacing" effect is still present?

(Easiest way to start a clean profile for testing is put 'about:profiles' in URL/Address bar... then on page press the 'Create a New Profile' button... and follow the instructions.)
You do not have the required permissions to view the files attached to this post.
Last edited by Blacklab on 2023-07-07, 18:26, edited 1 time in total.

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 582
Joined: 2017-01-14, 02:40
Location: Philippines

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by FranklinDM » 2023-07-07, 18:22

fatboy wrote:
2023-07-07, 14:23
The Dark Moon, Post Modern and Moonscape screenshots is how the spacing always was, but the default and white moon themes changed for some reason?
IIRC those themes override system styling, unlike the default theme. I'm guessing this is likely system/GTK-theme related. Please specify your GTK version as well.

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by fatboy » 2023-07-07, 18:38

I am using Manjaro i3.

GTK Theme I am using is Nordic.

Code: Select all


[user@manjaro]$ gtk-launch --version

3.24.37
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 582
Joined: 2017-01-14, 02:40
Location: Philippines

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by FranklinDM » 2023-07-08, 04:52

Can you check if this workaround works for you? Either create a new user style or in your userChrome.css file, insert the following:

Code: Select all

.bookmark-item {
  -moz-appearance: none;
}
However, this will also remove the hover outline/background on the bookmark items.

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by fatboy » 2023-07-11, 02:19

Hi FranklinDM, I don't such a file in my ~/.moonchild_productions/chrome directory. I did create such a file just now and added your code to it. Made no difference?
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 582
Joined: 2017-01-14, 02:40
Location: Philippines

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by FranklinDM » 2023-07-14, 07:18

fatboy wrote:
2023-07-11, 02:19
Hi FranklinDM, I don't such a file in my ~/.moonchild_productions/chrome directory. I did create such a file just now and added your code to it. Made no difference?
Try adding the XUL namespace at the beginning of the userChrome.css style sheet:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
If it still doesn't work, try this again with Stylem instead.

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by fatboy » 2023-07-14, 14:33

Hi FranklinDM, thank you for the suggestion.

To make sure the issue is not on my side, here are some information:

File location:

Code: Select all

~/.moonchild productions/pale moon/profile.default/chrome/userChrome.css
Contents:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.bookmark-item {
  -moz-appearance: none;
}
Result (White Moon Theme on Linux):
wm_toolbar.png
It looks different now, because I have re-arranged my bookmarks, but you should see the symptoms still.
You do not have the required permissions to view the files attached to this post.
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
Kerebron
Fanatic
Fanatic
Posts: 108
Joined: 2016-12-04, 22:01

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by Kerebron » 2023-07-14, 19:39

Wouldn't adding !important help? Like this:

Code: Select all

-moz-appearance: none !important;

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by fatboy » 2023-07-17, 14:40

Kerebron wrote:
2023-07-14, 19:39
Wouldn't adding !important help? Like this:

Code: Select all

-moz-appearance: none !important;
It did help, and actually solved the problem. However, now there is no highlighting when I hover my mouse over the icon, but that's ok. I am marking this as solved, thank you.
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
Kerebron
Fanatic
Fanatic
Posts: 108
Joined: 2016-12-04, 22:01

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by Kerebron » 2023-07-17, 17:12

No hover effects - just like FranklinDM wrote in the 6th post of the thread. :) :ugeek:

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: Bookmarks Toolbar - Horizontal Spacing

Unread post by fatboy » 2023-07-20, 15:09

Kerebron wrote:
2023-07-17, 17:12
No hover effects - just like FranklinDM wrote in the 6th post of the thread. :) :ugeek:
Haha true, sorry about that. I don't always read things properly haha
Systemd Free - MX Linux, Antix Linux & Artix Linux