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

View file

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