From 7afd6ce8b4ca73db39194f6c86c02213daf5ab50 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Fri, 6 Dec 2013 07:20:25 +0000 Subject: [PATCH] Correct the direction of arrow icons when comparing revisions in RTL. Fixes #26439, props adamsilverstein. git-svn-id: https://develop.svn.wordpress.org/trunk@26717 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index fec851b129..0f36380e3a 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -4981,6 +4981,10 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { margin-left: -10px; } +.rtl div.revisions-controls > .wp-slider > .ui-slider-handle { + margin-right: -10px; +} + /* jQuery UI Slider */ .wp-slider.ui-slider { position: relative; @@ -5026,6 +5030,15 @@ div.revisions-controls > .wp-slider > .ui-slider-handle { content: '\f141'; } +.rtl .wp-slider .ui-slider-handle.from-handle:before { + content: '\f141'; +} + +.rtl .wp-slider .ui-slider-handle.to-handle:before { + content: '\f139'; + right: -1px; +} + .wp-slider .ui-slider-range { position: absolute; font-size: .7em; @@ -13014,7 +13027,7 @@ li#wp-admin-bar-menu-toggle { height: 100%; z-index: 400; } - + /* Keep the close icon from overlapping the Welcome text. */ .welcome-panel .welcome-panel-close { overflow: hidden;