[master]: Remove uk-light from banner less

This commit is contained in:
Konstantinos Triantafyllou 2023-12-06 15:33:14 +02:00
parent c549507a22
commit fbc328dbce
3 changed files with 3 additions and 10 deletions

View File

@ -1,4 +1,4 @@
import {Component, OnInit} from '@angular/core';
import {ChangeDetectorRef, Component, OnInit} from '@angular/core';
import {ActivatedRoute, Router} from "@angular/router";
import {MenuItem} from "./openaireLibrary/sharedComponents/menu";
import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component";
@ -48,6 +48,7 @@ export class AppComponent extends StakeholderBaseComponent implements OnInit {
constructor(protected _route: ActivatedRoute,
protected _router: Router,
protected cdr: ChangeDetectorRef,
private layoutService: LayoutService,
private smoothScroll: SmoothScroll,
private configurationService: ConfigurationService,
@ -71,6 +72,7 @@ export class AppComponent extends StakeholderBaseComponent implements OnInit {
}));
this.subscriptions.push(this.layoutService.rootClass.subscribe(rootClass => {
this.rootClass = rootClass;
this.cdr.detectChanges();
}));
}

View File

@ -1,6 +1,5 @@
@banner-background: @ciel-color;
@banner-background-gradient: none;
@banner-mode: dark;
@banner-footer-background: #000000;
@ -78,6 +77,3 @@
}
}
}
.uk-banner:extend(.uk-light all) when (@banner-mode = light) {
}

View File

@ -3,7 +3,6 @@
@primary-color: @primary-dark-color;
@secondary-color: @irish-global-primary-color;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@ -15,7 +14,6 @@
@primary-light-color: @secondary-color;
@primary-dark-color: @primary-color;
@ciel-color: #F5EDFC;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@ -27,7 +25,6 @@
@primary-light-color: @secondary-color;
@primary-dark-color: @primary-color;
@ciel-color: #F7E9F0;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@ -39,7 +36,6 @@
@primary-light-color: @secondary-color;
@primary-dark-color: @primary-color;
@ciel-color: #F5E9F3;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}
@ -51,7 +47,6 @@
@primary-light-color: @secondary-color;
@primary-dark-color: @primary-color;
@ciel-color: #E5F0FA;
@banner-mode: light;
@banner-background: @global-primary-gradient;
}