From 0fd855e8276e9468bd6b767564d57888ea0e4523 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 25 Oct 2017 10:02:47 +0100 Subject: [PATCH] remove MDL, fix CSS issues (#2542) --- demo-shell-ng2/.angular-cli.json | 12 ++---------- demo-shell-ng2/src/styles.css | 9 +++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/demo-shell-ng2/.angular-cli.json b/demo-shell-ng2/.angular-cli.json index cb15347fea..dceb51c347 100644 --- a/demo-shell-ng2/.angular-cli.json +++ b/demo-shell-ng2/.angular-cli.json @@ -112,18 +112,14 @@ "testTsconfig": "tsconfig.spec.json", "prefix": "app", "styles": [ - "styles.css", "../node_modules/ng2-alfresco-core/prebuilt-themes/adf-blue-orange.css", - "../node_modules/material-design-lite/dist/material.orange-blue.min.css", - "../node_modules/dialog-polyfill/dialog-polyfill.css", + "styles.css", "custom-style.scss" ], "scripts": [ - "../node_modules/material-design-lite/material.min.js", "../node_modules/pdfjs-dist/build/pdf.js", "../node_modules/pdfjs-dist/web/compatibility.js", "../node_modules/pdfjs-dist/web/pdf_viewer.js", - "../node_modules/dialog-polyfill/dialog-polyfill.js", "../node_modules/raphael/raphael.min.js", "../node_modules/moment/min/moment.min.js", "../node_modules/three/build/three.min.js" @@ -323,18 +319,14 @@ "testTsconfig": "tsconfig.spec.json", "prefix": "app-dev", "styles": [ - "styles.css", "../node_modules/ng2-alfresco-core/prebuilt-themes/adf-blue-orange.css", - "../node_modules/material-design-lite/dist/material.orange-blue.min.css", - "../node_modules/dialog-polyfill/dialog-polyfill.css", + "styles.css", "custom-style.scss" ], "scripts": [ - "../node_modules/material-design-lite/material.min.js", "../node_modules/pdfjs-dist/build/pdf.js", "../node_modules/pdfjs-dist/web/compatibility.js", "../node_modules/pdfjs-dist/web/pdf_viewer.js", - "../node_modules/dialog-polyfill/dialog-polyfill.js", "../node_modules/raphael/raphael.min.js", "../node_modules/moment/min/moment.min.js", "../node_modules/three/build/three.min.js" diff --git a/demo-shell-ng2/src/styles.css b/demo-shell-ng2/src/styles.css index 9afef092f7..c77e96ded4 100644 --- a/demo-shell-ng2/src/styles.css +++ b/demo-shell-ng2/src/styles.css @@ -4,3 +4,12 @@ .mat-form-field input.mat-input-element { line-height: normal; } + +body, html { + height: 100%; + font-family: 'Muli', "Helvetica", "Arial", sans-serif !important; +} + +body { + margin: 0; +}