mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 16:26:03 +01:00
Show elements titles using jQuery UI tooltips (#31441).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18260 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -934,6 +934,17 @@ function setupAttachmentDetail() {
|
|||||||
$(window).resize(setFilecontentContainerHeight);
|
$(window).resize(setFilecontentContainerHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(function () {
|
||||||
|
$('[title]').tooltip({
|
||||||
|
show: {
|
||||||
|
delay: 400
|
||||||
|
},
|
||||||
|
position: {
|
||||||
|
my: "center bottom-5",
|
||||||
|
at: "center top"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
$(document).ready(setupAjaxIndicator);
|
$(document).ready(setupAjaxIndicator);
|
||||||
$(document).ready(hideOnLoad);
|
$(document).ready(hideOnLoad);
|
||||||
$(document).ready(addFormObserversForDoubleSubmit);
|
$(document).ready(addFormObserversForDoubleSubmit);
|
||||||
|
|||||||
@@ -1405,6 +1405,16 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
|
|||||||
color: #1D781D;
|
color: #1D781D;
|
||||||
border: 1px solid #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 *****/
|
/***** Icons *****/
|
||||||
.icon {
|
.icon {
|
||||||
background-position: 0% 50%;
|
background-position: 0% 50%;
|
||||||
|
|||||||
Reference in New Issue
Block a user