Refactor displays to allow for centralized remote configuration.

This commit is contained in:
Patrick Fairbank
2018-09-09 22:42:38 -07:00
parent 6cfdcc924d
commit 833bd32ab2
46 changed files with 1018 additions and 201 deletions

View File

@@ -24,9 +24,6 @@ body[data-mode=fieldReset] {
.mode {
display: none;
}
body[data-mode=displayId] .mode#displayId {
display: block;
}
body[data-mode=logo] .mode#logo {
display: block;
}
@@ -48,21 +45,6 @@ body[data-mode=fieldReset] .mode#fieldReset {
margin: auto auto;
}
/* Display ID Mode */
#displayId {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto auto;
height: 1px;
line-height: 1px;
text-align: center;
color: #ff0;
font-size: 500px;
}
/* Field Reset Mode */
#fieldReset {
position: absolute;
@@ -171,4 +153,4 @@ body[data-position=right] #inMatch #blueScore {
}
#teamRank {
background-color: transparent;
}
}