From bab3a29a8ef41bd195cca0171fb6c100d76372db Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 6 Dec 2013 18:34:05 +0000 Subject: [PATCH] Add back CSS rules for RTL resize handles. Disable CSSJanus' swapLtrRtlInUrl option, as we currently don't use it otherwise (and it breaks this if left on). props ocean90. fixes #26449. git-svn-id: https://develop.svn.wordpress.org/trunk@26731 602fd350-edb4-49c9-b593-d223f7449a82 --- Gruntfile.js | 3 +++ src/wp-admin/css/wp-admin.css | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 2a3323dd8c..9e7a4246e4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -124,6 +124,9 @@ module.exports = function(grunt) { }, cssjanus: { core: { + options: { + swapLtrRtlInUrl: false + }, expand: true, cwd: SOURCE_DIR, dest: BUILD_DIR, diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 4c1be298f9..76266f2769 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -4326,6 +4326,11 @@ td.plugin-title p { cursor: se-resize; } +.rtl #content-resize-handle, +.rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize { + background: transparent url('../images/resize-rtl.gif') no-repeat scroll right bottom; +} + #post-body .wp_themeSkin .mceStatusbar a.mceResize { bottom: 3px; position: absolute; @@ -11428,6 +11433,11 @@ li#wp-admin-bar-menu-toggle { background-size: 11px 11px; } + .rtl #content-resize-handle, + .rtl #post-body .wp_themeSkin .mceStatusbar a.mceResize { + background: transparent url('../images/resize-rtl-2x.gif') no-repeat scroll right bottom; + } + /* Back-compat for pre-3.8 */ div.star-holder { background: url('../images/stars-2x.png?ver=20121108') repeat-x bottom left;