mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	add support for theme images
This commit is contained in:
		
							parent
							
								
									b1b91c93d3
								
							
						
					
					
						commit
						e369c1670c
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -23,11 +23,25 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
 | 
			
		||||
:root[sessionrestored] #nav-bar,
 | 
			
		||||
:root[sessionrestored] #PersonalToolbar{
 | 
			
		||||
  background-image: var(--lwt-additional-images,var(--toolbar-bgimage)) !important;
 | 
			
		||||
  background-position: var(--lwt-background-alignment);
 | 
			
		||||
  background-position-y: calc(0px - var(--tab-min-height) - 2*var(--proton-tab-block-margin,0px));
 | 
			
		||||
  background-repeat: var(--lwt-background-tiling);
 | 
			
		||||
  transform: rotateX(90deg);
 | 
			
		||||
  transform-origin: top;
 | 
			
		||||
  transition: transform 135ms linear var(--uc-autohide-toolbar-delay) !important;
 | 
			
		||||
  z-index: 2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:root[sessionrestored] #PersonalToolbar{
 | 
			
		||||
  background-position-y: calc(0px - var(--tab-min-height) - 2*var(--proton-tab-block-margin,0px) + var( --uc-navbar-height));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
:root[lwtheme-image] #nav-bar,
 | 
			
		||||
:root[lwtheme-image] #PersonalToolbar{
 | 
			
		||||
  background-image: var(--lwt-header-image), var(--lwt-additional-images,var(--toolbar-bgimage)) !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#nav-bar[customizing],#PersonalToolbar[customizing]{ transform: none !important }
 | 
			
		||||
 | 
			
		||||
#navigator-toolbox > #PersonalToolbar{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue