File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,15 @@ header{
2525 margin-left : 5px ;
2626 font-size : 12px ;
2727 line-height : normal;
28+ color : # fff ;
2829}
2930
3031.right i {
3132 font-size : 20px ;
3233}
34+
35+ .router-active {
36+ background-color : rgba (255 , 255 , 255 , .1 );
37+ padding : 15px 18px 15px 15px ;
38+ border-radius : 3px ;
39+ }
Original file line number Diff line number Diff line change 33 < h5 > MD Pro Angular</ h5 >
44 </ div >
55 < div class ="right ">
6- < a routerLink ="/dashboard "> < i class ="material-icons "> dashboard</ i > < p > DASHBOARD</ p > </ a >
7- < a routerLink =""> < i class ="material-icons "> fingerprint</ i > < p > LOGIN</ p > </ a >
8- < a routerLink ="/register "> < i class ="material-icons "> person_add</ i > < p > REGISTER</ p > </ a >
9- < a routerLink ="/lock " style ="margin-right: 0 "> < i class ="material-icons "> lock_open</ i > < p > LOCK</ p > </ a >
6+ < a routerLink ="/dashboard " routerLinkActive =" router-active " > < i class ="material-icons "> dashboard</ i > < p > DASHBOARD</ p > </ a >
7+ < a routerLink ="" routerLinkActive =" router-active " [routerLinkActiveOptions] =" {exact: true} " > < i class ="material-icons "> fingerprint</ i > < p > LOGIN</ p > </ a >
8+ < a routerLink ="/register " routerLinkActive =" router-active " > < i class ="material-icons "> person_add</ i > < p > REGISTER</ p > </ a >
9+ < a routerLink ="/lock " style ="margin-right: 0 " routerLinkActive =" router-active " > < i class ="material-icons "> lock_open</ i > < p > LOCK</ p > </ a >
1010 </ div >
1111</ header >
You can’t perform that action at this time.
0 commit comments