Merge pull request #3 from HB9HIL/fading_bandlist_not_working

fading does not work
This commit is contained in:
Joerg (DJ7NT)
2024-01-31 15:39:31 +01:00
committed by GitHub
2 changed files with 15 additions and 8 deletions

View File

@@ -14,12 +14,19 @@
content: " kHz";
}
.bandlist {
-webkit-transition: all 15s ease;
-moz-transition: all 15s ease;
-o-transition: all 15s ease;
transition: 15s;
}
.fresh{
-webkit-transition: all 15s ease;
/* -webkit-transition: all 15s ease;
-moz-transition: all 15s ease;
-o-transition: all 15s ease;
transition: all 15s ease;
--bs-table-accent-bg: #5dade2;
-o-transition: all 15s ease; */
transition: all 500ms ease;
--bs-table-bg: #3981b2;
--bs-table-accent-bg: #3981b2;
}
tbody a {
color: inherit;

View File

@@ -100,7 +100,7 @@ $(function() {
}
});
if (!update) { // Sth. Fresh? So highlight
table.rows.add(data).draw().nodes().to$().addClass("fresh table-info");
table.rows.add(data).draw().nodes().to$().addClass("fresh");
} else {
table.rows.add(data).draw();
}
@@ -108,9 +108,9 @@ $(function() {
table.rows.add(data).draw();
}
});
setTimeout(function(){ // Remove Highlights within 15sec
$(".fresh").removeClass("table-info");
},1000);
setTimeout(function(){ // Remove Highlights
$(".fresh").removeClass("fresh");
},10000);
} else {
table.clear();
table.draw();