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){
|
if(options.backgrounds){
|
||||||
variables['@general-search-form-background'] = options.backgrounds.form.color;
|
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['@base-body-background'] = options.backgrounds.light.color;
|
||||||
variables['@general-search-form-background-position'] = options.backgrounds.form.position;
|
variables['@hero-background-image'] = (options.backgrounds.form.imageFile?(this.getUrl(properties.utilsService + '/download/' +options.backgrounds.form.imageFile)): 'none') ;
|
||||||
variables['@base-body-background'] = options.backgrounds.light.color;
|
variables['@hero-background-position'] = options.backgrounds.form.position;
|
||||||
}
|
}
|
||||||
if(options.buttons){
|
if(options.buttons){
|
||||||
//general
|
//general
|
||||||
|
|
Loading…
Reference in New Issue