-
Notifications
You must be signed in to change notification settings - Fork 2
/
loading.html
67 lines (67 loc) · 1.8 KB
/
loading.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="dist/merge.css">
<style>
#loading-modal{
width:120px;
height:120px;
margin:-120px 0 0 -120px;
overflow:hidden;
}
.modal-body{
padding:0;
overflow:hidden;
width:120px;
height:120px;
position:relative;
}
.loading-txt{
position:absolute;
top:50px;
left:28px;
}
.circle{
margin:15px;
width:90px;
height:90px;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-webkit-animation-name: orbit;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: linear;
-moz-animation-name: orbit;
-webkit-animation-duration:2s;
}
.bee{
background:url("../img/charttype.png") no-repeat 0 -235px;
width:40px;
height:40px;
}
@-webkit-keyframes orbit {
from { -webkit-transform:rotate(0deg) }
to { -webkit-transform:rotate(360deg) }
}
</style>
</head>
<body>
<div id="loading-modal" data-backdrop="static" class="modal hide fade">
<div class="modal-body">
<div class="loading-txt">Loading...</div>
<div class="circle">
<div class="bee"></div>
</div>
</div>
</div>
<script src="dist/merge.js"></script>
<script>
var model = jQuery("#loading-modal");
model.modal().fadeIn();
</script>
</body>
</html>