-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathjk-keyboard.css
70 lines (67 loc) · 1.43 KB
/
jk-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
.jk-keyboard {
position: fixed;
left: 0;
width: 100%;
bottom: 0;
opacity: 0.2;
transition: 0.3s all ease-in-out;
-webkit-transform: translate3d(0, 120%, 0);
transform: translate3d(0, 120%, 0); }
.jk-keyboard.open {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0); }
.jk-key {
font-size: 24px;
font-family: sans-serif;
color: #000;
display: block;
text-align: center;
position: absolute;
width: 25vw;
border: 1px solid #dedfe2;
margin: -1px;
background-color: #fafafb; }
.jk-key.submit {
color: #fff;
background-color: #06bf04; }
.jk-key.submit.disabled {
color: #beeabe;
background-color: #64d364; }
.jk-key.jk-text {
font-size: 22px; }
.jk-key.down {
background-color: #ededed; }
.jk-key.jk-left-0 {
left: 0%; }
.jk-key.jk-left-1 {
left: 25%; }
.jk-key.jk-left-2 {
left: 50%; }
.jk-key.jk-left-3 {
left: 75%; }
.jk-key.jk-top-0 {
top: 0%; }
.jk-key.jk-top-1 {
top: 25%; }
.jk-key.jk-top-2 {
top: 50%; }
.jk-key.jk-top-3 {
top: 75%; }
.jk-keyboard {
height: 40vh; }
.jk-key {
height: 10vh;
line-height: 10vh; }
.jk-key.jk-height-0 {
height: 10vh;
line-height: 10vh; }
.jk-key.jk-height-1 {
height: 20vh;
line-height: 20vh; }
.jk-key.jk-height-2 {
height: 30vh;
line-height: 30vh; }
.jk-key.jk-height-3 {
height: 40vh;
line-height: 40vh; }