-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
208 lines (181 loc) · 4.26 KB
/
styles.css
File metadata and controls
208 lines (181 loc) · 4.26 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/* styles.css */
body {
font-family: 'Courier New', Courier, monospace;
text-align: center;
background-color: #121212;
color: #ffffff;
margin: 0;
padding: 0;
overflow-x: hidden;
}
.container {
margin-top: 50px;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: 38px;
text-shadow: 0 0 5px #ff0000;
margin-bottom: 20px;
border-bottom: 2px solid #ff0000;
padding-bottom: 10px;
width: 100%;
}
.config-selector {
margin-bottom: 20px;
width: 100%;
border-bottom: 2px solid #ff0000;
padding-bottom: 20px;
}
.config-selector label {
font-size: 24px;
margin-right: 10px;
color: #ffff00;
}
.config-selector select {
font-size: 20px;
padding: 5px;
background-color: #1a1a1a;
color: #ffffff;
border: 1px solid #ff0000;
border-radius: 0; /* Square corners */
}
.config-stats {
width: 1200px; /* Same width as the oscilloscope */
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.5);
border: 1px solid #ff0000;
border-radius: 0; /* Square corners */
box-shadow: 0 0 5px #ff0000;
border-bottom: 2px solid #ff0000;
padding-bottom: 20px;
}
.config-stats table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.config-stats th, .config-stats td {
padding: 10px;
border: 1px solid #ff0000;
text-align: left;
color: #ffffff;
}
.config-stats th {
background-color: #1a1a1a;
}
.config-stats img {
max-width: 150px;
margin: 10px;
border-radius: 0; /* Square corners */
box-shadow: 0 0 5px #ff0000;
background-color: white; /* White background for the image */
}
.controls-container {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
border-bottom: 2px solid #ff0000;
padding-bottom: 20px;
width: 100%;
}
.speedometer-container {
display: flex;
flex-direction: column;
align-items: center;
margin-right: 0px;
border: 0px solid #ffffff;
}
.speedometer-digital {
margin-top: 10px;
font-size: 20px; /* Smaller font size */
text-shadow: 0 0 5px #ff0000;
color: #ffff00;
}
.buttons-column {
display: flex;
flex-direction: column;
margin-right: 20px;
border: 1px solid #ff0000;
border-radius: 0; /* Square corners */
overflow: hidden;
}
.buttons-column button {
margin: 0;
padding: 15px 20px; /* Wider buttons */
background-color: #1a1a1a;
color: #ffffff;
border: none;
border-bottom: 1px solid #ff0000; /* Separator between buttons */
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
font-size: 18px;
border-radius: 0; /* Square corners */
}
.buttons-column button:last-child {
border-bottom: none; /* Remove separator for the last button */
}
.buttons-column button:hover {
background-color: #ff0000;
color: #1a1a1a;
}
.buttons-column button.active-power,
.buttons-column button.active-power-prev {
background-color: #00ffff;
color: #000000;
}
.buttons-column button.active-neutral {
background-color: #28A745;
color: #ffffff;
}
.buttons-column button.active-braking,
.buttons-column button.active-braking-prev {
background-color: #FFC107;
color: #1a1a1a;
}
canvas {
border: 1px solid #ff0000;
border-radius: 0; /* Square corners */
box-shadow: 0 0 5px #ff0000;
}
.volume-slider {
margin-top: 20px;
border-bottom: 2px solid #ff0000;
padding-bottom: 20px;
width: 100%;
}
.volume-slider label {
font-size: 24px;
margin-right: 10px;
color: #ffff00;
}
.volume-slider input[type="range"] {
width: 200px;
background-color: #1a1a1a;
border: 1px solid #ff0000;
border-radius: 0; /* Square corners */
outline: none;
appearance: none;
height: 10px;
}
.volume-slider input[type="range"]::-webkit-slider-thumb {
appearance: none;
width: 20px;
height: 20px;
background-color: #ff0000;
border-radius: 0; /* Square corners */
cursor: pointer;
}
.volume-slider input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
background-color: #ff0000;
border-radius: 0; /* Square corners */
cursor: pointer;
}