| 1 |
/* =Infinity Styles |
| 2 |
-------------------------------------------------------------- */ |
| 3 |
|
| 4 |
.infinite-loader { |
| 5 |
color: #000; |
| 6 |
display: block; |
| 7 |
height: 28px; |
| 8 |
text-align: center; |
| 9 |
} |
| 10 |
#infinite-handle span { |
| 11 |
background: #333; |
| 12 |
border-radius: 1px; |
| 13 |
color: #eee; |
| 14 |
cursor: pointer; |
| 15 |
font-size: 13px; |
| 16 |
padding: 6px 16px; |
| 17 |
} |
| 18 |
|
| 19 |
/** |
| 20 |
* CSS Spinner Styles |
| 21 |
*/ |
| 22 |
@keyframes spinner-inner { |
| 23 |
0% { opacity: 1 } |
| 24 |
100% { opacity: 0 } |
| 25 |
} |
| 26 |
.infinite-loader .spinner-inner div { |
| 27 |
left: 47px; |
| 28 |
top: 24px; |
| 29 |
position: absolute; |
| 30 |
animation: spinner-inner linear 1s infinite; |
| 31 |
background: #000000; |
| 32 |
outline: 1px solid white; |
| 33 |
width: 6px; |
| 34 |
height: 12px; |
| 35 |
border-radius: 3px / 6px; |
| 36 |
transform-origin: 3px 26px; |
| 37 |
} |
| 38 |
.infinite-loader .spinner-inner div:nth-child(1) { |
| 39 |
transform: rotate(0deg); |
| 40 |
animation-delay: -0.9166666666666666s; |
| 41 |
background: #000000; |
| 42 |
} |
| 43 |
.infinite-loader .spinner-inner div:nth-child(2) { |
| 44 |
transform: rotate(30deg); |
| 45 |
animation-delay: -0.8333333333333334s; |
| 46 |
background: #000000; |
| 47 |
} |
| 48 |
.infinite-loader .spinner-inner div:nth-child(3) { |
| 49 |
transform: rotate(60deg); |
| 50 |
animation-delay: -0.75s; |
| 51 |
background: #000000; |
| 52 |
} |
| 53 |
.infinite-loader .spinner-inner div:nth-child(4) { |
| 54 |
transform: rotate(90deg); |
| 55 |
animation-delay: -0.6666666666666666s; |
| 56 |
background: #000000; |
| 57 |
} |
| 58 |
.infinite-loader .spinner-inner div:nth-child(5) { |
| 59 |
transform: rotate(120deg); |
| 60 |
animation-delay: -0.5833333333333334s; |
| 61 |
background: #000000; |
| 62 |
} |
| 63 |
.infinite-loader .spinner-inner div:nth-child(6) { |
| 64 |
transform: rotate(150deg); |
| 65 |
animation-delay: -0.5s; |
| 66 |
background: #000000; |
| 67 |
} |
| 68 |
.infinite-loader .spinner-inner div:nth-child(7) { |
| 69 |
transform: rotate(180deg); |
| 70 |
animation-delay: -0.4166666666666667s; |
| 71 |
background: #000000; |
| 72 |
} |
| 73 |
.infinite-loader .spinner-inner div:nth-child(8) { |
| 74 |
transform: rotate(210deg); |
| 75 |
animation-delay: -0.3333333333333333s; |
| 76 |
background: #000000; |
| 77 |
} |
| 78 |
.infinite-loader .spinner-inner div:nth-child(9) { |
| 79 |
transform: rotate(240deg); |
| 80 |
animation-delay: -0.25s; |
| 81 |
background: #000000; |
| 82 |
} |
| 83 |
.infinite-loader .spinner-inner div:nth-child(10) { |
| 84 |
transform: rotate(270deg); |
| 85 |
animation-delay: -0.16666666666666666s; |
| 86 |
background: #000000; |
| 87 |
} |
| 88 |
.infinite-loader .spinner-inner div:nth-child(11) { |
| 89 |
transform: rotate(300deg); |
| 90 |
animation-delay: -0.08333333333333333s; |
| 91 |
background: #000000; |
| 92 |
} |
| 93 |
.infinite-loader .spinner-inner div:nth-child(12) { |
| 94 |
transform: rotate(330deg); |
| 95 |
animation-delay: 0s; |
| 96 |
background: #000000; |
| 97 |
} |
| 98 |
.infinite-loader .spinner { |
| 99 |
width: 28px; |
| 100 |
height: 28px; |
| 101 |
display: inline-block; |
| 102 |
overflow: hidden; |
| 103 |
background: none; |
| 104 |
} |
| 105 |
.infinite-loader .spinner-inner { |
| 106 |
width: 100%; |
| 107 |
height: 100%; |
| 108 |
position: relative; |
| 109 |
transform: translateZ(0) scale(0.28); |
| 110 |
backface-visibility: hidden; |
| 111 |
transform-origin: 0 0; /* see note above */ |
| 112 |
} |
| 113 |
.infinite-loader .spinner-inner div { |
| 114 |
box-sizing: content-box; |
| 115 |
} |
| 116 |
|
| 117 |
/** |
| 118 |
* Using a highly-specific rule to make sure that all button styles |
| 119 |
* will be reset |
| 120 |
*/ |
| 121 |
#infinite-handle span button, |
| 122 |
#infinite-handle span button:hover, |
| 123 |
#infinite-handle span button:focus { |
| 124 |
display: inline; |
| 125 |
position: static; |
| 126 |
padding: 0; |
| 127 |
margin: 0; |
| 128 |
border: none; |
| 129 |
line-height: inherit; |
| 130 |
background: transparent; |
| 131 |
color: inherit; |
| 132 |
cursor: inherit; |
| 133 |
font-size: inherit; |
| 134 |
font-weight: inherit; |
| 135 |
font-family: inherit; |
| 136 |
} |
| 137 |
|
| 138 |
/** |
| 139 |
* This is used to avoid unnecessary inner button spacing in Firefox |
| 140 |
*/ |
| 141 |
#infinite-handle span button::-moz-focus-inner { |
| 142 |
margin: 0; |
| 143 |
padding: 0; |
| 144 |
border: none; |
| 145 |
} |
| 146 |
|
| 147 |
/** |
| 148 |
* For smaller viewports, remove the down-arrow icon and turn |
| 149 |
* the button into a block element, spanning the content's full width. |
| 150 |
*/ |
| 151 |
@media (max-width: 800px) { |
| 152 |
#infinite-handle span:before { |
| 153 |
display: none; |
| 154 |
} |
| 155 |
#infinite-handle span { |
| 156 |
display: block; |
| 157 |
} |
| 158 |
} |
| 159 |
|
| 160 |
/** |
| 161 |
* Footer |
| 162 |
*/ |
| 163 |
#infinite-footer { |
| 164 |
position: fixed; |
| 165 |
bottom: -50px; |
| 166 |
left: 0; |
| 167 |
width: 100%; |
| 168 |
} |
| 169 |
#infinite-footer a { |
| 170 |
text-decoration: none; |
| 171 |
} |
| 172 |
#infinite-footer .blog-info a:hover, |
| 173 |
#infinite-footer .blog-credits a:hover { |
| 174 |
color: #444; |
| 175 |
text-decoration: underline; |
| 176 |
} |
| 177 |
#infinite-footer .container { |
| 178 |
background: rgba( 255, 255, 255, 0.8 ); |
| 179 |
border-color: #ccc; |
| 180 |
border-color: rgba( 0, 0, 0, 0.1 ); |
| 181 |
border-style: solid; |
| 182 |
border-width: 1px 0 0; |
| 183 |
-moz-box-sizing: border-box; |
| 184 |
box-sizing: border-box; |
| 185 |
margin: 0 auto; |
| 186 |
overflow: hidden; |
| 187 |
padding: 1px 20px; |
| 188 |
width: 780px; |
| 189 |
} |
| 190 |
#infinite-footer .blog-info, |
| 191 |
#infinite-footer .blog-credits { |
| 192 |
-moz-box-sizing: border-box; |
| 193 |
-webkit-box-sizing: border-box; |
| 194 |
box-sizing: border-box; |
| 195 |
line-height: 25px; |
| 196 |
} |
| 197 |
#infinite-footer .blog-info { |
| 198 |
float: left; |
| 199 |
overflow: hidden; |
| 200 |
text-align: left; |
| 201 |
text-overflow: ellipsis; |
| 202 |
white-space: nowrap; |
| 203 |
width: 40%; |
| 204 |
} |
| 205 |
#infinite-footer .blog-credits { |
| 206 |
font-weight: normal; |
| 207 |
float: right; |
| 208 |
width: 60%; |
| 209 |
} |
| 210 |
#infinite-footer .blog-info a { |
| 211 |
color: #111; |
| 212 |
font-size: 14px; |
| 213 |
font-weight: bold; |
| 214 |
} |
| 215 |
#infinite-footer .blog-credits { |
| 216 |
color: #888; |
| 217 |
font-size: 12px; |
| 218 |
text-align: right; |
| 219 |
} |
| 220 |
#infinite-footer .blog-credits a { |
| 221 |
color: #666; |
| 222 |
} |
| 223 |
|
| 224 |
/** |
| 225 |
* Hooks to infinity-end body class to restore footer |
| 226 |
*/ |
| 227 |
.infinity-end.neverending #infinite-footer { |
| 228 |
display: none; |
| 229 |
} |
| 230 |
|
| 231 |
/** |
| 232 |
* Responsive structure for the footer |
| 233 |
*/ |
| 234 |
@media (max-width: 640px) { |
| 235 |
#infinite-footer .container { |
| 236 |
-moz-box-sizing: border-box; |
| 237 |
-webkit-box-sizing: border-box; |
| 238 |
box-sizing: border-box; |
| 239 |
width: 100%; |
| 240 |
} |
| 241 |
#infinite-footer .blog-info { |
| 242 |
width: 30%; |
| 243 |
} |
| 244 |
#infinite-footer .blog-credits { |
| 245 |
width: 70%; |
| 246 |
} |
| 247 |
#infinite-footer .blog-info a, |
| 248 |
#infinite-footer .blog-credits { |
| 249 |
font-size: 10px; |
| 250 |
} |
| 251 |
} |
| 252 |
|
| 253 |
/** |
| 254 |
* No fixed footer on small viewports |
| 255 |
*/ |
| 256 |
@media ( max-width: 640px ) { |
| 257 |
#infinite-footer { |
| 258 |
position: static; |
| 259 |
} |
| 260 |
} |
| 261 |
|
| 262 |
/** |
| 263 |
* Hide infinite aria feedback visually |
| 264 |
*/ |
| 265 |
#infinite-aria { |
| 266 |
position: absolute; |
| 267 |
overflow: hidden; |
| 268 |
clip: rect(0 0 0 0); |
| 269 |
height: 1px; width: 1px; |
| 270 |
margin: -1px; padding: 0; border: 0; |
| 271 |
} |
| 272 |
|
| 273 |
/** |
| 274 |
* Hide focus on infinite wrappers |
| 275 |
*/ |
| 276 |
.infinite-wrap:focus { |
| 277 |
outline: 0 !important; |
| 278 |
} |
| 279 |
|