diff --git a/application/views/bandmap/list.php b/application/views/bandmap/list.php index e68f19586..14888b435 100644 --- a/application/views/bandmap/list.php +++ b/application/views/bandmap/list.php @@ -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; diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index b07c23dc5..7652b921a 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -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();