summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-07-13 13:32:01 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-07-13 13:32:01 (GMT)
commitb7d7d4513180941818cd0f70de2c941d3c551aac (patch)
tree6d6bf827e38d910f66827fc60af6d20ad7f3d026
parent71bd7c8ae625542346c29f5580106adb5d1852eb (diff)
downloadroundcubemail-plugins-kolab-b7d7d4513180941818cd0f70de2c941d3c551aac.tar.gz
Improve inivitations sending checkbox header with accessibility label and better icon (#1790) + fix attendee table styles in classic skin
-rw-r--r--plugins/calendar/lib/calendar_ui.php3
-rw-r--r--plugins/calendar/skins/classic/calendar.css23
-rw-r--r--plugins/calendar/skins/larry/calendar.css18
-rw-r--r--plugins/calendar/skins/larry/images/sendinvitation.pngbin0 -> 1273 bytes
4 files changed, 37 insertions, 7 deletions
diff --git a/plugins/calendar/lib/calendar_ui.php b/plugins/calendar/lib/calendar_ui.php
index 4d03299..6e165ca 100644
--- a/plugins/calendar/lib/calendar_ui.php
+++ b/plugins/calendar/lib/calendar_ui.php
@@ -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', '');
diff --git a/plugins/calendar/skins/classic/calendar.css b/plugins/calendar/skins/classic/calendar.css
index 880b3b4..2855635 100644
--- a/plugins/calendar/skins/classic/calendar.css
+++ b/plugins/calendar/skins/classic/calendar.css
@@ -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;
}
diff --git a/plugins/calendar/skins/larry/calendar.css b/plugins/calendar/skins/larry/calendar.css
index 71f8350..9546a13 100644
--- a/plugins/calendar/skins/larry/calendar.css
+++ b/plugins/calendar/skins/larry/calendar.css
@@ -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,
diff --git a/plugins/calendar/skins/larry/images/sendinvitation.png b/plugins/calendar/skins/larry/images/sendinvitation.png
new file mode 100644
index 0000000..ecdaa09
--- /dev/null
+++ b/plugins/calendar/skins/larry/images/sendinvitation.png
Binary files differ