aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorCa-Phun Ung <pazu2k@gmail.com>2008-12-20 20:20:33 +0000
committerCa-Phun Ung <pazu2k@gmail.com>2008-12-20 20:20:33 +0000
commit0a716a008e9e0d36f9eec7a37015fb17f08f7ced (patch)
treef0da868f2e19b7073fcdd19a9dc384de6056214c /themes
parentd4f48ededf63eefc0fd2ebddfdac1dd22248a0f3 (diff)
downloadjquery-ui-0a716a008e9e0d36f9eec7a37015fb17f08f7ced.tar.gz
jquery-ui-0a716a008e9e0d36f9eec7a37015fb17f08f7ced.zip
Datepicker #3647: fixed RTL support for new UI markup.
Diffstat (limited to 'themes')
-rw-r--r--themes/base/ui.datepicker.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/themes/base/ui.datepicker.css b/themes/base/ui.datepicker.css
index bfb3fb57c..4df2e7e2a 100644
--- a/themes/base/ui.datepicker.css
+++ b/themes/base/ui.datepicker.css
@@ -32,4 +32,12 @@
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left:0; }
-.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } \ No newline at end of file
+.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
+
+/* RTL support */
+.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
+.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
+.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } \ No newline at end of file