diff --git a/classes/controller/FrontController.php b/classes/controller/FrontController.php index 74150d376..d30d831c1 100644 --- a/classes/controller/FrontController.php +++ b/classes/controller/FrontController.php @@ -1216,6 +1216,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/modules/qlohotelreview/views/css/front/review-list.css b/modules/qlohotelreview/views/css/front/review-list.css index 42f9a3efb..cd768e1e7 100644 --- a/modules/qlohotelreview/views/css/front/review-list.css +++ b/modules/qlohotelreview/views/css/front/review-list.css @@ -271,9 +271,15 @@ margin-right: 5px; } +#hotel-reviews .review-sort-by-container { + display: inline-block; + position: relative; +} + #hotel-reviews .review-sort-by button { text-align: left; min-width: 170px; + position: relative; } #hotel-reviews .dropdown-menu { @@ -285,3 +291,12 @@ top: 15px; right: 12px; } + +#hotel-reviews.rtl .sort-by { + margin-left: 5px; + margin-right: unset; +} + +#hotel-reviews.rtl [class*=col]{ + float: right !important; +} \ No newline at end of file diff --git a/modules/qlohotelreview/views/templates/hook/_partials/list-actions.tpl b/modules/qlohotelreview/views/templates/hook/_partials/list-actions.tpl index f470ca833..03cd074b5 100644 --- a/modules/qlohotelreview/views/templates/hook/_partials/list-actions.tpl +++ b/modules/qlohotelreview/views/templates/hook/_partials/list-actions.tpl @@ -23,17 +23,19 @@
diff --git a/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl b/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl index c64bdd966..96e43341f 100644 --- a/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl +++ b/modules/qlohotelreview/views/templates/hook/product-tab-content.tpl @@ -17,7 +17,7 @@ * @license LICENSE.txt *} -
+
{if is_array($reviews) && count($reviews)} {include file='./_partials/review-summary.tpl'} {include file='./_partials/media-list.tpl'} diff --git a/modules/wkroomsearchblock/views/css/chosen.css b/modules/wkroomsearchblock/views/css/chosen.css index 779c5e4c7..a3df25799 100644 --- a/modules/wkroomsearchblock/views/css/chosen.css +++ b/modules/wkroomsearchblock/views/css/chosen.css @@ -41,6 +41,12 @@ border-top: 0; box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); } +.rtl .chosen-container .chosen-drop { + right: -9999px; +} +.rtl .chosen-container.chosen-with-drop .chosen-drop { + right: 0; +} .chosen-container.chosen-container-single-nosearch .chosen-drop { top: 100%; } @@ -173,6 +179,10 @@ left: -9999px; } +.rtl .chosen-container-single.chosen-container-single-nosearch .chosen-search { + display:none; +} + /* @end */ /* @group Results */ .chosen-container .chosen-results { diff --git a/modules/wkroomsearchblock/views/css/wk-global-search.css b/modules/wkroomsearchblock/views/css/wk-global-search.css index 3949a7c10..83edd356b 100644 --- a/modules/wkroomsearchblock/views/css/wk-global-search.css +++ b/modules/wkroomsearchblock/views/css/wk-global-search.css @@ -215,9 +215,7 @@ border-radius: 4px;} .submit_occupancy_btn { background-color: #1292FF; - font-size: 13px; border: none; - padding: 5px 20px; border-radius: 4px;} @@ -229,7 +227,7 @@ overflow: auto; box-shadow: 0 8px 25px -4px rgba(0,0,0,0.39); left: 0px; - padding: 12px 20px;} + padding: 15px 20px;} #search_occupancy_wrapper.top { top: unset; bottom: 100%; } @@ -253,8 +251,11 @@ font-weight: bold; text-decoration: none; font-size: 14px; - color: #0000FF; - line-height: 24px;} + color: #0000FF;} + #search_occupancy_wrapper .occupancy_block_actions { + display: flex; + justify-content: space-between; + align-items: center;} #search_occupancy_wrapper .add_new_occupancy_btn:active, #search_occupancy_wrapper .add_new_occupancy_btn:focus, #search_occupancy_wrapper .add_new_occupancy_btn:hover { text-decoration: none; color: #0000FF;} diff --git a/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl b/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl index 8bd27f7fc..a5a6e0bc9 100644 --- a/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl +++ b/modules/wkroomsearchblock/views/templates/hook/searchForm.tpl @@ -40,7 +40,7 @@ -
+