From 81b8f765d4d89ea12f7edd1f2dfd6e1dd1af417f Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Wed, 24 Dec 2025 16:55:45 +0530 Subject: [PATCH] FIX_FAQ --- app/Views/faq_list.php | 133 +++++++++++++++++++++++++--- app/Views/frontend_content_list.php | 124 ++++++++++++++++++++++++-- app/Views/pos_list.php | 124 ++++++++++++++++++++++++-- 3 files changed, 357 insertions(+), 24 deletions(-) diff --git a/app/Views/faq_list.php b/app/Views/faq_list.php index e725b7e3..9a4d6d8c 100644 --- a/app/Views/faq_list.php +++ b/app/Views/faq_list.php @@ -3,6 +3,33 @@ position: absolute; } .dataTables_length label {height: 21px !important;} + +.custom-dropdown-menu { + display: none; + position: absolute; + background-color: #ffffff !important; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; + padding: 0.5rem 0; + min-width: 10rem; + z-index: 9999; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +.custom-dropdown-menu .dropdown-item { + display: block !important; + width: 100% !important; + padding: 0.5rem 1rem !important; + color: #212529 !important; + text-decoration: none !important; + background-color: transparent !important; +} + +.custom-dropdown-menu .dropdown-item:hover { + background-color: #f8f9fa !important; + color: #16181b !important; + cursor: pointer !important; +} @@ -16,13 +43,15 @@ S.No. Category Question - Answer + Status Action - + $row) { ?> @@ -36,11 +65,11 @@ ? htmlspecialchars(substr($question, 0, 50)) . "..." : htmlspecialchars($question); ?> - 50) ? htmlspecialchars(substr($answer, 0, 50)) . "..." : htmlspecialchars($answer); - ?> + ?> --> @@ -62,12 +91,7 @@ - - - - + @@ -353,4 +377,93 @@ }); + diff --git a/app/Views/frontend_content_list.php b/app/Views/frontend_content_list.php index f0df3b93..ce3db484 100644 --- a/app/Views/frontend_content_list.php +++ b/app/Views/frontend_content_list.php @@ -3,6 +3,32 @@ position: absolute; } .dataTables_length label {height: 21px !important;} +.custom-dropdown-menu { + display: none; + position: absolute; + background-color: #ffffff !important; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; + padding: 0.5rem 0; + min-width: 10rem; + z-index: 9999; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +.custom-dropdown-menu .dropdown-item { + display: block !important; + width: 100% !important; + padding: 0.5rem 1rem !important; + color: #212529 !important; + text-decoration: none !important; + background-color: transparent !important; +} + +.custom-dropdown-menu .dropdown-item:hover { + background-color: #f8f9fa !important; + color: #16181b !important; + cursor: pointer !important; +} @@ -23,7 +49,7 @@ - + $row) { ?> @@ -51,12 +77,7 @@ - - - - + @@ -503,4 +524,93 @@ } + diff --git a/app/Views/pos_list.php b/app/Views/pos_list.php index c6b08022..2c1c1af5 100644 --- a/app/Views/pos_list.php +++ b/app/Views/pos_list.php @@ -3,6 +3,32 @@ position: absolute; } .dataTables_length label {height: 21px !important;} +.custom-dropdown-menu { + display: none; + position: absolute; + background-color: #ffffff !important; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0.25rem; + padding: 0.5rem 0; + min-width: 10rem; + z-index: 9999; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +.custom-dropdown-menu .dropdown-item { + display: block !important; + width: 100% !important; + padding: 0.5rem 1rem !important; + color: #212529 !important; + text-decoration: none !important; + background-color: transparent !important; +} + +.custom-dropdown-menu .dropdown-item:hover { + background-color: #f8f9fa !important; + color: #16181b !important; + cursor: pointer !important; +} @@ -24,7 +50,7 @@ - + $row) { ?> @@ -54,12 +80,7 @@ - - - - No data available - - + @@ -480,5 +501,94 @@ + +