1 | #{$calendar-prefix}[dir="rtl"] {
|
2 | #{$calendar-prefix} {
|
3 | &-header {
|
4 | text-align: left;
|
5 |
|
6 | #{$calendar-select-prefix} {
|
7 | margin-right: 0;
|
8 | margin-left: $s-1;
|
9 | }
|
10 |
|
11 | #{$calendar-menu-prefix} {
|
12 | text-align: right;
|
13 | }
|
14 | }
|
15 | &-btn-prev-decade,
|
16 | &-btn-prev-year {
|
17 | left: auto;
|
18 | right: $calendar-btn-arrow-double-offset-lr;
|
19 | }
|
20 |
|
21 | &-btn-prev-month {
|
22 | left: auto;
|
23 | right: $calendar-btn-arrow-single-offset-lr;
|
24 | }
|
25 |
|
26 | &-btn-next-month {
|
27 | right: auto;
|
28 | left: $calendar-btn-arrow-single-offset-lr;
|
29 | }
|
30 |
|
31 | &-btn-next-year,
|
32 | &-btn-next-decade {
|
33 | right: auto;
|
34 | left: $calendar-btn-arrow-double-offset-lr;
|
35 | }
|
36 | }
|
37 | }
|
38 |
|
39 | #{$calendar-prefix}-fullscreen[dir="rtl"] {
|
40 | #{$calendar-prefix} {
|
41 | &-th {
|
42 | text-align: left;
|
43 | padding-left: $calendar-fullscreen-table-head-padding-r;
|
44 | padding-right: 0;
|
45 | }
|
46 | &-date,
|
47 | &-month {
|
48 | text-align: left;
|
49 | }
|
50 | }
|
51 | }
|
52 |
|
53 | #{$calendar-prefix}-range[dir="rtl"] {
|
54 | #{$calendar-prefix} {
|
55 | &-body-left,
|
56 | &-body-right {
|
57 | float: right;
|
58 | }
|
59 |
|
60 | &-body-left {
|
61 | padding-right: 0;
|
62 | padding-left: $s-2;
|
63 | }
|
64 |
|
65 | &-body-right {
|
66 | padding-left: 0;
|
67 | padding-right: $s-2;
|
68 | }
|
69 | }
|
70 | }
|