diff --git a/app/public/logo.png b/app/public/logo.png new file mode 100644 index 00000000..15e5e46c Binary files /dev/null and b/app/public/logo.png differ diff --git a/app/public/marblebackground.jpg b/app/public/marblebackground.jpg new file mode 100644 index 00000000..53d13111 Binary files /dev/null and b/app/public/marblebackground.jpg differ diff --git a/app/src/pages/login/Login.css b/app/src/pages/login/Login.css index 4acf5e6d..bdbb2489 100644 --- a/app/src/pages/login/Login.css +++ b/app/src/pages/login/Login.css @@ -1,11 +1,60 @@ * { - font-family: 'Brush Script MT', cursive; + font-family: 'Helvetica'; } -.login_container, .login_form, .login_button { +/* Linear gradient for the entire page */ +body { + background-image: linear-gradient( + to bottom, + rgb(255 255 255 / 20%) 40%, + rgb(91 133 176 / 80%) 100% + ), url('../../../public/marblebackground.jpg'); +} + +h1 { + font-weight: bold; + font-family: 'Verdana'; + font-size: 2.6em; + margin: 20px auto; +} + +/* Text inside the input pills */ +input::placeholder { + color: white; + opacity: 1; /* Firefox */ + text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.89); + } + +/* Border when selecting the input pills */ +input:focus { + outline: solid 2px black; +} + +/* The input pills (also known as ovals)*/ +.oval { + width: 210px; + height: 40px; + border-radius: 30px; + border-width: 0px; + background-color: rgba(151, 190, 193, 0.58); + box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25); + font-weight: bolder; + margin: 5px; + padding-left: 10px; + } + +/* Our logo */ +.image{ + padding: 20px auto 0px auto; + height: 30vh; + display: block; + margin: 4vh auto 0; + width: 33vh; +} + +.login_container, .login_form { display: flex; flex-direction: column; - background-color: white; } .login_container { @@ -13,30 +62,25 @@ height: 100vh; margin: 0; align-items: center; - background-image: radial-gradient( - farthest-corner at 40px 40px, - rgb(126, 150, 231) 0%, - rgb(30, 138, 93) 100% - ); -} -.login_form { - padding: 10px 20px 15px 20px; - margin-top: 35vh; } -.login_button { - margin: 20px auto 0; - width: 40%; - background-color: azure; - font-weight: bold; - align-items: center; +.login_form { + padding: 10px 20px 5px 20px; } -.register_button { - margin-top: 40px; - font-size: 10px; - width: 30vh; +/* The forgot password link */ +.forgot_password{ + display: block; + padding: 10px; + margin: auto; + font-family: 'Verdana'; + font-style: normal; + font-weight: 700; + font-size: 15px; + line-height: 19px; + color: rgba(0, 0, 0, 0.33); + text-decoration: none; } button{ @@ -46,4 +90,34 @@ button{ label { text-align: left; +} + +/* The login and sign up buttons */ +.btn{ +width: 100px; +margin: 10px auto 0px; +font-family: sans-serif; +font-weight: 0; +font-size: 14px; +color: #fff; +background: linear-gradient(90deg, #5a84af 0%, #335e61 100%); +padding: 10px 30px; +border: none; +box-shadow: rgb(0, 0, 0) 0px 5px 6px -3px; +border-radius: 50px; +transition : 1000ms; +display: flex; +flex-direction: column; +align-items: center; +cursor: pointer; +} + +/* The animation that plays when you hover over the login and sign up buttons */ +.btn:hover{ +transition : 1000ms; +padding: 10px 40px; +transform : translateY(-1px); +background: linear-gradient(90deg, #5a84af 0%, #335e61 100%); +color: #ffffff; +border: solid 1px #0066cc; } \ No newline at end of file diff --git a/app/src/pages/login/Login.js b/app/src/pages/login/Login.js index 724d6b98..4e1a711f 100644 --- a/app/src/pages/login/Login.js +++ b/app/src/pages/login/Login.js @@ -36,14 +36,20 @@ const Login = () => { return (