From c6c3d44a09bfd9791474b3ff9a5578d5bbaf28a2 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Fri, 2 Aug 2024 13:29:45 +0530 Subject: [PATCH 1/7] Fixed the design issues on the rtl languages and updated the done button design for occupancy blocks --- modules/wkroomsearchblock/views/css/chosen.css | 6 ++++++ .../views/css/wk-global-search.css | 11 ++++++----- .../views/templates/hook/searchForm.tpl | 6 +++--- .../_partials/occupancy_field.tpl | 4 ++-- themes/hotel-reservation-theme/css/occupancy.css | 14 +++++++++++--- 5 files changed, 28 insertions(+), 13 deletions(-) diff --git a/modules/wkroomsearchblock/views/css/chosen.css b/modules/wkroomsearchblock/views/css/chosen.css index 779c5e4c7..eba0b2181 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%; } 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 @@ -
+