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

Improved the UI of Shravaya Food Ordering #1594

Merged
merged 2 commits into from
Aug 9, 2024
Merged
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
67 changes: 67 additions & 0 deletions Css-files/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,73 @@ body {
}

/* CONTACT US PAGE */

.card{
color: #fff;
padding: 7%;
box-shadow: 0px 2px 10px #00000056;
background-color: rgb(208, 50, 50);
box-shadow: 0px 10px 50px #000000a4;
width: 90%;
}

.btn-submit {
width: 90%;
padding: 16px 0;
margin: 20px;
border: none;
border-radius: 8px;
outline: none;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 3px;
color: black;
background: #fff;
transition: 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-submit:hover {
background: #fff;
box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.663);
}

.textfield {
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
margin: 20px 0px;
position: relative;
}

.textfield>label {
font-weight: bold;
margin-bottom: 5px;
}

.textfield>input , .textfield>textarea{
width: 100%;
border: none;
border-radius: 10px;
padding: 15px;
background: #E6E6FA;
color: #030707de;
font-size: 12pt;
box-shadow: 0px 2px 5px #00000056;
outline: none;
border: 1px solid #ddd;
}

.textfield>input::placeholder, .textfield>textarea::placeholder {
color: #000000;
}

.textfield>input:hover, .textfield>textarea:hover {
background: #fff;
box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.663);
}

.contact-wrapper{
background-color: rgb(208, 50, 50);
}
Expand Down
2 changes: 1 addition & 1 deletion Css-files/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
color: #030707de;
font-size: 12pt;
box-shadow: 0px 2px 5px #00000056;
outline: none;
outline: none;
/* added */
border: 1px solid #ddd;
}
Expand Down
30 changes: 26 additions & 4 deletions Html-files/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,30 @@ <h5 class="title">Email</h5>
</div>
</div>
<div class="col-md-6 col-lg-6">
<form class="form text-center" id="contactForm">
<div class="form-group row">
<div class="col-6 mb-3">
<form id="contactForm">
<div class="card">

<h1 class="title" style="text-align: center">CONTACT US</h1>

<div class="textfield">
<label for="contact-username">Name</label>
<input type="text" name="Username" id="contact-username" placeholder="Enter your name" required>
</div>

<div class="textfield">
<label for="contact-email">Email</label>
<input type="email" name="email" id="contact-email" placeholder="[email protected]" required>
</div>

<div class="textfield">
<label for="contact-username">Message</label>
<textarea name="textarea" id="contact-username" rows="2" placeholder="Write your message here"></textarea required>
</div>

<button class="btn-submit" type="submit">Submit</button>


<!-- <div class="col-6 mb-3">
<input type="text" class="form-control" id="first-name" placeholder="First Name" />
</div>
<div class="col-6 mb-3">
Expand All @@ -276,7 +297,8 @@ <h5 class="title">Email</h5>
<textarea class="form-control" id="message" rows="3" placeholder="Message" required></textarea>
</div>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
<button type="submit" class="btn btn-primary">Submit</button> -->

</form>
</div>
</div>
Expand Down
18 changes: 13 additions & 5 deletions Html-files/shray.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,35 +55,43 @@
margin: auto;
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
box-shadow: 0 0 10px rgba(0,0,0,0.8);
margin-top: 50px;
margin-bottom: 50px;
}
h2 {
text-align: center;
color: rgb(208, 50, 50);
font-weight: bold;
}
form {
display: flex;
flex-direction: column;
}
label {
margin: 10px 0 5px;
box-shadow: 0px 10px 40px -12px #b10f1f85;
font-weight: bold;
}
input, select, textarea {
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: rgb(208, 50, 50, 0.8);
}
button {
padding: 10px;
border: none;
border-radius: 5px;
background-color: #28a745;
background-color: rgb(208, 50, 50);
color: white;
cursor: pointer;
}
button:hover {
background-color: #218838;
font-weight: bold;
}
button:hover {
background-color: rgba(208, 50, 50, 1.1);
box-shadow: 0 8px 30px -15px black;
}
.confirmation-message {
display: none;
Expand Down
Loading