From e1289601a9f12d34a627b01e2046dd8e595e7b70 Mon Sep 17 00:00:00 2001
From: "vishalsingh.qlo325"
Date: Thu, 22 Aug 2024 13:26:36 +0530
Subject: [PATCH] Added rtl for bootstrap grid system, also updated the design
of the elements having custom css
---
classes/controller/FrontController.php | 1 +
.../_partials/room_type_list.tpl | 2 +-
.../hotel-reservation-theme/contact-form.tpl | 2 +-
.../hotel-reservation-theme/css/category.css | 4 +
themes/hotel-reservation-theme/css/rtl.css | 41 ++
.../hotel-reservation-theme/css/rtl_grid.css | 594 ++++++++++++++++++
6 files changed, 642 insertions(+), 2 deletions(-)
create mode 100644 themes/hotel-reservation-theme/css/rtl_grid.css
diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php
index f7ba791f7..d3cc17eda 100644
--- a/classes/controller/FrontController.php
+++ b/classes/controller/FrontController.php
@@ -1217,6 +1217,7 @@ class FrontControllerCore extends Controller
*/
if ($this->context->language->is_rtl) {
$this->addCSS(_THEME_CSS_DIR_.'rtl.css');
+ $this->addCSS(_THEME_CSS_DIR_.'rtl_grid.css');
$this->addCSS(_THEME_CSS_DIR_.$this->context->language->iso_code.'.css');
}
}
diff --git a/themes/hotel-reservation-theme/_partials/room_type_list.tpl b/themes/hotel-reservation-theme/_partials/room_type_list.tpl
index b13241709..bdaf902fe 100644
--- a/themes/hotel-reservation-theme/_partials/room_type_list.tpl
+++ b/themes/hotel-reservation-theme/_partials/room_type_list.tpl
@@ -37,7 +37,7 @@
{/if}
-
+