From a011f7f4b0c8a76f2689cb181336e6cdc7ebb247 Mon Sep 17 00:00:00 2001 From: koopersmith Date: Wed, 18 Apr 2012 19:28:36 +0000 Subject: [PATCH] RTL styles for theme browsing. props ocean90, fixes #20391, see #20403. git-svn-id: http://svn.automattic.com/wordpress/trunk@20514 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/wp-admin-rtl.dev.css | 80 +++++++++++++++++++++++++++++-- wp-admin/css/wp-admin.dev.css | 2 +- 2 files changed, 78 insertions(+), 4 deletions(-) diff --git a/wp-admin/css/wp-admin-rtl.dev.css b/wp-admin/css/wp-admin-rtl.dev.css index a0e42ddcd6..4039b1736e 100644 --- a/wp-admin/css/wp-admin-rtl.dev.css +++ b/wp-admin/css/wp-admin-rtl.dev.css @@ -1101,14 +1101,88 @@ form.upgrade .hint { 16.0 - Themes ------------------------------------------------------------------------------*/ -td.available-theme { - text-align: right; +h3.available-themes { + float: right; +} + +.available-theme { + margin-right: 0; + margin-left: 10px; + padding: 20px 0 20px 20px; +} + +#current-theme .theme-info li, +.theme-options li, +.available-theme .action-links li { + float: right; + padding-right: 0; + padding-left: 10px; + margin-right: 0; + margin-left: 10px; + border-right: none; + border-left: 1px solid #dfdfdf; +} + +#current-theme .theme-info li:last-child, +.theme-options li:last-child, +.available-theme .action-links li:last-child { + padding-left: 0; + margin-right: 0; + border-left: 0; +} + +.available-theme .action-links .delete-theme { + float: left; + margin-left: 0; +} + +.available-theme .action-links p { + float: right; +} + +#current-theme.has-screenshot { + padding-left: 0; + padding-right: 330px; +} + +#current-theme h4 span { + margin-left: 0; + margin-right: 20px; } #current-theme img { float: right; + width: 300px; + margin-left: 0; + margin-right: -330px; +} + +.theme-options .load-customize { margin-right: 0; - margin-left: 1em; + margin-left: 30px; + float: right; +} + +.theme-options span { + float: right; + margin-right: 0; + margin-left: 10px; +} + +.theme-options ul { + float: right; +} + +/* Allow for three-up on 1024px wide screens, e.g. tablets */ +@media only screen and (max-width: 1200px) { + #current-theme.has-screenshot { + padding-right: 270px; + } + + #current-theme img { + margin-right: -270px; + width: 240px; + } } #broken-themes { diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index f41dd4b243..5e840b659c 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -4271,7 +4271,7 @@ span.imgedit-scale-warn { ------------------------------------------------------------------------------*/ .theme-install-php .tablenav { - height:auto; + height: auto; } h3.available-themes {