mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-03 20:15:56 +00:00 
			
		
		
		
	Make styling match proton compatible
This commit is contained in:
		
							parent
							
								
									4beb12d28e
								
							
						
					
					
						commit
						7f669db932
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,14 @@
 | 
			
		|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/floating_findbar_on_top.css made available under Mozilla Public License v. 2.0
 | 
			
		||||
See the above repository for updates as well as full license text. */
 | 
			
		||||
 | 
			
		||||
/* Note that privacy.resistFingerprinting.letterboxing prevents this from working properly */
 | 
			
		||||
 | 
			
		||||
findbar{
 | 
			
		||||
  -moz-box-ordinal-group: 0;
 | 
			
		||||
  margin-bottom: calc(0px - 2 * var(--toolbarbutton-inner-padding) -  25px);
 | 
			
		||||
  margin-bottom: -33px;
 | 
			
		||||
  position: relative;
 | 
			
		||||
  border-top: none !important;
 | 
			
		||||
  padding: 0 !important;
 | 
			
		||||
  transition: transform 82ms linear, opacity 82ms linear 32ms !important;
 | 
			
		||||
  background: none !important;
 | 
			
		||||
  pointer-events: none;
 | 
			
		||||
| 
						 | 
				
			
			@ -29,8 +32,12 @@ findbar > .close-icon{
 | 
			
		|||
findbar > .findbar-container{
 | 
			
		||||
  -moz-box-direction: reverse;
 | 
			
		||||
  border-left-width: 1px;
 | 
			
		||||
  border-bottom-left-radius: 4px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.findbar-closebutton{ margin: 0 !important; border-radius: 0 !important; padding: 5px !important; }
 | 
			
		||||
.findbar-closebutton > image{ padding: 3px }
 | 
			
		||||
.findbar-closebutton:hover > image{ background: var(--toolbarbutton-hover-background) !important; border-radius: 4px }
 | 
			
		||||
findbar > .findbar-container > hbox{ margin: 0 5px }
 | 
			
		||||
 | 
			
		||||
findbar::before{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue