summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-11-17 22:32:25 -0700
committerChad Kieffer <ckieffer@gmail.com>2009-11-17 22:32:25 -0700
commit3aa7a3fcdac3b05f3139f933d470fe9e08bfe922 (patch)
tree69877ded5a022ac236407f952bf1ae0344cb8fdc /modules
parentd2752775fa734b1f54dfe40b1f06a0c55b806d3a (diff)
Address RTL issues reported in ticket #869. Placement of checkboxes and radio buttons and sidebar block management lists.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/css/gallery.css10
-rw-r--r--modules/gallery/views/admin_sidebar.html.php8
2 files changed, 14 insertions, 4 deletions
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 ?>