mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 09:55:33 +02:00
Accessibility: .calendar-controls now div and span, not <table>
This commit is contained in:
parent
d9a976cc39
commit
00e648c100
@ -240,6 +240,9 @@ form.popupform {
|
||||
position:absolute;
|
||||
left:-10000px;
|
||||
}
|
||||
.hide {
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
/***
|
||||
@ -765,24 +768,32 @@ table.minicalendar th {
|
||||
padding-bottom:2px;
|
||||
}
|
||||
|
||||
table.calendar-controls {
|
||||
/*Accessibility: controls now div and span, 20:58:20% or 12:74:12% */
|
||||
.calendar-controls {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.calendar-controls .previous,
|
||||
table.calendar-controls .next
|
||||
.calendar-controls .previous,
|
||||
.calendar-controls .next
|
||||
{
|
||||
width: 12%;
|
||||
}
|
||||
table.calendar-controls .previous {
|
||||
.calendar-controls .previous {
|
||||
text-align: left;
|
||||
}
|
||||
table.calendar-controls .current {
|
||||
.calendar-controls .current {
|
||||
text-align: center;
|
||||
}
|
||||
table.calendar-controls .next {
|
||||
.calendar-controls .next {
|
||||
text-align: right;
|
||||
}
|
||||
span.previous, span.current, span.next {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
span.current {
|
||||
width: 76%;
|
||||
}
|
||||
|
||||
#calendar .maincalendar .calendar-controls .previous,
|
||||
#calendar .maincalendar .calendar-controls .next
|
||||
|
Loading…
x
Reference in New Issue
Block a user