From 3c8f25f34b1d145cf52ab98a8da06234b084e800 Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Wed, 19 Sep 2018 23:26:06 +0200 Subject: [PATCH] Slideshows: arrows must point in the right direction for all lang (#10163) * Slideshows: arrows must point in the right direction for all lang Fixes #7384 Explicitely adding a direction to the default css ensures that direction gets flipped in the automatically generated RTL version of the file. * Shortcodes: switch to new syntax to skip autoRTL for slideshow. @see https://rtlcss.com/learn/getting-started/why-rtlcss/#processing-directives --- modules/shortcodes/css/slideshow-shortcode.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shortcodes/css/slideshow-shortcode.css b/modules/shortcodes/css/slideshow-shortcode.css index b91505ea56256..2e416a448befb 100644 --- a/modules/shortcodes/css/slideshow-shortcode.css +++ b/modules/shortcodes/css/slideshow-shortcode.css @@ -85,7 +85,6 @@ body div.slideshow-window * img { text-align: center; } -/* @noflip */ .slideshow-controls { z-index: 1000; position: absolute; @@ -95,6 +94,7 @@ body div.slideshow-window * img { width: 100%; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; opacity: 0.5; + /*rtl:ignore*/ direction:ltr; -webkit-transition: 300ms opacity ease-out; -moz-transition: 300ms opacity ease-out;