[Loginpage]

This commit is contained in:
Luis S. Ruisinger
2022-07-12 18:25:36 +02:00
parent 80d1aee506
commit 8896d492eb

View File

@@ -14,8 +14,8 @@
<a>Login</a>
</div>
<input type="checkbox" class="menu-btn" id="menu-btn">
<label for="menu-btn" class="menu-icon">
<input id="menu-btn" class="menu-btn" type="checkbox">
<label class="menu-icon" for="menu-btn">
<span class="menu-icon__line"></span>
</label>
@@ -38,16 +38,16 @@
<section>
<div class="container">
<div class="user-login" id="user-sign-in">
<div id="user-sign-in" class="user-login">
<div class="site-background"/>
<div class="form-background">
<form>
<h2>Sign In</h2>
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
<input type="submit" class="login-btn-apple" value="Login Apple">
<input type="submit" class="login-btn" value="Login">
<input placeholder="Username" type="text">
<input placeholder="Password" type="password">
<input class="login-btn-apple" type="submit" value="Login Apple">
<input class="login-btn" type="submit" value="Login">
<p class="signup">Don't have an account?
<a href="#" v-on:click="isSignUp = !isSignUp">Sign up</a>
</p>
@@ -56,18 +56,18 @@
</div>
</div>
<div class="user-signup" :class="{toggleOff:isSignUp}">
<div :class="{toggleOff:isSignUp}" class="user-signup">
<div class="site-background"/>
<div class="form-background">
<form>
<h2>Create Account</h2>
<input type="text" placeholder="Username">
<input type="text" placeholder="Email Address">
<input type="password" placeholder="Create Password">
<input type="password" placeholder="Confirm Password">
<input placeholder="Username" type="text">
<input placeholder="Email Address" type="text">
<input placeholder="Create Password" type="password">
<input placeholder="Confirm Password" type="password">
<input type="submit" value="Sign Up">
<p class="signup">Already have an account
<p class="signup">Already have an account?
<br>
<a href="#" v-on:click="isSignUp = !isSignUp">Sign in</a>
</p>
@@ -79,15 +79,56 @@
</div>
</section>
<div class="footer">
<div class="container">
<div class="row">
<div class="footer-col">
<h4 class="firstHeadline">About Us</h4>
<ul>
<li class="aboutUs">
<a href="#">The Project</a>
<a href="#">The Team</a>
<a href="#">Our Partners</a>
</li>
</ul>
</div>
<div class="footer-col">
<h4 class="secondHeadline">Help</h4>
<ul>
<li class="help">
<a href="#">Support</a>
<a href="#">FAQ</a>
<a href="#">AGB</a>
</li>
</ul>
</div>
<div class="footer-col">
<h4 class="thirdHeadline">Follow Us</h4>
<ul>
<li class="social-links">
<a href="#">
<i class="fa fa-instagram fa-2x"/>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css" rel="stylesheet"
type='text/css'/>
</div>
</template>
<script>
export default {
@@ -103,9 +144,6 @@ export default {
</script>
<style lang="scss">
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200&display=swap');
@@ -117,6 +155,7 @@ export default {
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
}
.main {
@@ -125,10 +164,144 @@ export default {
display: grid;
justify-content: center;
align-items: center;
font-size: 1.25rem;
background: #213737;
}
.logo a {
color: white;
}
.menu-icon {
&__line, &__line:before, &__line::after {
background-color: white;
}
}
/* footer styling */
.footer {
position: fixed;
display: flex;
left: 0;
top: 90%;
width: 100vw;
height: 8vh;
z-index: 3;
background: white;
}
.container {
position: relative;
background: darkorange;
padding: 40px;
width: 100%;
height: 96%;
margin: auto;
}
.row {
display: flex;
flex-wrap: wrap;
}
.footer-col {
width: 25%;
}
.footer-col h4 {
text-align: center;
text-transform: uppercase;
position: relative;
letter-spacing: 2px;
font-size: 24px;
color: white;
left: 50%;
top: -20px;
}
.footer-col h4::before {
content: '';
position: absolute;
bottom: -10px;
background-color: black;
height: 2px;
box-sizing: border-box;
width: 65px;
}
.footer-col ul li a {
position: sticky;
text-align: left;
font-size: 20px;
width: 140px;
text-decoration: none;
font-weight: 300;
color: white;
display: block;
transition: all 0.3s ease;
left: 8000%;
margin: 0 -60px;
}
.aboutUs {
position: relative;
left: 6px;
}
.help {
position: relative;
left: 44px;
}
.social-links {
position: relative;
left: -13.5px;
top: 5px;
}
.fa-instagram {
position: relative;
top: 14px;
color: black;
left: 1px;
}
.footer-col .social-links a {
height: 65px;
width: 65px;
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
margin: 0 10px 10px 0;
row-gap: 10px;
text-align: center;
border-radius: 50%;
color: black;
transition: all 0.5s ease;
}
.footer-col h4:hover {
cursor: default;
}
.footer-col .aboutUs a:hover {
color: black;
padding-left: 8px;
}
.footer .help a:hover {
color: black;
padding-left: 8px;
}
.footer-col .social-links a:hover {
color: #24262b;
background-color: #ffffff;
}
/* login / signin styling */
section {
position: relative;
min-height: 100vh;
@@ -342,6 +515,76 @@ section{
@media (max-height: 1440px) {
/* footer styling */
.footer {
position: fixed;
display: flex;
left: 0;
top: 87.5%;
width: 100vw;
height: 10.5vh;
z-index: 3;
background: white;
}
.footer-col h4 {
letter-spacing: 2px;
font-size: 12px;
}
.footer-col h4::before {
bottom: -7px;
height: 2px;
width: 43px;
}
.footer-col ul li a {
font-size: 12px;
width: 120px;
top: 13px;
}
.aboutUs {
position: relative;
left: 2px;
top: -6px;
}
.help {
left: 30px;
top: -6px;
}
.social-links {
left: -23px;
top: 5px;
}
.fa-instagram {
top: 2px;
left: 0.5px;
}
.footer-col .social-links a {
height: 37px;
width: 37px;
margin: 0 7px 7px 0;
line-height: 27px;
top: 20px;
left: 76%;
}
.footer-col .aboutUs a:hover {
padding-left: 5px;
}
.footer .help a:hover {
padding-left: 5px;
}
/* login / signin styling */
section {
padding: 27px;
@@ -444,6 +687,77 @@ section{
@media (max-height: 1080px) {
/* footer styling */
.footer {
position: fixed;
display: flex;
left: 0;
top: 83.5%;
width: 100vw;
height: 14vh;
z-index: 3;
background: white;
}
.footer-col h4 {
letter-spacing: 1px;
font-size: 12px;
}
.footer-col h4::before {
bottom: -5px;
height: 1px;
width: 32.5px;
}
.footer-col ul li a {
font-size: 10px;
width: 118px;
top: 10px;
left: 78%;
}
.aboutUs {
position: relative;
left: 2px;
top: -6px;
}
.help {
left: 30px;
top: -6px;
}
.social-links {
left: -23px;
top: -1px;
}
.fa-instagram {
top: -4px;
left: 0.5px;
}
.footer-col .social-links a {
height: 37px;
width: 37px;
margin: 0 7px 7px 0;
line-height: 27px;
top: 20px;
left: 76%;
}
.footer-col .aboutUs a:hover {
padding-left: 5px;
}
.footer .help a:hover {
padding-left: 5px;
}
/* login / signin styling */
section {
padding: 20px;
@@ -545,5 +859,4 @@ section{
}
}
</style>