mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6237b1132a
|
@ -29,7 +29,7 @@ const PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
|
|||
const appRoutes: Routes = [
|
||||
{
|
||||
path : 'apps/mail',
|
||||
loadChildren: './main/apps/mail/mail.module#MailModule'
|
||||
loadChildren: './main/apps/mail/mail.module#FuseMailModule'
|
||||
},
|
||||
{
|
||||
path : 'apps/chat',
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
@import "partials/page-layouts";
|
||||
@import "partials/navigation";
|
||||
@import "partials/forms";
|
||||
@import "partials/toolbar";
|
||||
|
||||
// Plugins
|
||||
@import "partials/plugins/plugins";
|
||||
|
|
9
src/app/core/scss/partials/_toolbar.scss
Normal file
9
src/app/core/scss/partials/_toolbar.scss
Normal file
|
@ -0,0 +1,9 @@
|
|||
.toolbar {
|
||||
|
||||
.toolbar-separator {
|
||||
height: calc(100% - 16px);
|
||||
width: 1px;
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
||||
margin: 0 12px;
|
||||
}
|
||||
}
|
|
@ -59,6 +59,8 @@
|
|||
<button md-menu-item (click)="selectMails('important', false)">Unimportant</button>
|
||||
</md-menu>
|
||||
|
||||
<div class="toolbar-separator" *ngIf="hasSelectedMails"></div>
|
||||
|
||||
<button md-icon-button (click)="setFolderOnSelectedMails(4)" *ngIf="hasSelectedMails">
|
||||
<md-icon>delete</md-icon>
|
||||
</button>
|
||||
|
|
|
@ -53,17 +53,17 @@ const routes: Routes = [
|
|||
},
|
||||
{
|
||||
path : '**',
|
||||
redirectTo: 'folder/inbox'
|
||||
redirectTo: 'inbox'
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
MailComponent,
|
||||
MainSidenavComponent,
|
||||
MailListComponent,
|
||||
MailListItemComponent,
|
||||
MailDetailsComponent
|
||||
MailDetailsComponent,
|
||||
MainSidenavComponent
|
||||
],
|
||||
imports : [
|
||||
SharedModule,
|
||||
|
@ -73,6 +73,6 @@ const routes: Routes = [
|
|||
MailService
|
||||
]
|
||||
})
|
||||
export class MailModule
|
||||
export class FuseMailModule
|
||||
{
|
||||
}
|
||||
|
|
|
@ -52,5 +52,6 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- / SIDENAV CONTENT -->
|
|
@ -1,4 +1,9 @@
|
|||
:host {
|
||||
display: flex;
|
||||
flex: 1 0 auto;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
|
||||
.header {
|
||||
|
||||
.logo {
|
||||
|
|
Loading…
Reference in New Issue
Block a user