mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
152 lines
2.7 KiB
CSS
152 lines
2.7 KiB
CSS
/*
|
|
Copyright 2014 Team 254. All Rights Reserved.
|
|
Author: nick@team254.com (Nick Eyre)
|
|
*/
|
|
|
|
html {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
overflow: hidden;
|
|
}
|
|
body {
|
|
background-color: #000;
|
|
font-family: "FuturaLTBold";
|
|
color: #fff;
|
|
}
|
|
body[data-mode=logo] {
|
|
background-color: #fff;
|
|
}
|
|
|
|
|
|
/* Switching Modes */
|
|
.mode {
|
|
display: none;
|
|
}
|
|
body[data-mode=displayId] .mode#displayId {
|
|
display: block;
|
|
}
|
|
body[data-mode=logo] .mode#logo {
|
|
display: block;
|
|
}
|
|
body[data-mode=match] .mode#match {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/* Logo Mode */
|
|
#logo #logoImg {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 90%;
|
|
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;
|
|
}
|
|
|
|
/* Match Mode */
|
|
#match {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
#match[data-state=AUTO_PERIOD], #match[data-state=PAUSE_PERIOD], #match[data-state=TELEOP_PERIOD],
|
|
#match[data-state=ENDGAME_PERIOD], #match[data-state=POST_MATCH] {
|
|
background-color: #fff;
|
|
color: #000;
|
|
}
|
|
#preMatch, #inMatch {
|
|
display: none;
|
|
}
|
|
#match[data-state=PRE_MATCH] #preMatch {
|
|
display: block;
|
|
}
|
|
#match[data-state=AUTO_PERIOD] #inMatch, #match[data-state=PAUSE_PERIOD] #inMatch,
|
|
#match[data-state=TELEOP_PERIOD] #inMatch, #match[data-state=ENDGAME_PERIOD] #inMatch,
|
|
#match[data-state=POST_MATCH] #inMatch {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/* In Match */
|
|
#inMatch .datapoint {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
margin: auto;
|
|
margin-top: -250px;
|
|
height: 250px;
|
|
top: 50%;
|
|
font-size: 500px;
|
|
line-height: 500px;
|
|
text-align: center;
|
|
}
|
|
body[data-position=left] #inMatch #redScore {
|
|
display: block;
|
|
color: #f43;
|
|
}
|
|
body[data-position=middle] #inMatch #timeRemaining {
|
|
display: block;
|
|
}
|
|
body[data-position=right] #inMatch #blueScore {
|
|
display: block;
|
|
color: #07f;
|
|
}
|
|
|
|
/* Pre Match */
|
|
#preMatch #teamNumber {
|
|
position: absolute;
|
|
top: 40px;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 0 auto;
|
|
font-size: 500px;
|
|
line-height: 500px;
|
|
text-align: center;
|
|
}
|
|
#preMatch .databar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 0 auto;
|
|
height: 200px;
|
|
line-height: 200px;
|
|
text-align: center;
|
|
font-family: "FuturaLT";
|
|
font-size: 120px;
|
|
color: #fff;
|
|
}
|
|
#preMatch .databar#disabled {
|
|
font-family: "FuturaLTBold";
|
|
display: none;
|
|
}
|
|
#match[data-status=bypass] #disabled {
|
|
display: block;
|
|
}
|
|
#match[data-status=bypass] #teamName {
|
|
display: none;
|
|
}
|
|
[data-alliance-bg=R], [data-status=R] {
|
|
background-color: #d00;
|
|
}
|
|
[data-alliance-bg=B], [data-status=B] {
|
|
background-color: #00c;
|
|
}
|