Skip to content

Commit

Permalink
Slideshows: arrows must point in the right direction for all lang (#1…
Browse files Browse the repository at this point in the history
…0163)

* 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
  • Loading branch information
jeherve authored and kraftbj committed Sep 19, 2018
1 parent ffe86ce commit 3c8f25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shortcodes/css/slideshow-shortcode.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ body div.slideshow-window * img {
text-align: center;
}

/* @noflip */
.slideshow-controls {
z-index: 1000;
position: absolute;
Expand All @@ -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;
Expand Down

0 comments on commit 3c8f25f

Please sign in to comment.