From ce82222533358dd5f64efda1dbfa2b6d047f8e85 Mon Sep 17 00:00:00 2001 From: Asmita Mishra <146121869+AsmitaMishra24@users.noreply.github.com> Date: Sun, 7 Jul 2024 02:43:49 +0530 Subject: [PATCH 1/4] Redesigned "Make an Appointment" Section (#749) * Redesigned "Make an Appointment" Section --------- Co-authored-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> --- Css-Files/appointment.css | 166 ++++++++++++++ index.html | 443 ++++++++++++++------------------------ style.css | 176 --------------- 3 files changed, 327 insertions(+), 458 deletions(-) create mode 100644 Css-Files/appointment.css diff --git a/Css-Files/appointment.css b/Css-Files/appointment.css new file mode 100644 index 00000000..cb40e605 --- /dev/null +++ b/Css-Files/appointment.css @@ -0,0 +1,166 @@ +#appointment { + display: flex; + align-items: center; + justify-content: center; +} + +.appointment-container { + width: 90%; + max-width: 900px; + margin: 0 auto; + padding: 20px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + background-color: #3fbcc051; + text-align: center; + margin-bottom: 7%; + border-radius: 20px; +} + +.section-title h2 { + font-size: 1.6rem; + margin: 15px 0 0 0; + color: #fff; + font-weight: bold; +} + +.section-title p { + font-size: 0.8rem; + color: #666; + font-weight: normal; + margin: 20px 0 0 0; +} + +.php-email-form { + display: flex; + flex-direction: column; + align-items: center; + border-radius: 8px; + padding: 10px; + box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); +} + +.form-group { + margin-bottom: 15px; + width: 100%; + max-width: 400px; +} + +.form-group label { + display: block; + text-align: start; + text-transform: capitalize; + font-weight: 600; + margin-bottom: 15px; +} + +.form-control { + width: 100%; + padding: 8px; + font-size: 1rem; + border: 1px solid #ccc; + border-radius: 4px; + background-color: #fff; + color: #000; +} + +.form-select { + width: 100%; + padding: 6px; + font-size: 0.9rem; + border: 1px solid #ccc; + border-radius: 4px; + background-color: #fff; + color: #000; + box-sizing: border-box; + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + background-image: url('data:image/svg+xml;charset=US-ASCII,'); /* Custom dropdown arrow */ + background-repeat: no-repeat; + background-position: right 10px center; + background-size: 16px 16px; +} + +.form-select::placeholder { + color: #999; + opacity: 1; +} + +.btn-primary { + text-align: center; + justify-content: center; + background-color: #29888A; + color: #fff; + font-size: 1.2rem; + border: none; + border-radius: 4px; + cursor: pointer; + text-decoration: none; + margin: 20px 0 30px 0; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: background-color 0.3s, box-shadow 0.3s; +} + +.btn-primary:hover { + background-color: #30a3a5; + box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); +} + +/* Responsive adjustments */ +/* For tablets and smaller screens */ +@media (max-width: 768px) { + .appointment-container { + padding: 15px; + } + + .section-title h2 { + font-size: 2rem; + } + + .section-title p { + font-size: 1rem; + } + + .php-email-form { + padding: 15px; + } + + .btn-primary { + width: 100%; + max-width: none; + } +} + +/* For larger smartphones and smaller tablets */ +@media (max-width: 576px) { + .appointment-container { + padding: 10px; + } + + .section-title h2 { + font-size: 1.8rem; + } + + .section-title p { + font-size: 0.9rem; + } +} + +/* For extra-large screens (desktops) */ +@media (min-width: 1200px) { + .appointment-container { + padding: 30px; + } + + .section-title h2 { + font-size: 3rem; + } + + .section-title p { + font-size: 1.2rem; + } + + .php-email-form { + padding: 30px; + } +} diff --git a/index.html b/index.html index 48b38743..94fcd749 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ - + @@ -861,180 +775,145 @@

Health Post

-
-
-
-

Patient Portal

-

Access your medical records, lab results, and prescription history securely.

-
-
+
+
+
+

Patient Portal

+

Access your medical records, lab results, and prescription history securely.

+
+
- - + + -
+
+
+
- -
+ +
-
-
-

Make an Appointment

-

We listed the docs, we made you a form. You make us an appointment.

- -
+
+
+

Make an Appointment

+

We listed the docs, we made you a form. You make us an appointment.

+
+ + +
+ + +
-
- -
-
-
- -
-
-
- -
- - -
- - -
-
- -
-
- -
-
- -
-
- -
-
- -
- -
- - -
-
- -
- - -
-
- -
-
- -
- - - -
- -
+ +
+ +
-
- + + +
+ + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +
diff --git a/style.css b/style.css index 74e5d2f3..26c82153 100644 --- a/style.css +++ b/style.css @@ -125,37 +125,6 @@ h6 { z-index: -1; } -/** -* Appointment Button * -*/ -.appointment-btn { - /* /* margin-left: 60rem; */ - margin-top: 1rem; - background: #55a5ea; - color: #fff; - border-radius: 50px; - padding: 8px 25px; - white-space: nowrap; - transition: 0.3s; - font-size: 16px; - font-weight: 600; - /* z-index: -1; */ - display: inline-block; -} - -.appointment-btn:hover { - z-index: -1; - background-color: green; - color: white; -} - -@media (max-width: 768px) { - .appointment-btn { - margin: 0 15px 0 0; - padding: 6px 18px; - } -} - /*################----Navigation----################*/ @@ -920,151 +889,6 @@ section { } } -#appointment.appointment.section-bg { - background-color: #022a2d; - padding: 50px 0; - box-sizing: border-box; - width: 90%; - max-width: 900px; -} - -/*################----Appointments----################*/ -.layout { - background-color: #3fbcc051; - border-radius: 30px; - padding: 50px; - width: 90%; - /* Changed width to 90% for better responsiveness */ - max-width: 1200px; - /* Added max-width for better control */ - margin: 0 auto; - padding: 20px; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); - text-align: center; - margin-bottom: 7%; - border-radius: 20px; - display: grid; - width: 30; -} - -.section-title p { - color: #fff; - text-align: center; - font-size: 16px; - margin-bottom: 30px; - -} - - -/* Form styling */ -.php-email-form { - display: flex; - flex-wrap: wrap; - color: #badaf7; - -} - -.appointment .php-email-form input, -.appointment .php-email-form textarea, -.appointment .php-email-form select { - display: block; - /* Added display block to ensure full-width elements */ - margin: 10px auto; - /* Centering elements */ - border-radius: 10px; - box-shadow: none; - font-size: 14px; - background: #badaf7; - padding: 10px !important; - color: #6c757d; - width: 80%; - /* Adjusted width for better layout */ -} - -.col-md-4.form-group { - width: calc(50% - 15px); -} - -.form-group { - margin-bottom: 15px; - - width: calc(50% - 15px); - color: #badaf7; -} - -.form-group.d-flex { - display: flex; - flex-wrap: wrap; - color: #badaf7; -} - - -.form-control, -.form-select { - border: 1px solid #ccc; - padding: 10px; - border-radius: 4px; - height: 50px; - width: 50%; - -} - -.php-email-form .form-control, -.php-email-form .form-select { - background-color: #baf7ec; -} - -.form-control:focus, -.form-select:focus { - border-color: #999; - outline: none; - color: #badaf7; -} - -/* Text area styling */ -.form-group textarea { - resize: none; -} - -/* Submit button styling */ -.text-center button { - background-color: #55a5ea; - color: #000; - padding: 10px 20px; - border: none; - border-radius: 4px; - cursor: pointer; - transition: 0.3s ease; - margin-left: 120px; -} - -.appointment .php-email-form input:focus, -.appointment .php-email-form textarea:focus, -.appointment .php-email-form select:focus { - border-color: rgba(63, 188, 192, 0.651); -} - -.appointment .php-email-form button[type="submit"] { - display: block; - margin: 20px auto; - background: hsla(182, 51%, 50%, 0.651); - border: 0; - padding: 10px 35px; - color: #fff; - transition: 0.4s; - border-radius: 50px; - -} - -.text-center button:hover { - background-color: #4bb6b7; -} - - - - - - /*################----Doctors----################*/ .doctors { From 620845f71ea7c741518e27c8bb3586fb13f66064 Mon Sep 17 00:00:00 2001 From: Radhika Malpani <163530398+RadhikaMalpani1702@users.noreply.github.com> Date: Sun, 7 Jul 2024 02:59:41 +0530 Subject: [PATCH 2/4] fixed navigation link (#768) Co-authored-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> --- Html-Files/news.html | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/Html-Files/news.html b/Html-Files/news.html index 570957e0..f52369dd 100644 --- a/Html-Files/news.html +++ b/Html-Files/news.html @@ -444,15 +444,15 @@