log in ui revamp

This commit is contained in:
Priyatham-sai-chand 2020-11-23 22:19:49 +05:30
parent a77a026cb2
commit 7d5899106e
9 changed files with 138 additions and 22 deletions

View File

@ -27,6 +27,7 @@
--> -->
<!-- Google Fonts --> <!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat|Ubuntu" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Montserrat|Ubuntu" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- CSS Stylesheets --> <!-- CSS Stylesheets -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

View File

@ -12,7 +12,8 @@ class LogInContainer extends Component {
<div className="Apper"> <div className="Apper">
<div className="Apper__Aside"> <div className="Apper__Aside">
<div className="Apper__Aside__text"> <div className="Apper__Aside__text">
locaft <p>locaft</p>
</div> </div>
</div> </div>
<div className="Apper__Form"> <div className="Apper__Form">

View File

@ -12,6 +12,12 @@ class NavBar extends Component {
return( return(
<div class="navbar"> <div class="navbar">
<header> <header>
<input type="checkbox" id="check"/>
<label for="check" class="checkbtn">
<i class="fas fa-bars" id="btn"></i>
</label>
<a href="/home" class="logo">locaft</a> <a href="/home" class="logo">locaft</a>
<ul> <ul>
<li><a href="#">Home</a></li> <li><a href="#">Home</a></li>
@ -20,6 +26,7 @@ class NavBar extends Component {
<li><a href="#">Contact us</a></li> <li><a href="#">Contact us</a></li>
<li><a href="#">Log In</a></li> <li><a href="#">Log In</a></li>
</ul> </ul>
</header> </header>
</div> </div>

View File

@ -8,6 +8,9 @@ class PricingPlan extends Component {
return( return(
<div className="body"> <div className="body">
<NavBar /> <NavBar />
<br />
<br />
<br />
<div class='pricing-plan-container'> <div class='pricing-plan-container'>
<section class='pricing-plan '> <section class='pricing-plan '>

View File

@ -46,7 +46,7 @@ class SignInForm extends Component {
</div> </div>
<div className="FormField"> <div className="FormField">
<button className="FormField__Button mr-20">Sign In</button> <Link to="/" className="FormField__Link">Create an account</Link> <button className="FormField__Button mr-20">Sign In</button> <Link exact to="/sign-up" className="FormField__Link">Not a member?</Link>
</div> </div>
</form> </form>
</div> </div>

View File

@ -57,7 +57,7 @@ class SignUpForm extends Component {
</div> </div>
<div className="FormField"> <div className="FormField">
<button className="FormField__Button mr-20">Sign Up</button> <Link to="/sign-in" className="FormField__Link">I'm already member</Link> <button className="FormField__Button mr-20">Sign Up</button> <Link to="/sign-in" className="FormField__Link">already a member?</Link>
</div> </div>
</form> </form>
</div> </div>

View File

@ -1,5 +1,10 @@
.pricing-plan { .pricing-plan-container
{
background: white;
}
.pricing-plan {
background: white;
width:300px; width:300px;
border-radius: 25px; border-radius: 25px;
box-shadow: 0 0 5px rgba(0,0,0,0.2); box-shadow: 0 0 5px rgba(0,0,0,0.2);

View File

@ -7,7 +7,11 @@
.Apper__Aside { .Apper__Aside {
width: 50%; width: 50%;
background-color: #66DAC7; background-color: #66DAC7;
text-align: center; display:flex;
align-items: center;
justify-self: center;
} }
.Apper__Form { .Apper__Form {
@ -22,11 +26,27 @@
justify-content: flex-end; justify-content: flex-end;
margin-bottom: 10%; margin-bottom: 10%;
} }
.Apper__Aside__Text{ .Apper__Aside__text{
display: -webkit-flex; display: flex;
display: flex; justify-content: center;
align-items: center; align-items: center;
justify-self: center; }
.Apper__Aside__text p{
font-family: "Ubuntu";
font-size: 5rem;
font-weight: bold;
position: relative;
color: white;
text-decoration: none;
text-transform: lowercase;
left: 150%;
margin-right: -50%;
transform: translate(-50%, -50%);
margin: 0;
flex-grow: 1;
} }
.PageSwitcher__Item { .PageSwitcher__Item {
@ -90,8 +110,8 @@
.FormField__Label { .FormField__Label {
display: block; display: block;
text-transform: uppercase; text-transform: uppercase;
font-size: .9em; font-size: 1.25em;
color: #000000; color: #4C5D72;
text-align: start; text-align: start;
margin-left:45px; margin-left:45px;
@ -100,10 +120,10 @@
width: 85%; width: 85%;
background-color: transparent; background-color: transparent;
border: none; border: none;
color: white; color: #4C5D72;
outline: none; outline: none;
border-bottom: 1px solid #445366; border-bottom: 1px solid #445366;
font-size: 1em; font-size: .9em;
font-weight: 300; font-weight: 300;
padding-bottom: 10px; padding-bottom: 10px;
margin-top: 10px; margin-top: 10px;
@ -128,8 +148,8 @@
color: #66707D; color: #66707D;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
border-bottom: 1.5px solid #225E62;
padding-bottom: 5px; padding-bottom: 5px;
margin-left: 12px;
} }
.FormField__CheckboxLabel { .FormField__CheckboxLabel {
@ -143,7 +163,7 @@
} }
.FormField__TermsLink { .FormField__TermsLink {
color: white; color: #646F7D;
border-bottom: 1px solid #199087; border-bottom: 1px solid #199087;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;

View File

@ -2,14 +2,15 @@
* { * {
box-sizing: border-box; box-sizing: border-box;
text-decoration: none;
} }
body { body {
background: #66bfbf;
} }
header{ header{
background: #66bfbf;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
@ -18,7 +19,7 @@ header{
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
transition: 0.6s; transition: 0.6s;
padding: 20px 25px; padding: 10px 15px;
z-index: 100000; z-index: 100000;
font-family: Ubuntu; font-family: Ubuntu;
@ -38,7 +39,6 @@ header .logo{
text-decoration: none; text-decoration: none;
text-transform: lowercase; text-transform: lowercase;
padding-left: 100px; padding-left: 100px;
transition: 0.6s; transition: 0.6s;
} }
header ul { header ul {
@ -53,20 +53,99 @@ header ul li {
position: relative; position: relative;
list-style: none; list-style: none;
} }
header ul li a { header ul li a {
position: relative; position: relative;
margin: 0 15px; margin: 5px 15px;
text-decoration: none; text-transform: uppercase;
color: #fff; color: #fff;
letter-spacing: 2px; letter-spacing: 2px;
font-weight: 500px; font-weight: 500px;
padding: 5px 0;
transition: 0.6s; transition: 0.6s;
}
header ul li a:before{
position: absolute;
content: '';
left:0;
bottom: 0;
height: 15px;
width:100%;
background: #ffffff;
transform: scaleX(0);
transform-origin: right;
transition: transform .4s linear;
}
header ul li a:hover:before{
transform: scaleX(1);
transform-origin: left;
} }
header.sticky ul li a{ header.sticky ul li a{
color: #fff; color: #fff;
}
.checkbtn
{
color:white;
font-size: 30px;
float:right;
line-height: 80px;
margin-right: 40px;
cursor: pointer;
display: none;
}
#check{
display: none;
}
@media (max-width: 1118px){
header .logo{
left: 8%;
}
}
@media (max-width: 944px){
header .logo{
left: 6%;
top: 20px;
width: 1030px;
}
}
@media (max-width: 860px){
label #btn{
display: block;
}
ul {
position: fixed;
width: 100%;
height: 100vh;
background: #66bfbf;
text-align: center;
transition: all .5s;
}
header ul li{
display: block;
margin: 50px 0;
line-height: 30px;
}
nav ul li a{
font-size: 20px;
}
label #check:checked ~ ul{
}
} }