firefox: fix tab bar style on gnome
This commit is contained in:
		
							parent
							
								
									df51258918
								
							
						
					
					
						commit
						436188d460
					
				
					 1 changed files with 47 additions and 4 deletions
				
			
		| 
						 | 
					@ -124,10 +124,53 @@ in
 | 
				
			||||||
            "devtools.chrome.enabled" = true;
 | 
					            "devtools.chrome.enabled" = true;
 | 
				
			||||||
            "devtools.debugger.remote-enabled" = true;
 | 
					            "devtools.debugger.remote-enabled" = true;
 | 
				
			||||||
          };
 | 
					          };
 | 
				
			||||||
          userChrome = lib.mkIf (desktop == "sway") ''
 | 
					          userChrome =
 | 
				
			||||||
            #titlebar { display: none !important; }
 | 
					            if desktop == "sway" then
 | 
				
			||||||
            #sidebar-header { display: none !important; }
 | 
					              ''
 | 
				
			||||||
          '';
 | 
					                #titlebar { display: none !important; }
 | 
				
			||||||
 | 
					                #sidebar-header { display: none !important; }
 | 
				
			||||||
 | 
					              ''
 | 
				
			||||||
 | 
					            else
 | 
				
			||||||
 | 
					              ''
 | 
				
			||||||
 | 
					                /* Element | chrome://browser/content/browser.xhtml */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                #navigator-toolbox {
 | 
				
			||||||
 | 
					                  display: grid;
 | 
				
			||||||
 | 
					                  grid-template-columns: 1fr 50px;
 | 
				
			||||||
 | 
					                  overflow: hidden;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                /* Element | chrome://browser/content/browser.xhtml */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                #nav-bar {
 | 
				
			||||||
 | 
					                  flex: 1;
 | 
				
			||||||
 | 
					                  width: 100%;
 | 
				
			||||||
 | 
					                  grid-column: 1 / 3;
 | 
				
			||||||
 | 
					                  grid-row: 1;
 | 
				
			||||||
 | 
					                  z-index: 0;
 | 
				
			||||||
 | 
					                  padding-right: 29px !important;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                /* Element | chrome://browser/content/browser.xhtml */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                .toolbar-items {
 | 
				
			||||||
 | 
					                  display: none;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                /* Element | chrome://browser/content/browser.xhtml */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                #TabsToolbar {
 | 
				
			||||||
 | 
					                  max-width: 50px;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                /* Element | chrome://browser/content/browser.xhtml */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                #titlebar {
 | 
				
			||||||
 | 
					                  max-width: 50px;
 | 
				
			||||||
 | 
					                  grid-area: 1 / 2;
 | 
				
			||||||
 | 
					                  z-index: 10;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					              '';
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue