From 5c087d0e5acef99981df681dee1f4f0512ce9f3b Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 7 Nov 2012 23:33:21 +0000 Subject: [PATCH] Editor: fix position of the resize handle in Text mode in RTL (also some minor css cleanup), see #21718 git-svn-id: http://core.svn.wordpress.org/trunk@22458 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/colors-classic.css | 4 ++-- wp-admin/css/colors-fresh.css | 4 ++-- wp-admin/css/wp-admin-rtl.css | 15 ++++++++++++++- wp-admin/css/wp-admin.css | 8 ++++---- 4 files changed, 22 insertions(+), 9 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 493b6f8220..368ce98ebf 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -2125,12 +2125,12 @@ div.widgets-sortables, .menu-icon-site div.wp-menu-image, .icon16.icon-generic, .menu-icon-generic div.wp-menu-image { - background-image: url(../images/menu-vs-2x.png?ver=20121105); + background-image: url('../images/menu-vs-2x.png?ver=20121105'); background-size: 390px 64px; } #header-logo { - background-image: url("../images/wp-logo-vs-2x.png?ver=20120916"); + background-image: url('../images/wp-logo-vs-2x.png?ver=20120916'); background-size: 16px auto; } diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index f84f38fb26..ab148cd608 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -2004,12 +2004,12 @@ div.widgets-sortables, .menu-icon-site div.wp-menu-image, .icon16.icon-generic, .menu-icon-generic div.wp-menu-image { - background-image: url(../images/menu-2x.png?ver=20121105); + background-image: url('../images/menu-2x.png?ver=20121105'); background-size: 390px 64px; } #header-logo { - background-image: url("../images/wp-logo-2x.png?ver=20120916"); + background-image: url('../images/wp-logo-2x.png?ver=20120916'); background-size: 16px auto; } diff --git a/wp-admin/css/wp-admin-rtl.css b/wp-admin/css/wp-admin-rtl.css index e8c435081f..d768b8ec02 100644 --- a/wp-admin/css/wp-admin-rtl.css +++ b/wp-admin/css/wp-admin-rtl.css @@ -859,7 +859,7 @@ th.sorted a span { } #post-body .wp_themeSkin .mceStatusbar a.mceResize { - background: transparent url(../images/resize-rtl.gif) no-repeat scroll left bottom; + background: transparent url('../images/resize-rtl.gif') no-repeat scroll left bottom; cursor: sw-resize; } @@ -1510,6 +1510,7 @@ table .column-rating { padding-left: 0; padding-right: 5px; } + #editorcontainer .wp_themeSkin .mceStatusbar div { float: right; } @@ -1518,6 +1519,13 @@ table .column-rating { float: left; } +#content-resize-handle { + background: transparent url('../images/resize-rtl.gif') no-repeat scroll left bottom; + right: auto; + left: 2px; + cursor: sw-resize; +} + /*------------------------------------------------------------------------------ 26.0 - Full Overlay w/ Sidebar ------------------------------------------------------------------------------*/ @@ -2395,6 +2403,11 @@ div.sidebar-name h3 { background: url('../images/stars-rtl-2x.png') repeat-x top right; background-size: 21px 37px; } + + #post-body .wp_themeSkin .mceStatusbar a.mceResize, + #content-resize-handle { + background: transparent url('../images/resize-rtl-2x.gif') no-repeat scroll left bottom; + } } /* =Localized CSS diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index f7fa4b2f64..fae17648c0 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -2563,7 +2563,7 @@ table.fixed { height: 4px; margin-top: 8px; margin-left: 7px; - background-image: url(../images/sort.gif); + background-image: url('../images/sort.gif'); background-repeat: no-repeat; } @@ -3301,7 +3301,7 @@ td.plugin-title p { #post-body .wp_themeSkin .mceStatusbar a.mceResize { display: block; - background: transparent url(../images/resize.gif) no-repeat scroll right bottom; + background: transparent url('../images/resize.gif') no-repeat scroll right bottom; width: 12px; cursor: se-resize; margin: 0 1px; @@ -3314,7 +3314,7 @@ td.plugin-title p { } #content-resize-handle { - background: transparent url(../images/resize.gif) no-repeat scroll right bottom; + background: transparent url('../images/resize.gif') no-repeat scroll right bottom; width: 12px; cursor: se-resize; position: absolute; @@ -8439,7 +8439,7 @@ a.widget-control-edit { .widget-top a.widget-action:hover { background-image: url('../images/arrows-dark-2x.png'); background-size: 15px 123px; - } + } .post-com-count { background-image: url('../images/bubble_bg-2x.gif');