/* * Guacamole - Clientless Remote Desktop * Copyright (C) 2010 Michael Jumper * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ body { background: black; font-family: sans-serif; padding: 0; margin: 0; } img { border: none; } .software-cursor { cursor: url('../images/mouse/dot.gif'),url('../images/mouse/blank.cur'),default; } * { -webkit-tap-highlight-color: rgba(0,0,0,0); } /* Dialogs */ div.dialogOuter { display: table; height: 100%; width: 100%; position: fixed; left: 0; top: 0; visibility: hidden; } div.dialogMiddle { width: 100%; text-align: center; display: table-cell; vertical-align: middle; } div.dialog { padding: 1em; max-width: 75%; text-align: left; display: inline-block; visibility: visible; } div.dialog h1 { margin: 0; margin-bottom: 0.25em; text-align: center; } div.dialog div.buttons { margin: 0; margin-top: 0.5em; text-align: center; } *:not(.guac-error) button#reconnect { display: none; } div.dialog p { margin: 0; } #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; } .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; } /* 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; margin-left: auto; margin-right: auto; } #menu img { vertical-align: middle; } #menu span { vertical-align: middle; } #menu button { vertical-align: middle; background: #DC8; border: 1px solid #986; color: black; padding: 0.25em; padding-right: 1em; padding-left: 1em; } #menu button:hover { background: #FFC; border: 1px solid #DC8; } #menu button:active { padding-top: 0.35em; padding-left: 1.1em; padding-bottom: 0.15em; padding-right: 0.9em; } .guac-error #menu button { background: #B33; border: 1px solid #822; } .guac-error #menu button:hover { background: #F44; border: 1px solid #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 { display: table; height: 100%; width: 100%; position: fixed; left: 0; top: 0; visibility: hidden; } /* Keyboard event target */ textarea#eventTarget { position: fixed; /* Zero... zero... zero... zero... zero... */ right: 0; bottom: 0; width: 0; height: 0; opacity: 0; overflow: hidden; }