From 64b18d414ee1175ff46f0979c095aa3ae8ae3466 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 18 Sep 2019 20:27:29 +0100 Subject: [PATCH] Update to SVG logo in UI Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- gateway/assets/img/logo-text.svg | 1 + gateway/assets/index.html | 4 ++-- gateway/assets/style/bootstrap.css | 19 ++++++++++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 gateway/assets/img/logo-text.svg diff --git a/gateway/assets/img/logo-text.svg b/gateway/assets/img/logo-text.svg new file mode 100644 index 00000000..35bc319d --- /dev/null +++ b/gateway/assets/img/logo-text.svg @@ -0,0 +1 @@ +Asset 1 \ No newline at end of file diff --git a/gateway/assets/index.html b/gateway/assets/index.html index 25070634..96e4e9a7 100644 --- a/gateway/assets/index.html +++ b/gateway/assets/index.html @@ -37,8 +37,8 @@
- OpenFaaS Icon -

  OpenFaaS Portal

+ OpenFaaS Icon +

diff --git a/gateway/assets/style/bootstrap.css b/gateway/assets/style/bootstrap.css index 92f61c45..d7fb7a4f 100644 --- a/gateway/assets/style/bootstrap.css +++ b/gateway/assets/style/bootstrap.css @@ -90,6 +90,22 @@ md-input-container .md-errors-spacer { font-weight: 500; } + +.md-toolbar-tools { + padding: 0px 0px 0px 0px; +} + +.md-toolbar-tools img.md-logo { + max-height: 38px; + height: 38px; +} + +.md-toolbar-tools img.md-avatar { + max-height: 74px; + height: 74px; +} + + span.md-avatar { font-weight: bold; line-height: 40px; @@ -128,4 +144,5 @@ md-input-container.function-url md-icon { .remove-input-icon { padding-top: 25px; color: red; -} \ No newline at end of file +} +