forked from FRCDashboard/FRCDashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
156 lines (155 loc) · 2.71 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
::-webkit-scrollbar {
display: none;
}
body {
font: 16px sans-serif;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: white;
overflow: hidden;
background: #222;
}
button,
input[type="text"],
input[type="number"],
.select-container,
select {
color: white;
background: #444;
border: none;
font-size: 14px;
padding: 6px 8px;
cursor: pointer;
outline: 0;
}
.select-container {
padding: 0;
display: inline-block;
}
select {
border: none;
background: none;
color: white;
height: 25px;
}
input[type="text"],
input[type="number"] {
cursor: text;
}
input[type="checkbox"] {
-webkit-filter: saturate(0);
filter: saturate(0);
}
/* Major interface panes, aside, article, header, etc. */
body > * {
padding: 10px;
position: fixed;
overflow: scroll;
background: #222;
}
#timer {
font-family: monospace;
display: block;
height: 20vh;
width: 30vw;
top: 0;
left: 0;
font-size: 20vh;
line-height: .8;
}
header {
width: 20vw;
height: 20vh;
top: 0;
left: 30vw;
color: white;
}
#camera {
padding: 0;
position: fixed;
bottom: 0;
left: 0;
width: 50vw;
height: 80vh;
overflow: hidden;
background-color: #333;
/* You'll need to mess with this a bit to get your camera to work. Replace the url with a live-updating image feed from your camera. Using other camera streaming systems will require some tweaking. */
background-image: url('LINK TO CAMERA SOURCE HERE');
}
#tuning {
width: 50vw;
height: 80vh;
bottom: 0;
left: 0;
}
#tuning div {
margin: 20px 0;
}
#tuning p {
margin-bottom: 10px;
}
article {
top: 0;
left: 50vw;
height: 100vh;
width: 35vw;
}
svg * {
stroke: white;
fill: #222;
stroke-width: 2;
-webkit-transform-origin: center;
-ms-transform-origin: center;
transform-origin: center;
}
text {
font-size: 16px;
letter-spacing: 2px;
stroke: none;
fill: white;
}
#gyro {
width: 175px;
height: 175px;
margin-left: 30px;
margin-top: 15px;
}
#gyro-arm {
-webkit-transform-origin: bottom;
-ms-transform-origin: bottom;
transform-origin: bottom;
}
#gyro-number {
font-size: 25px;
text-anchor: middle;
}
#robot-diagram {
position: absolute;
bottom: 1px;
right: 1vw;
}
#robot-arm {
-webkit-transform-origin: right;
-ms-transform-origin: right;
transform-origin: right;
}
#team {
font-size: 28px;
letter-spacing: -1px;
}
aside {
right: 0;
top: 0;
width: 15vw;
height: 100vh;
}
aside > * {
margin-bottom: 20px;
}