From f8878619669979f9ddb6b7d972853dc7c57b46c8 Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 15 May 2020 04:09:00 +0100 Subject: [PATCH] added form buttons moved sign out button --- public/css/style.scss | 54 ++++++++++----- public/index.html | 6 +- public/js/account.js | 145 +++++++++++++++++++++++----------------- public/js/script.js | 74 ++++++++++---------- public/js/userconfig.js | 9 +++ 5 files changed, 173 insertions(+), 115 deletions(-) diff --git a/public/css/style.scss b/public/css/style.scss index 6b1254b31..9eaf04d0c 100644 --- a/public/css/style.scss +++ b/public/css/style.scss @@ -705,6 +705,23 @@ key { display: grid; gap: .5rem; width: 100%; + .button{ + border-radius: var(--roundness); + background: var(--sub-color); + color: var(--bg-color); + padding: .5rem; + font-size: 1rem; + line-height: 1rem; + text-align: center; + cursor: pointer; + transition: .25s; + &:hover{ + background: var(--main-color); + } + .fas{ + margin-right: .5rem; + } + } } .preloader{ position: fixed; @@ -800,6 +817,26 @@ key { } } +.signOut{ + font-size: 1rem; + line-height: 1rem; + justify-self: end; + // background: var(--sub-color); + color: var(--sub-color); + width: fit-content; + padding: .5rem; + border-radius: var(--roundness); + cursor: pointer; + transition: .25s; + float: right; + &:hover{ + color: var(--main-color); + } + .fas{ + margin-right: .5rem; + } +} + .pageAccount{ display: grid; gap: 1rem; @@ -811,23 +848,6 @@ key { font-size: 2rem; justify-self: center; } - .signOut{ - justify-self: end; - // background: var(--sub-color); - color: var(--sub-color); - width: fit-content; - padding: .5rem; - border-radius: var(--roundness); - cursor: pointer; - transition: .25s; - float: right; - &:hover{ - color: var(--main-color); - } - .fas{ - margin-right: .5rem; - } - } .triplegroup{ display: grid; grid-auto-flow: column; diff --git a/public/index.html b/public/index.html index 215981db1..70055cb7d 100644 --- a/public/index.html +++ b/public/index.html @@ -85,7 +85,7 @@ -
+
@@ -127,6 +127,7 @@
+
@@ -242,6 +243,7 @@ +
Sign Up
@@ -256,7 +259,6 @@