diff --git a/public/javascripts/application.js b/public/javascripts/application.js index cb4d42a..98768e9 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -926,6 +926,20 @@ function setupAttachmentDetail() { $(window).resize(setFilecontentContainerHeight); } +$(function () { + $('[title]').tooltip({ + content: function () { + return $(this).prop('title'); + }, + show: { + delay: 400 + }, + position: { + my: "center bottom-5", + at: "center top" + } + }); +}); $(document).ready(setupAjaxIndicator); $(document).ready(hideOnLoad); $(document).ready(addFormObserversForDoubleSubmit); diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 29750d4..166f928 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1409,6 +1409,16 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { color: #1D781D; border: 1px solid #1D781D; } +/***** Tooltips *****/ +.ui-tooltip { + background: #000; + color: #fff; + font-size: 0.9em; + border-radius: 3px; + border: 0; + box-shadow: none +} + /***** Icons *****/ .icon { background-position: 0% 50%;