MyCo/inc/lib/pickadate/themes-source/rtl.less

39 lines
610 B
Text
Raw Permalink Normal View History

/*!
* Styling for RTL (right-to-left) languages using pickadate.js
*/
@import "_variables.less";
/**
* Switch the direction - only really necessary if
* it hasnt already been applied higher up in the DOM.
*/
.picker {
direction: rtl;
}
/**
* Flip around the “next” and “previous” buttons.
*/
.picker__nav--next {
right: auto;
left: -1em;
}
.picker__nav--prev {
left: auto;
right: -1em;
}
.picker__nav--next:before {
border-left: 0;
border-right: .75em solid @black;
}
.picker__nav--prev:before {
border-right: 0;
border-left: .75em solid @black;
}