From 1a877b971cf130f3fb4923132b001db9c8c33a69 Mon Sep 17 00:00:00 2001 From: otrok7 <50595291+otrok7@users.noreply.github.com> Date: Fri, 28 Jun 2024 21:41:24 +0200 Subject: [PATCH] css-direction --- croutonjs/src/css/bmlt_tabs.css | 27 +++++++++++++++++++ croutonjs/src/js/crouton-core.js | 2 +- croutonjs/src/js/crouton-default-templates.js | 2 +- croutonjs/src/js/crouton-localization.js | 11 ++++---- croutonjs/src/templates/byday.hbs | 2 +- croutonjs/src/templates/byfield.hbs | 2 +- croutonjs/src/templates/formatPopup.hbs | 2 +- croutonjs/src/templates/header.hbs | 4 +-- croutonjs/src/templates/main.hbs | 12 ++++----- croutonjs/src/templates/mapMenu.hbs | 4 +-- croutonjs/src/templates/weekdays.hbs | 2 +- partials/default_meeting_details.html | 2 +- 12 files changed, 50 insertions(+), 22 deletions(-) diff --git a/croutonjs/src/css/bmlt_tabs.css b/croutonjs/src/css/bmlt_tabs.css index 92faefbe..f6f43997 100644 --- a/croutonjs/src/css/bmlt_tabs.css +++ b/croutonjs/src/css/bmlt_tabs.css @@ -634,3 +634,30 @@ table.tablesaw { #meeting-details-title { font-size: 1.5em; } +.bmlt-rtl { + direction: rtl; +} +#bmlt-header.bmlt-rtl { + text-align:right; +} +#nav-days.bmlt-rtl { + float:right; +} +#nav-days.bmlt-rtl li { + float:right; +} +#bmlt-tabs .bmlt-rtl .bmlt-column1 { + text-align: right; +} +#bmlt-tabs .bmlt-rtl .bmlt-column2 { + text-align: right; +} +.bmlt-rtl .marker_div_meeting { + text-align: right !important; +} +.bmlt-rtl #meeting-details-title { + text-align: right; +} +.bmlt-rtl #meeting-details-contents td { + text-align: right !important; +} \ No newline at end of file diff --git a/croutonjs/src/js/crouton-core.js b/croutonjs/src/js/crouton-core.js index a14d8400..c95b0113 100644 --- a/croutonjs/src/js/crouton-core.js +++ b/croutonjs/src/js/crouton-core.js @@ -888,7 +888,7 @@ function Crouton(config) { }; self.createBmltMapElement = function() { if (!document.getElementById('bmlt-map')) { - jQuery("#bmlt-tabs").before("
"); + jQuery("#bmlt-tabs").before(""); } return 'bmlt-map'; } diff --git a/croutonjs/src/js/crouton-default-templates.js b/croutonjs/src/js/crouton-default-templates.js index c7ced6b1..7ea5e90f 100644 --- a/croutonjs/src/js/crouton-default-templates.js +++ b/croutonjs/src/js/crouton-default-templates.js @@ -72,7 +72,7 @@ var croutonDefaultTemplates = {