Animate processing dots

issue9619
review304291002
This commit is contained in:
Cédric Krier committed 2020-10-04 00:39:12 +02:00
1 parent 137852452e
commit e98ab85f15
2 files changed
+26 -3

No files matched your search

+9 -3
View File
@@ -3269,10 +3269,16 @@
'id': 'processing',
'class': 'text-center'
});
this.el.append(jQuery('<span/>', {
var label = jQuery('<span/>', {
'class': 'label label-info',
'text': Sao.i18n.gettext('Processing...')
}));
'text': Sao.i18n.gettext('Processing'),
}).appendTo(this.el);
for (var i = 0; i < 3; i ++) {
label.append(jQuery('<span/>', {
'class': 'dot',
'text': '.',
}));
}
this.el.hide();
jQuery(function() {
this.el.appendTo('body');
+17
View File
@@ -839,11 +839,28 @@ input.column-boolean {
}
}
@keyframes blink {
50% {
color: transparent;
}
}
#processing {
position: fixed;
top: 0px;
width: 100%;
z-index: 2000;
.dot {
animation: 1s blink infinite;
&:nth-child(2) {
animation-delay: 250ms;
}
&:nth-child(3) {
animation-delay: 500ms;
}
}
}
.scrollbar {