mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
Import the "bash" language color from prism
Added "message-boxes" styles to the typography Increased the home icon size in doc pages Changed doc component class names
This commit is contained in:
parent
ddcf1d5483
commit
91e8d88488
|
@ -1,4 +1,5 @@
|
||||||
import 'prismjs/prism';
|
import 'prismjs/prism';
|
||||||
|
import 'prismjs/components/prism-bash';
|
||||||
import 'prismjs/components/prism-c';
|
import 'prismjs/components/prism-c';
|
||||||
import 'prismjs/components/prism-cpp';
|
import 'prismjs/components/prism-cpp';
|
||||||
import 'prismjs/components/prism-csharp';
|
import 'prismjs/components/prism-csharp';
|
||||||
|
|
|
@ -359,4 +359,34 @@ strong {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Message boxes
|
||||||
|
.message-box {
|
||||||
|
padding: 16px;
|
||||||
|
background: #607D8B;
|
||||||
|
border-left: 6px solid #37474F;
|
||||||
|
color: rgba(255, 255, 255, 1);
|
||||||
|
|
||||||
|
&.alert {
|
||||||
|
background: #EF5350;
|
||||||
|
border-left-color: #B71C1C;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.warning {
|
||||||
|
background: #FFECB3;
|
||||||
|
border-left-color: #FFC107;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.success {
|
||||||
|
background: #4CAF50;
|
||||||
|
border-left-color: #2E7D32;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.info {
|
||||||
|
background: #B3E5FC;
|
||||||
|
border-left-color: #03A9F4;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24" fxLayout="column" fxLayoutAlign="center start">
|
<div class="header mat-accent-bg p-24" fxLayout="column" fxLayoutAlign="center start">
|
||||||
|
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Documentation</span>
|
<span class="secondary-text">Documentation</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,18 +6,18 @@ import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
||||||
import { FuseSharedModule } from '@fuse/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { GoogleMapsModule } from 'app/main/documentation/components-third-party/google-maps/google-maps.module';
|
import { GoogleMapsModule } from 'app/main/documentation/components-third-party/google-maps/google-maps.module';
|
||||||
import { NgxDatatableDocsComponent } from 'app/main/documentation/components-third-party/datatable/ngx-datatable.component';
|
import { DocsComponentsThirdPartyNgxDatatableComponent } from 'app/main/documentation/components-third-party/datatable/ngx-datatable.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'datatables/ngx-datatable',
|
path : 'datatables/ngx-datatable',
|
||||||
component: NgxDatatableDocsComponent
|
component: DocsComponentsThirdPartyNgxDatatableComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
NgxDatatableDocsComponent
|
DocsComponentsThirdPartyNgxDatatableComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
fxLayoutAlign.gt-xs="space-between center">
|
fxLayoutAlign.gt-xs="space-between center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Tables</span>
|
<span class="secondary-text">Tables</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,11 +4,11 @@ import { Subject } from 'rxjs';
|
||||||
import { takeUntil } from 'rxjs/operators';
|
import { takeUntil } from 'rxjs/operators';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'ngx-datatable-docs',
|
selector : 'docs-components-third-party-ngx-datatable',
|
||||||
templateUrl: './ngx-datatable.component.html',
|
templateUrl: './ngx-datatable.component.html',
|
||||||
styleUrls : ['./ngx-datatable.component.scss']
|
styleUrls : ['./ngx-datatable.component.scss']
|
||||||
})
|
})
|
||||||
export class NgxDatatableDocsComponent implements OnInit, OnDestroy
|
export class DocsComponentsThirdPartyNgxDatatableComponent implements OnInit, OnDestroy
|
||||||
{
|
{
|
||||||
rows: any[];
|
rows: any[];
|
||||||
loadingIndicator: boolean;
|
loadingIndicator: boolean;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
fxLayoutAlign.gt-xs="space-between center">
|
fxLayoutAlign.gt-xs="space-between center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Google Maps</span>
|
<span class="secondary-text">Google Maps</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'google-maps-docs',
|
selector : 'docs-components-third-party-google-maps',
|
||||||
templateUrl: './google-maps.component.html',
|
templateUrl: './google-maps.component.html',
|
||||||
styleUrls : ['./google-maps.component.scss']
|
styleUrls : ['./google-maps.component.scss']
|
||||||
})
|
})
|
||||||
export class GoogleMapsDocsComponent
|
export class DocsComponentsThirdPartyGoogleMapsComponent
|
||||||
{
|
{
|
||||||
lat: number;
|
lat: number;
|
||||||
lng: number;
|
lng: number;
|
||||||
|
|
|
@ -8,18 +8,18 @@ import { AgmCoreModule } from '@agm/core';
|
||||||
import { FuseSharedModule } from '@fuse/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
import { FuseHighlightModule } from '@fuse/components/index';
|
import { FuseHighlightModule } from '@fuse/components/index';
|
||||||
|
|
||||||
import { GoogleMapsDocsComponent } from './google-maps.component';
|
import { DocsComponentsThirdPartyGoogleMapsComponent } from './google-maps.component';
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'google-maps',
|
path : 'google-maps',
|
||||||
component: GoogleMapsDocsComponent
|
component: DocsComponentsThirdPartyGoogleMapsComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
GoogleMapsDocsComponent
|
DocsComponentsThirdPartyGoogleMapsComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,12 +4,12 @@ import * as shape from 'd3-shape';
|
||||||
import { fuseAnimations } from '@fuse/animations/index';
|
import { fuseAnimations } from '@fuse/animations/index';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'cards-docs',
|
selector : 'docs-components-cards',
|
||||||
templateUrl: './cards.component.html',
|
templateUrl: './cards.component.html',
|
||||||
styleUrls : ['./cards.component.scss'],
|
styleUrls : ['./cards.component.scss'],
|
||||||
animations : fuseAnimations
|
animations : fuseAnimations
|
||||||
})
|
})
|
||||||
export class CardsDocsComponent
|
export class DocsComponentsCardsComponent
|
||||||
{
|
{
|
||||||
view: string;
|
view: string;
|
||||||
card9Expanded: boolean;
|
card9Expanded: boolean;
|
||||||
|
|
|
@ -5,73 +5,67 @@ import { NgxChartsModule } from '@swimlane/ngx-charts';
|
||||||
|
|
||||||
import { FuseSharedModule } from '@fuse/shared.module';
|
import { FuseSharedModule } from '@fuse/shared.module';
|
||||||
|
|
||||||
import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components/index';
|
import { FuseCountdownModule, FuseHighlightModule, FuseMaterialColorPickerModule, FuseWidgetModule } from '@fuse/components';
|
||||||
import { CardsDocsComponent } from 'app/main/documentation/components/cards/cards.component';
|
import { DocsComponentsCardsComponent } from 'app/main/documentation/components/cards/cards.component';
|
||||||
import { CountdownDocsComponent } from 'app/main/documentation/components/countdown/countdown.component';
|
import { DocsComponentsCountdownComponent } from 'app/main/documentation/components/countdown/countdown.component';
|
||||||
import { HighlightDocsComponent } from 'app/main/documentation/components/highlight/highlight.component';
|
import { DocsComponentsHighlightComponent } from 'app/main/documentation/components/highlight/highlight.component';
|
||||||
import { MaterialColorPickerDocsComponent } from 'app/main/documentation/components/material-color-picker/material-color-picker.component';
|
import { DocsComponentsMaterialColorPickerComponent } from 'app/main/documentation/components/material-color-picker/material-color-picker.component';
|
||||||
import { MultiLanguageDocsComponent } from 'app/main/documentation/components/multi-language/multi-language.component';
|
import { DocsComponentsNavigationComponent } from 'app/main/documentation/components/navigation/navigation.component';
|
||||||
import { NavigationDocsComponent } from 'app/main/documentation/components/navigation/navigation.component';
|
import { DocsComponentsSearchBarComponent } from 'app/main/documentation/components/search-bar/search-bar.component';
|
||||||
import { SearchBarDocsComponent } from 'app/main/documentation/components/search-bar/search-bar.component';
|
import { DocsComponentsSidebarComponent } from 'app/main/documentation/components/sidebar/sidebar.component';
|
||||||
import { SidebarDocsComponent } from 'app/main/documentation/components/sidebar/sidebar.component';
|
import { DocsComponentsShortcutsComponent } from 'app/main/documentation/components/shortcuts/shortcuts.component';
|
||||||
import { ShortcutsDocsComponent } from 'app/main/documentation/components/shortcuts/shortcuts.component';
|
import { DocsComponentsWidgetComponent } from 'app/main/documentation/components/widget/widget.component';
|
||||||
import { WidgetDocsComponent } from 'app/main/documentation/components/widget/widget.component';
|
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path : 'cards',
|
path : 'cards',
|
||||||
component: CardsDocsComponent
|
component: DocsComponentsCardsComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'countdown',
|
path : 'countdown',
|
||||||
component: CountdownDocsComponent
|
component: DocsComponentsCountdownComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'highlight',
|
path : 'highlight',
|
||||||
component: HighlightDocsComponent
|
component: DocsComponentsHighlightComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'material-color-picker',
|
path : 'material-color-picker',
|
||||||
component: MaterialColorPickerDocsComponent
|
component: DocsComponentsMaterialColorPickerComponent
|
||||||
},
|
|
||||||
{
|
|
||||||
path : 'multi-language',
|
|
||||||
component: MultiLanguageDocsComponent
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'navigation',
|
path : 'navigation',
|
||||||
component: NavigationDocsComponent
|
component: DocsComponentsNavigationComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'search-bar',
|
path : 'search-bar',
|
||||||
component: SearchBarDocsComponent
|
component: DocsComponentsSearchBarComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'sidebar',
|
path : 'sidebar',
|
||||||
component: SidebarDocsComponent
|
component: DocsComponentsSidebarComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'shortcuts',
|
path : 'shortcuts',
|
||||||
component: ShortcutsDocsComponent
|
component: DocsComponentsShortcutsComponent
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path : 'widget',
|
path : 'widget',
|
||||||
component: WidgetDocsComponent
|
component: DocsComponentsWidgetComponent
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
CardsDocsComponent,
|
DocsComponentsCardsComponent,
|
||||||
CountdownDocsComponent,
|
DocsComponentsCountdownComponent,
|
||||||
HighlightDocsComponent,
|
DocsComponentsHighlightComponent,
|
||||||
MaterialColorPickerDocsComponent,
|
DocsComponentsMaterialColorPickerComponent,
|
||||||
MultiLanguageDocsComponent,
|
DocsComponentsNavigationComponent,
|
||||||
NavigationDocsComponent,
|
DocsComponentsSearchBarComponent,
|
||||||
SearchBarDocsComponent,
|
DocsComponentsSidebarComponent,
|
||||||
SidebarDocsComponent,
|
DocsComponentsShortcutsComponent,
|
||||||
ShortcutsDocsComponent,
|
DocsComponentsWidgetComponent
|
||||||
WidgetDocsComponent
|
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'countdown-docs',
|
selector : 'docs-components-countdown',
|
||||||
templateUrl: './countdown.component.html',
|
templateUrl: './countdown.component.html',
|
||||||
styleUrls : ['./countdown.component.scss']
|
styleUrls : ['./countdown.component.scss']
|
||||||
})
|
})
|
||||||
export class CountdownDocsComponent
|
export class DocsComponentsCountdownComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'highlight-docs',
|
selector : 'docs-components-highlight',
|
||||||
templateUrl: './highlight.component.html',
|
templateUrl: './highlight.component.html',
|
||||||
styleUrls : ['./highlight.component.scss']
|
styleUrls : ['./highlight.component.scss']
|
||||||
})
|
})
|
||||||
export class HighlightDocsComponent
|
export class DocsComponentsHighlightComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'material-color-picker-docs',
|
selector : 'docs-components-material-color-picker',
|
||||||
templateUrl: './material-color-picker.component.html',
|
templateUrl: './material-color-picker.component.html',
|
||||||
styleUrls : ['./material-color-picker.component.scss']
|
styleUrls : ['./material-color-picker.component.scss']
|
||||||
})
|
})
|
||||||
export class MaterialColorPickerDocsComponent
|
export class DocsComponentsMaterialColorPickerComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,11 +3,11 @@ import { Component } from '@angular/core';
|
||||||
import { navigation } from 'app/navigation/navigation';
|
import { navigation } from 'app/navigation/navigation';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'navigation-docs',
|
selector : 'docs-components-navigation',
|
||||||
templateUrl: './navigation.component.html',
|
templateUrl: './navigation.component.html',
|
||||||
styleUrls : ['./navigation.component.scss']
|
styleUrls : ['./navigation.component.scss']
|
||||||
})
|
})
|
||||||
export class NavigationDocsComponent
|
export class DocsComponentsNavigationComponent
|
||||||
{
|
{
|
||||||
navigation: any;
|
navigation: any;
|
||||||
hidden: boolean;
|
hidden: boolean;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'search-bar-docs',
|
selector : 'docs-components-search-bar',
|
||||||
templateUrl: './search-bar.component.html',
|
templateUrl: './search-bar.component.html',
|
||||||
styleUrls : ['./search-bar.component.scss']
|
styleUrls : ['./search-bar.component.scss']
|
||||||
})
|
})
|
||||||
export class SearchBarDocsComponent
|
export class DocsComponentsSearchBarComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'shortcuts-docs',
|
selector : 'docs-components-shortcuts',
|
||||||
templateUrl: './shortcuts.component.html',
|
templateUrl: './shortcuts.component.html',
|
||||||
styleUrls : ['./shortcuts.component.scss']
|
styleUrls : ['./shortcuts.component.scss']
|
||||||
})
|
})
|
||||||
export class ShortcutsDocsComponent
|
export class DocsComponentsShortcutsComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'sidebar-docs',
|
selector : 'docs-components-sidebar',
|
||||||
templateUrl: './sidebar.component.html',
|
templateUrl: './sidebar.component.html',
|
||||||
styleUrls : ['./sidebar.component.scss']
|
styleUrls : ['./sidebar.component.scss']
|
||||||
})
|
})
|
||||||
export class SidebarDocsComponent
|
export class DocsComponentsSidebarComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Components</span>
|
<span class="secondary-text">Components</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector : 'widget-docs',
|
selector : 'docs-components-widget',
|
||||||
templateUrl: './widget.component.html',
|
templateUrl: './widget.component.html',
|
||||||
styleUrls : ['./widget.component.scss']
|
styleUrls : ['./widget.component.scss']
|
||||||
})
|
})
|
||||||
export class WidgetDocsComponent
|
export class DocsComponentsWidgetComponent
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Services</span>
|
<span class="secondary-text">Services</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">Services</span>
|
<span class="secondary-text">Services</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">User Interface</span>
|
<span class="secondary-text">User Interface</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">User Interface</span>
|
<span class="secondary-text">User Interface</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">User Interface</span>
|
<span class="secondary-text">User Interface</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
<div fxLayout="column" fxLayoutAlign="center center" fxLayout.gt-xs="column" fxLayoutAlign.gt-xs="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">User Interface</span>
|
<span class="secondary-text">User Interface</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1,105 @@
|
||||||
|
<div id="typography-message-boxes" class="p-24">
|
||||||
|
|
||||||
|
<div class="mat-title">Message Boxes</div>
|
||||||
|
|
||||||
|
<div class="mat-white-bg mat-elevation-z2 p-24" fxLayout="column">
|
||||||
|
|
||||||
|
<div fxLayout="column" fxLayout.gt-md="row">
|
||||||
|
|
||||||
|
<div class="preview" fxLayout="column" fxLayoutAlign="center" fxFlex="50">
|
||||||
|
<div class="message-box">
|
||||||
|
This is a standard message box
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fuse-highlight lang="html" class="source-code" fxLayout="column" fxLayoutAlign="center"
|
||||||
|
fxFlex="50">
|
||||||
|
<textarea #source hidden="hidden">
|
||||||
|
<div class="message-box">
|
||||||
|
This is a standard message box
|
||||||
|
</div>
|
||||||
|
</textarea>
|
||||||
|
</fuse-highlight>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div fxLayout="column" fxLayout.gt-md="row">
|
||||||
|
|
||||||
|
<div class="preview" fxLayout="column" fxLayoutAlign="center" fxFlex="50">
|
||||||
|
<div class="message-box alert">
|
||||||
|
This is an alert message box!
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fuse-highlight lang="html" class="source-code" fxLayout="column" fxLayoutAlign="center"
|
||||||
|
fxFlex="50">
|
||||||
|
<textarea #source hidden="hidden">
|
||||||
|
<div class="message-box alert">
|
||||||
|
This is an alert message box!
|
||||||
|
</div>
|
||||||
|
</textarea>
|
||||||
|
</fuse-highlight>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div fxLayout="column" fxLayout.gt-md="row">
|
||||||
|
|
||||||
|
<div class="preview" fxLayout="column" fxLayoutAlign="center" fxFlex="50">
|
||||||
|
<div class="message-box warning">
|
||||||
|
This is a warning message box
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fuse-highlight lang="html" class="source-code" fxLayout="column" fxLayoutAlign="center"
|
||||||
|
fxFlex="50">
|
||||||
|
<textarea #source hidden="hidden">
|
||||||
|
<div class="message-box warning">
|
||||||
|
This is a warning message box!
|
||||||
|
</div>
|
||||||
|
</textarea>
|
||||||
|
</fuse-highlight>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div fxLayout="column" fxLayout.gt-md="row">
|
||||||
|
|
||||||
|
<div class="preview" fxLayout="column" fxLayoutAlign="center" fxFlex="50">
|
||||||
|
<div class="message-box success">
|
||||||
|
This is a success message box
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fuse-highlight lang="html" class="source-code" fxLayout="column" fxLayoutAlign="center"
|
||||||
|
fxFlex="50">
|
||||||
|
<textarea #source hidden="hidden">
|
||||||
|
<div class="message-box success">
|
||||||
|
This is a success message box!
|
||||||
|
</div>
|
||||||
|
</textarea>
|
||||||
|
</fuse-highlight>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div fxLayout="column" fxLayout.gt-md="row">
|
||||||
|
|
||||||
|
<div class="preview" fxLayout="column" fxLayoutAlign="center" fxFlex="50">
|
||||||
|
<div class="message-box info">
|
||||||
|
This is a info message box
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fuse-highlight lang="html" class="source-code" fxLayout="column" fxLayoutAlign="center"
|
||||||
|
fxFlex="50">
|
||||||
|
<textarea #source hidden="hidden">
|
||||||
|
<div class="message-box info">
|
||||||
|
This is a info message box!
|
||||||
|
</div>
|
||||||
|
</textarea>
|
||||||
|
</fuse-highlight>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
|
@ -0,0 +1,31 @@
|
||||||
|
:host {
|
||||||
|
|
||||||
|
#typography-message-boxes {
|
||||||
|
|
||||||
|
.source-code {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
min-height: 180px;
|
||||||
|
max-height: 500px;
|
||||||
|
|
||||||
|
code {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.preview {
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 16px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
min-height: 180px;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-caption {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector : 'typography-message-boxes',
|
||||||
|
templateUrl: './message-boxes.component.html',
|
||||||
|
styleUrls : ['./message-boxes.component.scss']
|
||||||
|
})
|
||||||
|
export class TypographyMessageBoxesComponent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
*/
|
||||||
|
constructor()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<div fxLayout="column" fxLayoutAlign="center start">
|
<div fxLayout="column" fxLayoutAlign="center start">
|
||||||
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
<div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
|
||||||
<mat-icon class="secondary-text s-16">home</mat-icon>
|
<mat-icon class="secondary-text s-18">home</mat-icon>
|
||||||
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
<mat-icon class="secondary-text s-16">chevron_right</mat-icon>
|
||||||
<span class="secondary-text">User Interface</span>
|
<span class="secondary-text">User Interface</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,6 +36,12 @@
|
||||||
|
|
||||||
</mat-tab>
|
</mat-tab>
|
||||||
|
|
||||||
|
<mat-tab label="Message Boxes">
|
||||||
|
|
||||||
|
<typography-message-boxes></typography-message-boxes>
|
||||||
|
|
||||||
|
</mat-tab>
|
||||||
|
|
||||||
<mat-tab label="Helpers">
|
<mat-tab label="Helpers">
|
||||||
|
|
||||||
<typography-helpers></typography-helpers>
|
<typography-helpers></typography-helpers>
|
||||||
|
|
|
@ -9,6 +9,7 @@ import { TypographyComponent } from 'app/main/ui/typography/typography.component
|
||||||
import { TypographyHeadingsComponent } from 'app/main/ui/typography/tabs/headings/headings.component';
|
import { TypographyHeadingsComponent } from 'app/main/ui/typography/tabs/headings/headings.component';
|
||||||
import { TypographyInlineTextElementsComponent } from 'app/main/ui/typography/tabs/inline-text-elements/inline-text-elements.component';
|
import { TypographyInlineTextElementsComponent } from 'app/main/ui/typography/tabs/inline-text-elements/inline-text-elements.component';
|
||||||
import { TypographyBlockquotesListsComponent } from 'app/main/ui/typography/tabs/blockquotes-lists/blockquotes-lists.component';
|
import { TypographyBlockquotesListsComponent } from 'app/main/ui/typography/tabs/blockquotes-lists/blockquotes-lists.component';
|
||||||
|
import { TypographyMessageBoxesComponent } from 'app/main/ui/typography/tabs/message-boxes/message-boxes.component';
|
||||||
import { TypographyHelpersComponent } from 'app/main/ui/typography/tabs/helpers/helpers.component';
|
import { TypographyHelpersComponent } from 'app/main/ui/typography/tabs/helpers/helpers.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
|
@ -24,6 +25,7 @@ const routes: Routes = [
|
||||||
TypographyHeadingsComponent,
|
TypographyHeadingsComponent,
|
||||||
TypographyInlineTextElementsComponent,
|
TypographyInlineTextElementsComponent,
|
||||||
TypographyBlockquotesListsComponent,
|
TypographyBlockquotesListsComponent,
|
||||||
|
TypographyMessageBoxesComponent,
|
||||||
TypographyHelpersComponent
|
TypographyHelpersComponent
|
||||||
],
|
],
|
||||||
imports : [
|
imports : [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user