diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-11-17 22:32:25 -0700 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-11-17 22:32:25 -0700 |
commit | 3aa7a3fcdac3b05f3139f933d470fe9e08bfe922 (patch) | |
tree | 69877ded5a022ac236407f952bf1ae0344cb8fdc | |
parent | d2752775fa734b1f54dfe40b1f06a0c55b806d3a (diff) |
Address RTL issues reported in ticket #869. Placement of checkboxes and radio buttons and sidebar block management lists.
-rw-r--r-- | lib/gallery.common.css | 13 | ||||
-rw-r--r-- | modules/gallery/css/gallery.css | 10 | ||||
-rw-r--r-- | 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 @@ <div class="g-block-content"> <div id="g-site-blocks" ref="<?= url::site("admin/sidebar/update?csrf={$csrf}__ACTIVE__") ?>"> - <div class="g-admin-blocks-list"> - <div><h3><?= t("Available blocks") ?></h3></div> + <div class="g-admin-blocks-list g-left"> + <h3><?= t("Available blocks") ?></h3> <div> <ul id="g-available-blocks" class="g-sortable-blocks"> <?= $available ?> </ul> </div> </div> - <div class="g-admin-blocks-list"> - <div><h3><?= t("Active blocks") ?></h3></div> + <div class="g-admin-blocks-list g-left"> + <h3><?= t("Active blocks") ?></h3> <div> <ul id="g-active-blocks" class="g-sortable-blocks"> <?= $active ?> |