Improve inivitations sending checkbox header with accessibility label and better icon (#1790) + fix attendee table styles in classic skin

This commit is contained in:
Thomas Bruederli 2014-07-13 15:32:01 +02:00
parent 71bd7c8ae6
commit b7d7d45131
4 changed files with 37 additions and 7 deletions

View file

@ -704,7 +704,8 @@ class calendar_ui
$table->add_header('availability', $this->cal->gettext('availability'));
$table->add_header('confirmstate', $this->cal->gettext('confirmstate'));
if ($invitations) {
$table->add_header(array('class' => 'sendmail', 'title' => $this->cal->gettext('sendinvitations')), $invite->show(1));
$table->add_header(array('class' => 'sendmail', 'title' => $this->cal->gettext('sendinvitations')),
$invite->show(1) . html::label('edit-attendees-invite', $this->cal->gettext('sendinvitations')));
}
$table->add_header('options', '');

View file

@ -806,26 +806,46 @@ td.topalign {
border: 1px solid #ccc;
}
.edit-attendees-table th,
.edit-attendees-table td {
padding: 3px;
border-bottom: 1px solid #ccc;
text-align: left;
}
.edit-attendees-table th.role,
.edit-attendees-table td.role {
width: 8em;
}
.edit-attendees-table th.availability,
.edit-attendees-table th.confirmstate,
.edit-attendees-table td.availability,
.edit-attendees-table td.confirmstate {
width: 4em;
}
.edit-attendees-table th.options,
.edit-attendees-table td.options {
width: 3em;
width: 2em;
text-align: right;
padding-right: 4px;
}
.edit-attendees-table th.sendmail,
.edit-attendees-table td.sendmail {
width: 24px;
padding: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: hidden;
}
#eventedit .edit-attendees-table th.sendmail label {
display: none;
}
.edit-attendees-table th.name,
.edit-attendees-table td.name {
width: auto;
white-space: nowrap;
@ -833,6 +853,7 @@ td.topalign {
text-overflow: ellipsis;
}
.edit-attendees-table thead th,
.edit-attendees-table thead td {
background: url(images/listheader.gif) top left repeat-x #CCC;
}

View file

@ -871,14 +871,22 @@ td.topalign {
.edit-attendees-table th.sendmail,
.edit-attendees-table td.sendmail {
width: 50px;
width: 44px;
padding: 2px;
}
.edit-attendees-table th.sendmail {
background-image: url(../../../../skins/larry/images/buttons.png);
background-position: 20px 4px;
background-repeat: no-repeat;
#eventedit .edit-attendees-table th.sendmail label {
display: inline-block;
position: relative;
top: 4px;
width: 24px;
height: 18px;
min-width: 24px;
padding: 0;
overflow: hidden;
text-indent: -5000px;
white-space: nowrap;
background: url(images/sendinvitation.png) 1px 0 no-repeat;
}
.edit-attendees-table th.name,

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB