Kinda revert previous commit / move to separate file and class

This commit is contained in:
Alexandre Aubin 2019-03-01 02:44:33 +01:00
parent d8ae6e9d61
commit 23e595cee3
3 changed files with 16 additions and 3 deletions

View file

@ -342,16 +342,29 @@ div.br {
z-index: 2000; z-index: 2000;
text-align: center; text-align: center;
background: rgba(255, 255, 255, 0.5) url(../img/ajax-loader.gif) center 15% no-repeat; background: rgba(255, 255, 255, 0.5) url(../img/ajax-loader.gif) center 15% no-repeat;
animation: pacmanlinearmove 4s linear infinite; animation: pacmanlinearmove 5s linear infinite;
} }
.loader-content { .loader-content {
position: fixed; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: -20%; left: 0;
right: -20%; right: 0;
z-index: 2000; z-index: 2000;
} }
.with-nyancat {
.loader{
background: rgba(255, 255, 255, 0.5) url(../img/nyancat.gif) center 15% no-repeat;
animation: pacmanlinearmove 6s linear infinite;
}
.loader-content {
left: -20%;
right: -20%;
}
}
.loader-popup { .loader-popup {
margin: auto; margin: auto;
height: 24px; height: 24px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
src/img/nyancat.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB