add heroBackground, put only in hero the background image
This commit is contained in:
parent
360562178b
commit
1db2073e96
|
@ -19,9 +19,9 @@ export class Layout {
|
|||
}
|
||||
if(options.backgrounds){
|
||||
variables['@general-search-form-background'] = options.backgrounds.form.color;
|
||||
variables['@general-search-form-background-image'] = (options.backgrounds.form.imageFile?(this.getUrl(properties.utilsService + '/download/' +options.backgrounds.form.imageFile)): 'none') ;
|
||||
variables['@general-search-form-background-position'] = options.backgrounds.form.position;
|
||||
variables['@base-body-background'] = options.backgrounds.light.color;
|
||||
variables['@base-body-background'] = options.backgrounds.light.color;
|
||||
variables['@hero-background-image'] = (options.backgrounds.form.imageFile?(this.getUrl(properties.utilsService + '/download/' +options.backgrounds.form.imageFile)): 'none') ;
|
||||
variables['@hero-background-position'] = options.backgrounds.form.position;
|
||||
}
|
||||
if(options.buttons){
|
||||
//general
|
||||
|
|
Loading…
Reference in New Issue