Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
midoalawieh authored Feb 20, 2024
1 parent fec8b9c commit 4803784
Show file tree
Hide file tree
Showing 6 changed files with 688 additions and 83 deletions.
129 changes: 106 additions & 23 deletions CSS/Pages/auth.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,86 @@


form {
width: 350px;
background-color: var(--overlay);
/* width: 350px;
border-radius: 8px;
padding: 10px 0;
background-color: var(--overlay); */
/* border: 1px solid red; */
/* position: relative; */
}

.card {
height: fit-content;
width: 100%;
position: relative;
transition: transform .6s linear;
transform-style: preserve-3d;
backface-visibility: hidden;
}

.back {
transform: rotateY(180deg);
position: absolute;
top: 0;
}

.front,
.back {
height: 100%;
width: 100%;
backface-visibility: hidden !important;
}
canvas, header {

.card-flipped {
transform: rotateY(180deg);
}

.back {
display: flex;
flex-direction: column;
justify-content: space-evenly;
}

.back,
.front {
border-radius: 8px;
background-color: var(--overlay);
}



canvas,
header {
position: absolute !important;
z-index: 0 !important;
width: 100vw !important;
height: 100vh !important;
}
.back {

.back-button {
position: absolute;
z-index: 1;
top: 30px;
left: 30px;
font-size: 18px;
transition: color .3s ease;
}
.back:hover a {

.back-button:hover a {
color: var(--text);
}

body {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-image: url('https://wallpapercave.com/wp/wp7930319.png');
background-image: url('https://wallpapercave.com/wp/wp7930319.png');
background-size: cover;
background-position: center;
background-repeat: repeat;
}

.color {
position: absolute;
width: 100vw;
Expand All @@ -44,12 +91,14 @@ body {
z-index: -1;
background: linear-gradient(to top, var(--background), var(--primary-overlay));
}

.input-wrapper {
position: relative;
display: flex;
flex-direction: column;
padding: 20px;
}

.text-inp {
background-color: transparent;
border: 0;
Expand All @@ -58,6 +107,7 @@ body {
position: relative;
color: white;
}

.text-inp-lbl {
font-size: 12px;
color: var(--text-light);
Expand All @@ -67,6 +117,7 @@ body {
padding-left: 5px;
transition: .3s ease-in-out;
}

.line {
position: absolute;
content: "";
Expand All @@ -77,35 +128,43 @@ body {
height: 1px;
background-color: var(--text-light);
}

.text-inp:focus {
outline: 0;
border-color: var(--primary);
}
.text-inp:focus + .text-inp-lbl, .text-inp:not(:placeholder-shown) + .text-inp-lbl {

.text-inp:focus+.text-inp-lbl,
.text-inp:not(:placeholder-shown)+.text-inp-lbl {
top: 15px;
font-size: 14px;
padding-left: 0;
color: var(--text);
}

.text-inp:focus ~ .line {
.text-inp:focus~.line {
height: 3px;
background-color: var(--primary);
box-shadow: 0px 0px 5px 1px var(--primary-overlay);
}

.button {
margin-bottom: 5px;
}

.submit {
display: flex;
justify-content: center;
}

.check-wrapper {
padding: 20px;
}

input[type=checkbox] {
display: none;
}

.checkmark {
display: inline-block;
width: 20px;
Expand All @@ -115,12 +174,14 @@ input[type=checkbox] {
position: relative;
transition: background-color .15s ease, box-shadow .15s ease;
}

.check-wrapper {
display: flex;
display: flex;
align-items: center;
gap: 5px;
}
input[type=checkbox] ~ .checkmark::before {

input[type=checkbox]~.checkmark::before {
position: absolute;
content: "";
left: 50%;
Expand All @@ -136,43 +197,65 @@ input[type=checkbox] ~ .checkmark::before {
transition: opacity .1s ease;
z-index: 2;
}
input[type=checkbox]:checked ~ .checkmark::before {

input[type=checkbox]:checked~.checkmark::before {
opacity: 1;
}
input[type=checkbox]:checked ~ .checkmark {

input[type=checkbox]:checked~.checkmark {
background-color: var(--primary);
box-shadow: 0px 0px 10px 1px var(--primary);
}

.check-wrapper label {
color: var(--text);
position: relative;
}

.check-wrapper label a {
color: var(--primary);
font-weight: bold;
}

.switch-link {
display: block; /* This makes it a block element, taking up the full width of its container */
margin-top: 10px; /* Adjust the margin to control the spacing between the "Submit" button and the link */
color: var(--primary-overlay); /* Text color */
text-align: center; /* Center the text horizontally */
text-decoration: none; /* Remove the underline by default for links */
font-weight: bold; /* Make the text bold or adjust font weight as desired */
font-size: 14px; /* Adjust the font size as desired */
display: block;
/* This makes it a block element, taking up the full width of its container */
margin-top: 10px;
/* Adjust the margin to control the spacing between the "Submit" button and the link */
color: var(--primary-overlay);
/* Text color */
text-align: center;
/* Center the text horizontally */
text-decoration: none;
/* Remove the underline by default for links */
font-weight: bold;
/* Make the text bold or adjust font weight as desired */
font-size: 14px;
/* Adjust the font size as desired */
cursor: pointer;
}

.switch-link:hover {
color: var(--primary); /* Change color on hover */
color: var(--primary);
/* Change color on hover */
}
.checkmark, .check-wrapper label {

.checkmark,
.check-wrapper label {
cursor: pointer;
}




@media (max-width: 500px) {
form {
width: 80%;
}

.check-wrapper label {
font-size: 14px
};
}

;
}
52 changes: 52 additions & 0 deletions CSS/Pages/contact-us.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
main {
padding: 0px var(--side-padding);
}
input, textarea {
background: var(--background-light);
border: none;
padding: 20px 25px;
font-size: 17px;
color: var(--text-light);
outline: none;
border-radius: 5px;
transition: 0.2s;
}
input:focus, textarea:focus {
border: 1px solid var(--primary);
outline: 0;
background-color: var(--overlay);
box-shadow: 0px 0px 5px 1px var(--primary);
}
.contact-input {
display: flex;
flex-direction: column;
}
.inputs > * {
width: 100%;
}
label {
color: var(--text-light);
padding: 12px;
}
label span {
color: var(--primary);
}
.pinfo {
display: flex;
gap: 30px;
}
.pinfo > * {
width: calc(50% - 15px);
}
.button {
margin: auto;
max-width: 80%;
width: 600px !important;
}
.button p {
color: var(--text);
padding: 12px;
}
.button:hover p {
color: var(--primary);
}
Loading

0 comments on commit 4803784

Please sign in to comment.