workadventure/front/dist/resources/html/gameLogin.html
2020-12-21 19:43:57 +01:00

112 lines
3 KiB
HTML

<style>
*{
font-family: 'Open Sans', sans-serif;
cursor: url('/resources/logos/cursor_normal.png'), auto;
}
* a, button, input{
cursor: url('/resources/logos/cursor_pointer.png'), pointer;
}
#gameLogin {
background: #eceeee;
border: 1px solid #42464b;
border-radius: 6px;
height: 270px;
margin: 20px auto 0;
width: 298px;
}
#gameLogin .cautiousText {
font-size: 50%;
}
#gameLogin h1 {
background-image: linear-gradient(top, #f1f3f3, #d4dae0);
border-bottom: 1px solid #a6abaf;
border-radius: 6px 6px 0 0;
box-sizing: border-box;
color: #727678;
display: block;
height: 43px;
padding-top: 10px;
margin: 0;
text-align: center;
text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
}
#gameLogin input {
font-size: 70%;
background: linear-gradient(top, #d6d7d7, #dee0e0);
border: 1px solid #a1a3a3;
border-radius: 4px;
box-shadow: 0 1px #fff;
box-sizing: border-box;
color: #696969;
height: 30px;
transition: box-shadow 0.3s;
width: 100%;
}
#gameLogin section {
margin: 10px;
}
#gameLogin section.action{
text-align: center;
margin: 0;
}
#gameLogin button {
margin-top: 10px;
background-color: black;
color: white;
border-radius: 7px;
padding-bottom: 4px;
width: 60px;
}
#gameLogin button#gameLoginFormCancel {
background-color: #c7c7c700;
color: #292929;
}
#gameLogin section a{
text-align: center;
font-size: 12px;
margin: 0 6px;
color: black;
}
#gameLogin section h6,
#gameLogin section h5{
margin: 1px;
}
#gameLogin section.text-center{
text-align: center;
}
#gameLogin section p{
font-size: 8px;
margin: 0px 70px;
}
#gameLogin section p.err{
color: red;
display: none;
}
</style>
<form id="gameLogin" hidden>
<section class="text-center">
<h5>Login WorkAdventure</h5>
<p>Log in WorkAdventure and find your friends / colleagues</p>
<p class="err" id="gameLoginError"></p>
</section>
<section>
<h6>Email*</h6>
<input type="email" name="email" id="gameLoginEmail">
</section>
<section>
<h6>Password*</h6>
<input type="password" name="password" id="gameLoginPassword">
</section>
<section class="text-center" style="margin: 0;">
<a href="#" target="register" id="gameLoginFormForgotPassword">Forgot Password</a>
</section>
<section class="action">
<button type="submit" id="gameLoginFormSubmit">Login</button>
</section>
<section class="text-center" style="margin: 0;">
<a href="#" target="register" id="gameLoginFormRegister">Sign in</a>
<a href="#" target="anonymous" id="gameLoginFormCancel">Anonymous</a>
</section>
</form>