forked from exigeous/HOTASOverlay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththrottle.css
156 lines (135 loc) · 3.21 KB
/
throttle.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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
@import url('https://fonts.googleapis.com/css?family=Orbitron:400,500');
.custom.controller {
width: 1900px;
height: 360px;
font-family: 'Orbitron', sans-serif;
}
.custom .bumper.pressed:after, .custom .button.pressed:after{
background: red;
color: black;
border-color: black;
transition: none
}
.custom .stick{
width: 20px;
height: 20px;
background: #fd1601;
display: inline-block;
position: absolute;
transform: translate(-50%, -50%);
border-radius: 10px;
}
.custom .bumper:after, .custom .button:after{
position: absolute;
display: inline-block;
background: black;
border: 2px solid hsla(193, 97%, 27%, 1);
color: hsla(193, 97%, 27%, 1);
font-size: 12px;
font-weight: 500;
padding: 10px;
border-radius: 25px;
text-align: center;
white-space: nowrap;
transition: 5s all linear
}
/* - END COMMON STUFF - */
.custom .sticks{
width: 135px;
height: 135px;
display: inline-block;
position: relative;
background: black;
border: 2px solid #03b2e1;
border-radius: 15px;
background-image: linear-gradient(0deg, transparent 48%, #002f3b 49%, #002f3b 50%, #002f3b 51%, transparent 52%, transparent), linear-gradient(90deg, transparent 48%, #002f3b 49%, #002f3b 50%, #002f3b 51%, transparent 52%, transparent);
top: calc(42px);
background-size: calc(100% - 15px) 100%, 100% calc(100% - 15px);
background-repeat: no-repeat;
background-position: center;
padding: 2px
}
.custom .triggers{
width: 20px;
height: 135px;
display: inline-block;
background: black;
position: relative;
border: 2px solid #03b2e1;
border-radius: 20px;
background-image: linear-gradient(0deg, transparent 48%, #002f3b 49%, #002f3b 50%, #002f3b 51%, transparent 52%, transparent);
background-size: calc(100% - 10px) 100%;
background-repeat: no-repeat;
background-position: center;
padding: 5px
}
.custom .triggers:after{
content: "THROTTLE";
display: inline-block;
position: absolute;
font-size: 14px;
color: #03b2e1;
top: 50%;
right: calc(-200%);
transform-origin: center;
transform: translateY(-50%) rotate(-90deg);
}
.custom .sticks:before{
content: "LATERAL";
display: inline-block;
position: absolute;
font-size: 15px;
color: #03b2e1;
top: -1.5em;
left: 50%;
transform: translateX(-50%);
}
.custom .sticks:after{
content: "VERTICAL";
display: inline-block;
position: absolute;
font-size: 15px;
color: #03b2e1;
top: 50%;
right: calc(-30% - 1.25em);
transform-origin: center;
transform: translateY(-50%) rotate(-90deg);
}
.custom .stick.left{
top: 50%;
left: 50%;
}
.custom .stick.right{
top: calc(-120px);
left: 15px;
}
.custom .bumpers{
position: absolute;
top: 0;
left: 0;
}
.custom .abxy{
position: absolute;
width: 100%;
top: 0;
}
.custom .bumper.left:after{
content: "BOOST";
left: 68px;
}
.custom .button.a:after{
content: "ECM";
right: 0;
width: 51px;
}
.custom .button.b:after{
content: "SILENT";
right: 0;
top: 45px;
}
.custom .button.x:after{
content: "HEAT";
right: 80px;
top: 45px;
width: 47px
}