diff options
author | Ca-Phun Ung <pazu2k@gmail.com> | 2008-12-22 20:24:27 +0000 |
---|---|---|
committer | Ca-Phun Ung <pazu2k@gmail.com> | 2008-12-22 20:24:27 +0000 |
commit | 0339770320d2a662652652844afea6bc8213378e (patch) | |
tree | cc781a4f207d3f50e7472da8a864a07f0603d32e /themes | |
parent | 2f436836e7377aa7aa5c77ab85880613f8ac3d5b (diff) | |
download | jquery-ui-0339770320d2a662652652844afea6bc8213378e.tar.gz jquery-ui-0339770320d2a662652652844afea6bc8213378e.zip |
Datepicker #3647: Added RTL support to the datepicker theme and reverted markup changes for RTL in r1196 for better semantics.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/ui.datepicker.css | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/themes/base/ui.datepicker.css b/themes/base/ui.datepicker.css index 71304af6b..dd0ab1cbd 100644 --- a/themes/base/ui.datepicker.css +++ b/themes/base/ui.datepicker.css @@ -29,14 +29,19 @@ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } .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-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } /* RTL support */ +.ui-datepicker-rtl { direction: rtl; } .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 { clear:right; } .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 +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
\ No newline at end of file |