-
Notifications
You must be signed in to change notification settings - Fork 2
/
joydiv-skin-default.css
75 lines (74 loc) · 1.45 KB
/
joydiv-skin-default.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
.joydiv-controller{
position:relative;
top:0;
left:0;
}
.joydiv-controller .joydiv-up,
.joydiv-controller .joydiv-left,
.joydiv-controller .joydiv-right,
.joydiv-controller .joydiv-down{
position:absolute;
width:0;
height:0;
background: transparent;
border:solid transparent;
}
.joydiv-controller .joydiv-up{
top:0;
left:50%;
margin-left:-15%;
border-bottom-color: #CCF;
border-top-width: 0;
border-left-width: .15em;
border-right-width: .15em;
border-bottom-width: .2em;
}
.joydiv-controller .joydiv-left{
left:0;
top:50%;
border-right-color: #CCF;
border-top-width: .15em;
border-left-width: 0;
border-right-width: .2em;
border-bottom-width: .15em;
margin-top:-15%;
}
.joydiv-controller .joydiv-right{
right:0;
top:50%;
margin-top:-15%;
border-left-color: #CCF;
border-top-width: .15em;
border-left-width: .2em;
border-right-width: 0;
border-bottom-width: .15em;
}
.joydiv-controller .joydiv-down{
bottom:0;
left:50%;
margin-left:-15%;
border-top-color: #CCF;
border-top-width: .2em;
border-left-width: .15em;
border-right-width: .15em;
border-bottom-width: 0;
}
.joydiv-controller .joydiv-trackpad{
position:absolute;
left:30%;
right:30%;
top:30%;
bottom:30%;
background:#EEF;
}
.joydiv-controller .joydiv-tracker{
position:absolute;
top:50%;
left:50%;
border-radius:50%;
border-style:solid;
border-width:.1em;
margin-left:-.1em;
margin-top:-.1em;
border-color:#CCF;
}