Skip to content

Commit

Permalink
Merge branch 'main' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ojas-Arora committed Jun 17, 2024
2 parents c64626c + 8c188d7 commit 6c81970
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 216 deletions.
324 changes: 115 additions & 209 deletions src/Components/CreateAccount.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ body {
p{
font-family: "Roboto", sans-serif;
margin-top:.5vw;
text-align: center;
}
p span{
color: #78a9fa;
Expand Down Expand Up @@ -75,214 +74,121 @@ body {
background: #cf00a3; /* Adjust as needed */
}

.step::before {
content: attr(data-step);
position: absolute;
top: -20px; /* Adjust as needed */
left: 50%;
transform: translateX(-50%);
width: 20px; /* Adjust as needed */
height: 20px; /* Adjust as needed */
border-radius: 50%;
background: #ACB6C7;
color: #fff;
text-align: center;
line-height: 20px; /* Adjust as needed */
z-index: 1; /* Add this to make the circles appear above the lines */
}
.step span {
flex: 1;
color: #cf00a3;
}

.step input {
flex: 2;
padding: 0.5rem;
border-radius: 0.25rem;
border: none;
}

.step.active span {
font-weight: bold;
}

.step.step-1[data-step="1"]::before {
background-color: #4285F4; /* Color when step 1 is active */
}


.step.step-2[data-step="1"]::before {
background-color: #87fc93; /* Color when step 2 is active */
}

.step.step-2[data-step="2"]::before {
background-color: #4285F4; /* Color when step 2 is active */
}
.step.step-3[data-step="1"]::before {
background-color: #87fc93; /* Color when step 3 is active */
}

.step.step-2[data-step="3"]::before {
background-color: #87fc93;
}
.step.step-3[data-step="3"]::before {
background-color: #4285F4; /* Color when step 3 is active */
}


.step::before {
content: attr(data-step);
position: absolute;
top: -20px; /* Adjust as needed */
left: 50%;
transform: translateX(-50%);
width: 20px; /* Adjust as needed */
height: 20px; /* Adjust as needed */
border-radius: 50%;
background: #ACB6C7;
color: #fff;
text-align: center;
line-height: 20px; /* Adjust as needed */
z-index: 1; /* Add this to make the circles appear above the lines */
}
.step span {
flex: 1;
color: #cf00a3;
}

.step input {
flex: 2;
padding: 0.5rem;
border-radius: 0.25rem;
border: none;
}

.step.active span {
font-weight: bold;
}

.step.step-1[data-step="1"]::before {
background-color: #4285F4; /* Color when step 1 is active */
}


.step.step-2[data-step="1"]::before {
background-color: #87fc93; /* Color when step 2 is active */
}

.step.step-2[data-step="2"]::before {
background-color: #4285F4; /* Color when step 2 is active */
}
.step.step-3[data-step="1"]::before {
background-color: #87fc93; /* Color when step 3 is active */
}

.step.step-2[data-step="3"]::before {
background-color: #87fc93;
}
.step.step-3[data-step="3"]::before {
background-color: #4285F4; /* Color when step 3 is active */
}


/* Buttons */
.next-btn {
background-color:rgba(9, 2, 34, 0.2);
color: #78a9fa;
border: 1px solid #fff;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
cursor: pointer;
transition: background-color 0.3s ease;
width: 60%;
margin: 1rem auto;
display: block;
border-radius: 40px;
height: 3vw;
font-size: 1.5rem;
}

.next-btn:hover {
background-color: #b21783;
}

.signup-options {
display: flex;
justify-content: center;

}

.facebook-btn,
.google-btn {
background-color: rgba(9, 2, 34, 0.2); /* 20% of #090222 */
color: #fff;
border: 1px solid #fff;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
cursor: pointer;
transition: background-color 0.3s ease;
width: 40%;
margin: 1rem ;
font-size: 1.5rem;
text-align: center; /* Add this line */
border-radius: 40px;
height: 3vw;
font-family: "Roboto", sans-serif;

}

.facebook-btn:hover,
.google-btn:hover {
background-color: #b21783;
}
.facebook-btn::before {
content: '';
display: inline-block;
height: 30px;
width: 30px;
background-image: url('../../public/1.png');
background-repeat: no-repeat;
background-size: contain;
vertical-align: middle;

}

.google-btn::before {
content: '';
display: inline-block;
height: 30px;
width: 30px;
background-image: url('../../public/2.png');
background-repeat: no-repeat;
background-size: contain;
margin-right: 10px;
vertical-align: middle;
}
.facebook-btn i,
.google-btn i {
margin-right: 0.5rem;
}
.flex-container {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
padding: 0 8vw 0px 8vw;
font-family: "Roboto", sans-serif;
}
.input-field {
display: block;
width: 70%; /* Adjust as needed */
height: 50px; /* Adjust as needed */
margin: 20px auto;
margin-top: 0px; /* Adjust as needed */
border: 2px solid cyan; /* Adjust as needed */
border-radius: 10px; /* Adjust as needed */
padding: 10px; /* Adjust as needed */
background-color: transparent;
color: #fff;
padding-top: 0;
font-family: "Roboto", sans-serif;
font-size: 1.5rem;
}
.input-field::placeholder {
color: #ffffff;
font-size:1.3rem;
font-family: "Roboto", sans-serif;
line-height: 50px;
}
.input-field1 {
display: block;
width: 50%; /* Decreased width to 50% */
height: 50px; /* Adjust as needed */
/* margin: 20px auto; */
margin-top: 0px; /* Adjust as needed */
border: 2px solid cyan; /* Adjust as needed */
border-radius: 10px; /* Adjust as needed */
padding: 10px; /* Adjust as needed */
margin-left: 9vw;

background-color: transparent;
color: #fff;
padding-top: 0;
font-family: "Roboto", sans-serif;
font-size: 1.5rem;
}
.input-field1::placeholder {
color: #ffffff;
font-size:1.3rem;
font-family: "Roboto", sans-serif;
line-height: 50px;
}
.email{
font-size:2rem;
margin-left: 22.5vw;
font-family: "Roboto", sans-serif;
}
.separator {
margin-top: 4vw;
display: flex;
align-items: center;
text-align: center;
color: #fff;
font-family: "Roboto", sans-serif;
padding: 0 150px;
font-size: 1.5rem;
}

.separator > hr {
flex-grow: 1;
border: none;
border-top: 1px solid #fff;
}

.separator > span {
padding: 0 10px;
}
.next-btn {
background-color:rgba(9, 2, 34, 0.2);
color: #78a9fa;
border: 1px solid #fff;
padding: 0.5rem 1rem;
border-radius: 0.25rem;
cursor: pointer;
transition: background-color 0.3s ease;
margin: 1rem auto;
display: block;
border-radius: 40px;
font-size: 1.5rem;
}

.next-btn:hover {
background-color: #b21783;
}

.signup-options {
display: flex;
justify-content: center;
gap: 3rem;
}

.facebook-btn,
.google-btn {
background-color: rgba(9, 2, 34, 0.2); /* 20% of #090222 */
color: #fff;
border: 2px solid #fff;
cursor: pointer;
transition: background-color 0.3s ease;
text-align: center; /* Add this line */
font-family: "Roboto", sans-serif;

}

.facebook-btn:hover,
.google-btn:hover {
background-color: #b21783;
}
.facebook-btn::before {
content: '';
background-image: url('../../public/1.png');
background-repeat: no-repeat;
background-size: contain;
vertical-align: middle;

}

.google-btn::before {
content: '';
background-image: url('../../public/2.png');
background-repeat: no-repeat;
background-size: contain;
vertical-align: middle;
}
.input-field::placeholder {
color: grey;
font-size:1rem;
font-family: "Roboto", sans-serif;
line-height: 50px;
}
Loading

0 comments on commit 6c81970

Please sign in to comment.