summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-01-19 11:27:52 (GMT)
committerAlex Pott2015-01-19 11:27:52 (GMT)
commit17bf38b9d23604f62e69f9d7f883e0e709d2ec69 (patch)
treeb57b1da9d28b381a513fb7828f031b304c916c36
parentfd90b0b9424429f1f040c636c56ac89e7e611068 (diff)
Issue #2409197 by balagan, idebr, vacho: Add missing RTL css for the Tour dialog
-rw-r--r--core/modules/tour/css/tour.module.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/core/modules/tour/css/tour.module.css b/core/modules/tour/css/tour.module.css
index eef5301..6112b48 100644
--- a/core/modules/tour/css/tour.module.css
+++ b/core/modules/tour/css/tour.module.css
@@ -60,13 +60,20 @@
z-index: 101;
top: 0; /* keeps the page from scrolling when calculating position. */
left: 0;
- padding: 1em 1em 1.5em 1.5em;
+ padding: 1em 1em 1.5em 1.5em; /* LTR */
+}
+[dir="rtl"] .joyride-tip-guide {
+ padding: 1em 1.5em 1.5em 1em;
}
.joyride-content-wrapper {
/* Apply padding from parent .joyride-tip-guide to absolutely positioned children. */
position: relative;
- padding-right: 1em;
+ padding-right: 1em; /* LTR */
+}
+[dir="rtl"] .joyride-content-wrapper {
+ padding-right: 0;
+ padding-left: 1em;
}
/* Mobile */
@@ -140,6 +147,7 @@
}
[dir="rtl"] .joyride-close-tip {
left: 0;
+ right: auto;
}
.joyride-modal-bg {