1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Merge pull request from antstorm/refactor-pulsing-dot

Refactor pulsing beacon
This commit is contained in:
Mike Perham 2015-07-30 19:21:40 -07:00
commit c240d728a0
2 changed files with 4 additions and 10 deletions
web/assets
javascripts
stylesheets

View file

@ -227,14 +227,8 @@ var updateRedisStats = function(data) {
}
var pulseBeacon = function(){
$beacon = $('.beacon')
$beacon.find('.dot').addClass('pulse').delay(1000).queue(function(){
$(this).removeClass('pulse');
$(this).dequeue();
});
$beacon.find('.ring').addClass('pulse').delay(1000).queue(function(){
$(this).removeClass('pulse');
$(this).dequeue();
$('.beacon').addClass('pulse').delay(1000).queue(function(){
$(this).removeClass('pulse').dequeue();
});
}

View file

@ -496,7 +496,7 @@ div.interval-slider input {
z-index: 10;
}
.beacon .dot.pulse {
.beacon.pulse .dot {
-webkit-animation: beacon-dot-pulse 1s ease-out;
-moz-animation: beacon-dot-pulse 1s ease-out;
animation: beacon-dot-pulse 1s ease-out;
@ -557,7 +557,7 @@ div.interval-slider input {
opacity: 0;
}
.beacon .ring.pulse {
.beacon.pulse .ring {
-webkit-animation: beacon-ring-pulse 1s;
-moz-animation: beacon-ring-pulse 1s;
animation: beacon-ring-pulse 1s;