Paul Felgate

Firefox New User Interface - Proton

It appears that the development team has caught some of Microsoft deafness, not listening to their product users. The big contention is the forces of Microsoft insisting the Metro menus and washed out program user interface headers, especially the lack of distinction between the user interface (menus) and the work area. It is a distraction to many of us. The new Proton interface is rather binary - light and dark. The light option has light user interface, and light workspace; and dark has dark user interface and dark workspace. There is no easy option to have dark interface with light workspace.



Light Theme

Dark Theme

The new Proton interface is even worse, in that it doesn't even allow (easily) Windows color scheme for title bar. I don't think many would complain if there was am option for dark user interface and light workspace. To correct the color scheme of the program user interface and workspace, a user theme will have to be done to override these two awful and limited options. Fortunately, the Mozilla Firefox development team left in place the ability to change the user interface. It has to be manually placed, and we will go through that process now.

Enable userChrome

First step is to enable the userChrome option. To do that, enter about:config in the Firefox address bar, and hit [Enter].


About:config

You will get a nanny warning dialog page. Click on Accept the Risk and Continue

Enter toolkit.legacyUserProfileCustomizations.stylesheets in the Address bar and hit [Enter]. This will bring you a settings option. You should see it set to "false". Double-click on the left/right icon just to the right, and "false" should change to "true". This will enable to use your own stylesheet for the Firefox user interface.




Enter about:support in the Firefox address bar, and hit [Enter]. Scroll down in the page until you see Profile Folder. Click on Open Folder. This will open the folder in Windows Explorer. Right click in a clear area of Windows Explorer, and create new folder chrome. Double-click on the folder chrome



In the chrome folder, download the userChrome.css file or create new text file with filename userChrome.css, and copy the contents in text box below to this file

userChrome.css source

/* Anti-Proton UI Theme,Mozilla Firefox, by paulfelgate.com - Begin */

/* -- quick instructions --
Use default light theme first 
about:config
Set: toolkit.legacyUserProfileCustomizations.stylesheets preference to true 
about:support > Profile Folder > Open Folder
Create folder 'chrome'
in folder 'chrome', create file 'userChrome.css'
copy contents to 'userChrome.css'
*/

/* bookmark menu spacing  */
menupopup > menu, menupopup > menuitem{
 padding-block: 2px !important;
 min-height: 0px !important;
 border: black;
} 


/* ----- Anti-Proton Customization ----- */

/* title bar and nav bar colors */
.titlebar-color {                                                                     
color: white;  /* for Windows colors, replace 'white' with '-moz-accent-color-foreground' */
background-color: black;  /* for Windows colors, replace 'black' with '-moz-accent-color' */
}

/* background navbar, bookmarks bar */
#navigator-toolbox > toolbar, .browserContainer > findbar, #browser-bottombox {
background-color: black !important; /* for Windows colors, replace 'black' with '-moz-accent-color' */
}


/* -- tab customization -- */
.tab-background {
border-radius: 0px 0px !important;
margin-bottom: 0px !important;
}

.tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background{
background-color: #444444;
}


/* -- Bookmark customization -- */
#PlacesToolbarItems {                                          /* status = DEFAULT */
color: white !important;                                       /* text color */
}

toolbarbutton.bookmark-item:hover {                            /* status = HOVER */
background-color: #555555 !important;                          /* background color */
/* color: rgb(64,64,64) !important;  */                        /* text color */
}



/* -- icon color customization -- */
.toolbarbutton-icon {
  fill: white;
}

/* bookmark modification */
#PlacesToolbarItems  .toolbarbutton-icon {
  fill: #fffdd0;
}

:root{
--arrowpanel-menuitem-padding: 2px !important;
}

/* --- for Light drop down menu's, delete all below --- */

/* bookmarks toolbar dropdown menu*/
#PlacesToolbar menupopup[placespopup="true"] {
  --arrowpanel-background: #111111 !important; 
  --arrowpanel-color: #fffdd0 !important;
}

/* menu separator */
#personal-bookmarks menuseparator {
  -moz-appearance: none !important;
  background-color: #555555 !important;
  height: 1px !important;
  margin: 2px 5px !important;
}


/* Anti-Proton UI Theme, Mozilla Firefox - End */

Screen shots and downloads

Anti-proton dark theme, dark menus


Anti-proton dark theme, light menus


Anti-proton Windows theme, dark menus


Anti-proton Windows theme, light menus


Anti-proton USA theme, dark menus


Anti-proton USA theme, light menus