Small changes to footer and navigation
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<footer class="footer">
|
||||
<div class="footer__logo-wrapper">
|
||||
<a class="footer__logo-link" href="/">
|
||||
<img class="footer__logo" src="/assets/logo/arbetsformedlingen-light.svg" alt="Arbetsförmedlingen" />
|
||||
</a>
|
||||
<digi-logo af-color="secondary"></digi-logo>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
@import 'variables/gutters';
|
||||
|
||||
.footer {
|
||||
background-color: var(--digi--ui--color--background--profile);
|
||||
padding: var(--digi--layout--gutter);
|
||||
padding: $digi--layout--gutter--l $digi--layout--gutter;
|
||||
|
||||
&__logo-wrapper {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&__logo {
|
||||
height: 2rem;
|
||||
vertical-align: middle;
|
||||
::ng-deep .digi-logo {
|
||||
--digi-logo--padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { FooterComponent } from './footer.component';
|
||||
|
||||
@NgModule({
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
declarations: [FooterComponent],
|
||||
imports: [CommonModule, RouterModule],
|
||||
exports: [FooterComponent],
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
|
||||
&__logo-link {
|
||||
text-decoration: none;
|
||||
|
||||
::ng-deep .digi-logo {
|
||||
--digi-logo--padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__logo {
|
||||
|
||||
@@ -43,6 +43,5 @@
|
||||
&__footer {
|
||||
grid-area: footer;
|
||||
background-color: var(--digi--ui--color--primary);
|
||||
min-height: 10rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user