GUAC-932: Replace green spinner with spinning cog.

This commit is contained in:
Michael Jumper
2014-11-23 02:36:50 -08:00
parent d32ca5bfca
commit 58e73435d3
4 changed files with 71 additions and 11 deletions

View File

@@ -0,0 +1,71 @@
/*
* 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); }
}

View File

@@ -423,14 +423,3 @@ div.logout-panel {
.button.back { .button.back {
background-image: url('images/action-icons/guac-back.png'); background-image: url('images/action-icons/guac-back.png');
} }
.loading {
background-image: url(images/spinner.gif);
background-position: center;
background-repeat: no-repeat;
min-height: 200px;
}
.loading * {
visibility: hidden;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB