Fixed admin CSS for calendar widget for RTL languages.

Thanks Theodore Ni and Shai Berger for reviews.
This commit is contained in:
ahmadekhalili 2021-12-05 10:27:52 +03:30 committed by Mariusz Felisiak
parent 882647a82c
commit bf7afe9c4e
1 changed files with 12 additions and 0 deletions

View File

@ -175,12 +175,24 @@ fieldset .fieldBox {
top: 0; top: 0;
left: auto; left: auto;
right: 10px; right: 10px;
background: url(../img/calendar-icons.svg) 0 -30px no-repeat;
}
.calendarbox .calendarnav-previous:focus,
.calendarbox .calendarnav-previous:hover {
background-position: 0 -45px;
} }
.calendarnav-next { .calendarnav-next {
top: 0; top: 0;
right: auto; right: auto;
left: 10px; left: 10px;
background: url(../img/calendar-icons.svg) 0 0 no-repeat;
}
.calendarbox .calendarnav-next:focus,
.calendarbox .calendarnav-next:hover {
background-position: 0 -15px;
} }
.calendar caption, .calendarbox h2 { .calendar caption, .calendarbox h2 {