mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 17:13:21 +00:00 
			
		
		
		
	Add notification area. Preload images that would otherwise be loaded later, as such a load may fail due to resource starvation.
This commit is contained in:
		| @@ -287,14 +287,16 @@ p.hint { | ||||
|      | ||||
| } | ||||
|  | ||||
| #notificationArea { | ||||
|     position: fixed; | ||||
|     right: 0.5em; | ||||
|     bottom: 0.5em; | ||||
| } | ||||
|  | ||||
| .download.notification { | ||||
|  | ||||
|     font-size: 0.9em; | ||||
|      | ||||
|     position: fixed; | ||||
|     right: 0.5em; | ||||
|     bottom: 0.5em; | ||||
|  | ||||
|     border: 1px solid rgba(255, 255, 255, 0.25); | ||||
|     background: black; | ||||
|     opacity: 0.9; | ||||
| @@ -317,13 +319,13 @@ p.hint { | ||||
| } | ||||
|  | ||||
| @keyframes progress { | ||||
|     from {background-position-x: 0px;} | ||||
|     to   {background-position-x: 64px;} | ||||
|     from {background-position: 0px  0px;} | ||||
|     to   {background-position: 64px 0px;} | ||||
| } | ||||
|  | ||||
| @-webkit-keyframes progress { | ||||
|     from {background-position-x: 0px;} | ||||
|     to   {background-position-x: 64px;} | ||||
|     from {background-position: 0px  0px;} | ||||
|     to   {background-position: 64px 0px;} | ||||
| } | ||||
|  | ||||
| .download.notification .progress { | ||||
| @@ -368,3 +370,13 @@ p.hint { | ||||
|     font-weight: bold; | ||||
|     text-decoration: none; | ||||
| } | ||||
|  | ||||
| #preload { | ||||
|     visibility: hidden; | ||||
|     position: absolute; | ||||
|     left: 0; | ||||
|     right: 0; | ||||
|     width: 0; | ||||
|     height: 0; | ||||
|     overflow: hidden; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user