Changed onair animation
This commit is contained in:
@@ -113,17 +113,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<style>
|
||||||
|
.post_container .post_tags li a {
|
||||||
|
background-image: linear-gradient(to right, #0d1ca3, #003cb9, #0056cb, #0070db, #0189e9, #0189e9, #0189e9, #0189e9, #0070db, #0056cb, #003cb9, #0d1ca3);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var $onAirIcon = $('#items .onair span.fa');
|
var $onAir = $('.podcast_items .onair');
|
||||||
setInterval(function() {
|
setInterval(function() {
|
||||||
$onAirIcon.removeClass('fa-play');
|
$onAir.animate({"background-position": "100px"});
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$onAirIcon.addClass('fa-play');
|
$onAir.animate({"background-position": "0"});
|
||||||
}, 500);
|
}, 400);
|
||||||
}, 1000);
|
}, 800);
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
||||||
|
|||||||
Reference in New Issue
Block a user