From 6e4bb1ab4a2ffe37d1dd595f69eaa700d3786c02 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 1 May 2014 04:33:15 +0000 Subject: [PATCH] Support RTL properly when displaying playlists. Merges [28173] to the 3.9 branch. props SergeyBiryukov. fixes #27924. Built from https://develop.svn.wordpress.org/branches/3.9@28230 git-svn-id: http://core.svn.wordpress.org/branches/3.9@28058 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/mediaelement/wp-mediaelement.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wp-includes/js/mediaelement/wp-mediaelement.css b/wp-includes/js/mediaelement/wp-mediaelement.css index d78f5ee2a1..f241a0dc7e 100644 --- a/wp-includes/js/mediaelement/wp-mediaelement.css +++ b/wp-includes/js/mediaelement/wp-mediaelement.css @@ -146,6 +146,11 @@ line-height: 1.5; } +.rtl .wp-playlist-item-length { + left: 3px; + right: auto; +} + .wp-playlist-tracks { margin-top: 10px; } @@ -199,6 +204,12 @@ border: 0; } +.rtl .wp-playlist .wp-playlist-current-item img { + float: right; + margin-left: 10px; + margin-right: 0; +} + .wp-playlist-current-item .wp-playlist-item-title, .wp-playlist-current-item .wp-playlist-item-artist { overflow: hidden;