3 * Guacamole - Clientless Remote Desktop
4 * Copyright (C) 2010 Michael Jumper
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
30 border-top: 1px solid black;
39 display: inline-block;
47 vertical-align: middle;
50 .guac-keyboard .guac-keyboard-key-container {
51 display: inline-block;
54 .guac-keyboard .guac-keyboard-key {
56 border: 1px outset #888;
57 -moz-border-radius: 0.1em;
58 -webkit-border-radius: 0.1em;
59 -khtml-border-radius: 0.1em;
63 .guac-keyboard .guac-keyboard-cap {
65 font-family: sans-serif;
72 .guac-keyboard .guac-keyboard-key:hover {
76 .guac-keyboard .guac-keyboard-key.highlight {
81 .guac-keyboard.guac-keyboard-modifier-shift .guac-keyboard-key.shift,
82 .guac-keyboard.guac-keyboard-modifier-numsym .guac-keyboard-key.numsym {
87 .guac-keyboard .guac-keyboard-key.guac-keyboard-pressed {
93 .guac-keyboard .guac-keyboard-row {
97 .guac-keyboard .guac-keyboard-column {
98 display: inline-block;
103 .guac-keyboard .guac-keyboard-gap {
104 display: inline-block;
107 /* Hide keycaps requiring modifiers which are NOT currently active. */
108 .guac-keyboard:not(.guac-keyboard-modifier-caps)
109 .guac-keyboard-cap.guac-keyboard-requires-caps,
111 .guac-keyboard:not(.guac-keyboard-modifier-numsym)
112 .guac-keyboard-cap.guac-keyboard-requires-numsym,
114 .guac-keyboard:not(.guac-keyboard-modifier-shift)
115 .guac-keyboard-cap.guac-keyboard-requires-shift,
117 /* Hide keycaps NOT requiring modifiers which ARE currently active, where that
118 modifier is used to determine which cap is displayed for the current key. */
119 .guac-keyboard.guac-keyboard-modifier-shift
120 .guac-keyboard-key.guac-keyboard-uses-shift
121 .guac-keyboard-cap:not(.guac-keyboard-requires-shift),
123 .guac-keyboard.guac-keyboard-modifier-numsym
124 .guac-keyboard-key.guac-keyboard-uses-numsym
125 .guac-keyboard-cap:not(.guac-keyboard-requires-numsym),
127 .guac-keyboard.guac-keyboard-modifier-caps
128 .guac-keyboard-key.guac-keyboard-uses-caps
129 .guac-keyboard-cap:not(.guac-keyboard-requires-caps) {