forked from CIT/Vmeda.Online
		
	MOBILE-3076 splash: Use full size splash screen
This commit is contained in:
		
							parent
							
								
									9c7dc76730
								
							
						
					
					
						commit
						b66e87b86b
					
				
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/splash.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/assets/img/splash.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 55 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 16 KiB | 
| @ -1,8 +1,5 @@ | ||||
| <ion-content> | ||||
|     <div class="core-bglogo"> | ||||
|         <div class="core-logo"> | ||||
|             <img src="assets/img/splash_logo.png"/> | ||||
|         <ion-spinner></ion-spinner> | ||||
|     </div> | ||||
|     </div> | ||||
| </ion-content> | ||||
|  | ||||
| @ -1,34 +1,30 @@ | ||||
| $core-splash-bgsize: 100vmax !default; | ||||
| $core-splash-spinner-color: $core-init-screen-spinner-color !default; | ||||
| $core-splash-bgcolor: $core-color-init-screen !default; | ||||
| 
 | ||||
| ion-app.app-root page-core-login-init { | ||||
|     .scroll-content { | ||||
|         background-color: $core-color-init-screen; /* Change this to add a bg image or change color */ | ||||
|         background: -webkit-radial-gradient($core-color-init-screen-alt, $core-color-init-screen); | ||||
|         background: radial-gradient($core-color-init-screen-alt, $core-color-init-screen); | ||||
|         background-repeat: no-repeat; | ||||
|         background-position: center center; | ||||
|     } | ||||
|     .core-bglogo { | ||||
|         background: $core-splash-bgcolor; /* Change this to add a bg image or change color */ | ||||
|         overflow: hidden; | ||||
|         position: absolute; | ||||
|         @include position(0, 0, 0, 0); | ||||
|         height: 100%; | ||||
|         width: 100%; | ||||
|         display: table; | ||||
| 
 | ||||
|         .core-logo { | ||||
|     } | ||||
|     .core-bglogo { | ||||
|         display: table-cell; | ||||
|         text-align: center; | ||||
|         vertical-align: middle; | ||||
|         } | ||||
| 
 | ||||
|         img { | ||||
|             width: $core-init-screen-logo-width; | ||||
|             max-width: $core-init-screen-logo-max-width; | ||||
|             display: block; | ||||
|             margin: 0 auto; | ||||
|             margin-bottom: 30px; | ||||
|         } | ||||
|         background-image: url('/assets/img/splash.png'); | ||||
|         background-repeat: no-repeat; | ||||
|         background-size: 100%; | ||||
|         background-size: $core-splash-bgsize; | ||||
|         background-position: center; | ||||
| 
 | ||||
|         .spinner circle, .spinner line { | ||||
|             stroke: $core-init-screen-spinner-color; | ||||
|             stroke: $core-splash-spinner-color; | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -133,10 +133,7 @@ $core-star-color: $core-color !default; | ||||
| 
 | ||||
| // Init screen. | ||||
| $core-color-init-screen:          #ffffff !default; | ||||
| $core-color-init-screen-alt:      #ffffff !default; | ||||
| $core-init-screen-spinner-color:  $core-color !default; | ||||
| $core-init-screen-logo-width:     60% !default; | ||||
| $core-init-screen-logo-max-width: 300px !default; | ||||
| 
 | ||||
| $core-fixed-url:                  false !default; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user