mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-03 07:47:18 +00:00
70 lines
1.5 KiB
SCSS
70 lines
1.5 KiB
SCSS
#{$calendar-prefix}[dir='rtl'] {
|
|
#{$calendar-prefix} {
|
|
&-header {
|
|
text-align: left;
|
|
|
|
#{$calendar-select-prefix} {
|
|
margin-right: 0;
|
|
margin-left: $s-1;
|
|
}
|
|
|
|
#{$calendar-menu-prefix} {
|
|
text-align: right;
|
|
}
|
|
}
|
|
&-btn-prev-decade,
|
|
&-btn-prev-year {
|
|
left: auto;
|
|
right: $calendar-btn-arrow-double-offset-lr;
|
|
}
|
|
|
|
&-btn-prev-month {
|
|
left: auto;
|
|
right: $calendar-btn-arrow-single-offset-lr;
|
|
}
|
|
|
|
&-btn-next-month {
|
|
right: auto;
|
|
left: $calendar-btn-arrow-single-offset-lr;
|
|
}
|
|
|
|
&-btn-next-year,
|
|
&-btn-next-decade {
|
|
right: auto;
|
|
left: $calendar-btn-arrow-double-offset-lr;
|
|
}
|
|
}
|
|
}
|
|
|
|
#{$calendar-prefix}-fullscreen[dir='rtl'] {
|
|
#{$calendar-prefix} {
|
|
&-th {
|
|
text-align: left;
|
|
padding-left: $calendar-fullscreen-table-head-padding-r;
|
|
padding-right: 0;
|
|
}
|
|
&-date,
|
|
&-month {
|
|
text-align: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
#{$calendar-prefix}-range[dir='rtl'] {
|
|
#{$calendar-prefix} {
|
|
&-body-left, &-body-right {
|
|
float: right;
|
|
}
|
|
|
|
&-body-left {
|
|
padding-right: 0;
|
|
padding-left: $s-2;
|
|
}
|
|
|
|
&-body-right {
|
|
padding-left: 0;
|
|
padding-right: $s-2;
|
|
}
|
|
}
|
|
}
|