Skip to content

Commit

Permalink
Make Field Monitor Colorblind friendly (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
FletcherS7 authored Oct 9, 2023
1 parent 8aa4c4e commit 6d6e3be
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions static/css/field_monitor_display.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
Copyright 2018 Team 254. All Rights Reserved.
Author: [email protected] (Patrick Fairbank)
*/
Expand Down Expand Up @@ -51,6 +51,9 @@ body {
#eventStatusRow[data-ds="true"] {
display: none;
}
#eventStatusRow[data-fta="false"] {
display: none;
}
.left-position, .right-position {
width: 8%;
height: 100%;
Expand Down Expand Up @@ -82,20 +85,20 @@ body {
font-size: 6vw;
}
.team-id[data-status=no-link], .team-notes[data-status=no-link] {
background-color: #963;
background-color: #AAA;
}
.team-id[data-status=ds-linked], .team-notes[data-status=ds-linked] {
background-color: #ff0;
color: #333;
background-color: #EDAB33;
}
.team-id[data-status=robot-linked], .team-notes[data-status=robot-linked] {
background-color: #0a3;
background-color: #00ff00;
color: #333;
}
.team-id[data-status=radio-linked], .team-notes[data-status=radio-linked] {
background-color: #ff00ff;
background-color: #AA3377;
}
.team-id[data-status=wrong-station], .team-notes[data-status=wrong-station] {
background-color: #246f92;
background-color: #4477AA;
}
.team-box-row {
display: flex;
Expand All @@ -109,7 +112,8 @@ body {
background-color: #333;
}
.team-box[data-status-ok="true"] {
background-color: #0a3;
background-color: #00ff00;
color: #333;
}
.team-box[data-status-ok="false"] {
background-color: #f44;
Expand Down Expand Up @@ -156,3 +160,4 @@ textarea {
.left-score[data-reversed=true], .right-score[data-reversed=false] {
color: #2080ff;
}

0 comments on commit 6d6e3be

Please sign in to comment.