-
Notifications
You must be signed in to change notification settings - Fork 915
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
1 parent
7eb155d
commit fda5089
Showing
11 changed files
with
112 additions
and
5 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
2 changes: 1 addition & 1 deletion
2
src/app/examples/stock-market/stock-market.component.sccs-theme.scss
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,3 +1,17 @@ | ||
<p> | ||
about works! | ||
</p> | ||
<div class="background"> | ||
<div class="container"> | ||
<h1>Angular ngRx Material Starter</h1> | ||
<div class="actions hidden-md-down"> | ||
<a md-raised-button color="primary" routerLink="../features">Check Features</a> | ||
<a md-raised-button color="accent" routerLink="../examples">Check Examples</a> | ||
<a md-raised-button routerLink="../settings">Change Theme</a> | ||
</div> | ||
<div class="get-started"> | ||
<h2>Getting started</h2> | ||
<code>git clone https://github.com/tomastrajan/angular-ngrx-material-starter.git new-project</code><br> | ||
<code>cd new-project</code><br> | ||
<code>npm install</code><br> | ||
<code>npm start</code> | ||
</div> | ||
</div> | ||
</div> |
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,66 @@ | ||
@import 'styles-variables'; | ||
|
||
.background { | ||
position: absolute; | ||
top: 64px; | ||
left: 0; | ||
bottom: 140px; | ||
right: 0; | ||
overflow-y: auto; | ||
|
||
.container { | ||
margin-top: 100px; | ||
} | ||
|
||
.actions { | ||
text-align: center; | ||
margin: 50px; | ||
|
||
} | ||
|
||
.get-started { | ||
width: 625px; | ||
margin: 50px auto; | ||
font-size: 0.8em; | ||
letter-spacing: .01px; | ||
overflow-wrap: break-word; | ||
|
||
code { | ||
word-wrap: break-word; | ||
white-space: normal; | ||
} | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
font-size: 3em; | ||
text-transform: uppercase; | ||
} | ||
} | ||
|
||
@media (max-width: map-get($grid-breakpoints, toolbar)) { | ||
.background { | ||
top: 56px; | ||
} | ||
} | ||
|
||
@media (max-width: map-get($grid-breakpoints, md)) { | ||
.background { | ||
.get-started { | ||
width: auto; | ||
} | ||
} | ||
} | ||
|
||
.background::before { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
right: 0; | ||
background: url('../../../assets/intro.jpg') no-repeat center top; | ||
background-size: cover; | ||
opacity: .6; | ||
content: ""; | ||
z-index: 0; | ||
} |
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,19 @@ | ||
@import '~@angular/material/theming'; | ||
|
||
@mixin about-component-theme($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$foreground: map-get($theme, foreground); | ||
$background: map-get($theme, background); | ||
|
||
|
||
.background { | ||
color: mat-color($background, background); | ||
background-color: mat-color($foreground, text); | ||
} | ||
|
||
.get-started { | ||
//border: 1px solid mat-color($background, background); | ||
} | ||
} | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
} | ||
|
||
code { | ||
color: mat-color($foreground, text); | ||
background-color: mat-color($accent, lighter); | ||
} | ||
} | ||
|
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,6 +1,7 @@ | ||
$grid-breakpoints: ( | ||
xs: 0, | ||
sm: 576px, | ||
toolbar: 600px, | ||
md: 768px, | ||
lg: 992px, | ||
xl: 1200px | ||
|
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