mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-11 09:26:37 +08:00
fixed hound
This commit is contained in:
parent
22a565a684
commit
07757e382a
2 changed files with 15 additions and 14 deletions
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue