File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
services/static-webserver/client/source/class/osparc/auth Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ qx.Class.define("osparc.auth.LoginPage", {
138138 this . getContentElement ( ) . setStyles ( {
139139 "background-image" : backgroundImage ,
140140 "background-repeat" : "no-repeat" ,
141- "background-size" : "contain " , // auto width, 85% height
142- "background-position" : "0% 100% " // left bottom
141+ "background-size" : "65% auto, 80% auto " , // auto width, 85% height
142+ "background-position" : "left bottom, left -440px bottom -230px " // left bottom
143143 } ) ;
144144 } ,
145145
Original file line number Diff line number Diff line change @@ -53,21 +53,22 @@ qx.Class.define("osparc.auth.LoginPageS4L", {
5353 __setBackgroundImage : function ( ) {
5454 let backgroundImage = "" ;
5555
56- const defaultBG = "url(resource/osparc/Sim4Life_login_page_master_transparent_bg.png)" ;
56+ const defaultBG = "url(https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png)," +
57+ "url(https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/clouds_11.png)" ;
58+ const liteBG = "url(https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-lite.png)," +
59+ "url(https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/clouds_11.png)" ;
60+ const academyBG = "url(https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-academy.png)," +
61+ "url(https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/clouds_11.png)" ;
5762
5863 switch ( osparc . product . Utils . getProductName ( ) ) {
5964 case "s4llite" :
60- backgroundImage = defaultBG ;
65+ backgroundImage = liteBG ;
6166 break ;
6267 case "s4lacad" :
63- backgroundImage = defaultBG ;
64- break ;
65- case "s4ldesktop" :
66- backgroundImage = defaultBG ;
67- break ;
6868 case "s4ldesktopacad" :
69- backgroundImage = defaultBG ;
69+ backgroundImage = academyBG ;
7070 break ;
71+ case "s4ldesktop" :
7172 case "s4l" :
7273 default :
7374 backgroundImage = defaultBG ;
You can’t perform that action at this time.
0 commit comments