72 lines
2.1 KiB
CSS
72 lines
2.1 KiB
CSS
/*
|
|
* Copyright (C) 2013 Glyptodon LLC
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
* THE SOFTWARE.
|
|
*/
|
|
|
|
.loading {
|
|
position: relative;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.loading * {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.loading::before {
|
|
|
|
display: block;
|
|
position: absolute;
|
|
content: '';
|
|
|
|
/* Dictated by size of image */
|
|
width: 96px;
|
|
height: 96px;
|
|
margin-left: -48px;
|
|
margin-top: -48px;
|
|
|
|
top: 50%;
|
|
left: 50%;
|
|
|
|
background-image: url('images/cog.png');
|
|
background-size: 96px 96px;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
|
|
animation: spinning-cog 4s linear infinite;
|
|
-moz-animation: spinning-cog 4s linear infinite;
|
|
-webkit-animation: spinning-cog 4s linear infinite;
|
|
|
|
}
|
|
|
|
@keyframes spinning-cog {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
@-moz-keyframes spinning-cog {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
@-webkit-keyframes spinning-cog {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|