Remove testing styles.
[guacamole.git] / src / main / webapp / styles / client.css
index 99a09ae..7477dd8 100644 (file)
@@ -24,7 +24,26 @@ body {
     margin: 0;
 }
 
-div.errorDialogOuter {
+img {
+    border: none;
+}
+
+.software-cursor {
+    cursor: url('../images/mouse/dot.gif'),url('../images/mouse/blank.cur'),default;
+    overflow: hidden;
+}
+
+.guac-error .software-cursor {
+    cursor: default;
+}
+
+* {
+    -webkit-tap-highlight-color: rgba(0,0,0,0);
+}
+
+/* Dialogs */
+
+div.dialogOuter {
     display: table;
     height: 100%;
     width: 100%;
@@ -35,81 +54,109 @@ div.errorDialogOuter {
     visibility: hidden;
 }
 
-div.errorDialogMiddle {
+div.dialogMiddle {
     width: 100%;
     text-align: center;
     display: table-cell;
     vertical-align: middle;
 }
 
-div.errorDialog {
-
-    opacity: 0.75;
-    background: #D22;
-    border: 1px solid #F44;
+div.dialog {
     padding: 1em;
 
     max-width: 75%;
     text-align: left;
 
     display: inline-block;
+    visibility: visible;
 }
 
-div.errorDialog h1 {
+div.dialog h1 {
     margin: 0;
     margin-bottom: 0.25em;
     text-align: center;
 }
 
-div.errorDialog div.buttons {
+div.dialog div.buttons {
     margin: 0;
     margin-top: 0.5em;
     text-align: center;
 }
 
-div.errorDialog p {
-    margin: 0;
+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;
 
-#menu {
-    margin-left: auto;
-    margin-right: auto;
-    margin-bottom: 1em;
-    font-size: 0.8em;
-    background: #FEA;
-    border: 1px solid black;
-    position: fixed;
-    left: 0;
-    top: 0;
-    width: 100%;
-    z-index: 1;
 }
 
-#menu.connected {
-    opacity: 0.5;
+button#reconnect {
+    display: none;
 }
 
-#menu.connected:hover {
-    opacity: 1;
+.guac-error button#reconnect {
+    display: inline;
+
+    background:   #200;
+    border-color: #822;
+    color:        #944; 
 }
 
-#menu.error {
-    background: #D44;
+.guac-error button#reconnect:hover {
+    background:   #822;
+    border-color: #B33;
+    color:        black; 
+}
+
+
+div.dialog p {
+    margin: 0;
 }
 
-.error #state {
-    font-weight: bold;
+#statusText {
+    text-shadow: 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black;
+    font-size: xx-large;
+    color: white;
 }
 
-img {
-    border: none;
+.guac-error #statusText {
+    text-shadow: 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black, 0 0 0.25em black;
+    color: #D44;
 }
 
-div#display {
+/* Menu */
+
+#menu {
+    position: fixed;
+    left: 0;
+    top: 0;
+    width: 100%;
+    z-index: 4;
+    background: #FEA;
+    border-bottom: 1px solid black;
+    font-size: 0.8em;
+}
+
+.guac-error #menu {
+    background: #D44;
+}
+
+div#display * {
     position: relative;
-    width: 640px;
-    height: 480px;
     margin-left: auto;
     margin-right: auto;
 }
@@ -118,12 +165,30 @@ div#display {
     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 {
@@ -133,12 +198,14 @@ div#clipboardDiv {
     padding: 1em;
 
     border: 1px solid black;
-    -khtml-border-radius: 0.5em;
-    -webkit-border-radius: 0.5em;
-    -moz-border-radius: 0.5em;
-    border-radius: 0.5em;
 
     width: 50em;
+    z-index: 2;
+    opacity: 0.5;
+}
+
+#menu:hover div#clipboardDiv {
+    opacity: 1;
 }
 
 div#clipboardDiv h2 {
@@ -150,21 +217,57 @@ div#clipboardDiv textarea {
     width: 100%;
 }
 
-.guac-display.guac-loading {
-    border: 1px dotted gray;
-    background-image: url('../images/spinner.gif');
-    background-position: center;
-    background-repeat: no-repeat;
+div#menuControl {
+    position: fixed;
+    top: 0;
+    left: 0;
+    
+    width: 100%;
+    height: 3px;
+    background: none;
+
+    z-index: 3;
 }
 
-.guac-display.guac-error {
-    border: 1px dotted red;
-    background-image: url('../images/noimage.png');
-    background-position: center;
-    background-repeat: no-repeat;
+/* Viewport Clone */
+
+div#viewportClone {
+    display: table;
+    height: 100%;
+    width: 100%;
+    position: fixed;
+    left: 0;
+    top: 0;
+
+    visibility: hidden;
 }
 
-.guac-hide-cursor {
-    cursor: url('../images/mouse/dot.gif'),url('../images/mouse/blank.cur'),default;
+/* Keyboard event target */
+
+textarea#eventTarget {
+    position: absolute;
+   
+    /* Hide offscreen */
+    left: 0;
+    top: 0;
+    width: 0;
+    height: 0;
+    opacity: 0;
+
+    overflow: hidden;
 }
 
+/* Touch-specific menu */
+
+div#touchMenu {
+
+    position: absolute;
+    visibility: hidden;
+    
+    display: inline-block;
+    background: black;
+    border: 1px solid silver;
+    padding: 1em;
+    opacity: 0.8;
+
+}
\ No newline at end of file