MozillaZine

Can't get rid of margin from Menu Bar

User Help for Mozilla Firefox
JAB Creations

User avatar
 
Posts: 339
Joined: December 28th, 2003, 10:21 pm
Location: Sarasota Florida

Post Posted January 29th, 2017, 5:30 pm

How do I get rid of all margins on #toolbar-menubar?

The #toolbar-menubar has three pixels of bottom and top margin located in chrome://ctraddon_os_special/skin/tabsontop_offextra.css that I absolutely can not figure out how to negate. Here is one of many examples of what I attempted using userChrome.css yet the selectors just aren't applying:

Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul)
{
 #main-window[tabsintitlebar]:not([inFullscreen]) #navigator-toolbox #toolbar-menubar
 {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
 }

 @media all and (-moz-windows-compositor)
 {
  #main-window[tabsintitlebar]:not([inFullscreen]) #navigator-toolbox #toolbar-menubar
  {
   margin-top: 0px !important;
   margin-bottom: 0px !important;
  }
 }

 @media all and (-moz-windows-classic)
 {
  #main-window[tabsintitlebar]:not([inFullscreen]) #navigator-toolbox #toolbar-menubar
  {
   margin-top: 0px !important;
   margin-bottom: 0px !important;
  }
 }
}

DanRaisch
Moderator

User avatar
 
Posts: 117720
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted January 29th, 2017, 9:18 pm

Moving to Firefox Support/

JayhawksRock

User avatar
 
Posts: 10429
Joined: October 24th, 2010, 8:51 am

Post Posted January 29th, 2017, 10:37 pm

AFAICT, That real estate belongs to Windows... Try F11
"The trouble with quotes on the internet is you never know if they are genuine" ...Abraham Lincoln

JAB Creations

User avatar
 
Posts: 339
Joined: December 28th, 2003, 10:21 pm
Location: Sarasota Florida

Post Posted January 30th, 2017, 1:33 am

After considerable more research I discovered it's hard coded in the Classic Theme Restorer theme. I've unzipped all the assets and have had to manually weed out about a dozen bad styles that weren't necessary to begin with. I don't need any more updates for that extension any way. Thanks for trying guys.

Brummelchen
 
Posts: 2583
Joined: March 19th, 2005, 10:51 am

Post Posted January 30th, 2017, 9:07 am

look for pre and after - i had that hint from Aris (CTR) longer ago. he also was annoyed of this.

JAB Creations

User avatar
 
Posts: 339
Joined: December 28th, 2003, 10:21 pm
Location: Sarasota Florida

Post Posted January 30th, 2017, 8:29 pm


Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 20 guests