aboutsummaryrefslogtreecommitdiff
path: root/styles.css
blob: bff4d949bca21ba6d9891189da804b1e33e9b371 (plain) (blame)
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
html, body {
    margin: 0;
    padding: 0;
    /* width: 100%;
    height: 100%; */
    font-family: monospace;
    overflow: hidden;
}

body {
    margin: 10px;
}

.info h1 {
    margin: 0;
}

.info-device {
    margin: 0;
    display: flex;
    align-items: center;
}

.info-device i {
    font-size: 15px;
}

.connection {
    display: flex;
    align-items: center;
    color: #c32222;
}

.connected .connection {
    color: #008000;
}

.connection-status {
    text-transform: uppercase;
}

.battery {
    display: none;
    margin-left: 5px;
    /* display: flex; */
    align-items: center;
    color: #4a4a4a;
}

.connected .battery {
    display: flex;
}

.arm {
    display: none;
    margin-left: 5px;
    /* display: flex; */
    align-items: center;
    color: #c32222;
}

.connected .arm {
    display: flex;
}

.arm.armed {
    color: #008000;
}

.options {
    position: absolute;
    display: flex;
    bottom: 60px;
    right: 60px;
    flex-direction:column-reverse;
}

.options button {
    margin-top: 5px;
    border: 1px solid black;
    background-color: #b5b5b5;
    padding: 5px;
}

.throttle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: calc(100% - 70px);

    margin: 0;

    background-color: #b5b5b5;
    border: 1px solid black;
}

.throttle-thumb {
    width: 40px;
    height: 1%;
    position: absolute;
    bottom: 0;
    background-color: green;
}

.rudder {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 70px);
    height: 40px;
    margin: 0;
    background-color: #b5b5b5;
    border: 1px solid black;
}

.rudder-thumb {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 40px;
    background-color: yellow;
}