mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #2468 from antstorm/refactor-pulsing-dot
Refactor pulsing beacon
This commit is contained in:
commit
c240d728a0
2 changed files with 4 additions and 10 deletions
web/assets
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue