Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend: Penalty Tracking Screens improved #65

Merged
merged 6 commits into from
Jun 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 29 additions & 3 deletions html/controls/pt/index.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
body { font-size: 10pt; }

body {
font-size: 11pt;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;";
}
table,tr,td{
border-collapse: collapse;
border-color:#777;
}
/*increase readability by making penalty codes bold */
tr:nth-child(odd) {
font-weight:bold;
}
.Team {
position: absolute;
width: 49%;
top: 0%;
}
.Team thead td { font-size: 1.1em; font-weight: bold; background-color: #000; color: #FFF; }
.Team thead td { font-size: 1em; font-weight: bold; background-color: #222; color: #FFF; }
.Team td { text-align: center; vertical-align: center; }
.Team1 { left: 0.5%; }
.Team2 { right: 0.5%; }
Expand All @@ -24,3 +34,19 @@ body { font-size: 10pt; }
.PenaltyEditor .Codes>div div { text-align: center; }
.PenaltyEditor .Codes>div .Code { font-size: 1.2em; background-color: #FAA; color: #000; }
.PenaltyEditor .Codes>div .Description { font-size: 0.75em; }

/* responsive vertical layout on phones and tablet portrait */
@media only screen and (max-width: 960px) {
.Team{
position: relative;
float:left;
width: 99%;
margin-bottom:1em;
}
.Team1, .Team2 {
position: relative;
margin:2px;
left:auto;
right:auto;
}
}
32 changes: 29 additions & 3 deletions html/controls/pt/ptcolor.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
body { font-size: 10pt; }

body {
font-size: 11pt;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;";
}
table,tr,td{
border-collapse: collapse;
border-color:#777;
}
/*increase readability by making penalty codes bold */
tr:nth-child(odd) {
font-weight:bold;
}
.Team {
position: absolute;
width: 49%;
top: 0%;
}
.Team thead td { font-size: 1.1em; font-weight: bold; background-color: #000; color: #FFF; }
.Team thead td { font-size: 1em; font-weight: bold; background-color: #222; color: #FFF; }
.Team td { text-align: center; vertical-align: center; }
.Team1 { left: 0.5%; }
.Team2 { right: 0.5%; }
Expand All @@ -24,3 +34,19 @@ body { font-size: 10pt; }
.PenaltyEditor .Codes>div div { text-align: center; }
.PenaltyEditor .Codes>div .Code { font-size: 1.2em; background-color: #FAA; color: #000; }
.PenaltyEditor .Codes>div .Description { font-size: 0.75em; }

/* responsive vertical layout on phones and tablet portrait */
@media only screen and (max-width: 960px) {
.Team{
position: relative;
float:left;
width: 99%;
margin-bottom:1em;
}
.Team1, .Team2 {
position: relative;
margin:2px;
left:auto;
right:auto;
}
}
Loading