From 6a40db6a590d31a5c0287c63397166f61039521f Mon Sep 17 00:00:00 2001 From: Bernie Date: Tue, 5 Nov 2019 09:32:38 -0700 Subject: [PATCH 1/5] Added silent login and change password --- public/index.css | 50 +++++++++++++++++++------- public/index.html | 5 +-- public/main.js | 89 +++++++++++++++++++++++++++++++++++++++++++++++ src/index.js | 29 ++++++++++++--- 4 files changed, 154 insertions(+), 19 deletions(-) create mode 100644 public/main.js diff --git a/public/index.css b/public/index.css index f9ba612..f2806e5 100644 --- a/public/index.css +++ b/public/index.css @@ -62,18 +62,35 @@ body { outline: none; } -#error { - padding-top: 20px; +#password { + font-family: 'IBMPlexSans-Medium', sans-serif; font-size: 14px; - color: red; + letter-spacing: 0; + text-align: center; + background-color: #EBF0F7; + border: none; + padding: 10px 40px; + text-decoration: none; + cursor: pointer; + width: 200px; + height: 40px; + margin: 0 auto; + outline: none; + margin-bottom: 20px; } @-moz-document url-prefix() { - #login { + #login, #password { font-family: 'IBM Plex Sans Medium', 'Helvetica Neue', Arial, sans-serif; } } +#error { + padding-top: 20px; + font-size: 14px; + color: red; +} + .hintSection { display: flex; justify-content: center; @@ -97,10 +114,6 @@ body { } } -#chevronIconI, #chevronIconII { - margin-right: 20px; -} - .expand { margin-right: 20px; } @@ -127,8 +140,13 @@ body { font-family: 'IBMPlexSans-Medium', sans-serif; box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.15); } + @-moz-document url-prefix() { + .collapsible button { + font-family: 'IBM Plex Sans Medium', sans-serif; + } +} - .content { +.content { display: none; overflow: hidden; padding: 15px; @@ -139,11 +157,17 @@ body { font-size: 1vw; word-break: break-all; box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.15); - } +} - .collapsible.active .content { - display: block; - } +.collapsible.active .content { + display: block; +} + +@-moz-document url-prefix() { + .content { + font-family: 'IBM Plex Sans Light', sans-serif; + } +} .active button { width: 800px; diff --git a/public/index.html b/public/index.html index e98dc52..b15f5b7 100644 --- a/public/index.html +++ b/public/index.html @@ -20,7 +20,7 @@ Sample App

- +
@@ -36,7 +36,8 @@