-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFP_input_viewer_v2.css
More file actions
101 lines (101 loc) · 2.08 KB
/
FP_input_viewer_v2.css
File metadata and controls
101 lines (101 loc) · 2.08 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 (v2) by Animach1ne*/
/* ************************************************************/
.controller.custom{
background: url(https://i.imgur.com/cIhjhft.png);
height: 240px;
width: 600px;
}
.custom.disconnected {
background: url(https://i.imgur.com/5jfvZa9.png);
}
.custom.disconnected div {
display: none;
}
/* ************************************************************/
.custom .start{
position: absolute;
background: url(https://i.imgur.com/1OTazQy.png);
width: 88px;
height: 64px;
top: 24px;
left: 376px;
opacity: 0;
}
.custom .start.pressed{
opacity: 1;
}
/* ************************************************************/
.custom .abxy{
position: absolute;
width: 336px;
height: 96px;
top: 120px;
left: 248px;
}
/* base class used to simplify the sprite mapping */
.custom .button{
position: absolute;
width:96px;
height:96px;
background: url(https://i.imgur.com/XE1pPi3.png);
opacity: 0;
}
.custom .button.a.pressed{
top: 0px;
left: 0px;
opacity: 1;
}
.custom .button.b.pressed{
top: 0px;
left: 120px;
opacity: 1;
}
.custom .button.y.pressed{
top: 0px;
left: 240px;
opacity: 1;
}
/* ************************************************************/
.custom .dpad{
position: absolute;
width: 200px;
height: 200px;
top: 16px;
left: 16px;
}
.custom .face{
position: absolute;
opacity: 0;
}
.custom .face.up{
background: url(https://i.imgur.com/IYpR5Rf.png);
width: 64px;
height: 96px;
left: 72px;
top: 0px;
}
.custom .face.down{
background: url(https://i.imgur.com/yLs7dPD.png);
width: 64px;
height: 96px;
left: 72px;
top: 112px;
}
.custom .face.left{
background: url(https://i.imgur.com/BLYW2YY.png);
width: 96px;
height: 64px;
left: 0px;
top: 72px;
}
.custom .face.right{
background: url(https://i.imgur.com/8VLtXXT.png);
width: 96px;
height: 64px;
left: 112px;
top: 72px;
}
.custom .face.pressed{
opacity: 1;
}
/*END Freedom Planet Input Viewer Styling*/