[master]: Remove uk-light from banner less
This commit is contained in:
parent
c549507a22
commit
fbc328dbce
|
@ -1,4 +1,4 @@
|
||||||
import {Component, OnInit} from '@angular/core';
|
import {ChangeDetectorRef, Component, OnInit} from '@angular/core';
|
||||||
import {ActivatedRoute, Router} from "@angular/router";
|
import {ActivatedRoute, Router} from "@angular/router";
|
||||||
import {MenuItem} from "./openaireLibrary/sharedComponents/menu";
|
import {MenuItem} from "./openaireLibrary/sharedComponents/menu";
|
||||||
import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component";
|
import {Header} from "./openaireLibrary/sharedComponents/navigationBar.component";
|
||||||
|
@ -48,6 +48,7 @@ export class AppComponent extends StakeholderBaseComponent implements OnInit {
|
||||||
|
|
||||||
constructor(protected _route: ActivatedRoute,
|
constructor(protected _route: ActivatedRoute,
|
||||||
protected _router: Router,
|
protected _router: Router,
|
||||||
|
protected cdr: ChangeDetectorRef,
|
||||||
private layoutService: LayoutService,
|
private layoutService: LayoutService,
|
||||||
private smoothScroll: SmoothScroll,
|
private smoothScroll: SmoothScroll,
|
||||||
private configurationService: ConfigurationService,
|
private configurationService: ConfigurationService,
|
||||||
|
@ -71,6 +72,7 @@ export class AppComponent extends StakeholderBaseComponent implements OnInit {
|
||||||
}));
|
}));
|
||||||
this.subscriptions.push(this.layoutService.rootClass.subscribe(rootClass => {
|
this.subscriptions.push(this.layoutService.rootClass.subscribe(rootClass => {
|
||||||
this.rootClass = rootClass;
|
this.rootClass = rootClass;
|
||||||
|
this.cdr.detectChanges();
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
@banner-background: @ciel-color;
|
@banner-background: @ciel-color;
|
||||||
@banner-background-gradient: none;
|
@banner-background-gradient: none;
|
||||||
@banner-mode: dark;
|
|
||||||
|
|
||||||
@banner-footer-background: #000000;
|
@banner-footer-background: #000000;
|
||||||
|
|
||||||
|
@ -78,6 +77,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.uk-banner:extend(.uk-light all) when (@banner-mode = light) {
|
|
||||||
}
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
@primary-color: @primary-dark-color;
|
@primary-color: @primary-dark-color;
|
||||||
@secondary-color: @irish-global-primary-color;
|
@secondary-color: @irish-global-primary-color;
|
||||||
@banner-mode: light;
|
|
||||||
@banner-background: @global-primary-gradient;
|
@banner-background: @global-primary-gradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +14,6 @@
|
||||||
@primary-light-color: @secondary-color;
|
@primary-light-color: @secondary-color;
|
||||||
@primary-dark-color: @primary-color;
|
@primary-dark-color: @primary-color;
|
||||||
@ciel-color: #F5EDFC;
|
@ciel-color: #F5EDFC;
|
||||||
@banner-mode: light;
|
|
||||||
@banner-background: @global-primary-gradient;
|
@banner-background: @global-primary-gradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +25,6 @@
|
||||||
@primary-light-color: @secondary-color;
|
@primary-light-color: @secondary-color;
|
||||||
@primary-dark-color: @primary-color;
|
@primary-dark-color: @primary-color;
|
||||||
@ciel-color: #F7E9F0;
|
@ciel-color: #F7E9F0;
|
||||||
@banner-mode: light;
|
|
||||||
@banner-background: @global-primary-gradient;
|
@banner-background: @global-primary-gradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +36,6 @@
|
||||||
@primary-light-color: @secondary-color;
|
@primary-light-color: @secondary-color;
|
||||||
@primary-dark-color: @primary-color;
|
@primary-dark-color: @primary-color;
|
||||||
@ciel-color: #F5E9F3;
|
@ciel-color: #F5E9F3;
|
||||||
@banner-mode: light;
|
|
||||||
@banner-background: @global-primary-gradient;
|
@banner-background: @global-primary-gradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +47,6 @@
|
||||||
@primary-light-color: @secondary-color;
|
@primary-light-color: @secondary-color;
|
||||||
@primary-dark-color: @primary-color;
|
@primary-dark-color: @primary-color;
|
||||||
@ciel-color: #E5F0FA;
|
@ciel-color: #E5F0FA;
|
||||||
@banner-mode: light;
|
|
||||||
@banner-background: @global-primary-gradient;
|
@banner-background: @global-primary-gradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue