refactor(@theme): refactor styles structure

This commit is contained in:
tibing 2017-04-26 20:11:54 +03:00
parent c88b6966e4
commit 91c780c256
11 changed files with 211 additions and 170 deletions

View file

@ -45,9 +45,14 @@
.logo {
font-size: 1.7rem;
font-weight: bold;
text-decoration: none;
transition: all 0.2s ease;
cursor: pointer;
a {
font-weight: normal;
}
}
}

View file

@ -9,7 +9,7 @@ import { NgaThemeService } from '@nga/theme/services/theme.service';
template: `
<div class="left">
<i class="control-icon ion ion-navicon" (click)="toggleSidebar()"></i>
<span class="logo" (click)="goToHome()">NgX &nbsp; <a>Admin</a></span>
<span class="logo" (click)="goToHome()">NgX&nbsp;<a>Admin</a></span>
<button (click)="switchTheme()">Switch Theme!</button>
</div>
<div class="right">