Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slotBooking UI changes #449

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
40 changes: 34 additions & 6 deletions slotBooking/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,25 @@
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>

<style>
body{
background-color: #e5e5e5;
}
.aptForm {
display: flex;
width: 800px;
/* background-image: url("https://img.freepik.com/premium-photo/house-loan-concept-isolated-white-background_53876-33025.jpg?w=1800");
background-size: 1500px; */
opacity: 0.90;

}

.container {
margin-top: 350px;
}

</style>
<script
src="https://kit.fontawesome.com/280f5d0d38.js"
crossorigin="anonymous"
Expand Down Expand Up @@ -177,18 +196,27 @@

<!-- Slot Booking start -->
<div id="infoHead">
<h1>Book an appointment</h1>
<div class="typewrite">
<h1 data-text="animate"> Book an appointment</h1>
</div>
<h3>Book now, build your dream later.</h3>
</div>
<div class="aptForm">
<div
class="aptForm">
<div class="infoMain">
<form
action="../index.html"
id="slotForm"
name="slotForm"
onsubmit="return validateForm()"
>
<div class="input-container">
<div



style=" background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
url(https://img.freepik.com/premium-photo/house-loan-concept-isolated-white-background_53876-33025.jpg?w=1800),";
class="input-container">
<div class="form-input">
<label for="name">Name <span>*</span></label>
<div>
Expand All @@ -198,7 +226,7 @@ <h3>Book now, build your dream later.</h3>
id="name"
placeholder="Enter Your Name"
/>
<p>This field is required!</p>
<!-- <p>This field is required!</p> -->
</div>
</div>
<div class="form-input">
Expand Down Expand Up @@ -242,7 +270,7 @@ <h3>Book now, build your dream later.</h3>
<div class="form-input">
<label for="time">Mode <span>*</span></label>
<div>
<select name="mode" id="mode">
<select style="color: gray;" name="mode" id="mode">
<option value="">Select</option>
<option value="online">Online</option>
<option value="offline">Offline</option>
Expand All @@ -264,7 +292,7 @@ <h3>Book now, build your dream later.</h3>
</div>
<div class="form-input">
<label for="pinCode">Postal Code <span>*</span></label>
<div>
<div style="color: white;">
<input
type="text"
name="pinCode"
Expand Down
72 changes: 53 additions & 19 deletions slotBooking/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
}

body{
/* background-color: aliceblue; */
/* background-color: rgb(92, 144, 189); */
background-image: url("https://images.unsplash.com/photo-1505843513577-22bb7d21e455?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2532&q=80");
background-size: 2000px ;
background-repeat: no-repeat;
/* background-color: #2a2a72; */

}

Expand All @@ -19,29 +23,50 @@ body{
}

#infoHead h1 {
font-size: 4em;
color: #333;
margin: 20px;
padding: 0;
animation-name: slide-in;
animation-duration: 1s;
animation-fill-mode: forwards;
animation-delay: 0.5s;
opacity: 0;
transform: translateX(-100%);
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
background-color: #2a2a72;
background-image: linear-gradient(315deg, #2a2a72 0%, #243fe9 90%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
font-size: 10em;
color: #333;
margin: 20px;
padding: 0;
animation-name: slide-in;
animation-duration: 1s;
animation-fill-mode: forwards;
animation-delay: 0.5s;
opacity: 0;
transform: translateX(-100%);
text-shadow: 2px 2px 5px whitesmoke;
/* background-color: #243fe9; */

/* color: white; */
font-size: 50px;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: black;
/* background-color: #2a2a72; */
/* background-image: linear-gradient(315deg, #2a2a72 0%, #243fe9 90%); */
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/* #infoHead h1::before {
content: attr(animate);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: whitesmoke;
-webkit-text-stroke: 0vw blue;
border-right: 2px solid yellow;
overflow: hidden;
animation: animate 6s linear;
} */

#infoHead h3 {
margin-bottom: 20px;
padding: 10px 20px;
font-size: 1.5em;
border: none;
background-color: #FFC300;
/* background-color: #c4a18d; */
background-color: #ffb703;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
animation-name: fade-in;
animation-duration: 1s;
Expand Down Expand Up @@ -197,7 +222,8 @@ body{
}

#formBT button {
background-color: #4CAF50;
/* background-color: #4CAF50; */
background-image: linear-gradient(#64b5f6, #072ac8);
color: #fff;
border: none;
border-radius: 5px;
Expand Down Expand Up @@ -309,4 +335,12 @@ body{
border-radius: 20px;
}
}

.navBar1 {
color: whitesmoke;
}

nav {
color: whitesmoke;
}
/* Slot Booking end */