diff --git a/src/calendar/assets/calendar-base/skins/night/calendar-base-skin.css b/src/calendar/assets/calendar-base/skins/night/calendar-base-skin.css index 84baba04739..cc7e896d26c 100644 --- a/src/calendar/assets/calendar-base/skins/night/calendar-base-skin.css +++ b/src/calendar/assets/calendar-base/skins/night/calendar-base-skin.css @@ -75,6 +75,18 @@ margin-right:1em; } +[dir="rtl"] .yui3-skin-night .yui3-calendar-left-grid, +.yui3-skin-night [dir="rtl"] .yui3-calendar-left-grid { + margin-right: auto; + margin-left: 1em; +} + .yui3-skin-sam .yui3-calendar-right-grid { margin-left:1em; } + +[dir="rtl"] .yui3-skin-night .yui3-calendar-right-grid, +.yui3-skin-night [dir="rtl"] .yui3-calendar-right-grid { + margin-left: auto; + margin-right: 1em; +} diff --git a/src/calendar/assets/calendar-base/skins/sam/calendar-base-skin.css b/src/calendar/assets/calendar-base/skins/sam/calendar-base-skin.css index 2c7a03b8412..2dc4382d04e 100644 --- a/src/calendar/assets/calendar-base/skins/sam/calendar-base-skin.css +++ b/src/calendar/assets/calendar-base/skins/sam/calendar-base-skin.css @@ -73,10 +73,22 @@ margin-right:1em; } +[dir="rtl"] .yui3-skin-sam .yui3-calendar-left-grid, +.yui3-skin-sam [dir="rtl"] .yui3-calendar-left-grid { + margin-right: auto; + margin-left: 1em; +} + .yui3-skin-sam .yui3-calendar-right-grid { margin-left:1em; } +[dir="rtl"] .yui3-skin-sam .yui3-calendar-right-grid, +.yui3-skin-sam [dir="rtl"] .yui3-calendar-right-grid { + margin-left: auto; + margin-right: 1em; +} + .yui3-skin-sam .yui3-calendar-day-highlighted { background-color: #DCDEF5; }