Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-07-20 16:23:14 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-07-20 16:23:14 +0300
commitdf8c28f907a536196685e3408a03952d45f79664 (patch)
tree8ccdc73581789f9b68b483fde56536f926d6a356 /themes
parentf2426204fe913caa6d01529728b670ed043f5c62 (diff)
Support rtl languages in jQuery dialog
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'themes')
-rw-r--r--themes/original/css/common.css.php15
-rw-r--r--themes/pmahomme/css/common.css.php15
2 files changed, 30 insertions, 0 deletions
diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php
index c2762430bc..ee35492e44 100644
--- a/themes/original/css/common.css.php
+++ b/themes/original/css/common.css.php
@@ -3202,6 +3202,21 @@ th.headerSortDown .sorticon, th.headerSortUp:hover .sorticon {
}
/* end of styles of sortable tables */
+/* styles for jQuery-ui to support rtl languages */
+body .ui-dialog .ui-dialog-titlebar-close {
+ <?php echo $right; ?>: .3em;
+ <?php echo $left; ?>: initial;
+}
+
+body .ui-dialog .ui-dialog-title {
+ float: <?php echo $left; ?>;
+}
+
+body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
+ float: <?php echo $right; ?>;
+}
+/* end of styles for jQuery-ui to support rtl languages */
+
/* Override some jQuery-ui styling to have square corners */
body .ui-corner-all,
body .ui-corner-top,
diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php
index a0eb27c06f..f1c53835a4 100644
--- a/themes/pmahomme/css/common.css.php
+++ b/themes/pmahomme/css/common.css.php
@@ -3524,3 +3524,18 @@ th.headerSortDown .sorticon, th.headerSortUp:hover .sorticon {
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('s_asc.png');?>);
}
/* end of styles of sortable tables */
+
+/* styles for jQuery-ui to support rtl languages */
+body .ui-dialog .ui-dialog-titlebar-close {
+ <?php echo $right; ?>: .3em;
+ <?php echo $left; ?>: initial;
+}
+
+body .ui-dialog .ui-dialog-title {
+ float: <?php echo $left; ?>;
+}
+
+body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
+ float: <?php echo $right; ?>;
+}
+/* end of styles for jQuery-ui to support rtl languages */ \ No newline at end of file