-
Notifications
You must be signed in to change notification settings - Fork 0
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
d11792d
commit 9842c44
Showing
13 changed files
with
126 additions
and
147 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,130 +1,10 @@ | ||
/* | ||
* Remove template code below | ||
*/ | ||
:host { | ||
display: block; | ||
font-family: sans-serif; | ||
body::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
.gutter-left { | ||
margin-left: 9px; | ||
} | ||
|
||
.col-span-2 { | ||
grid-column: span 2; | ||
} | ||
|
||
.flex { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
header { | ||
background-color: #143055; | ||
color: white; | ||
padding: 5px; | ||
border-radius: 3px; | ||
} | ||
|
||
main { | ||
padding: 0 36px; | ||
} | ||
|
||
p { | ||
text-align: center; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
margin-left: 18px; | ||
font-size: 24px; | ||
} | ||
|
||
h2 { | ||
text-align: center; | ||
font-size: 20px; | ||
margin: 40px 0 10px 0; | ||
} | ||
|
||
.resources { | ||
text-align: center; | ||
list-style: none; | ||
padding: 0; | ||
display: grid; | ||
grid-gap: 9px; | ||
grid-template-columns: 1fr 1fr; | ||
} | ||
|
||
.resource { | ||
color: #0094ba; | ||
height: 36px; | ||
background-color: rgba(0, 0, 0, 0); | ||
border: 1px solid rgba(0, 0, 0, 0.12); | ||
border-radius: 4px; | ||
padding: 3px 9px; | ||
text-decoration: none; | ||
} | ||
|
||
.resource:hover { | ||
background-color: rgba(68, 138, 255, 0.04); | ||
} | ||
|
||
pre { | ||
padding: 9px; | ||
border-radius: 4px; | ||
background-color: black; | ||
color: #eee; | ||
} | ||
|
||
details { | ||
border-radius: 4px; | ||
color: #333; | ||
background-color: rgba(0, 0, 0, 0); | ||
border: 1px solid rgba(0, 0, 0, 0.12); | ||
padding: 3px 9px; | ||
margin-bottom: 9px; | ||
} | ||
|
||
summary { | ||
cursor: pointer; | ||
outline: none; | ||
height: 36px; | ||
line-height: 36px; | ||
} | ||
|
||
.github-star-container { | ||
margin-top: 12px; | ||
line-height: 20px; | ||
} | ||
|
||
.github-star-container a { | ||
display: flex; | ||
align-items: center; | ||
text-decoration: none; | ||
color: #333; | ||
} | ||
|
||
.github-star-badge { | ||
color: #24292e; | ||
display: flex; | ||
align-items: center; | ||
font-size: 12px; | ||
padding: 3px 10px; | ||
border: 1px solid rgba(27, 31, 35, 0.2); | ||
border-radius: 3px; | ||
background-image: linear-gradient(-180deg, #fafbfc, #eff3f6 90%); | ||
margin-left: 4px; | ||
font-weight: 600; | ||
} | ||
|
||
.github-star-badge:hover { | ||
background-image: linear-gradient(-180deg, #f0f3f6, #e6ebf1 90%); | ||
border-color: rgba(27, 31, 35, 0.35); | ||
background-position: -0.5em; | ||
} | ||
.github-star-badge .material-icons { | ||
height: 16px; | ||
width: 16px; | ||
margin-right: 4px; | ||
/* Hide scrollbar for IE, Edge and Firefox */ | ||
body { | ||
overflow: hidden; | ||
-ms-overflow-style: none; /* IE and Edge */ | ||
scrollbar-width: none; /* Firefox */ | ||
} |
Binary file added
BIN
+63.2 KB
...rendy/src/assets/pictures/mike-richards/transitioncat-mike-richards-452-316.jpg
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
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
6 changes: 6 additions & 0 deletions
6
libs/pictures/src/lib/containers/pictures/trends/mike-richards/mike-richards.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
.content { | ||
padding: 16px; | ||
overflow: hidden; | ||
} | ||
|
||
.info { | ||
margin-top: 5px; | ||
font-size: small; | ||
} |
2 changes: 1 addition & 1 deletion
2
...s/trends/mike-richards/toonify/toonify-mike-richards/toonify-mike-richards.component.html
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
3 changes: 0 additions & 3 deletions
3
...s/trends/mike-richards/toonify/toonify-mike-richards/toonify-mike-richards.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
mat-card { | ||
width: 90%; | ||
} | ||
4 changes: 2 additions & 2 deletions
4
...ards/transitioncat/transitioncat-mike-richards/transitioncat-mike-richards.component.html
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
3 changes: 0 additions & 3 deletions
3
...ards/transitioncat/transitioncat-mike-richards/transitioncat-mike-richards.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
mat-card { | ||
width: 90%; | ||
} | ||
25 changes: 20 additions & 5 deletions
25
libs/trendy-layout/src/lib/containers/trendy-layout/trendy-layout.component.html
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,7 +1,22 @@ | ||
<mat-toolbar color="primary" fxLayout="row"> | ||
<span>BREAKING ART</span> | ||
<div class="right-nav"> | ||
Paintings | ||
</div> | ||
<h1>BREAKING ART</h1> | ||
<div class="right-nav">Paintings</div> | ||
</mat-toolbar> | ||
<ng-content></ng-content> | ||
<mat-sidenav-container> | ||
<mat-sidenav | ||
class="mat-elevation-z8" | ||
mode="side" | ||
position="end" | ||
[opened]="(isHandset$ | async) === (false)" | ||
md-theme="default" | ||
> | ||
<button mat-button class="menu-button"> | ||
<mat-icon>home</mat-icon> | ||
<span>Home</span> | ||
</button> | ||
</mat-sidenav> | ||
<mat-sidenav-content class="content mat-elevation-z8" | ||
[ngClass]="{'nav-open': (isHandset$ | async) === (false)}"> | ||
<ng-content></ng-content> | ||
</mat-sidenav-content> | ||
</mat-sidenav-container> |
22 changes: 21 additions & 1 deletion
22
libs/trendy-layout/src/lib/containers/trendy-layout/trendy-layout.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
|
||
.right-nav { | ||
margin-left: auto; | ||
} | ||
overflow: hidden; | ||
} | ||
|
||
mat-sidenav { | ||
margin: 16px; | ||
width: 200px; | ||
border-right: none; | ||
border-radius: 4px; | ||
padding: 16px; | ||
text-align: center; | ||
} | ||
|
||
.nav-open { | ||
margin-right: 216px !important; | ||
} | ||
|
||
.content { | ||
box-shadow: none; | ||
font-size: 2rem; | ||
} |
21 changes: 19 additions & 2 deletions
21
libs/trendy-layout/src/lib/containers/trendy-layout/trendy-layout.component.ts
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,10 +1,27 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, ViewChild } from '@angular/core'; | ||
import { | ||
BreakpointObserver, | ||
Breakpoints, | ||
BreakpointState, | ||
} from '@angular/cdk/layout'; | ||
import { map } from 'rxjs/operators'; | ||
import { Observable } from 'rxjs'; | ||
|
||
@Component({ | ||
selector: 'demo-app-trendy-layout', | ||
templateUrl: './trendy-layout.component.html', | ||
styleUrls: ['./trendy-layout.component.scss'] | ||
styleUrls: ['./trendy-layout.component.scss'], | ||
}) | ||
export class TrendyLayoutComponent { | ||
@ViewChild('drawer') drawer: any; | ||
public isHandset$: Observable<boolean> = this.breakpointObserver | ||
.observe(Breakpoints.Handset) | ||
.pipe(map((result: BreakpointState) => result.matches)); | ||
constructor(private breakpointObserver: BreakpointObserver) {} | ||
|
||
closeSideNav() { | ||
if (this.drawer._mode == 'over') { | ||
this.drawer.close(); | ||
} | ||
} | ||
} |