mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:37:11 -04:00 
			
		
		
		
	chore(web): subtler spinner FOUC animation (#12090)
This commit is contained in:
		
							parent
							
								
									cf272fc7fd
								
							
						
					
					
						commit
						c44280a50b
					
				| @ -20,43 +20,27 @@ | |||||||
|         height: 100%; |         height: 100%; | ||||||
|         width: 100%; |         width: 100%; | ||||||
|       } |       } | ||||||
|  | 
 | ||||||
|       body, |       body, | ||||||
|       html { |       html { | ||||||
|         margin: 0; |         margin: 0; | ||||||
|         padding: 0; |         padding: 0; | ||||||
|       } |       } | ||||||
|  | 
 | ||||||
|       @keyframes delayedVisibility { |       @keyframes delayedVisibility { | ||||||
|         to { |         to { | ||||||
|           visibility: visible; |           visibility: visible; | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|       @keyframes stencil-pulse { |  | ||||||
|         0% { |  | ||||||
|           transform: scale(0.93); |  | ||||||
|           filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.7)); |  | ||||||
|         } |  | ||||||
| 
 | 
 | ||||||
|         70% { |  | ||||||
|           transform: scale(1); |  | ||||||
|           filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0)); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         100% { |  | ||||||
|           transform: scale(0.93); |  | ||||||
|           filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)); |  | ||||||
|         } |  | ||||||
|       } |  | ||||||
|       @keyframes loadspin { |       @keyframes loadspin { | ||||||
|         100% { |         100% { | ||||||
|           transform: rotate(360deg); |           transform: rotate(360deg); | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|       #stencil svg { | 
 | ||||||
|         height: 35%; |  | ||||||
|         animation: stencil-pulse 1s linear infinite; |  | ||||||
|       } |  | ||||||
|       #stencil { |       #stencil { | ||||||
|         --stencil-width: 25vw; |         --stencil-width: 150px; | ||||||
|         display: flex; |         display: flex; | ||||||
|         width: var(--stencil-width); |         width: var(--stencil-width); | ||||||
|         margin-left: auto; |         margin-left: auto; | ||||||
| @ -69,11 +53,13 @@ | |||||||
|         visibility: hidden; |         visibility: hidden; | ||||||
|         animation: |         animation: | ||||||
|           0s linear 0.3s forwards delayedVisibility, |           0s linear 0.3s forwards delayedVisibility, | ||||||
|           loadspin 2s linear infinite; |           loadspin 8s linear infinite; | ||||||
|       } |       } | ||||||
|  | 
 | ||||||
|       .bg-immich-bg { |       .bg-immich-bg { | ||||||
|         background-color: white; |         background-color: white; | ||||||
|       } |       } | ||||||
|  | 
 | ||||||
|       .dark .dark\:bg-immich-dark-bg { |       .dark .dark\:bg-immich-dark-bg { | ||||||
|         background-color: black; |         background-color: black; | ||||||
|       } |       } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user