mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-932: Replace green spinner with spinning cog.
This commit is contained in:
71
guacamole/src/main/webapp/app/index/styles/loading.css
Normal file
71
guacamole/src/main/webapp/app/index/styles/loading.css
Normal 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); }
|
||||
}
|
@@ -423,14 +423,3 @@ div.logout-panel {
|
||||
.button.back {
|
||||
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;
|
||||
}
|
BIN
guacamole/src/main/webapp/images/cog.png
Normal file
BIN
guacamole/src/main/webapp/images/cog.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user