diff --git a/package.json b/package.json
index 5190ce0..0a9acc7 100644
--- a/package.json
+++ b/package.json
@@ -11,12 +11,14 @@
},
"private": true,
"dependencies": {
- "@angular/animations": "^6.0.3",
+ "@angular/animations": "^6.1.10",
+ "@angular/cdk": "^7.0.1",
"@angular/common": "^6.0.3",
"@angular/compiler": "^6.0.3",
"@angular/core": "^6.0.3",
"@angular/forms": "^6.0.3",
"@angular/http": "^6.0.3",
+ "@angular/material": "^7.0.1",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"@angular/router": "^6.0.3",
@@ -28,10 +30,9 @@
"zone.js": "^0.8.26"
},
"devDependencies": {
- "@angular/compiler-cli": "^6.0.3",
"@angular-devkit/build-angular": "~0.6.8",
- "typescript": "~2.7.2",
"@angular/cli": "~6.0.8",
+ "@angular/compiler-cli": "^6.0.3",
"@angular/language-service": "^6.0.3",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
@@ -44,8 +45,9 @@
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
- "protractor": "~5.3.0",
+ "protractor": "^5.4.1",
"ts-node": "~5.0.1",
- "tslint": "~5.9.1"
+ "tslint": "~5.9.1",
+ "typescript": "~2.7.2"
}
}
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 0c15a53..6a0ba2b 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -2,6 +2,8 @@ import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
+import { MatButtonModule, MatCheckboxModule } from '@angular/material';
import { AppRoutingModule } from './app-routing/app-routing.module';
@@ -57,7 +59,10 @@ import { HomeComponent } from './content/image-container/home/home.component';
BrowserModule,
HttpModule,
FormsModule,
- AppRoutingModule
+ AppRoutingModule,
+ BrowserAnimationsModule,
+ MatButtonModule,
+ MatCheckboxModule
],
providers: [],
bootstrap: [AppComponent]
diff --git a/src/app/content/header/header.component.html b/src/app/content/header/header.component.html
index 202d4b7..c918656 100644
--- a/src/app/content/header/header.component.html
+++ b/src/app/content/header/header.component.html
@@ -1,9 +1,9 @@
-
+
-
diff --git a/src/app/content/header/header.component.scss b/src/app/content/header/header.component.scss
index d106798..ce3cf97 100644
--- a/src/app/content/header/header.component.scss
+++ b/src/app/content/header/header.component.scss
@@ -19,4 +19,8 @@ $theme-supplementer: #5D001E;
.container-fluid {
padding-right: 0px;
padding-left: 0px;
+}
+
+.custom-app-tools {
+ padding: 0;
}
\ No newline at end of file
diff --git a/src/app/content/header/tools/tools.component.html b/src/app/content/header/tools/tools.component.html
index e11765d..8b0cf31 100644
--- a/src/app/content/header/tools/tools.component.html
+++ b/src/app/content/header/tools/tools.component.html
@@ -1,18 +1,21 @@
diff --git a/src/app/content/header/tools/tools.component.scss b/src/app/content/header/tools/tools.component.scss
index 5c4486f..6ec0b43 100644
--- a/src/app/content/header/tools/tools.component.scss
+++ b/src/app/content/header/tools/tools.component.scss
@@ -22,12 +22,15 @@ a[data-toggle="collapse"] {
div.navbar-collapse li {
float: left;
a.nav-link i.far {
- color: $theme-supplementer;
+ color: $themeColor-Light;
font-size: 1.6em;
padding: 0.2em;
}
}
+.material-icons.md-light { color: rgba(255, 255, 255, 1); }
+.material-icons.md-36 { font-size: 36px; }
+
//OVERWRITES
.nav-link {
padding: .7rem 0.5rem;
diff --git a/src/app/content/image-container/image-container.component.scss b/src/app/content/image-container/image-container.component.scss
index bc7b19f..90c6456 100644
--- a/src/app/content/image-container/image-container.component.scss
+++ b/src/app/content/image-container/image-container.component.scss
@@ -1,3 +1,16 @@
p {
padding: 20px;
+}
+
+.row {
+ display: flex; flex-flow: row wrap;
+}
+.row:after {
+ content: ''; width: 100%;
+}
+.box {
+ flex: 1;
+}
+.box:nth-of-type(n + 4) {
+ order: 1;
}
\ No newline at end of file
diff --git a/src/app/content/image-container/image/image.component.scss b/src/app/content/image-container/image/image.component.scss
index 4d88b98..ed58500 100644
--- a/src/app/content/image-container/image/image.component.scss
+++ b/src/app/content/image-container/image/image.component.scss
@@ -1,5 +1,11 @@
//OVERWRITES
+:host {
+ margin: 0 20px;
+ overflow: auto;
+
+}
.card {
width: 20rem;
margin: 20px auto;
+ overflow: auto
}
\ No newline at end of file
diff --git a/src/app/content/image-viewer/image/image.component.css b/src/app/content/image-viewer/image/image.component.scss
similarity index 100%
rename from src/app/content/image-viewer/image/image.component.css
rename to src/app/content/image-viewer/image/image.component.scss
diff --git a/src/app/content/image-viewer/image/image.component.ts b/src/app/content/image-viewer/image/image.component.ts
index d056563..dbddc19 100644
--- a/src/app/content/image-viewer/image/image.component.ts
+++ b/src/app/content/image-viewer/image/image.component.ts
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-image',
templateUrl: './image.component.html',
- styleUrls: ['./image.component.css']
+ styleUrls: ['./image.component.scss']
})
export class ImageComponent implements OnInit {
diff --git a/src/index.html b/src/index.html
index f6da8d9..d87c4d1 100644
--- a/src/index.html
+++ b/src/index.html
@@ -10,6 +10,7 @@
+
diff --git a/src/styles.css b/src/styles.css
index e69de29..924a09c 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -0,0 +1 @@
+@import "~@angular/material/prebuilt-themes/indigo-pink.css";
\ No newline at end of file