From 66e24f5d3c5dcc7dafea96b83e6a12b14708424c Mon Sep 17 00:00:00 2001 From: Priyatham Sai Chand Date: Sat, 27 Mar 2021 23:52:22 +0530 Subject: [PATCH] log in styled change --- src/components/LogInContainer.js | 78 ++++++++++++++++++++++++++++++++ src/login_reg.css | 40 ---------------- 2 files changed, 78 insertions(+), 40 deletions(-) diff --git a/src/components/LogInContainer.js b/src/components/LogInContainer.js index c9a10d7..219f74f 100644 --- a/src/components/LogInContainer.js +++ b/src/components/LogInContainer.js @@ -19,6 +19,84 @@ const AppSide = styled.div` flex-direction: column; justify-content: flex-end; +`; +const AppForm = styled.div` + + width: 50%; + background-color: #ffffff; + padding: 25px 40px; + overflow: auto; + +`; +const PageSwitcher = styled.div` + + display: flex; + justify-content: flex-end; + margin-bottom: 10%; + +`; +const BannerHeading = styled.h1` + + position: relative; + text-align: center; + font-family: Ubuntu; + font-size: 5rem; + font-weight: bold; + color: #ffffff; + text-decoration: none; + text-transform: lowercase; +`; +const PlaneContainer = styled.div` + + width:100px; + display:flex; + margin-bottom: 50px; + align-content: flex-start; + justify-content: flex-start; + +`; +const TextContainer = styled.p` + + width: 50%; + background-color: #66bfbf; + display:flex; + flex-direction: column; + justify-content: flex-end; + +`; + +const BannerText = styled.p` + color:white; + font-size: 1.25em; + font-style:italic; + + +`; +const SkyContainer = styled.div` + margin-top: 600px; + width: 100%; + background-size: 100%; +`; +const PageSwitcher = styled(NavLink)` + background-color: #4C5D72; + color: white; + padding: 10px 25px; + cursor: pointer; + font-size: .9em; + border: none; + outline: none; + display: inline-block; + text-decoration: none; + + ${props = props.active ? css` + + background-color: #66bfbf; + color: white; + `: css``} + + + + `; const LogInContainer = (props) => { diff --git a/src/login_reg.css b/src/login_reg.css index 0914682..b82bf6b 100644 --- a/src/login_reg.css +++ b/src/login_reg.css @@ -11,68 +11,28 @@ } .Apper__Form { - width: 50%; - background-color: #ffffff; - padding: 25px 40px; - overflow: auto; } .PageSwitcher { - display: flex; - justify-content: flex-end; - margin-bottom: 10%; } .Apper_heading{ - position: relative; - text-align: center; - font-family: Ubuntu; - font-size: 5rem; - font-weight: bold; - color: #ffffff; - text-decoration: none; - text-transform: lowercase; } .Apper_logo img{ - width:100px; - display:flex; - margin-bottom: 50px; - align-content: flex-start; - justify-content: flex-start; } .Apper__Aside__text { - text-align: center; - margin-bottom: 25%; } .Apper_quote{ - color:white; - font-size: 1.25em; - font-style:italic; } .Apper__Aside_image{ - margin-top: 600px; - width: 100%; - - background-size: 100%; } .PageSwitcher__Item { - background-color: #4C5D72; - color: white; - padding: 10px 25px; - cursor: pointer; - font-size: .9em; - border: none; - outline: none; - display: inline-block; - text-decoration: none; } .PageSwitcher__Item--Active { - background-color: #66bfbf; - color: white; } .PageSwitcher__Item:first-child {