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