Too much wasted space between bookmarks on the bar.

User Help for Mozilla Firefox
User avatar
costark
Posts: 548
Joined: July 14th, 2004, 5:03 am

Re: Too much wasted space between bookmarks on the bar.

Post by costark »

LoveMyFoxy wrote:RobertJ--I would like to have less space between bookmark folders in the toolbar. I want to squeeze in a few more folders. Your code didn't change my space. Was it not meant for folders?
What did you substitute for his 6px?
I used ... -5 .... and it worked for Folders, too.; df used -10, I think.

Because I prefer Labels Vs hover the added Icons viewed is affected by label lengths, but test as desired.
W10 22H2 - SSD-HDD i5 12G -
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Too much wasted space between bookmarks on the bar.

Post by dfoulkes »

LoveMyFoxy wrote:RobertJ--I would like to have less space between bookmark folders in the toolbar. I want to squeeze in a few more folders. Your code didn't change my space. Was it not meant for folders?
The code that RJ posted worked fine for me ... did you see the post where I had a screen-shot of what I have now? As far as I can tell all items uo there on the bar have equal spacing.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Too much wasted space between bookmarks on the bar.

Post by lovemyfoxy »

dfoulkes wrote:Tiz weird. I went into customize and placed my mouse up there in that space and the hand appeared so I pulled it down into the customize window and exited ...what it did was switch my url window with my search window... but it did remove the large space between them, so when I went back into customize and re-arraigned them the space came back... I'll check it out in safe-mode when I get a chance.
I'm going to be an iconoclast here: I did away with the Search bar long ago, as I don't always use the same search engine, and I use that space for something else. I access them through my custom buttons, which I know you have also. One for Duckduckgo, one for Startpage, one for WolframAlpha.

(PITA to post images here.)

No, RobertJ's didn't work for me. I might have something in the file that conflicts with it. My profile is about 15 years old, and is a patchwork of Mozillazine suggestions.
Last edited by lovemyfoxy on November 29th, 2018, 9:48 pm, edited 3 times in total.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Too much wasted space between bookmarks on the bar.

Post by lovemyfoxy »

costark wrote:
LoveMyFoxy wrote:RobertJ--I would like to have less space between bookmark folders in the toolbar. I want to squeeze in a few more folders. Your code didn't change my space. Was it not meant for folders?
What did you substitute for his 6px?
I used ... -5 .... and it worked for Folders, too.; df used -10, I think.

Because I prefer Labels Vs hover the added Icons viewed is affected by label lengths, but test as desired.
I didn't substitute anything, didn't know I should. And all my labels are as short as possible. I have 51 in a double row on a 25" monitor.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Too much wasted space between bookmarks on the bar.

Post by RobertJ »

.
This code works depending on how long the folder names are

Code: Select all

/* THIS ADDS MORE SPACING [6px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */
 
#personal-bookmarks .bookmark-item {
      margin-left: 6px !important;
}

/* THIS REDUCES SPACING  [-6px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */
 
#personal-bookmarks .bookmark-item {
      margin-left: -6px !important;
}
Use only one of them. These are the results for the folders on the bookmark toolbar, +6px top and -6px bottom.

Image

EDIT: I also bolded the folder names in my code.


.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Too much wasted space between bookmarks on the bar.

Post by lovemyfoxy »

Jscher's didn't work either. I wrote this. Did I do something wrong?

/* 11-28-2018 THIS makes less SPACING between ITEMS ON THE BOOKMARK TOOLBAR */

#PlacesToolbarItems toolbarbutton.bookmark-item {
padding-left: -4px !important; /* default is 4px */
padding-right: -4px !important; /* default is 4px */
}
#PlacesToolbarItems .toolbarbutton-icon {
margin-right: -4px !important; /* default is 4px */
}
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Too much wasted space between bookmarks on the bar.

Post by RobertJ »

LoveMyFoxy wrote:Jscher's didn't work either. I wrote this. Did I do something wrong?
YEP, including leaving out the "." to define a class.

This is simple, works and you adjust the pix as required.

Code: Select all

/* THIS REDUCES SPACING  [-6px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */
 
#personal-bookmarks .bookmark-item {
      margin-left: -6px !important;
}
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: Too much wasted space between bookmarks on the bar.

Post by Frank Lion »

RobertJ wrote:
LoveMyFoxy wrote:Jscher's didn't work either. I wrote this. Did I do something wrong?
YEP, including leaving out the "." to define a class.
Well that, plus that negative values of padding are not allowed.

Apart from that....
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Too much wasted space between bookmarks on the bar.

Post by dfoulkes »

Negative values worked fine for me... note the link that I posted.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Too much wasted space between bookmarks on the bar.

Post by RobertJ »

dfoulkes wrote:Negative values worked fine for me... note the link that I posted.
Frank Lion is referring to "padding-left" and not "margin-left"
w3schools wrote:
Definition and Usage

An element's padding is the space between its content and its border.

The padding-left property sets the left padding (space) of an element.

Note: Negative values are not allowed.
.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Too much wasted space between bookmarks on the bar.

Post by dfoulkes »

Ok... understand...sorry Frank.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Too much wasted space between bookmarks on the bar.

Post by lovemyfoxy »

Changed it to -8, but no difference. I can't spend any more time on this, but thanks.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Too much wasted space between bookmarks on the bar.

Post by RobertJ »

LoveMyFoxy wrote:Changed it to -8, but no difference. I can't spend any more time on this, but thanks.
Post the code you are using in the userChrome.css

.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Too much wasted space between bookmarks on the bar.

Post by lovemyfoxy »

The whole thing? New one in red. I don't code, so these are all from this forum, bit some might be conflicting.

/*
* Edit this file and copy it as userChrome.css into your
* profile-directory/chrome. This file can be used to customize the look of Mozilla's user interface
* You should consider using !important on rules which you want to
* override default settings.


/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
/* DON"T MOVE THIS***/
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
/* set
#identity-icon-label {display:none!important}
default namespace to XUL */
}



toolbar {
font-family: Arial !important; font-size: 8.5pt !important; color: #2F00FF !important;
}

#rss-feed-button { display: none !important;
}

/* URL BAR--MY EDIT--

/*URL BAR--Verdana as URL*/
#urlbar {font-family: Verdana !important;
color: Black !important;
font-weight: 400;
font-size: 10pt !important;
}

/* URL bar-MY EDITS */
#go-button {visibility: visible !important;

}

/*color back-forward*/
#back-button:not([disabled]) .toolbarbutton-icon,
#forward-button:not([disabled]) .toolbarbutton-icon {
filter: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg'><filter id='colorize'>\
<feFlood flood-color='DodgerBlue' result='A'/>\
<feColorMatrix type='saturate' in='SourceGraphic' values = '0'/>\
<feBlend mode='multiply' in2='A'/>\
<feComposite in2='SourceGraphic' operator='in'/>\
</filter></svg>#colorize") !important;}


/*My Edit-- Selection text color */
::-moz-selection
{color: #0000FF !important;
background: #FFFF00 !important;
}
#sidebar {min-width: 0px !important; max-width: none !important;}
}

/* THIS REDUCES SPACING [-8px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */

#personal-bookmarks .bookmark-item {
margin-left: -8px !important;

}
/* MY EDITS END=========================*/



/* For more examples see http://www.mozilla.org/unix/customizing.html */

/* set default namespace to XUL */
@namespace url("http://www.mozilla.org/keymaster/gateke ... s.only.xul");
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Too much wasted space between bookmarks on the bar.

Post by RobertJ »

.
You should have this and NOTHING MORE.

Code: Select all

/* THIS REDUCES SPACING [-8px] TO THE ITEMS ON THE BOOKMARK TOOLBAR */

#personal-bookmarks .bookmark-item {
      margin-left: -8px !important;
}
It must be below this line

EDIT: which should only appear once in the file AS THE FIRST LINE.

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
After you edit the file you need to 1) save it and 2) restart FF.

.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
Post Reply