public/stylesheets/loading.scss
.loading {
cursor: progress;
background: transparent url(../images/loading.gif) no-repeat scroll center center;
}
.small-loading {
cursor: progress;
background: transparent url(../images/loading-small.gif) no-repeat 10% center;
}
.small-loading-dark {
cursor: progress;
background: transparent url(../images/loading-small-dark.gif) no-repeat 10% center;
}
#overlay_loading {
z-index: 10000;
top: 0;
left: 0;
position: fixed;
width: 100%;
height: 100%;
}
#overlay_loading_modal {
z-index: 10001;
width: 160px;
height: 120px;
border: 1px solid #000;
position: absolute;
top: 50%;
left: 50%;
margin-top: -60px;
margin-left: -80px;
background-color: #555;
text-align: center;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
cursor: progress;
}
#overlay_loading_modal p {
color: #DDD;
}
.loading-area {
display: inline-table;
width: 16px;
height: 16px;
}
.fetching {
opacity: 0.3;
pointer-events: none;
}
a.fetching {
opacity: 0.7;
pointer-events: none;
}
.fetching-overlay {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
background: rgba(0, 0, 0, 0.5);
padding: 10%;
text-align: center;
font-size: 200%;
color: rgb(255, 255, 255);
text-shadow: 0px 0px 10px #FFF;
}