forked from Team254/cheesy-arena
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14a039b
commit 5c61150
Showing
6 changed files
with
626 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
/* | ||
Copyright 2019 Team 254. All Rights Reserved. | ||
Author: pat@patfairbank.com (Patrick Fairbank) | ||
*/ | ||
html { | ||
height: 100%; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
overscroll-behavior: none; | ||
} | ||
body { | ||
height: 100%; | ||
background-color: #222; | ||
overscroll-behavior: none; | ||
} | ||
.container { | ||
padding-top: 1vw; | ||
width: 100%; | ||
max-width: none; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: center; | ||
} | ||
#alliance { | ||
width: 98%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: center; | ||
border-radius: 25px; | ||
border: 1px solid #333; | ||
} | ||
#alliance[data-alliance="red"] { | ||
background-color: #322; | ||
} | ||
#alliance[data-alliance="blue"] { | ||
background-color: #223; | ||
} | ||
#matchName { | ||
margin-bottom: 0.5vw; | ||
font-size: 2vw; | ||
} | ||
.scoring-section { | ||
margin-bottom: 0.5vw; | ||
display: flex; | ||
font-size: 1.5vw; | ||
color: #ccc; | ||
} | ||
.scoring-header>div{ | ||
height: 3.3vw; | ||
display: flex; | ||
align-items: center; | ||
margin: 0.4vw 1vw 0.4vw 0.2vw; | ||
color: #ccc; | ||
} | ||
.robot-field { | ||
width: 17vw; | ||
height: 3.3vw; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
margin: 0.4vw 0.2vw; | ||
} | ||
.team { | ||
display: flex; | ||
justify-content: center; | ||
font-size: 3vw; | ||
font-weight: bold; | ||
} | ||
.boolean[data-value="false"] { | ||
background-color: #333; | ||
} | ||
.boolean[data-value="true"] { | ||
background-color: #263; | ||
} | ||
#postMatchMessage { | ||
height: 5vw; | ||
display: none; | ||
align-items: center; | ||
font-size: 1.5vw; | ||
color: #c90; | ||
} | ||
#commitMatchScore { | ||
height: 5vw; | ||
display: none; | ||
align-items: center; | ||
} | ||
#commitMatchScore>button { | ||
font-size: 1vw; | ||
} | ||
#stage { | ||
position: relative; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
#stageGraphic { | ||
margin-top: 9vw; | ||
height: 30vw; | ||
color: #999; | ||
} | ||
.stage-side { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
display: flex; | ||
width: 16vw; | ||
height: 8vw; | ||
border: 0.5px solid #111; | ||
} | ||
.stage-side-col { | ||
display: flex; | ||
flex-direction: column; | ||
flex-grow: 1; | ||
height: 100%; | ||
} | ||
.stage-side-col div { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-grow: 1; | ||
font-size: 1.5vw; | ||
background-color: #333; | ||
border: 0.5px solid #111; | ||
} | ||
#stageLeft { | ||
top: 20vw; | ||
left: -8.5vw; | ||
} | ||
#centerStage { | ||
top: 0.5vw; | ||
left: 9.3vw; | ||
} | ||
#stageRight { | ||
top: 20vw; | ||
left: 25.9vw; | ||
} | ||
#park { | ||
top: 13vw; | ||
left: 12.2vw; | ||
width: 9vw; | ||
} | ||
|
||
.goal { | ||
width: 10vw; | ||
height: 5vw; | ||
margin: 0.4vw 3vw; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
.number-button { | ||
width: 4vw; | ||
height: 4vw; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
border: 1px solid #666; | ||
border-radius: 0.5vw; | ||
font-size: 3vw; | ||
} | ||
.plus { | ||
background: #263; | ||
} | ||
.minus { | ||
background: #633; | ||
} | ||
#elements { | ||
|
||
justify-content: space-evenly; | ||
align-items: start; | ||
} | ||
.shortcut { | ||
margin: 0 0.2vw; | ||
font-size: 1vw; | ||
align-self: flex-start; | ||
} | ||
|
||
.column { | ||
float: left; | ||
width: 50%; | ||
} | ||
|
||
/* Clear floats after the columns */ | ||
.row:after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.