Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.app-toolbar-filler { | ||
flex: 1 1 auto; | ||
} | ||
|
||
md-card { | ||
margin: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
<h1> | ||
{{title}} | ||
</h1> | ||
<md-sidenav-layout> | ||
<md-toolbar color="primary"> | ||
Angular 2 named routes | ||
|
||
<span class="app-toolbar-filler"></span> | ||
<button md-button>TOGGLE DARK THEME</button> | ||
</md-toolbar> | ||
|
||
<div class="app-content"> | ||
|
||
<md-card> | ||
<button md-button>FLAT</button> | ||
<button md-raised-button md-tooltip="This is a tooltip!">RAISED</button> | ||
<button md-raised-button color="primary">PRIMARY RAISED</button> | ||
<button md-raised-button color="accent">ACCENT RAISED</button> | ||
</md-card> | ||
|
||
<md-card> | ||
<md-checkbox>Unchecked</md-checkbox> | ||
<md-checkbox [checked]="true">Checked</md-checkbox> | ||
<md-checkbox [indeterminate]="true">Indeterminate</md-checkbox> | ||
<md-checkbox [disabled]="true">Disabled</md-checkbox> | ||
</md-card> | ||
|
||
</div> | ||
</md-sidenav-layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
/* You can add global styles to this file, and also import other style files */ | ||
/* You can add global styles to this file, and also import other style files */ | ||
@import '~@angular/material/core/theming/prebuilt/deeppurple-amber.css'; | ||
|
||
body { | ||
margin: 0; | ||
} |