Styling for items that can now be viewed inline

This commit is contained in:
Mike Koch 2017-05-29 21:58:50 -04:00
parent 3b0874db49
commit ad4724ed69
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@
} }
.attachment-table > tbody > tr > td > a > i,
.attachment-table > tbody > tr > td > i, .attachment-table > tbody > tr > td > i,
.dropdown-empty > i { .dropdown-empty > i {
color: #ddd; color: #ddd;

View File

@ -56,7 +56,7 @@ function mfh_listAttachments($attachments = '', $reply = 0, $is_staff)
echo '<i class="fa fa-ban fa-4x" data-toggle="tooltip" title="' . $hesklang['attachment_removed'] . '"></i>'; echo '<i class="fa fa-ban fa-4x" data-toggle="tooltip" title="' . $hesklang['attachment_removed'] . '"></i>';
} else { } else {
echo '<a class="mfp-iframe" data-toggle="lightbox-item" href="https://view.officeapps.live.com/op/embed.aspx?src=' . $path . '"> echo '<a class="mfp-iframe" data-toggle="lightbox-item" href="https://view.officeapps.live.com/op/embed.aspx?src=' . $path . '">
<i class="' . $fontAwesomeIcon . ' fa-4x"></i> <i class="' . $fontAwesomeIcon . ' fa-4x" data-toggle="tooltip" title="' . $hesklang['click_to_preview'] . '"></i>
</a>'; </a>';
} }
} else { } else {