fixed hound

This commit is contained in:
Zanz2 2018-09-14 13:43:31 +02:00
parent 22a565a684
commit 07757e382a
2 changed files with 15 additions and 14 deletions

View file

@ -45,17 +45,17 @@
setTimeout(function() { setTimeout(function() {
if ($(obj).hover().length > 0) { if ($(obj).hover().length > 0) {
$(obj).popover("show"); $(obj).popover("show");
$(".tooltip_" + i + "_window").removeClass("tooltip_enter"); $(".tooltip_" + i + "_window").removeClass("tooltip-enter");
var top = $(obj).offset().top; var top = $(obj).offset().top;
$('.tooltip_' + i + '_window').css({ $('.tooltip_' + i + '_window').css({
top: (top) + 'px' top: (top) + 'px'
}); });
$(".tooltip_" + i + "_window").off("mouseleave").on("mouseleave", function() { $(".tooltip_" + i + "_window").off("mouseleave").on("mouseleave", function() {
$(".tooltip_" + i + "_window").removeClass("tooltip_enter"); $(".tooltip_" + i + "_window").removeClass("tooltip-enter");
$(obj).popover('hide'); $(obj).popover('hide');
}); });
$(".tooltip_" + i + "_window").off("mouseenter").on("mouseenter", function() { $(".tooltip_" + i + "_window").off("mouseenter").on("mouseenter", function() {
$(".tooltip_" + i + "_window").addClass("tooltip_enter"); $(".tooltip_" + i + "_window").addClass("tooltip-enter");
}); });
} }
}, 1000); }, 1000);

View file

@ -1792,25 +1792,26 @@ th.custom-field .modal-tooltiptext {
cursor: pointer; cursor: pointer;
} }
.tooltip-open{ .tooltip-open {
background-color:$color-lightsilver; background-color: $color-lightsilver;
font-size:$font-size-base;
color: $color-black; color: $color-black;
font-size: $font-size-base;
.popover-footer{ .popover-footer {
position:absolute; background-color: $color-lightgray;
bottom:5px;
right:5px;
background-color:$color-lightgray;
border-radius: 3px; border-radius: 3px;
bottom: 5px;
position: absolute;
right: 5px;
a{ a {
color: $color-darkgray; color: $color-darkgray;
} }
} }
} }
.tooltip_enter{
background-color:$color-darksilver; .tooltip-enter {
background-color: $color-darksilver;
} }
.my_module-state-buttons { .my_module-state-buttons {