Skip to content

Commit

Permalink
Tweak graphics to fit five-digit team numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
patfair committed Jun 9, 2024
1 parent 833e5c8 commit e6ef4fb
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion static/css/alliance_station_display.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ body[data-position=right] #inMatch #blueScore {
left: 0;
right: 0;
margin: 0 auto;
font-size: 35vw;
font-size: 28vw;
line-height: 450px;
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion static/css/audience_display.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ html {
border-left: none;
}
.teams {
width: 60px;
width: 70px;
height: 100%;
display: none;
flex-direction: column;
Expand Down
6 changes: 3 additions & 3 deletions static/css/field_monitor_display.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ body {
display: none;
}
.left-position, .right-position {
width: 8%;
width: 6%;
height: 100%;
font-size: 6vw;
}
Expand All @@ -69,7 +69,7 @@ body {
display: none;
}
.team {
width: 42%;
width: 44%;
height: 100%;
background-color: #333;
display: flex;
Expand All @@ -78,7 +78,7 @@ body {
.team-id {
width: 100%;
height: 80%;
font-size: 13vw;
font-size: 12vw;
}
.team-id[data-fta="true"] {
height: 40%;
Expand Down
5 changes: 4 additions & 1 deletion static/css/queueing_display.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,13 @@ body {
}
.alliance-container {
display: flex;
height: 192px;
height: 144px;
justify-content: space-between;
align-items: center;
}
.alliance-tall {
height: 192px;
}
.alliance-number {
width: 40px;
height: 40px;
Expand Down
2 changes: 1 addition & 1 deletion static/css/wall_display.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ html {
border-left: none;
}
.teams {
width: 60px;
width: 70px;
height: 100%;
display: none;
flex-direction: column;
Expand Down
18 changes: 9 additions & 9 deletions templates/bracket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions templates/queueing_display_match_load.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ <h1 class="mt-2">{{$match.Time.Local.Format "3:04 PM"}}</h1>
<div class="col-lg-2 red-teams">
{{if $match.Red1}}
<div class="row">
<div class="col-lg-7">
<div class="col-lg-8">
{{$match.Red1}}<br />{{$match.Red2}}<br />{{$match.Red3}}
{{range $team := (index $.RedOffFieldTeams $i) }}
<br />{{$team}}
{{end}}
</div>
<div class="col-lg-5">
<div class="col-lg-4">
{{if $match.PlayoffRedAlliance}}
<div class="alliance-container">
<div class="alliance-container{{if (index $.RedOffFieldTeams $i)}} alliance-tall{{end}}">
<div class="alliance-number">{{$match.PlayoffRedAlliance}}</div>
</div>
{{end}}
Expand All @@ -61,15 +61,15 @@ <h1 class="mt-2">{{$match.Time.Local.Format "3:04 PM"}}</h1>
<div class="col-lg-2 blue-teams text-end">
{{if $match.Blue1}}
<div class="row">
<div class="col-lg-5">
<div class="col-lg-4">
{{if $match.PlayoffBlueAlliance}}
<div class="alliance-container">
<div class="alliance-container{{if (index $.BlueOffFieldTeams $i)}} alliance-tall{{end}}">
<div></div>
<div class="alliance-number">{{$match.PlayoffBlueAlliance}}</div>
</div>
{{end}}
</div>
<div class="col-lg-7">
<div class="col-lg-8">
{{$match.Blue1}}<br />{{$match.Blue2}}<br />{{$match.Blue3}}
{{range $team := (index $.BlueOffFieldTeams $i) }}
<br />{{$team}}
Expand Down

0 comments on commit e6ef4fb

Please sign in to comment.