+
+
+
+
+
+
{{stakeholder.name}}
+ {{entities.funders}}
+
+
+
-
-
-
+
+
+
`
@@ -52,6 +51,7 @@ export class RfoComponent extends StakeholderBaseComponent implements OnInit {
loading: boolean = false;
constructor(private stakeholderService: StakeholderService,
+ private layoutService: LayoutService,
private _customFilterService: CustomFilterService,
protected _router: Router,
protected _route: ActivatedRoute,
@@ -67,6 +67,7 @@ export class RfoComponent extends StakeholderBaseComponent implements OnInit {
}
ngOnInit() {
+ this.layoutService.setRootClass('funder');
this.params.subscribe(params => {
this._customFilterService.setCustomFilter(null);
this.alias = params['stakeholder'];
@@ -92,4 +93,9 @@ export class RfoComponent extends StakeholderBaseComponent implements OnInit {
}
});
}
+
+ ngOnDestroy() {
+ super.ngOnDestroy();
+ this.layoutService.setRootClass(null);
+ }
}
diff --git a/src/app/rpo/rpo.component.ts b/src/app/rpo/rpo.component.ts
index 40a9b07..8faa10a 100644
--- a/src/app/rpo/rpo.component.ts
+++ b/src/app/rpo/rpo.component.ts
@@ -9,40 +9,39 @@ import {SearchCustomFilter} from "../openaireLibrary/searchPages/searchUtils/sea
import {LinksResolver} from "../search/links-resolver";
import {CustomFilterService} from "../shared/customFilter.service";
import {StakeholderBaseComponent} from "../openaireLibrary/monitor-admin/utils/stakeholder-base.component";
+import {LayoutService} from "../openaireLibrary/dashboard/sharedComponents/sidebar/layout.service";
@Component({
selector: 'rpo',
template: `
-
-
-
-
-
-
-
{{stakeholder.name}}
- {{entities.organizations}}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
{{stakeholder.name}}
+ {{entities.organizations}}
+
+
+
+
+
+
+
+
`
})
export class RpoComponent extends StakeholderBaseComponent implements OnInit {
@@ -53,6 +52,7 @@ export class RpoComponent extends StakeholderBaseComponent implements OnInit {
constructor(private stakeholderService: StakeholderService,
private _customFilterService: CustomFilterService,
+ private layoutService: LayoutService,
protected _router: Router,
protected _route: ActivatedRoute,
protected seoService: SEOService,
@@ -67,6 +67,7 @@ export class RpoComponent extends StakeholderBaseComponent implements OnInit {
}
ngOnInit() {
+ this.layoutService.setRootClass('organization');
this.params.subscribe(params => {
this._customFilterService.setCustomFilter(null);
this.alias = params['stakeholder'];
@@ -92,6 +93,11 @@ export class RpoComponent extends StakeholderBaseComponent implements OnInit {
}
});
}
+
+ ngOnDestroy() {
+ super.ngOnDestroy();
+ this.layoutService.setRootClass(null);
+ }
}
diff --git a/src/assets/extend-theme/less/banner.less b/src/assets/extend-theme/less/banner.less
index a5dc884..1c5714c 100644
--- a/src/assets/extend-theme/less/banner.less
+++ b/src/assets/extend-theme/less/banner.less
@@ -2,30 +2,35 @@
@banner-background-gradient: none;
@banner-mode: dark;
-@banner-footer-background: transparent;
+@banner-footer-background: #000000;
@banner-tab-gutter: 60px;
-@banner-tab-margin-bottom: @global-small-margin;
+@banner-tab-margin-vertical: @global-small-margin;
@banner-tab-divider: @global-border-width solid @global-border;
@banner-tab-divider-height: @global-line-height;
-@banner-tab-item-hover-color: @global-secondary-background;
-@banner-tab-item-active-color: @global-secondary-background;
+@banner-tab-item-hover-color: @irish-global-secondary-color;
+@banner-tab-item-active-color: @banner-tab-item-hover-color;
@banner-tab-item-active-indicator: @global-background;
.uk-banner:extend(.uk-section) {
background: @banner-background;
position: relative;
- & .uk-banner-footer {
- background: @banner-footer-background;
+ & .uk-banner-footer:extend(.uk-light all) {
position: absolute;
bottom: 0;
left: 0;
right: 0;
+ background: fade(@banner-footer-background, 50%);
+
+ @supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
+ -webkit-backdrop-filter: blur(30px) opacity(10%) brightness(90%);
+ backdrop-filter: blur(30px) opacity(10%) brightness(90%);
+ }
& ul.uk-banner-tab:extend(.uk-flex) {
list-style: none;
- margin-bottom: @banner-tab-margin-bottom;
+ margin: @banner-tab-margin-vertical 0;
& > li {
&:not(:first-child) {
@@ -48,7 +53,7 @@
}
&:hover a {
- color:@banner-tab-item-hover-color;
+ color: @banner-tab-item-hover-color;
}
&.uk-active a {
@@ -59,14 +64,14 @@
&:after {
content: '';
position: absolute;
- bottom: -@banner-tab-margin-bottom;
+ bottom: -@banner-tab-margin-vertical;
left: 50%;
transform: translate(-50%, 50%);
width: 0;
height: 0;
- border-left: 2*@banner-tab-margin-bottom solid transparent;
- border-right: 2*@banner-tab-margin-bottom solid transparent;
- border-bottom: @banner-tab-margin-bottom solid @banner-tab-item-active-indicator;
+ border-left: 2*@banner-tab-margin-vertical solid transparent;
+ border-right: 2*@banner-tab-margin-vertical solid transparent;
+ border-bottom: @banner-tab-margin-vertical solid @banner-tab-item-active-indicator;
}
}
}
@@ -74,4 +79,5 @@
}
}
-.uk-banner:extend(.uk-light all) when (@banner-mode = light) {}
+.uk-banner:extend(.uk-light all) when (@banner-mode = light) {
+}
diff --git a/src/assets/extend-theme/less/color.less b/src/assets/extend-theme/less/color.less
index 45b3b96..c26a8f6 100644
--- a/src/assets/extend-theme/less/color.less
+++ b/src/assets/extend-theme/less/color.less
@@ -1,13 +1,16 @@
-@primary-color: #009A49;
-@primary-light-color: #25AE7A;
+@irish-global-secondary-color: #FF7901;
+@irish-global-primary-color: #1B895F;
+
+@primary-color: @irish-global-primary-color;
+@primary-light-color: #23B58B;
@primary-dark-color: #002B1A;
-@secondary-color: #FF7901;
-@ciel-color: #DCE9E3;
+@secondary-color: @irish-global-secondary-color;
+@ciel-color: #EBF4F2;
@default-color: #F9FBFC;
@funder-color: #4D276F;
-@organization-color: #f5cc1c;
-@country-color: @primary-color;
-@datasource-color: #D45E50;
-@researcher-color: #184377;
+@organization-color: #762243;
+@country-color: @primary-dark-color;
+@datasource-color: #66264D;
+@researcher-color: #0647A6;
diff --git a/src/assets/extend-theme/less/variables.less b/src/assets/extend-theme/less/variables.less
index 9503001..7b5b1ab 100644
--- a/src/assets/extend-theme/less/variables.less
+++ b/src/assets/extend-theme/less/variables.less
@@ -1,7 +1,7 @@
@import "color";
/** Backgrounds */
-@global-primary-gradient: radial-gradient(closest-side at 50% 50%, @primary-light-color 0%, @primary-dark-color 100%);
+@global-primary-gradient: radial-gradient(farthest-corner at 50% 25%, @primary-light-color 0%, @primary-dark-color 100%);
/** Border */
@global-border: @gray-300;
diff --git a/src/assets/irish-monitor.less b/src/assets/irish-monitor.less
index b03a0a9..6829441 100644
--- a/src/assets/irish-monitor.less
+++ b/src/assets/irish-monitor.less
@@ -1,11 +1,16 @@
@general-search-form-background: none;
.country {
- @import (multiple) "~src/assets/extend-theme/less/_import-variables";
- @import (multiple) "~src/assets/extend-theme/less/banner";
+ @import (multiple) "~src/assets/extend-theme/less/_import";
+ @import (multiple) "~src/assets/common-assets/less/general";
+ @import (multiple) "~src/assets/common-assets/less/landing";
+ @import (multiple) "~src/assets/common-assets/less/dashboard";
+ @import (multiple) "~src/assets/common-assets/less/indicators";
@banner-mode: light;
@banner-background: @global-primary-gradient;
+ @primary-color: @primary-dark-color;
+ @secondary-color: @irish-global-primary-color;
}
.funder {
@@ -16,9 +21,10 @@
@import (multiple) "~src/assets/common-assets/less/indicators";
@primary-color: @funder-color;
- @primary-light-color: #9A4DDD;
- @primary-dark-color: #480088;
- @ciel-color: #dab6ff;
+ @secondary-color: #9A4DDD;
+ @primary-light-color: @secondary-color;
+ @primary-dark-color: @primary-color;
+ @ciel-color: #F5EDFC;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@@ -29,10 +35,12 @@
@import (multiple) "~src/assets/common-assets/less/landing";
@import (multiple) "~src/assets/common-assets/less/dashboard";
@import (multiple) "~src/assets/common-assets/less/indicators";
+
@primary-color: @organization-color;
- @primary-light-color: #ffe165;
- @primary-dark-color: #9c7d00;
- @ciel-color: #fff1cb;
+ @secondary-color: #EB4386;
+ @primary-light-color: @secondary-color;
+ @primary-dark-color: @primary-color;
+ @ciel-color: #F7E9F0;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@@ -45,9 +53,10 @@
@import (multiple) "~src/assets/common-assets/less/indicators";
@primary-color: @datasource-color;
- @primary-light-color: #D45E50;
- @primary-dark-color: #6A2F28;
- @ciel-color: #ffc3bf;
+ @secondary-color: #CB4C99;
+ @primary-light-color: @secondary-color;
+ @primary-dark-color: @primary-color;
+ @ciel-color: #F5E9F3;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@@ -60,9 +69,10 @@
@import (multiple) "~src/assets/common-assets/less/indicators";
@primary-color: @researcher-color;
- @primary-light-color: #3086ED;
- @primary-dark-color: #184377;
- @ciel-color: #ddeaff;
+ @secondary-color: #3086ED;
+ @primary-light-color: @secondary-color;
+ @primary-dark-color: @primary-color;
+ @ciel-color: #E5F0FA;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
diff --git a/src/assets/openaire-theme b/src/assets/openaire-theme
index 928dfa1..7aa9e57 160000
--- a/src/assets/openaire-theme
+++ b/src/assets/openaire-theme
@@ -1 +1 @@
-Subproject commit 928dfa11bd4aeadb30c2d72d408c7b7206d6598e
+Subproject commit 7aa9e577193e3a77415434fd5e6e856a21d5efeb
diff --git a/src/styles.less b/src/styles.less
index b3be04d..b6252bc 100644
--- a/src/styles.less
+++ b/src/styles.less
@@ -3,9 +3,7 @@
@import "~src/assets/extend-theme/less/_import";
@import "~src/assets/common-assets/less/general";
@import "~src/assets/common-assets/less/user";
-@import "~src/assets/common-assets/less/landing";
@import "~src/assets/common-assets/less/linking";
@import "~src/assets/common-assets/less/dashboard";
-@import "~src/assets/common-assets/less/indicators";
@import "~src/assets/common-assets/less/ckeditor";
@import "~src/assets/irish-monitor";