-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.css
157 lines (156 loc) · 3.09 KB
/
main.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
/*
* jsKeysConfig generator
* http://github.com/summerstyle/jsKeysConfig
*
* Copyright 2014 Vera Lobacheva (http://summerstyle.ru)
* Released under the GPL3 (GPL3.txt)
*/
#keyboard {
position: relative;
padding: 15px 0 5px 15px;
background-color: #F9F9F9;
background-image: -moz-linear-gradient(top, #F9F9F9, #FAFAFA);
border-radius: 5px;
width: 855px;
margin: 0 auto;
box-shadow: rgba(0, 0, 0, 0.01) 0 -1px 5px 5px,
rgba(0, 0, 0, 0.05) 0 -1px 3px 1px,
rgba(0, 0, 0, 0.1) 0 -2px 1px 0,
rgba(0, 0, 0, 0.1) 0 0 1px 0,
rgba(255, 255, 255, 0.5) 0 0 10px 0 inset;
}
#kb_indicators {
position: absolute;
left: 730px;
top: 20px;
color: #666;
line-height: 1;
font-size: 12px;
font-family: monospace;
}
#kb_indicators input {
vertical-align: middle;
margin-right: 2px;
}
#kb_indicators label {
cursor: pointer;
}
.row {
margin-bottom: 10px;
}
.key {
float: left;
border-radius: 3px;
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px,
rgba(0, 0, 0, 0.1) 0 2px 2px 0,
rgba(255, 255, 255, 1) 0 1px 1px 0 inset;
background: #FAFAFA;
margin: 0 10px 0 0;
font-size: 14px;
line-height: 30px;
height: 30px;
width: 30px;
padding: 3px;
text-align: center;
cursor: pointer;
position: relative;
color: rgba(0, 0, 0, 0.5);
text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
transition: color 0.5s,
box-shadow 0.5s,
background 0.5s;
}
.key.column1_5 {
width: 53px;
}
.key.column2 {
width: 76px;
}
.key.column2_5 {
width: 99px;
}
.key.column3 {
width: 122px;
}
.key.column4 {
width: 174px;
}
.key.column5 {
width: 214px;
}
.key.column6 {
width: 260px;
}
.key.column6 {
width: 306px;
}
.key:active {
box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(255, 255, 255, 1) 0 1px 1px 0 inset;
}
.key.selected {
box-shadow: rgba(0, 0, 0, 0.4) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 1px 1px 0 inset;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
background: rgba(46, 188, 46, 0.5);
color: rgba(0, 0, 0, 0.7);
}
.key.double {
line-height: 1.3;
}
.key.named {
font-size: 11px;
text-align: left;
}
.key.right {
text-align: right;
}
.key.with_margin {
margin-right: 33px;
}
.key.with_left_space {
margin-left: 46px;
}
.key > .keyname {
position: absolute;
bottom: 100%;
left: 0;
background: #FFF;
color: #000;
box-shadow: rgba(0,0,0,0.7) 0 -1px 2px;
padding: 2px 5px;
font-size: 10px;
line-height: 1;
display: none;
}
.key:hover > .keyname {
display: block;
}
.key > .keycode {
position: absolute;
background: #777;
color: #FFF;
font-size: 10px;
line-height: 1;
border-radius: 2px;
right: -1px;
bottom: -1px;
padding: 1px 2px;
display: none;
}
.with_codes .key > .keycode {
display: block;
}
.main {
font-size: 11px;
display: block;
}
.shift {
font-size: 11px;
display: block;
}
.first {
margin-bottom: 20px;
}
.first .key {
height: 20px !important;
line-height: 20px;
}