simple layout 3 perfect scrollbar

+ simple layout 3 tweaks
+ added modules to all pages
+ moved some stuff to the SharedModule from AppModule
+ typography page structure
This commit is contained in:
Sercan Yemen 2017-08-02 13:01:55 +03:00
parent e5ce8a0e5f
commit 31c35dd5fa
29 changed files with 557 additions and 181 deletions

View File

@ -1,22 +1,19 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser'; import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { HttpClientModule } from '@angular/common/http'; import { HttpClientModule } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppComponent } from './app.component';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import 'hammerjs';
import { ProjectModule } from './main/content/apps/dashboards/project/project.module';
import { FuseLayoutService } from './core/services/layout.service';
import { FuseNavigationService } from './core/components/navigation/navigation.service';
import { FuseMatchMedia } from './core/services/match-media.service';
import { FuseNavbarService } from './main/navbar/navbar.service';
import { SharedModule } from './core/modules/shared.module';
import { FuseMdSidenavHelperService } from './core/directives/md-sidenav-helper/md-sidenav-helper.service';
import { FuseMainModule } from './main/main.module';
import { PerfectScrollbarConfigInterface, PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { HttpModule } from '@angular/http';
import { InMemoryWebApiModule } from 'angular-in-memory-web-api'; import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
import 'hammerjs';
import { SharedModule } from './core/modules/shared.module';
import { AppComponent } from './app.component';
import { ProjectModule } from './main/content/apps/dashboards/project/project.module';
import { PerfectScrollbarConfigInterface, PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import { FuseFakeDbService } from './fuse-fake-db/fuse-fake-db.service'; import { FuseFakeDbService } from './fuse-fake-db/fuse-fake-db.service';
import { FuseMainModule } from './main/main.module';
import { PagesModule } from './main/content/pages/pages.module'; import { PagesModule } from './main/content/pages/pages.module';
import { UIModule } from './main/content/ui/ui.module'; import { UIModule } from './main/content/ui/ui.module';
import { ComponentsModule } from './main/content/components/components.module'; import { ComponentsModule } from './main/content/components/components.module';
@ -28,27 +25,27 @@ const PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = {
const appRoutes: Routes = [ const appRoutes: Routes = [
{ {
path : 'apps/mail', path : 'apps/mail',
loadChildren: './main/apps/mail/mail.module#FuseMailModule' loadChildren: './main/content/apps/mail/mail.module#FuseMailModule'
}, },
{ {
path : 'apps/chat', path : 'apps/chat',
loadChildren: './main/apps/chat/chat.module#FuseChatModule' loadChildren: './main/content/apps/chat/chat.module#FuseChatModule'
}, },
{ {
path : 'apps/calendar', path : 'apps/calendar',
loadChildren: './main/apps/calendar/calendar.module#FuseCalendarModule' loadChildren: './main/content/apps/calendar/calendar.module#FuseCalendarModule'
}, },
{ {
path : 'apps/todo', path : 'apps/todo',
loadChildren: './main/apps/todo/todo.module#FuseTodoModule' loadChildren: './main/content/apps/todo/todo.module#FuseTodoModule'
}, },
{ {
path : 'apps/file-manager', path : 'apps/file-manager',
loadChildren: './main/apps/file-manager/file-manager.module#FuseFileManagerModule' loadChildren: './main/content/apps/file-manager/file-manager.module#FuseFileManagerModule'
}, },
{ {
path : 'apps/contacts', path : 'apps/contacts',
loadChildren: './main/apps/contacts/contacts.module#FuseContactsModule' loadChildren: './main/content/apps/contacts/contacts.module#FuseContactsModule'
}, },
{ {
path : '**', path : '**',
@ -65,8 +62,8 @@ const appRoutes: Routes = [
HttpModule, HttpModule,
HttpClientModule, HttpClientModule,
BrowserAnimationsModule, BrowserAnimationsModule,
SharedModule,
RouterModule.forRoot(appRoutes), RouterModule.forRoot(appRoutes),
SharedModule,
InMemoryWebApiModule.forRoot(FuseFakeDbService, {delay: 125}), InMemoryWebApiModule.forRoot(FuseFakeDbService, {delay: 125}),
@ -80,14 +77,9 @@ const appRoutes: Routes = [
UIModule, UIModule,
ComponentsModule ComponentsModule
], ],
providers : [ bootstrap : [
FuseNavigationService, AppComponent
FuseLayoutService, ]
FuseMatchMedia,
FuseNavbarService,
FuseMdSidenavHelperService
],
bootstrap : [AppComponent]
}) })
export class AppModule export class AppModule
{ {

View File

@ -170,7 +170,7 @@ export class FuseNavigation
'title': 'USER INTERFACE', 'title': 'USER INTERFACE',
'type' : 'subheader' 'type' : 'subheader'
}, },
{ /*{
'title' : 'Elements', 'title' : 'Elements',
'type' : 'nav-collapse', 'type' : 'nav-collapse',
'icon' : 'layers', 'icon' : 'layers',
@ -251,6 +251,12 @@ export class FuseNavigation
'url' : '/ui/elements/progress' 'url' : '/ui/elements/progress'
} }
] ]
},*/
{
'title': 'Typography',
'type' : 'nav-item',
'icon' : 'text_fields',
'url' : '/ui/typography'
}, },
{ {
'title' : 'Page Layouts', 'title' : 'Page Layouts',

View File

@ -4,20 +4,21 @@ import { CommonModule } from '@angular/common';
import { MaterialModule } from './material.module'; import { MaterialModule } from './material.module';
import { FlexLayoutModule } from '@angular/flex-layout'; import { FlexLayoutModule } from '@angular/flex-layout';
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar'; import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
import {
FuseMdSidenavHelperDirective,
FuseMdSidenavTogglerDirective
} from '../directives/md-sidenav-helper/md-sidenav-helper.directive';
import { FusePipesModule } from '../pipes/pipes.module';
import { ColorPickerModule } from 'ngx-color-picker'; import { ColorPickerModule } from 'ngx-color-picker';
import { FuseConfirmDialogComponent } from '../components/confirm-dialog/confirm-dialog.component';
import { NgxDnDModule } from '@swimlane/ngx-dnd'; import { NgxDnDModule } from '@swimlane/ngx-dnd';
import { FuseCountdownComponent } from '../components/countdown/countdown.component';
import { NgxDatatableModule } from '@swimlane/ngx-datatable'; import { NgxDatatableModule } from '@swimlane/ngx-datatable';
import { FuseMdSidenavHelperDirective, FuseMdSidenavTogglerDirective } from '../directives/md-sidenav-helper/md-sidenav-helper.directive';
import { FusePipesModule } from '../pipes/pipes.module';
import { FuseConfirmDialogComponent } from '../components/confirm-dialog/confirm-dialog.component';
import { FuseCountdownComponent } from '../components/countdown/countdown.component';
import { FuseNavigationService } from '../components/navigation/navigation.service';
import { FuseLayoutService } from '../services/layout.service';
import { FuseMatchMedia } from '../services/match-media.service';
import { FuseNavbarService } from '../../main/navbar/navbar.service';
import { FuseMdSidenavHelperService } from '../directives/md-sidenav-helper/md-sidenav-helper.service';
@NgModule({ @NgModule({
declarations : [ declarations : [
FuseMdSidenavHelperDirective, FuseMdSidenavHelperDirective,
@ -54,6 +55,13 @@ import { NgxDatatableModule } from '@swimlane/ngx-datatable';
], ],
entryComponents: [ entryComponents: [
FuseConfirmDialogComponent FuseConfirmDialogComponent
],
providers : [
FuseNavigationService,
FuseLayoutService,
FuseMatchMedia,
FuseNavbarService,
FuseMdSidenavHelperService
] ]
}) })

View File

@ -314,6 +314,10 @@ $carded-header-height-without-toolbar-sm: $carded-header-height-sm - $carded-too
&.md-is-locked-open { &.md-is-locked-open {
height: auto; height: auto;
} }
.sidenav-content {
height: 100%;
}
} }
.mat-sidenav-content { .mat-sidenav-content {
@ -321,10 +325,14 @@ $carded-header-height-without-toolbar-sm: $carded-header-height-sm - $carded-too
height: auto; height: auto;
.center { .center {
flex: 1;
min-height: 100%;
@include mat-elevation(0); @include mat-elevation(0);
.content { .content {
@include mat-elevation(4); display: flex;
flex: 1;
min-height: 100%;
} }
} }
} }

View File

@ -44,7 +44,7 @@ export class FuseLayoutService
*/ */
setSettings(settings) setSettings(settings)
{ {
const newSettings = Object.assign({}, this.defaultSettings, settings); // const newSettings = Object.assign({}, this.defaultSettings, settings);
this.onSettingsChanged.next(newSettings); // this.onSettingsChanged.next(newSettings);
} }
} }

View File

@ -1,4 +1,4 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { PerfectScrollbarDirective } from 'ngx-perfect-scrollbar'; import { PerfectScrollbarDirective } from 'ngx-perfect-scrollbar';
import { NavigationEnd, Router } from '@angular/router'; import { NavigationEnd, Router } from '@angular/router';

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { ForgotPasswordComponent } from './forgot-password.component';
const routes = [
{
path : 'pages/auth/forgot-password',
component: ForgotPasswordComponent
}
];
@NgModule({
declarations: [
ForgotPasswordComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class ForgotPasswordModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { LockComponent } from './lock.component';
const routes = [
{
path : 'pages/auth/lock',
component: LockComponent
}
];
@NgModule({
declarations: [
LockComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class LockModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { Login2Component } from './login-2.component';
const routes = [
{
path : 'pages/auth/login-2',
component: Login2Component
}
];
@NgModule({
declarations: [
Login2Component
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class Login2Module
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { LoginComponent } from './login.component';
const routes = [
{
path : 'pages/auth/login',
component: LoginComponent
}
];
@NgModule({
declarations: [
LoginComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class LoginModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from "app/core/modules/shared.module";
import { RouterModule } from '@angular/router';
import { Register2Component } from './register-2.component';
const routes = [
{
path : 'pages/auth/register-2',
component: Register2Component
}
];
@NgModule({
declarations: [
Register2Component
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class Register2Module
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { RegisterComponent } from './register.component';
const routes = [
{
path : 'pages/auth/register',
component: RegisterComponent
}
];
@NgModule({
declarations: [
RegisterComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class RegisterModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { ResetPasswordComponent } from './reset-password.component';
const routes = [
{
path : 'pages/auth/reset-password',
component: ResetPasswordComponent
}
];
@NgModule({
declarations: [
ResetPasswordComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class ResetPasswordModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { ComingSoonComponent } from './coming-soon.component';
const routes = [
{
path : 'pages/coming-soon',
component: ComingSoonComponent
}
];
@NgModule({
declarations: [
ComingSoonComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class ComingSoonModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { Error404Component } from './error-404.component';
const routes = [
{
path : 'pages/errors/error-404',
component: Error404Component
}
];
@NgModule({
declarations: [
Error404Component
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class Error404Module
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { Error500Component } from './error-500.component';
const routes = [
{
path : 'pages/errors/error-500',
component: Error500Component
}
];
@NgModule({
declarations: [
Error500Component
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class Error500Module
{
}

View File

@ -0,0 +1,34 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { InvoiceCompactComponent } from './compact.component';
import { InvoiceService } from '../invoice.service';
const routes = [
{
path : 'pages/invoices/compact',
component: InvoiceCompactComponent,
resolve : {
search: InvoiceService
}
}
];
@NgModule({
declarations: [
InvoiceCompactComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
],
providers : [
InvoiceService
]
})
export class InvoiceCompactModule
{
}

View File

@ -0,0 +1,34 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { InvoiceModernComponent } from './modern.component';
import { InvoiceService } from '../invoice.service';
const routes = [
{
path : 'pages/invoices/modern',
component: InvoiceModernComponent,
resolve : {
search: InvoiceService
}
}
];
@NgModule({
declarations: [
InvoiceModernComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
],
providers : [
InvoiceService
]
})
export class InvoiceModernModule
{
}

View File

@ -0,0 +1,27 @@
import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { MaintenanceComponent } from './maintenance.component';
const routes = [
{
path : 'pages/maintenance',
component: MaintenanceComponent
}
];
@NgModule({
declarations: [
MaintenanceComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
]
})
export class MaintenanceModule
{
}

View File

@ -1,129 +1,51 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { SharedModule } from '../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { LoginComponent } from './authentication/login/login.component'; import { LoginModule } from './authentication/login/login.module';
import { Login2Component } from './authentication/login-2/login-2.component'; import { Login2Module } from './authentication/login-2/login-2.module';
import { RegisterComponent } from './authentication/register/register.component'; import { RegisterModule } from './authentication/register/register.module';
import { Register2Component } from './authentication/register-2/register-2.component'; import { Register2Module } from './authentication/register-2/register-2.module';
import { ForgotPasswordComponent } from './authentication/forgot-password/forgot-password.component'; import { ForgotPasswordModule } from './authentication/forgot-password/forgot-password.module';
import { ResetPasswordComponent } from './authentication/reset-password/reset-password.component'; import { LockModule } from './authentication/lock/lock.module';
import { LockComponent } from './authentication/lock/lock.component'; import { ResetPasswordModule } from './authentication/reset-password/reset-password.module';
import { ComingSoonComponent } from './coming-soon/coming-soon.component'; import { ComingSoonModule } from './coming-soon/coming-soon.module';
import { Error404Component } from './errors/404/error-404.component'; import { Error404Module } from './errors/404/error-404.module';
import { Error500Component } from './errors/500/error-500.component'; import { Error500Module } from './errors/500/error-500.module';
import { InvoiceModernComponent } from './invoices/modern/modern.component'; import { InvoiceCompactModule } from './invoices/compact/compact.module';
import { InvoiceCompactComponent } from './invoices/compact/compact.component'; import { InvoiceModernModule } from './invoices/modern/modern.module';
import { InvoiceService } from './invoices/invoice.service'; import { MaintenanceModule } from './maintenance/maintenence.module';
import { MaintenanceComponent } from './maintenance/maintenance.component';
import { ProfileModule } from './profile/profile.module'; import { ProfileModule } from './profile/profile.module';
import { ProfileComponent } from './profile/profile.component';
import { ProfileService } from './profile/profile.service';
import { SearchModule } from './search/search.module'; import { SearchModule } from './search/search.module';
import { SearchComponent } from './search/search.component';
import { SearchService } from './search/search.service';
const routes = [
{
path : 'pages/auth/login',
component: LoginComponent
},
{
path : 'pages/auth/login-2',
component: Login2Component
},
{
path : 'pages/auth/register',
component: RegisterComponent
},
{
path : 'pages/auth/register-2',
component: Register2Component
},
{
path : 'pages/auth/forgot-password',
component: ForgotPasswordComponent
},
{
path : 'pages/auth/reset-password',
component: ResetPasswordComponent
},
{
path : 'pages/auth/lock',
component: LockComponent
},
{
path : 'pages/coming-soon',
component: ComingSoonComponent
},
{
path : 'pages/errors/error-404',
component: Error404Component
},
{
path : 'pages/errors/error-500',
component: Error500Component
},
{
path : 'pages/invoices/compact',
component: InvoiceCompactComponent,
resolve : {
invoice: InvoiceService
}
},
{
path : 'pages/invoices/modern',
component: InvoiceModernComponent,
resolve : {
invoice: InvoiceService
}
},
{
path : 'pages/maintenance',
component: MaintenanceComponent
},
{
path : 'pages/profile',
component: ProfileComponent,
resolve : {
profile: ProfileService
}
},
{
path : 'pages/search',
component: SearchComponent,
resolve : {
search: SearchService
}
}
];
@NgModule({ @NgModule({
imports : [ imports : [
SharedModule, // Auth
RouterModule.forChild(routes), LoginModule,
Login2Module,
RegisterModule,
Register2Module,
ForgotPasswordModule,
ResetPasswordModule,
LockModule,
// Coming-soon
ComingSoonModule,
// Errors
Error404Module,
Error500Module,
// Invoices
InvoiceModernModule,
InvoiceCompactModule,
// Maintenance
MaintenanceModule,
// Profile
ProfileModule, ProfileModule,
// Search
SearchModule SearchModule
],
declarations: [
LoginComponent,
Login2Component,
RegisterComponent,
Register2Component,
ForgotPasswordComponent,
ResetPasswordComponent,
LockComponent,
ComingSoonComponent,
Error404Component,
Error500Component,
InvoiceCompactComponent,
InvoiceModernComponent,
MaintenanceComponent
],
providers : [
InvoiceService,
ProfileService,
SearchService
] ]
}) })
export class PagesModule export class PagesModule

View File

@ -1,26 +1,36 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../core/modules/shared.module'; import { SharedModule } from '../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { ProfileComponent } from './profile.component'; import { ProfileComponent } from './profile.component';
import { ProfileTimelineComponent } from './tabs/timeline/timeline.component'; import { ProfileTimelineComponent } from './tabs/timeline/timeline.component';
import { ProfileAboutComponent } from './tabs/about/about.component'; import { ProfileAboutComponent } from './tabs/about/about.component';
import { ProfilePhotosVideosComponent } from './tabs/photos-videos/photos-videos.component'; import { ProfilePhotosVideosComponent } from './tabs/photos-videos/photos-videos.component';
import { ProfileService } from './profile.service';
const routes = [
{
path : 'pages/profile',
component: ProfileComponent,
resolve : {
profile: ProfileService
}
}
];
@NgModule({ @NgModule({
imports : [
SharedModule
],
exports : [
ProfileComponent,
ProfileTimelineComponent,
ProfileAboutComponent,
ProfilePhotosVideosComponent
],
declarations: [ declarations: [
ProfileComponent, ProfileComponent,
ProfileTimelineComponent, ProfileTimelineComponent,
ProfileAboutComponent, ProfileAboutComponent,
ProfilePhotosVideosComponent ProfilePhotosVideosComponent
],
imports : [
SharedModule,
RouterModule.forChild(routes)
],
providers : [
ProfileService
] ]
}) })
export class ProfileModule export class ProfileModule

View File

@ -1,10 +1,21 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { SharedModule } from '../../../../core/modules/shared.module'; import { SharedModule } from '../../../../core/modules/shared.module';
import { RouterModule } from '@angular/router';
import { SearchClassicComponent } from './tabs/classic/classic.component'; import { SearchClassicComponent } from './tabs/classic/classic.component';
import { SearchTableComponent } from './tabs/table/table.component'; import { SearchTableComponent } from './tabs/table/table.component';
import { SearchComponent } from './search.component'; import { SearchComponent } from './search.component';
import { SearchService } from './search.service';
const routes = [
{
path : 'pages/search',
component: SearchComponent,
resolve : {
search: SearchService
}
}
];
@NgModule({ @NgModule({
declarations: [ declarations: [
@ -13,12 +24,11 @@ import { SearchComponent } from './search.component';
SearchTableComponent SearchTableComponent
], ],
imports : [ imports : [
SharedModule SharedModule,
RouterModule.forChild(routes)
], ],
exports : [ providers : [
SearchComponent, SearchService
SearchClassicComponent,
SearchTableComponent
] ]
}) })
export class SearchModule export class SearchModule

View File

@ -22,16 +22,20 @@
<md-sidenav class="sidenav mat-sidenav-opened" align="start" opened="true" mode="side" <md-sidenav class="sidenav mat-sidenav-opened" align="start" opened="true" mode="side"
fuseMdSidenavHelper="simple-left-sidenav" md-is-locked-open="gt-md"> fuseMdSidenavHelper="simple-left-sidenav" md-is-locked-open="gt-md">
<div class="sidenav-content" perfect-scrollbar>
<fuse-demo-sidenav></fuse-demo-sidenav> <fuse-demo-sidenav></fuse-demo-sidenav>
</div>
</md-sidenav> </md-sidenav>
<!-- / SIDENAV --> <!-- / SIDENAV -->
<!-- CENTER --> <!-- CENTER -->
<div class="center p-24"> <div class="center p-24" perfect-scrollbar>
<!-- CONTENT --> <!-- CONTENT -->
<div class="content p-24" perfect-scrollbar> <div class="content p-24 mat-elevation-z4">
<fuse-demo-content></fuse-demo-content> <fuse-demo-content></fuse-demo-content>

View File

@ -19,10 +19,10 @@
<md-sidenav-container> <md-sidenav-container>
<!-- CENTER --> <!-- CENTER -->
<div class="center p-24"> <div class="center p-24" perfect-scrollbar>
<!-- CONTENT --> <!-- CONTENT -->
<div class="content p-24" perfect-scrollbar> <div class="content p-24 mat-elevation-z4">
<fuse-demo-content></fuse-demo-content> <fuse-demo-content></fuse-demo-content>
@ -36,8 +36,12 @@
<md-sidenav class="sidenav mat-sidenav-opened" align="end" opened="true" mode="side" <md-sidenav class="sidenav mat-sidenav-opened" align="end" opened="true" mode="side"
fuseMdSidenavHelper="simple-left-sidenav" md-is-locked-open="gt-md"> fuseMdSidenavHelper="simple-left-sidenav" md-is-locked-open="gt-md">
<div class="sidenav-content" perfect-scrollbar>
<fuse-demo-sidenav></fuse-demo-sidenav> <fuse-demo-sidenav></fuse-demo-sidenav>
</div>
</md-sidenav> </md-sidenav>
<!-- / SIDENAV --> <!-- / SIDENAV -->

View File

@ -0,0 +1 @@
typography

View File

@ -0,0 +1,3 @@
:host {
}

View File

@ -0,0 +1,17 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector : 'fuse-typography',
templateUrl: './typography.component.html',
styleUrls : ['./typography.component.scss']
})
export class TypographyComponent implements OnInit
{
constructor()
{
}
ngOnInit()
{
}
}

View File

@ -0,0 +1,24 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SharedModule } from '../../../../core/modules/shared.module';
import { TypographyComponent } from './typography.component';
const routes: Routes = [
{
path : 'ui/typography',
component: TypographyComponent
}
];
@NgModule({
imports : [
SharedModule,
RouterModule.forChild(routes),
],
declarations: [
TypographyComponent
]
})
export class UITypographyModule
{
}

View File

@ -1,12 +1,14 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { UIPageLayoutsModule } from './page-layouts/page-layouts.module'; import { UIPageLayoutsModule } from './page-layouts/page-layouts.module';
import { UIColorsModule } from './colors/colors.module'; import { UIColorsModule } from './colors/colors.module';
import { UITypographyModule } from './typography/typography.module';
@NgModule({ @NgModule({
imports: [ imports: [
UIColorsModule, UIColorsModule,
UIPageLayoutsModule UIPageLayoutsModule,
UITypographyModule
] ]
}) })
export class UIModule export class UIModule