From 812d8f6426f5b9732f14295f305233c11b6b65af Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Fri, 24 Apr 2020 22:40:05 -0400 Subject: [PATCH 1/4] Simplify index.html --- src/server_manager/index.html | 51 ++++++++----------- .../ui_components/app-root.html | 1 + src/server_manager/ui_components/style.css | 8 +++ 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/server_manager/index.html b/src/server_manager/index.html index d6371f0b..0abdd6ab 100644 --- a/src/server_manager/index.html +++ b/src/server_manager/index.html @@ -16,38 +16,29 @@ - - - + + + - - - - - - + + + + + - - + + - - - Outline Manager - - - - - + Outline Manager + + + + diff --git a/src/server_manager/ui_components/app-root.html b/src/server_manager/ui_components/app-root.html index 96b79979..6d44331a 100644 --- a/src/server_manager/ui_components/app-root.html +++ b/src/server_manager/ui_components/app-root.html @@ -16,6 +16,7 @@ + diff --git a/src/server_manager/ui_components/style.css b/src/server_manager/ui_components/style.css index aa6c2d92..3b6a2381 100644 --- a/src/server_manager/ui_components/style.css +++ b/src/server_manager/ui_components/style.css @@ -26,6 +26,13 @@ paper-dropdown { box-shadow: 0px 0px 20px #999999; } +/* Show gray background when a dialog is opened */ +core-overlay-layer.core-opened { + background-color: rgba(0, 0, 0, 0.5); + width: 100%; + height: 100%; +} + html, body { height: 100%; @@ -39,6 +46,7 @@ body { font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, 0.54); + -webkit-font-smoothing: antialiased; } div#wrapper { From a2f3cad7c57ff14a15ef5a5d0d255f93943d89e1 Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Sat, 25 Apr 2020 18:57:53 -0400 Subject: [PATCH 2/4] Target ES6 --- tsconfig.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 1687e7e5..f6df733a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "es6", "removeComments": false, "noImplicitAny": true, "noImplicitThis": true, @@ -8,13 +8,6 @@ "rootDir": "src", "outDir": "build/server_manager/web_app/js", "sourceMap": true, - "lib": [ - "dom", - "es5", - "es2015.promise", - "es2015.iterable", - "es2016" - ] }, "include": [ "src/**/*.ts" From eaf201c2314ffc90c491fe6ac727838602a870d8 Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Mon, 27 Apr 2020 12:59:19 -0400 Subject: [PATCH 3/4] Use es2015 instead of es6 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index f6df733a..f965f3d5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es6", + "target": "es2015", "removeComments": false, "noImplicitAny": true, "noImplicitThis": true, From 187bd5d16504f28140751477c769e07d4e570017 Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Fri, 24 Apr 2020 23:38:17 -0400 Subject: [PATCH 4/4] Make AppRoot a class --- .../ui_components/app-root.html | 496 ++++++++++-------- 1 file changed, 275 insertions(+), 221 deletions(-) diff --git a/src/server_manager/ui_components/app-root.html b/src/server_manager/ui_components/app-root.html index 6d44331a..97757b1b 100644 --- a/src/server_manager/ui_components/app-root.html +++ b/src/server_manager/ui_components/app-root.html @@ -532,126 +532,125 @@