-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
164 lines (148 loc) · 2.83 KB
/
style.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
157
158
159
160
161
162
163
164
html {
background-color: #e8eaed;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
display: flex;
justify-content: space-around;
height: 100vh;
user-select: none;
margin: 2px 0px 0px 0px;
background-color: #e8eaed;
}
.app {
margin: auto;
width: 375px;
border-radius: 10px;
background-color: white;
box-shadow: 0px 3px 5px 1px #DDD;
}
.title-container {
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
font-size: 22px;
font-weight: bold;
border-bottom: 1px solid #DDD;
}
span {padding-right: 8px;}
#cc {color:#00B8F0}
#cb {color: #E1288E}
#wr {color: #939498}
.controls {
display: flex;
border-bottom: 1px solid #DDD;
padding: 10px 10px 10px 0px;
}
.control-btns {
display: flex;
width: 50%;
justify-content: center;
align-items: center;
margin-left: 10px;
border-radius: 20px;
border: 1px solid lightgrey;
}
button {
margin: 10px;
cursor: pointer;
border: none;
border-radius: 10px;
transition: filter 0.3s;
box-shadow: 0px 1px 4px 0px #AAA;
}
button:active {
filter: brightness(0.7);
}
#left, #right, #accelerate, #reverse {
font-family: "Inter", Calibri;
font-weight: bold;
font-size: 25px;
text-align: center;
padding: 8px;
color: #555;
width: 65px;
height: 65px;
border: 1px solid;
}
#left, #right {border-color: #00B8F0; transform: rotate(-90deg)}
#accelerate, #reverse {border-color: #E1288E;}
.actions {
display: flex;
padding: 10px;
}
.actions button {
font-size: 11px;
width: 100px;
padding: 10px 10px 10px 40px;
text-align: center;
background-position: left 10% bottom 65%;
background-repeat: no-repeat;
}
#clientConnectButton {
background-image:url(./images/circuit_cubes_bluetooth_28.png);
}
#remoteConnectButton {
background-image:url(./images/lego_remote_28.png);
}
#settingsButton {
background-image:url(./images/gear_28.png);
}
.connected {
color: white;
background-color: #3498db;
}
#settings {
display: none;
padding: 0px 10px 10px 10px;
text-align: left;
font-size: 11px;
}
.group {
display: flex;
}
.set {
border-radius: 10px;
border: 1px solid lightgrey;
padding: 5px;
margin: 2px;
}
input {
font-size: inherit;
}
input:disabled {
color: black;
}
#steer_speed, #drive_speed, #interval {
width: 20px;
border: none;
text-align: right;
}
#inc, #dec {
margin: 1px;
border: 1px solid #3498db;
width: 20px;
height: 20px;
}
#terminal {
display: none;
}
.about {
padding: 5px;
font-size: 10px;
border-top: 1px solid #DDD;
}
a {
color: inherit;
}
a:link {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: inherit;
}