Skip to content

Commit

Permalink
tfo update
Browse files Browse the repository at this point in the history
  • Loading branch information
jayasurya00098 committed Feb 14, 2024
1 parent 6c43597 commit c735c3c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 73 deletions.
Binary file added client/by-far/assets/background-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions client/by-far/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,33 @@
</div>
<div class="item">
<p>Name*</p>
<input type="text" name="Name" placeholder="Enter Your Name..." />
<input type="text" name="Name" placeholder="" />
</div>
<div class="item">
<p>Age*</p>
<input type="text" name="Age" placeholder="Please Enter Your Age..." maxlength="3" />
<input type="text" name="Age" placeholder="" maxlength="3" />
</div>
<div class="item">
<p>Phone Number*</p>
<input type="text" name="Phone" placeholder="Enter Your Phone Number..." maxlength="15" />
<input type="text" name="Phone" placeholder="" maxlength="15" />
</div>
<div class="item">
<p>Email Address*</p>
<input type="text" name="Email" placeholder="Enter Your Email Address..." />
<input type="text" name="Email" placeholder="" />
</div>
<div class="item">
<p>Country*</p>
<input type="text" name="Country" id="countryInput" placeholder="Enter Your Country..." />
<input type="text" name="Country" id="countryInput" placeholder="" />
</div>

<div class="item">
<p>State</p>
<input type="text" name="State" id="stateInput" placeholder="Enter Your State..." />
<input type="text" name="State" id="stateInput" placeholder="" />
</div>

<div class="item">
<p>City</p>
<input type="text" name="City" id="cityInput" placeholder="Enter Your City..." />
<input type="text" name="City" id="cityInput" placeholder="" />
</div>
<div class="btn-block">
<button type="submit" value="Submit">Submit</button>
Expand Down
83 changes: 18 additions & 65 deletions client/by-far/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
justify-content: center;
height: 100vh;
margin: 0;
background: url(./assets/background-image.jpg) no-repeat center center fixed;
/* Adjust the path to your image */
background-size: cover;
}

input {
Expand Down Expand Up @@ -41,7 +44,9 @@
html,
body {
min-height: 100%;
background-color: #000000;
background: url(./assets/background-image.jpg) no-repeat center center fixed;
/* Adjust the path to your image */
background-size: cover;
}

body,
Expand All @@ -52,6 +57,7 @@ select,
p {
padding: 0;
margin: 0;
margin-bottom: 3px;
outline: none;
font-family: Delicious, Roboto, Arial, sans-serif;
font-size: 16px;
Expand Down Expand Up @@ -98,9 +104,10 @@ form {
input,
select {
margin-bottom: 10px;
border: 1px solid #ffffff;
border-radius: 10px;
color: #000000;
background: #222222;
border: 2px solid #2F2F2F;
border-radius: 2px;
color: #fff;
}

input {
Expand All @@ -113,12 +120,12 @@ input {
select {
width: 100%;
padding: 7px 0;
color: #000000;
color: #ffffff;
}

.item input:hover,
.item select:hover {
color: #000000;
color: #f1f1f1;
}

.item {
Expand All @@ -134,7 +141,7 @@ input[type="date"]::-webkit-inner-spin-button {
input[type="date"]::-webkit-calendar-picker-indicator {
position: absolute;
font-size: 20px;
color: #a9a9a9;
color: #f1f1f1;
}

.item i {
Expand Down Expand Up @@ -215,7 +222,7 @@ input[type=checkbox]:checked+label:after {
}

button {
width: 200px;
width: 160px;
height: 50px;
padding: 10px;
background: #B99855;
Expand All @@ -227,26 +234,12 @@ button {
margin-top: 50px;
margin-bottom: 50px;
outline: 0;
border: 0;
border: 1px solid #B99855;
cursor: pointer;
will-change: box-shadow, transform;
background: radial-gradient(100% 100% at 100% 0%, #ffde9c 0%, #B99855 100%);
box-shadow: 0px 2px 4px rgb(45 35 66 / 40%), 0px 7px 13px -3px rgb(45 35 66 / 30%),
inset 0px -3px 0px rgb(58 65 111 / 50%);
background: #222222;
padding: 0 32px;
border-radius: 25px;
}

button:hover {
transition: box-shadow 0.15s ease, transform 0.15s ease;
box-shadow: 0px 4px 8px rgb(45 35 66 / 40%), 0px 7px 13px -3px rgb(45 35 66 / 30%),
inset 0px -3px 0px #ffffff;
transform: translateY(-2px);
}

button:active {
box-shadow: inset 0px 3px 7px #ffffff;
transform: translateY(2px);
border-radius: 2px;
}

@media (min-width: 568px) {
Expand All @@ -268,46 +261,6 @@ button:active {
}
}

/* Style for dropdowns */
.select-container {
position: relative;
display: inline-block;
}

.select-dropdown {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
cursor: pointer;
}

/* Style for options in dropdown */
.select-options {
position: absolute;
top: 100%;
left: 0;
z-index: 1;
display: none;
margin-top: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.select-options.active {
display: block;
}

.select-option {
padding: 8px;
cursor: pointer;
background-color: #fff;
}

.select-option:hover {
background-color: #f0f0f0;
}

.screen {
position: fixed;
top: 0;
Expand Down
4 changes: 3 additions & 1 deletion client/by-far/thankyou.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
body {
font-family: Delicious, Roboto, Arial, sans-serif;
line-height: 1.6;
background-color: #272829;
background: url(./assets/background-image.jpg) no-repeat center center fixed;
/* Adjust the path to your image */
background-size: cover;
margin: 0;
padding: 20px;
display: flex;
Expand Down

0 comments on commit c735c3c

Please sign in to comment.