-
Notifications
You must be signed in to change notification settings - Fork 4
/
keyboard.css
284 lines (278 loc) · 7.08 KB
/
keyboard.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
#keyboardInputMaster {
position:absolute;
font:normal 0.8rem Arial,sans-serif;
border-top:0.1em solid #eeeeee;
border-right:0.1em solid #888888;
border-bottom:0.1em solid #444444;
border-left:0.1em solid #cccccc;
border-collapse:separate;
border-radius:0.6em;
box-shadow:0 0.2em 1em #444444;
opacity:0.95;
filter:alpha(opacity=95);
background-color:#dddddd;
text-align:left;
z-index:1000000;
width:auto;
height:auto;
min-width:0;
min-height:0;
margin:0;
padding:0;
line-height:normal;
pointer-events:auto;
-moz-user-select:none;
cursor:default;
}
#keyboardInputMaster * {
position:static;
color:#000000;
opacity:1;
filter:alpha(opacity=100);
background:transparent;
font:normal 0.8rem Arial,sans-serif;
width:auto;
height:auto;
min-width:0;
min-height:0;
margin:0;
padding:0;
border:0 none;
outline:0;
vertical-align:baseline;
line-height:1.3em;
pointer-events:auto;
}
#keyboardInputMaster table {
table-layout:auto;
}
#keyboardInputMaster.keyboardInputSize1,
#keyboardInputMaster.keyboardInputSize1 * {
font-size:0.7rem;
}
#keyboardInputMaster.keyboardInputSize3,
#keyboardInputMaster.keyboardInputSize3 * {
font-size:0.9rem;
}
#keyboardInputMaster.keyboardInputSize4,
#keyboardInputMaster.keyboardInputSize4 * {
font-size:1rem;
}
#keyboardInputMaster.keyboardInputSize5,
#keyboardInputMaster.keyboardInputSize5 * {
font-size:1.1rem;
}
#keyboardInputMaster thead tr th {
padding:0.3em 0.3em 0.1em 0.3em;
background-color:#999999;
white-space:nowrap;
text-align:right;
border-radius:0.6em 0.6em 0 0;
}
#keyboardInputMaster thead tr th div {
float:left;
font-size:130% !important;
height:1.3em;
font-weight:bold;
position:relative;
z-index:1;
margin-right:0.5em;
cursor:pointer;
background-color:transparent;
}
#keyboardInputMaster thead tr th div ol {
position:absolute;
left:0;
top:90%;
list-style-type:none;
height:9.4em;
overflow-y:auto;
overflow-x:hidden;
background-color:#f6f6f6;
border:0.1em solid #999999;
display:none;
text-align:left;
width:12em;
}
#keyboardInputMaster thead tr th div ol li {
padding:0.2em 0.4em;
cursor:pointer;
white-space:nowrap;
width:12em;
}
#keyboardInputMaster thead tr th div ol li.selected {
background-color:#ffffcc;
}
#keyboardInputMaster thead tr th div ol li:hover,
#keyboardInputMaster thead tr th div ol li.hover {
background-color:#dddddd;
}
#keyboardInputMaster thead tr th span,
#keyboardInputMaster thead tr th strong,
#keyboardInputMaster thead tr th small,
#keyboardInputMaster thead tr th big {
display:inline-block;
padding:0 0.4em;
height:1.4em;
line-height:1.4em;
border-top:0.1em solid #e5e5e5;
border-right:0.1em solid #5d5d5d;
border-bottom:0.1em solid #5d5d5d;
border-left:0.1em solid #e5e5e5;
background-color:#cccccc;
cursor:pointer;
margin:0 0 0 0.3em;
border-radius:0.3em;
vertical-align:middle;
transition:background-color .15s ease-in-out;
}
#keyboardInputMaster thead tr th strong {
font-weight:bold;
}
#keyboardInputMaster thead tr th small {
border-radius:0.3em 0 0 0.3em;
border-right:0.1em solid #aaaaaa;
padding:0 0.2em 0 0.3em;
}
#keyboardInputMaster thead tr th big {
border-radius:0 0.3em 0.3em 0;
border-left:0 none;
margin:0;
padding:0 0.3em 0 0.2em;
}
#keyboardInputMaster thead tr th span:hover,
#keyboardInputMaster thead tr th span.hover,
#keyboardInputMaster thead tr th strong:hover,
#keyboardInputMaster thead tr th strong.hover,
#keyboardInputMaster thead tr th small:hover,
#keyboardInputMaster thead tr th small.hover,
#keyboardInputMaster thead tr th big:hover,
#keyboardInputMaster thead tr th big.hover {
background-color:#dddddd;
}
#keyboardInputMaster tbody tr td {
text-align:left;
padding:0.2em 0.3em 0.3em 0.3em;
vertical-align:top;
}
#keyboardInputMaster tbody tr td div {
text-align:center;
position:relative;
zoom:1;
}
#keyboardInputMaster tbody tr td table {
white-space:nowrap;
width:100%;
border-collapse:separate;
border-spacing:0;
}
#keyboardInputMaster tbody tr td#keyboardInputNumpad table {
margin-left:0.2em;
width:auto;
}
#keyboardInputMaster tbody tr td table.keyboardInputCenter {
width:auto;
margin:0 auto;
}
#keyboardInputMaster tbody tr td table tbody tr td {
vertical-align:middle;
padding:0 0.45em;
white-space:pre;
height:1.8em;
font-family:'Lucida Console','Arial Unicode MS',monospace;
border-top:0.1em solid #e5e5e5;
border-right:0.1em solid #5d5d5d;
border-bottom:0.1em solid #5d5d5d;
border-left:0.1em solid #e5e5e5;
background-color:#eeeeee;
cursor:default;
min-width:0.75em;
border-radius:0.2em;
transition:background-color .15s ease-in-out;
}
#keyboardInputMaster tbody tr td table tbody tr td.last {
width:99%;
}
#keyboardInputMaster tbody tr td table tbody tr td.space {
padding:0 4em;
}
#keyboardInputMaster tbody tr td table tbody tr td.deadkey {
background-color:#ccccdd;
}
#keyboardInputMaster tbody tr td table tbody tr td.target {
background-color:#ddddcc;
}
#keyboardInputMaster tbody tr td table tbody tr td:hover,
#keyboardInputMaster tbody tr td table tbody tr td.hover {
border-top:0.1em solid #d5d5d5;
border-right:0.1em solid #555555;
border-bottom:0.1emsolid #555555;
border-left:0.1em solid #d5d5d5;
background-color:#cccccc;
}
#keyboardInputMaster thead tr th span:active,
#keyboardInputMaster thead tr th span.pressed,
#keyboardInputMaster tbody tr td table tbody tr td:active,
#keyboardInputMaster tbody tr td table tbody tr td.pressed {
border-top:0.1em solid #555555 !important;
border-right:0.1em solid #d5d5d5;
border-bottom:0.1em solid #d5d5d5;
border-left:0.1em solid #555555;
background-color:#cccccc;
}
#keyboardInputMaster tbody tr td table tbody tr td small {
display:block;
text-align:center;
font-size:0.6em !important;
line-height:1.1em;
}
#keyboardInputMaster tbody tr td div label {
position:absolute;
bottom:0.2em;
left:0.3em;
}
#keyboardInputMaster tbody tr td div label input {
background-color:#f6f6f6;
vertical-align:middle;
font-size:inherit;
width:1.1em;
height:1.1em;
}
#keyboardInputMaster tbody tr td div var {
position:absolute;
bottom:0;
right:0.3em;
font-weight:bold;
font-style:italic;
color:#444444;
}
#keyboardInputMaster #keyboardInputNumpadBksp,
#keyboardInputMaster.numpadOnly #keyboardInputSelect,
#keyboardInputMaster.numpadOnly #keyboardInputNumpadToggle,
#keyboardInputMaster.numpadOnly #keyboardInputKeyboard,
#keyboardInputMaster.numpadOnly #keyboardInputNumpad td {
display:none;
}
#keyboardInputMaster.numpadOnly #keyboardInputNumpadBksp {
display:inline-block;
}
#keyboardInputMaster.numpadOnly #keyboardInputNumpad table {
margin-left:auto;
margin-right:auto;
}
#keyboardInputMaster.numpadOnly > thead > tr > th > * {
font-size:125%;
}
#keyboardInputMaster.numpadOnly #keyboardInputNumpad td.digit,
#keyboardInputMaster.numpadOnly #keyboardInputNumpad.showNegative td.negative,
#keyboardInputMaster.numpadOnly #keyboardInputNumpad.showDecimal td.decimal {
display:table-cell;
font-size:200%;
padding:0 0.9em;
}
.keyboardInputInitiator {
margin:0 0.3em;
vertical-align:middle;
cursor:pointer;
max-height:1.3em;
}