2024-02-07 22:50:17 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2024-02-13 23:50:07 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Document</title>
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Protest+Strike&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
2024-02-14 23:18:18 +00:00
|
|
|
<script src="index.js"></script>
|
2024-02-07 22:50:17 +00:00
|
|
|
<style>
|
2024-02-13 23:50:07 +00:00
|
|
|
body {
|
|
|
|
font-family: 'Protest Strike', sans-serif;
|
2024-02-14 00:01:53 +00:00
|
|
|
background: white;
|
|
|
|
color: black;
|
2024-02-13 23:50:07 +00:00
|
|
|
font-size: 1.1em;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.horizontal-splitter {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
height: 20px;
|
|
|
|
justify-content: center;
|
|
|
|
align-self: center;
|
|
|
|
flex-direction: row;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
2024-02-13 23:50:07 +00:00
|
|
|
|
|
|
|
.side-line {
|
|
|
|
background-color: rgb(44, 44, 44);
|
|
|
|
align-self: center;
|
|
|
|
flex: 1;
|
2024-02-07 22:50:17 +00:00
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.or-text {
|
|
|
|
flex-basis: 0px;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
color: rgb(167, 167, 167);
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.main-container {
|
|
|
|
display: flex;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.logo-container {
|
|
|
|
display: flex;
|
|
|
|
flex: 1.5;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.login-section {
|
|
|
|
display: block;
|
|
|
|
flex: 1;
|
|
|
|
margin: 45vh 150px 0px 0px;
|
|
|
|
transform: translate(0px, -50%);
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.input-button {
|
|
|
|
width: 100%;
|
|
|
|
font-size: larger;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
border: none;
|
2024-02-14 00:01:53 +00:00
|
|
|
background-color: black;
|
|
|
|
color: white;
|
2024-02-13 23:50:07 +00:00
|
|
|
border-radius: 10000px;
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
font-weight: bolder;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-14 00:01:53 +00:00
|
|
|
.input-button:hover {
|
|
|
|
background-color: rgb(44, 44, 44);
|
|
|
|
}
|
2024-02-07 22:50:17 +00:00
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.input-text {
|
2024-02-07 22:50:17 +00:00
|
|
|
width: 100%;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.slogan {
|
|
|
|
font-family: 'Protest Strike', sans-serif;
|
|
|
|
margin-top: 0px;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.company-name {
|
|
|
|
font-family: 'Protest Strike', sans-serif;
|
|
|
|
font-size: 100px;
|
|
|
|
margin-top: 0px;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
dialog {
|
|
|
|
position: absolute;
|
2024-02-14 20:46:37 +00:00
|
|
|
border: none;
|
2024-02-13 23:50:07 +00:00
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
margin: 0px;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
border-radius: 20px;
|
|
|
|
width: 500px;
|
2024-02-14 20:46:37 +00:00
|
|
|
height: 540px;
|
2024-02-14 00:01:53 +00:00
|
|
|
background: white;
|
2024-02-13 23:50:07 +00:00
|
|
|
padding: 0px;
|
|
|
|
box-sizing: border-box;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
dialog::backdrop {
|
2024-02-14 00:01:53 +00:00
|
|
|
background: rgba(0, 0, 0, 0.388);
|
2024-02-13 23:50:07 +00:00
|
|
|
}
|
2024-02-07 22:50:17 +00:00
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
dialog input {
|
|
|
|
box-sizing: border-box;
|
2024-02-14 20:46:37 +00:00
|
|
|
width: 100%;
|
|
|
|
border: #5b8dff solid 2px;
|
2024-02-13 23:50:07 +00:00
|
|
|
padding: 10px;
|
|
|
|
border-radius: 100000px;
|
2024-02-14 20:46:37 +00:00
|
|
|
background-color: #f8f8f8;
|
|
|
|
outline: none;
|
|
|
|
font-family: 'Protest Strike'
|
|
|
|
}
|
|
|
|
|
2024-02-14 23:18:18 +00:00
|
|
|
dialog input[type=button] {
|
2024-02-14 20:46:37 +00:00
|
|
|
border: none;
|
|
|
|
margin: 40px 0px;
|
|
|
|
background-color: #00bfff;
|
|
|
|
color: white;
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialog label {
|
|
|
|
display: block;
|
|
|
|
margin: 30px 0px 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialog div {
|
|
|
|
margin: 10% 10% 0px 10%;
|
2024-02-13 23:50:07 +00:00
|
|
|
}
|
2024-02-07 22:50:17 +00:00
|
|
|
|
2024-02-14 20:46:37 +00:00
|
|
|
dialog p {
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialog img {
|
|
|
|
position: absolute;
|
|
|
|
margin: 10px;
|
|
|
|
right: 0%;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
padding: 5px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 10%;
|
|
|
|
transition: all ease-in-out 50ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialog img:hover {
|
|
|
|
background-color: rgb(0, 0, 0, 0.588);
|
|
|
|
}
|
|
|
|
|
|
|
|
.signup-dialog {
|
|
|
|
height: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login-dialog {
|
|
|
|
height: 500px;
|
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
2024-02-14 00:01:53 +00:00
|
|
|
background: black;
|
|
|
|
color: white;
|
2024-02-13 23:50:07 +00:00
|
|
|
}
|
2024-02-07 22:50:17 +00:00
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
dialog {
|
2024-02-14 00:01:53 +00:00
|
|
|
background: black;
|
|
|
|
color: white;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
dialog::backdrop {
|
2024-02-14 00:01:53 +00:00
|
|
|
background: rgba(255, 255, 255, 0.388);
|
2024-02-13 23:50:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dialog input {
|
|
|
|
border: black 2px solid;
|
|
|
|
}
|
2024-02-14 00:01:53 +00:00
|
|
|
|
2024-02-14 20:46:37 +00:00
|
|
|
dialog img:hover {
|
|
|
|
background-color: rgb(255, 255, 255, 0.588);
|
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.input-button {
|
2024-02-14 00:01:53 +00:00
|
|
|
background: white;
|
|
|
|
color:black;
|
2024-02-08 00:28:31 +00:00
|
|
|
}
|
|
|
|
|
2024-02-14 00:01:53 +00:00
|
|
|
.input-button:hover {
|
|
|
|
background-color: #dedede;
|
|
|
|
}
|
2024-02-13 23:50:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.signup-button {
|
|
|
|
background-color: #00bfff;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.signup-button:hover {
|
|
|
|
background-color: #15a3d2;
|
2024-02-08 00:28:31 +00:00
|
|
|
}
|
2024-02-07 22:50:17 +00:00
|
|
|
|
2024-02-14 20:53:41 +00:00
|
|
|
@media only screen and (max-width: 1400px) and (min-width: 800px) {
|
2024-02-13 23:50:07 +00:00
|
|
|
|
|
|
|
.logo-container {
|
2024-02-07 22:50:17 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.login-section {
|
2024-02-13 23:50:07 +00:00
|
|
|
margin: 30vh 10vw 0px 10vw;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
@media only screen and (max-width: 800px) {
|
|
|
|
.company-name {
|
|
|
|
font-size: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo-container {
|
2024-02-07 22:50:17 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
.login-section {
|
|
|
|
margin: 30vh 10vw 0px 10vw;
|
2024-02-07 22:50:17 +00:00
|
|
|
}
|
|
|
|
}
|
2024-02-13 23:50:07 +00:00
|
|
|
|
2024-02-07 22:50:17 +00:00
|
|
|
</style>
|
2024-02-13 23:50:07 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="main-container">
|
|
|
|
<div class="logo-container">
|
|
|
|
<span></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="login-section">
|
|
|
|
<span>
|
|
|
|
<h1 class="company-name">
|
|
|
|
DinoSavings
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
<h2 class="slogan">
|
|
|
|
Sort Your Finances.
|
|
|
|
</h2>
|
|
|
|
</span>
|
2024-02-14 20:46:37 +00:00
|
|
|
<input id="show-signup-dialog" class="input-button signup-button" type="button" value="Create account">
|
2024-02-13 23:50:07 +00:00
|
|
|
<div class="horizontal-splitter">
|
|
|
|
<div class="side-line">
|
|
|
|
|
2024-02-07 22:50:17 +00:00
|
|
|
</div>
|
2024-02-13 23:50:07 +00:00
|
|
|
<div class="or-text">
|
|
|
|
<span>or</span>
|
2024-02-07 22:50:17 +00:00
|
|
|
</div>
|
2024-02-13 23:50:07 +00:00
|
|
|
<div class="side-line">
|
2024-02-07 22:50:17 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-14 20:46:37 +00:00
|
|
|
<input id="show-login-dialog" class="input-button" type="button" value="Login">
|
2024-02-13 23:50:07 +00:00
|
|
|
</div>
|
2024-02-07 22:50:17 +00:00
|
|
|
|
|
|
|
</div>
|
2024-02-13 23:50:07 +00:00
|
|
|
|
2024-02-14 20:46:37 +00:00
|
|
|
<dialog id="signup-dialog" class="signup-dialog">
|
|
|
|
<img src="x-button.png" class="close-dialog"/>
|
|
|
|
<div>
|
2024-02-14 23:18:18 +00:00
|
|
|
<form autocomplete="off">
|
2024-02-14 20:46:37 +00:00
|
|
|
<p>We just need a few details.</p>
|
|
|
|
|
|
|
|
<label>Name</label>
|
|
|
|
<input type="text" placeholder="Enter your Name">
|
|
|
|
|
|
|
|
<label>Email</label>
|
|
|
|
<input type="text" placeholder="Enter your Email">
|
|
|
|
|
|
|
|
<label>Password</label>
|
2024-02-14 20:53:41 +00:00
|
|
|
<input type="password" placeholder="Enter a Password">
|
2024-02-14 20:46:37 +00:00
|
|
|
|
2024-02-14 23:18:18 +00:00
|
|
|
<input type="button" value="Start DinoSaving!">
|
2024-02-14 20:46:37 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2024-02-13 23:50:07 +00:00
|
|
|
</dialog>
|
|
|
|
|
2024-02-14 20:46:37 +00:00
|
|
|
<dialog id="login-dialog" class="login-dialog">
|
|
|
|
<img src="x-button.png" class="close-dialog"/>
|
|
|
|
<div>
|
2024-02-14 23:18:18 +00:00
|
|
|
<form autocomplete="off">
|
2024-02-14 20:46:37 +00:00
|
|
|
<p>Please enter your login details.</p>
|
|
|
|
|
2024-02-14 23:18:18 +00:00
|
|
|
<label for>Email</label>
|
|
|
|
<input id="email" type="text" placeholder="Enter your Email">
|
2024-02-14 20:46:37 +00:00
|
|
|
|
|
|
|
<label>Password</label>
|
2024-02-14 23:18:18 +00:00
|
|
|
<input id="password" type="password" placeholder="Enter your Password">
|
2024-02-14 20:46:37 +00:00
|
|
|
|
2024-02-14 23:18:18 +00:00
|
|
|
<input type="button" value="Login!" onclick="loginClicked()">
|
2024-02-14 20:46:37 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2024-02-13 23:50:07 +00:00
|
|
|
</dialog>
|
|
|
|
</body>
|
2024-02-07 22:50:17 +00:00
|
|
|
</html>
|
2024-02-13 23:50:07 +00:00
|
|
|
<script>
|
2024-02-14 23:18:18 +00:00
|
|
|
|
2024-02-13 23:50:07 +00:00
|
|
|
</script>
|