Exclude global more-options panel from changes
This commit is contained in:
		
							parent
							
								
									a5a3e869e7
								
							
						
					
					
						commit
						21eabcfc38
					
				
					 1 changed files with 9 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,7 @@
 | 
			
		|||
/* Show addon management buttons without opening popup */
 | 
			
		||||
 | 
			
		||||
/* Show addon management buttons without opening popup */
 | 
			
		||||
 | 
			
		||||
@-moz-document url-prefix("chrome://mozapps/content/extensions/aboutaddons.html"){
 | 
			
		||||
 
 | 
			
		||||
  .addon-card-message{ margin-bottom: 0px !important; margin-top: 0px !important; }
 | 
			
		||||
| 
						 | 
				
			
			@ -14,7 +16,7 @@
 | 
			
		|||
  
 | 
			
		||||
  addon-options > panel-list{
 | 
			
		||||
    position: static !important;
 | 
			
		||||
    display: block !important;
 | 
			
		||||
    display: flex !important;
 | 
			
		||||
    padding: 0 !important;
 | 
			
		||||
    margin: 0px calc(0px - var(--card-padding)) !important;
 | 
			
		||||
    backdrop-filter: none !important; /* Having a backdrop-filter leads to some unexpected layering issues */
 | 
			
		||||
| 
						 | 
				
			
			@ -26,23 +28,23 @@
 | 
			
		|||
  .more-options-menu>.more-options-button,
 | 
			
		||||
  panel-item[action="expand"]{ display: none !important }
 | 
			
		||||
 | 
			
		||||
  div.list{ display: flex !important; flex-direction: row !important; } 
 | 
			
		||||
 | 
			
		||||
  div.list{ display: inherit !important; flex-direction: row !important; } 
 | 
			
		||||
  
 | 
			
		||||
  panel-item[action="toggle-disabled"]{ --icon: url("chrome://browser/skin/quit.svg") }
 | 
			
		||||
  panel-item[action="preferences"]{ --icon: url("chrome://browser/skin/settings.svg") }
 | 
			
		||||
  
 | 
			
		||||
/* Uncomment these if you want to hide button label - such as with compact_addons_manager */
 | 
			
		||||
/* This is basically a requirement with compact_addons_manager.css because the button text causes the cards to overflow */
 | 
			
		||||
/*
 | 
			
		||||
 button[role="menuitem"] > slot{ display: none !important; }
 | 
			
		||||
 link+button[role="menuitem"]{
 | 
			
		||||
    padding: 4px !important;
 | 
			
		||||
    position: static !important;
 | 
			
		||||
    width: 30px !important;
 | 
			
		||||
    height: 30px !important;
 | 
			
		||||
    background-position: 50% !important;
 | 
			
		||||
    min-width: 30px;
 | 
			
		||||
    padding-inline-end: 4px !important;
 | 
			
		||||
  }
 | 
			
		||||
  button[role="menuitem"] > label,
 | 
			
		||||
  button[role="menuitem"] > label:not([accesskey]),
 | 
			
		||||
  link+button::after{ display: none !important; }
 | 
			
		||||
*/
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue