-
Notifications
You must be signed in to change notification settings - Fork 4
/
jquery.loader.less
78 lines (73 loc) · 1.78 KB
/
jquery.loader.less
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
68
69
70
71
72
73
74
75
76
77
78
/* .loader
-----------------------------------------------------------------------------------------*/
.loader {
height: 40px;
left: 50%;
margin: -20px 0 0 -20px;
overflow: hidden;
position: absolute;
right: 0;
top: 50%;
width: 40px;
z-index: 1999;
.loader-load {
background: #000 url(loader.gif) no-repeat 50% 50%;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
cursor: pointer;
height: 40px;
left: 50%;
margin: -20px 0 0 -20px;
-webkit-opacity: 0.8;
-khtml-opacity: 0.8;
-moz-opacity: 0.8;
-ms-opacity: 0.8;
-o-opacity: 0.8;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
opacity: 0.8;
overflow: hidden;
position: absolute;
top: 50%;
width: 40px;
z-index: 1000;
}
.loader-overlay {
background: #000;
bottom: 0;
display: none;
height: 100%;
left: 0;
-webkit-opacity: 0.6;
-khtml-opacity: 0.6;
-moz-opacity: 0.6;
-ms-opacity: 0.6;
-o-opacity: 0.6;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
opacity: 0.6;
position: absolute;
right: 0;
top: 0;
width: 100%;
}
&.hide {
display: none !important;
}
&.overlay {
bottom: 0;
height: 100%;
left: 0;
margin: 0;
right: 0;
top: 0;
width: 100%;
.loader-overlay {
display: block;
}
}
} // .loader