hook.css
2.27 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/**
* Hook
* Version: 1.1
* Author: Jordan Singer, Brandon Jacoby, Adam Girton
* Copyright (c) 2013 - Hook. All rights reserved.
* http://www.usehook.com
*/
/* 'customizable' declares that a property can be customized without breaking functionality */
.hook * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0 auto;
}
.hook {
display: none;
/* customizable */ height: 85px;
/* customizable */ background: url(../images/hook/hook-bgs.png) repeat;
/* customizable */ box-shadow: 0 -8px 5px -5px #999 inset;
clear: both;
position: relative;
z-index: 9999;
width: 100%;
overflow: hidden;
text-align: center;
}
.hook-text {
/* customizable */ font-size: 14px;
/* customizable */ font-family: Arial, Helvetica, sans-serif;
/* customizable */ color: #666;
/* customizable */ font-weight: normal;
/* customizable */ text-shadow: 0 1px #fff;
}
.hook-loader {
padding: 25px 0;
}
.hook-spinner {
display: block;
/* customizable */ background: url(../images/hook/hook-spinner.png) no-repeat center;
/* customizable */ width: 32px;
/* customizable */ height: 32px;
-webkit-animation: spin 1s linear infinite both;
-moz-animation: spin 1s linear infinite both;
-o-animation: spin 1s linear infinite both;
animation: spin 1s linear infinite both;
}
.hook-with-text .hook-loader{
padding: 10px 0;
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
.hook-spinner {
background: url(../images/hook/hook-spinner@2x.png) no-repeat center;
background-size: 32px 32px;
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@-moz-keyframes spin {
0% {
-moz-transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
}
}
@-o-keyframes spin {
0% {
-o-transform: rotate(0deg);
}
100% {
-o-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}