border: none;
}
-.guac-hide-cursor {
+.software-cursor {
cursor: url('../images/mouse/dot.gif'),url('../images/mouse/blank.cur'),default;
+ overflow: hidden;
+}
+
+.guac-error .software-cursor {
+ cursor: default;
}
* {
display: table;
height: 100%;
width: 100%;
- position: fixed;
+ position: absolute;
left: 0;
top: 0;
text-align: center;
}
-*:not(.guac-error) button#reconnect {
+button {
+
+ border-style: solid;
+ border-width: 1px;
+
+ padding: 0.25em;
+ padding-right: 1em;
+ padding-left: 1em;
+
+}
+
+button:active {
+
+ padding-top: 0.35em;
+ padding-left: 1.1em;
+
+ padding-bottom: 0.15em;
+ padding-right: 0.9em;
+
+}
+
+button#reconnect {
display: none;
}
+.guac-error button#reconnect {
+ display: inline;
+
+ background: #200;
+ border-color: #822;
+ color: #944;
+}
+
+.guac-error button#reconnect:hover {
+ background: #822;
+ border-color: #B33;
+ color: black;
+}
+
+
div.dialog p {
margin: 0;
}
/* Menu */
#menu {
- position: fixed;
+ position: absolute;
left: 0;
top: 0;
width: 100%;
background: #D44;
}
-div#display {
+div#display * {
position: relative;
- width: 640px;
- height: 480px;
margin-left: auto;
margin-right: auto;
}
vertical-align: middle;
}
-#menu button {
+#menu span {
vertical-align: middle;
}
-#menu span {
+#menu button {
vertical-align: middle;
+ background: #DC8;
+ border-color: #986;
+ color: black;
+}
+
+#menu button:hover {
+ background: #FFC;
+ border-color: #DC8;
+}
+
+.guac-error #menu button {
+ background: #B33;
+ border-color: #822;
+}
+
+.guac-error #menu button:hover {
+ background: #F44;
+ border-color: #B33;
}
div#clipboardDiv {
}
div#menuControl {
- position: fixed;
+ position: absolute;
top: 0;
left: 0;
z-index: 3;
}
-/* Viewport Clone */
+/* Viewport */
-div#viewportClone {
- display: table;
+div#viewport {
height: 100%;
width: 100%;
- position: fixed;
+ position: absolute;
left: 0;
top: 0;
-
- visibility: hidden;
+ overflow: auto;
}
+
+/* Keyboard event target */
+
+textarea#eventTarget {
+ position: absolute;
+
+ /* Hide offscreen */
+ left: 0;
+ top: 0;
+ width: 0;
+ height: 0;
+ opacity: 0;
+
+ overflow: hidden;
+}
\ No newline at end of file