mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	Remove dependence on --menu-x variables
Firefox 105 won't have these anymore as per https://bugzilla.mozilla.org/show_bug.cgi?id=1782858
This commit is contained in:
		
							parent
							
								
									3c7a4cd0f2
								
							
						
					
					
						commit
						3f5bc73e69
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
menupopup[placespopup="true"]{
 | 
			
		||||
  padding: 0 !important;
 | 
			
		||||
  margin: 0 !important;
 | 
			
		||||
  --arrowpanel-background: var(--menu-background-color) !important;
 | 
			
		||||
  --arrowpanel-background: var(--menu-background-color,Menu) !important;
 | 
			
		||||
  border-radius: var(--panel-border-radius) !important;
 | 
			
		||||
}
 | 
			
		||||
.menupopup-arrowscrollbox{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,6 +14,8 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
 | 
			
		||||
@supports -moz-bool-pref("userchrome.menupopups.force-light"){
 | 
			
		||||
  menupopup{
 | 
			
		||||
    color-scheme: light !important;
 | 
			
		||||
    /* variables for pre-fx105 */
 | 
			
		||||
    --menuitem-hover-background-color: #e0e0e6 !important;
 | 
			
		||||
    --menu-background-color: #f9f9fb !important;
 | 
			
		||||
    --menu-color: #15141a !important;
 | 
			
		||||
| 
						 | 
				
			
			@ -25,6 +27,8 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
}
 | 
			
		||||
@supports -moz-bool-pref("userchrome.menupopups.force-dark"){
 | 
			
		||||
  menupopup{
 | 
			
		||||
    color-scheme: dark !important;
 | 
			
		||||
    /* variables for pre-fx105 */
 | 
			
		||||
    --menuitem-hover-background-color: #52525e !important;
 | 
			
		||||
    --menu-background-color: #2b2a33 !important;
 | 
			
		||||
    --menu-color: #fbfbfe !important;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue