MozillaZine

Too much wasted space between bookmarks on the bar.

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

Post Posted November 29th, 2018, 4:36 am

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.
Firefox 71.0 - Win 10-1909 Hm - uBO - Mbam Ext - Cookie AutoDelete - CSS Exfil - Privacy Possum - Decentraleyes - Disconnect - HTTPS Everywhere - Yet Another Smooth Scrolling - Startpage Search - # Letters in Mozilla is 6 (unique letters), NOT Actual 7 -

dfoulkes

User avatar
 
Posts: 22575
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted November 29th, 2018, 10:12 am

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 !!

LoveMyFoxy

User avatar
 
Posts: 2296
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 29th, 2018, 12:38 pm

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 2019.10/Thunderbird 52.9ESR/Sticky Password/Verizon FIOS wired network

LoveMyFoxy

User avatar
 
Posts: 2296
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 29th, 2018, 12:51 pm

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 2019.10/Thunderbird 52.9ESR/Sticky Password/Verizon FIOS wired network

RobertJ
Moderator

User avatar
 
Posts: 10827
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 29th, 2018, 1:14 pm

.
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 71.0 - FF 72b2 - FF 73a - TB 68.3 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

LoveMyFoxy

User avatar
 
Posts: 2296
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 29th, 2018, 9:52 pm

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 2019.10/Thunderbird 52.9ESR/Sticky Password/Verizon FIOS wired network

RobertJ
Moderator

User avatar
 
Posts: 10827
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 30th, 2018, 8:31 am

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 71.0 - FF 72b2 - FF 73a - TB 68.3 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

Frank Lion

User avatar
 
Posts: 20492
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted November 30th, 2018, 11:16 am

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....
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

dfoulkes

User avatar
 
Posts: 22575
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted November 30th, 2018, 11:34 am

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 !!

RobertJ
Moderator

User avatar
 
Posts: 10827
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 30th, 2018, 11:52 am

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 71.0 - FF 72b2 - FF 73a - TB 68.3 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

dfoulkes

User avatar
 
Posts: 22575
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted November 30th, 2018, 11:56 am

Ok... understand...sorry Frank.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!

LoveMyFoxy

User avatar
 
Posts: 2296
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 30th, 2018, 1:19 pm

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 2019.10/Thunderbird 52.9ESR/Sticky Password/Verizon FIOS wired network

RobertJ
Moderator

User avatar
 
Posts: 10827
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 30th, 2018, 1:23 pm

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 71.0 - FF 72b2 - FF 73a - TB 68.3 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

LoveMyFoxy

User avatar
 
Posts: 2296
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 30th, 2018, 1:29 pm

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/gatekeeper/there.is.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/gatekeeper/there.is.only.xul");
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2019.10/Thunderbird 52.9ESR/Sticky Password/Verizon FIOS wired network

RobertJ
Moderator

User avatar
 
Posts: 10827
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 30th, 2018, 1:37 pm

.
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 71.0 - FF 72b2 - FF 73a - TB 68.3 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 13 guests