38 lines
610 B
Text
38 lines
610 B
Text
/*!
|
||
* Styling for RTL (right-to-left) languages using pickadate.js
|
||
*/
|
||
|
||
@import "_variables.less";
|
||
|
||
|
||
/**
|
||
* Switch the direction - only really necessary if
|
||
* it hasn’t 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;
|
||
}
|
||
|
||
|
||
|