Skip to content
Snippets Groups Projects
Commit ebc664ee authored by OZGCloud's avatar OZGCloud
Browse files

add H1 to Start-page

parent efd4dd94
No related branches found
No related tags found
No related merge requests found
<nav [ngClass]="{ small: navigationCollapse$ | async }"> <nav [ngClass]="{ small: navigationCollapse$ | async }">
<ul> <ul>
<li> <li>
<a routerLink="/" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" matRipple matRippleColor="rgba(13,71,161, 0.08)"> <a #home="routerLinkActive" routerLink="/"
routerLinkActive="active"
[routerLinkActiveOptions]="{ exact: true }"
matRipple
matRippleColor="rgba(13,71,161, 0.08)">
<mat-icon>apps</mat-icon> <mat-icon>apps</mat-icon>
<span>Alle Vorgänge</span> <h1 *ngIf="home.isActive; else homeInactive">Alle Vorgänge</h1>
<ng-template #homeInactive><span>Alle Vorgänge</span></ng-template>
</a> </a>
</li> </li>
<!--li> <!--li>
......
...@@ -43,10 +43,15 @@ ul { ...@@ -43,10 +43,15 @@ ul {
//box-shadow: inset 0 0 0 2px mat-color($primaryPalette, darker); //box-shadow: inset 0 0 0 2px mat-color($primaryPalette, darker);
} }
h1,
span { span {
margin-left: 20px; margin: 0 0 0 20px;
transition: opacity 0.5s; transition: opacity 0.5s;
transition-delay: 0.3s; transition-delay: 0.3s;
font-size: inherit;
color: inherit;
font-weight: inherit;
padding: 0;
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment