-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFP_Input_viewer.css
More file actions
101 lines (101 loc) · 2.07 KB
/
FP_Input_viewer.css
File metadata and controls
101 lines (101 loc) · 2.07 KB
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
/*Freedom Planet Input Viewer Styling by Animach1ne*/
/* ************************************************************/
.controller.custom{
background: url(https://i.imgur.com/GmJLhiD.png);
height: 144px;
width: 344px;
}
.custom.disconnected {
background: url(https://i.imgur.com/OCesIBI.png);
}
.custom.disconnected div {
display: none;
}
/* ************************************************************/
.custom .start{
position: absolute;
background: url(https://i.imgur.com/pQHWKGO.png);
width: 44px;
height: 32px;
top: 12px;
left: 148px;
opacity: 0;
}
.custom .start.pressed{
opacity: 1;
}
/* ************************************************************/
.custom .abxy{
position: absolute;
width: 168px;
height: 64px;
top: 40px;
left: 168px;
}
/* base class used to simplify the sprite mapping */
.custom .button{
position: absolute;
width:48px;
height:48px;
background: url(https://i.imgur.com/dvBenCF.png);
opacity: 0;
}
.custom .button.a.pressed{
top: 16px;
left: 0px;
opacity: 1;
}
.custom .button.b.pressed{
top: 8px;
left: 60px;
opacity: 1;
}
.custom .button.y.pressed{
top: 0px;
left: 120px;
opacity: 1;
}
/* ************************************************************/
.custom .dpad{
position: absolute;
width: 128px;
height: 128px;
top: 8px;
left: 8px;
}
.custom .face{
position: absolute;
opacity: 0;
}
.custom .face.up{
background: url(https://i.imgur.com/vqeinI4.png);
width: 32px;
height: 60px;
left: 48px;
top: 0px;
}
.custom .face.down{
background: url(https://i.imgur.com/IXUzFNR.png);
width: 32px;
height: 60px;
left: 48px;
top: 68px;
}
.custom .face.left{
background: url(https://i.imgur.com/22KVoHf.png);
width: 60px;
height: 32px;
left: 0px;
top: 48px;
}
.custom .face.right{
background: url(https://i.imgur.com/VXPhp4M.png);
width: 60px;
height: 32px;
left: 68px;
top: 48px;
}
.custom .face.pressed{
opacity: 1;
}
/*END Freedom Planet Input Viewer Styling*/