-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSM64_Input_Viewer.css
More file actions
127 lines (127 loc) · 2.7 KB
/
SM64_Input_Viewer.css
File metadata and controls
127 lines (127 loc) · 2.7 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
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
/*SM64 Controller Styling by Animach1ne*/
/* *********************************************************** */
.controller.custom{
background: url(https://i.imgur.com/Xd2YGBb.png);
height: 174px;
width: 415px;
}
.custom.disconnected {
background: url(https://i.imgur.com/CedTF4s.png);
}
.custom.disconnected div {
display: none;
}
/* *********************************************************** */
.custom .trigger{
position: absolute;
opacity: 0;
}
.custom .trigger-button.left.pressed{ /* Actually Z */
background: url(https://i.imgur.com/KuL5QPU.png);
width:30px;
height:50px;
opacity: 1;
position: absolute;
left: 151px;
top: 92px;
}
.custom .trigger-button.right.pressed{ /* Actually A*/
background: url(https://i.imgur.com/dw83QRr.png);
width: 44px;
height: 45px;
opacity: 1;
position: absolute;
left: 238px;
top: 81px;
}
/* *********************************************************** */
.custom .stick.left{
position: absolute;
width: 44px;
height: 44px;
top: 64px;
left: 53px;
background: url(https://i.imgur.com/tNTSU7I.png);
}
/* *********************************************************** */
.custom .bumper{
background: url(https://i.imgur.com/bC82SKp.png);
width: 107px;
height: 35px;
opacity: 0;
}
.custom .bumpers{
position: absolute;
width: 107px;
height: 35px;
left: 290px;
top: 18px;
}
.custom .bumper.pressed{
opacity: 1;
}
.custom .bumper.right{
float: right;
}
/* *********************************************************** */
.custom .start{
position: absolute;
background: url(https://i.imgur.com/U9VUBvD.png);
width: 42px;
height: 42px;
top: 32px;
left: 145px;
opacity: 0;
}
.custom .start.pressed{
opacity: 1;
}
.custom .back{ /*Actually B*/
position: absolute;
background: url(https://i.imgur.com/dMSHebf.png);
width: 44px;
height: 44px;
top: 48px;
left: 205px;
opacity: 0;
}
.custom .back.pressed{
opacity: 1;
}
/* *********************************************************** */
.custom .abxy{
position: absolute;
width: 78px;
height: 78px;
top: 74px;
left: 304px;
}
/* base class used to simplify the sprite mapping */
.custom .button{
position: absolute;
width:26px;
height:26px;
background: url(https://i.imgur.com/m1M39nS.png);
opacity: 0;
}
.custom .button.a.pressed{
top: 52px;
left: 26px;
opacity: 1;
}
.custom .button.x.pressed{
top: 26px;
left: 0px;
opacity: 1;
}
.custom .button.b.pressed{
top: 26px;
left: 52px;
opacity: 1;
}
.custom .button.y.pressed{
top: 0px;
left: 26px;
opacity: 1;
}
/*END SM64 Controller Styling*/