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 solid #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 .guac-keyboard-cap {
76 .guac-keyboard .guac-keyboard-key.highlight .guac-keyboard-cap {
81 .guac-keyboard .guac-keyboard-key.guac-keyboard-pressed .guac-keyboard-cap {
86 .guac-keyboard .guac-keyboard-key.guac-keyboard-active .guac-keyboard-cap {
91 .guac-keyboard .guac-keyboard-row {
95 .guac-keyboard .guac-keyboard-column {
96 display: inline-block;
101 .guac-keyboard .guac-keyboard-gap {
102 display: inline-block;
105 /* Hide keycaps requiring modifiers which are NOT currently active. */
106 .guac-keyboard:not(.guac-keyboard-modifier-caps)
107 .guac-keyboard-cap.guac-keyboard-requires-caps,
109 .guac-keyboard:not(.guac-keyboard-modifier-numsym)
110 .guac-keyboard-cap.guac-keyboard-requires-numsym,
112 .guac-keyboard:not(.guac-keyboard-modifier-shift)
113 .guac-keyboard-cap.guac-keyboard-requires-shift,
115 /* Hide keycaps NOT requiring modifiers which ARE currently active, where that
116 modifier is used to determine which cap is displayed for the current key. */
117 .guac-keyboard.guac-keyboard-modifier-shift
118 .guac-keyboard-key.guac-keyboard-uses-shift
119 .guac-keyboard-cap:not(.guac-keyboard-requires-shift),
121 .guac-keyboard.guac-keyboard-modifier-numsym
122 .guac-keyboard-key.guac-keyboard-uses-numsym
123 .guac-keyboard-cap:not(.guac-keyboard-requires-numsym),
125 .guac-keyboard.guac-keyboard-modifier-caps
126 .guac-keyboard-key.guac-keyboard-uses-caps
127 .guac-keyboard-cap:not(.guac-keyboard-requires-caps) {