1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-08 02:40:34 +00:00

fix css for loading indicator

This commit is contained in:
Lu Wang 2013-11-19 16:18:17 +08:00
parent 03b1d835ed
commit feaa13e36f
3 changed files with 5 additions and 4 deletions

View File

@ -36,6 +36,9 @@
} }
.loading-indicator { .loading-indicator {
display:none; display:none;
}
.loading-indicator.active {
display:block;
position:absolute; position:absolute;
width:64px; width:64px;
height:64px; height:64px;
@ -44,9 +47,6 @@
margin-top:-32px; margin-top:-32px;
margin-left:-32px; margin-left:-32px;
} }
.loading_indicator.active {
display:block;
}
.loading-indicator img { .loading-indicator img {
position:absolute; position:absolute;
top:0; top:0;

View File

@ -73,7 +73,6 @@
animation: fadein 100ms; animation: fadein 100ms;
} }
.loading-indicator.active { .loading-indicator.active {
display: block;
/* /*
* use 0.01s instead of 0s, * use 0.01s instead of 0s,
* since YUI Compressor will change 0s to 0, * since YUI Compressor will change 0s to 0,

View File

@ -98,6 +98,8 @@ $pages
############# #############
# The loading indicator # The loading indicator
# shown when loading a page via ajax # shown when loading a page via ajax
# The default appearance should be invisible
# The 'active' class will be added when it is used
""" """
<div class="loading-indicator"> <div class="loading-indicator">
""" """