From 3aa7a3fcdac3b05f3139f933d470fe9e08bfe922 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 17 Nov 2009 22:32:25 -0700 Subject: Address RTL issues reported in ticket #869. Placement of checkboxes and radio buttons and sidebar block management lists. --- lib/gallery.common.css | 13 ++++++++----- modules/gallery/css/gallery.css | 10 ++++++++++ modules/gallery/views/admin_sidebar.html.php | 8 ++++---- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 77f8dd50..635699c7 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -677,17 +677,20 @@ div#g-action-status { .rtl .g-left, .rtl .g-inline li, -.rtl .g-short-form li, -.rtl form ul ul li, -.rtl input[type="submit"], -.rtl input[type="reset"], .rtl #g-content #g-album-grid .g-item, .rtl .sf-menu li, .rtl .g-breadcrumbs li, .rtl .g-pager li, .rtl .g-buttonset li, .rtl .ui-icon-left .ui-icon, -.rtl input.checkbox { +.rtl .g-short-form li, +.rtl form ul ul li, +.rtl input[type="submit"], +.rtl input[type="reset"], +.rtl input.checkbox, +.rtl input[type=checkbox], +.rtl input.radio, +.rtl input[type=radio] { float: right; } diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index 113f0e09..e06c4dd9 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -4,6 +4,7 @@ * Sheet organization: * 1) End-user * 2) Admin + * 3) Right to left language styles */ /** ******************************************************************* @@ -87,3 +88,12 @@ padding: .5em; margin-bottom: 1em; } + +/** ******************************************************************* + * 3) Right to left language styles + **********************************************************************/ + +.rtl #g-block-admin .g-left { + margin-left: 1em; + margin-right: 0; +} \ No newline at end of file diff --git a/modules/gallery/views/admin_sidebar.html.php b/modules/gallery/views/admin_sidebar.html.php index b394aa19..75499cb0 100644 --- a/modules/gallery/views/admin_sidebar.html.php +++ b/modules/gallery/views/admin_sidebar.html.php @@ -43,16 +43,16 @@
"> -
-

+
+

-
-

+
+

    -- cgit v1.2.3