Further remove unneeded elements and styles.

This commit is contained in:
Michael Jumper
2012-11-05 10:48:10 -08:00
parent 8b8bdf1509
commit dd2beb7f35
5 changed files with 6 additions and 223 deletions

View File

@@ -19,7 +19,7 @@
body {
background: black;
font-family: sans-serif;
font-family: FreeSans, Helvetica, Arial, sans-serif;
padding: 0;
margin: 0;
}
@@ -138,27 +138,6 @@ div.dialog p {
color: #D44;
}
/* Menu */
#menu {
position: fixed;
left: 0;
top: 0;
width: 100%;
z-index: 4;
background: #888;
padding: 0.5em;
font-weight: bold;
text-shadow: -1px -1px rgba(0, 0, 0, 0.6);
color: rgba(255, 255, 255, 0.7);
border-bottom: 1px solid black;
font-size: 0.8em;
}
.guac-error #menu {
background: #D44;
}
div#display * {
position: relative;
}
@@ -168,74 +147,6 @@ div#display > * {
margin-right: auto;
}
#menu img {
vertical-align: middle;
}
#menu span {
vertical-align: middle;
}
#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 {
display: none;
position: absolute;
background: #FA5;
padding: 1em;
border: 1px solid black;
width: 50em;
z-index: 2;
opacity: 0.5;
}
#menu:hover div#clipboardDiv {
opacity: 1;
}
div#clipboardDiv h2 {
margin: 0;
font-size: 1em;
}
div#clipboardDiv textarea {
width: 100%;
}
div#menuControl {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: none;
z-index: 3;
}
/* Viewport Clone */
div#viewportClone {
@@ -248,60 +159,3 @@ div#viewportClone {
visibility: hidden;
}
/* 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;
display: none;
z-index: 4;
white-space: pre;
background: black;
border: 1px solid silver;
padding: 1em;
opacity: 0.8;
}
div#touchClipboardDiv {
position: absolute;
visibility: hidden;
z-index: 4;
color: white;
background: black;
border: 1px solid silver;
padding: 1em;
opacity: 0.8;
max-width: 50em;
}
div#touchClipboardDiv h2 {
margin: 0;
font-size: 1em;
}
div#touchClipboardDiv textarea {
width: 100%;
}

View File

@@ -17,6 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
* {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
background: #EEE;
font-family: FreeSans, Helvetica, Arial, sans-serif;