diff --git a/src/app/utils/customization/customization.component.ts b/src/app/utils/customization/customization.component.ts index b680436..690db1c 100644 --- a/src/app/utils/customization/customization.component.ts +++ b/src/app/utils/customization/customization.component.ts @@ -62,14 +62,15 @@ export class CustomizationComponent { :root { --portal-main-color: ` + this.layout.identity.mainColor+`; --portal-dark-color: ` + this.layout.identity.secondaryColor+`; - --background-light-color: ` + this.layout.backgrounds.light.color+`; } `; //Search SVG let search = `Asset 3`;; let svg = 'data:image/svg+xml,' + encodeURIComponent(search.replace('{{color}}', this.layout.backgrounds.form.color)); this.customizationCss = this.customizationCss.concat('.generalSearchForm,.publicationsSearchForm,.projectsSearchForm, .projectsTableSearchForm,.organizationsSearchForm,.datasourcesSearchForm {'); - this.customizationCss = this.customizationCss.concat(' background: ' + "url('" + svg + "') transparent no-repeat center bottom }"); + this.customizationCss = this.customizationCss.concat(' background: ' + "url('" + svg + "') transparent no-repeat center bottom; "); + this.customizationCss = this.customizationCss.concat(" background-size: cover !important; "); + this.customizationCss = this.customizationCss.concat(" height: inherit; }"); //Button link SVG let arrow = ``;; @@ -84,7 +85,7 @@ export class CustomizationComponent { this.customizationCss = this.customizationCss.concat(' }'); - this.customizationCss = this.customizationCss.concat(' .uk-button:not(.uk-button-text):not(.uk-button-default):not(.uk-button-primary), .portal-button {'); + this.customizationCss = this.customizationCss.concat(' .uk-button:not(.uk-button-text):not(.uk-button-default):not(.uk-button-primary):not(.uk-disabled), .portal-button:not(.uk-disabled) {'); this.customizationCss = this.customizationCss.concat(' background-color:' + (this.layout.buttons.lightBackground.backgroundColor != null ? this.layout.buttons.lightBackground.backgroundColor : `#003052`) + ';'); this.customizationCss = this.customizationCss.concat(' color: ' + (this.layout.buttons.lightBackground.color != null ? this.layout.buttons.lightBackground.color : `white`) + ';'); this.customizationCss = this.customizationCss.concat('border-color: ' + (this.layout.buttons.lightBackground.borderColor != null ? this.layout.buttons.lightBackground.borderColor : `transparent`) + ';'); diff --git a/src/app/utils/piwikHelper.ts b/src/app/utils/piwikHelper.ts index 07f48ab..6ff17a6 100644 --- a/src/app/utils/piwikHelper.ts +++ b/src/app/utils/piwikHelper.ts @@ -20,7 +20,9 @@ export class PiwikHelper{ "covid-19":267, "rural-digital-europe":319, "enermaps":318, - "galaxy":453 + "galaxy":453, + "gotriple":null, + "neanias-underwater":474 }; public static getSiteId(communityId:string, environment:string){ return this.siteIDs[communityId]; diff --git a/src/assets/customization.css b/src/assets/customization.css index ca97848..28d2ec2 100644 --- a/src/assets/customization.css +++ b/src/assets/customization.css @@ -152,11 +152,3 @@ a:not(.uk-button), color: var(--portal-main-color) !important; } -.generalSearchForm, -.publicationsSearchForm, -.projectsSearchForm, -.organizationsSearchForm, -.datasourcesSearchForm{ - background-size: cover !important; - height: inherit; -} diff --git a/src/index.prod.html b/src/index.prod.html index 0778b44..5d611e2 100644 --- a/src/index.prod.html +++ b/src/index.prod.html @@ -11,7 +11,7 @@ - +