662 lines
12 KiB
CSS
662 lines
12 KiB
CSS
@import url("../css/paper.css");
|
|
@import url("../fonts/vera/bitstreamvera.css");
|
|
@import url("../fonts/verdana/verdanapro.css");
|
|
@import url("../fonts/m+1m/m+1m.css");
|
|
@import url("../fonts/helvetica-now/stylesheet.css");
|
|
@import url("../fonts/futura-now/stylesheet.css");
|
|
@import url("../fonts/inconsolata/stylesheet.css");
|
|
|
|
:root {
|
|
--color-success: #b7e1cd;
|
|
--color-danger: #f4c7c3;
|
|
--color-neutral: #acc9fe;
|
|
--color-warning: rgb(249, 228, 180);
|
|
--color-grey-100: #f8f9fa;
|
|
--color-grey-200: #e9ecef;
|
|
--color-grey-300: #dee2e6;
|
|
--color-grey-400: #ced4da;
|
|
--color-grey-500: #adb5bd;
|
|
--color-grey-600: #6c757d;
|
|
--color-grey-700: #495057;
|
|
--color-grey-800: #343a40;
|
|
--color-grey-900: #212529;
|
|
--row-height: 14px;
|
|
--monospace-font: "Inconsolata";
|
|
}
|
|
|
|
body {
|
|
font-family: "Helvetica Now";
|
|
position: relative;
|
|
font-size: 11px;
|
|
}
|
|
|
|
table {
|
|
position: inherit;
|
|
font-size: inherit;
|
|
border-collapse: collapse;
|
|
empty-cells: show;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow-x: hidden;
|
|
overflow-y: hidden;
|
|
width: 100%;
|
|
border: 0.5px solid black;
|
|
display: inline-table;
|
|
}
|
|
|
|
.bar-right {
|
|
float: right;
|
|
}
|
|
|
|
.bar-left {
|
|
float: left;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
/* vertical-align: middle; */
|
|
/* line-height: 1.3em; */
|
|
overflow: hidden;
|
|
padding: 0 2px 0 2px; /* top right bottom left */
|
|
}
|
|
|
|
tr {
|
|
border-bottom-width: 0.5px;
|
|
border-color: grey;
|
|
border-bottom-style: solid;
|
|
}
|
|
|
|
tr:last-child {
|
|
border-bottom-color: black;
|
|
}
|
|
|
|
tr:first-child {
|
|
border-top-color: black;
|
|
}
|
|
|
|
tr:nth-child(odd) {
|
|
background-color: rgb(242, 242, 242, 0.85);
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: rgb(256, 256, 256, 0.85);
|
|
}
|
|
|
|
td:not(:first-child) {
|
|
border-left: 0.5px solid grey;
|
|
}
|
|
|
|
th {
|
|
font-stretch: extra-condensed;
|
|
width: 1em;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
td:empty::after,
|
|
th:empty::after {
|
|
content: "\00a0";
|
|
}
|
|
|
|
td.player-name {
|
|
text-transform: uppercase;
|
|
font-stretch: 80%;
|
|
/* font-family: var(--monospace-font); */
|
|
}
|
|
|
|
td.position,
|
|
td.jersey-number {
|
|
font-family: var(--monospace-font);
|
|
width: 2ch;
|
|
text-align: right;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.index-card .gamecard {
|
|
position: relative;
|
|
}
|
|
|
|
.B5 > .gamecard {
|
|
/* height: auto; */
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
/* padding: 0.15in; */
|
|
/* grid-gap: 0.25in 0.15in; */
|
|
|
|
/* background-image: url("../2023-G08-0523.png"); */
|
|
background-size: 100%;
|
|
}
|
|
|
|
.gamecard > section {
|
|
/* margin: 0.07in; */
|
|
box-sizing: content-box;
|
|
/* border: 4px solid var(--color-grey-200); */
|
|
/* border-radius: 4px; */
|
|
overflow: hidden;
|
|
outline: 0.5px dashed lightgrey;
|
|
/* border-right: 1px dotted black; */
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.gamecard > section > div {
|
|
margin: 0.15in;
|
|
outline: 0.5px solid black;
|
|
display: flex;
|
|
flex: 1; /* consumes all free space (taking full height) */
|
|
align-items: stretch;
|
|
height: auto;
|
|
}
|
|
|
|
#lineup-card-dugout div.grid-container,
|
|
#lineup-card-dugout-empty div.grid-container {
|
|
display: grid;
|
|
grid-template-columns: 60% auto;
|
|
grid-template-rows: fit-content(16px) auto;
|
|
grid-template-areas:
|
|
"header header"
|
|
"sarting-lineup-table substitution-table";
|
|
}
|
|
|
|
#lineup-card-exchange div.grid-container,
|
|
#lineup-card-exchange-empty div.grid-container {
|
|
display: grid;
|
|
grid-template-columns: auto;
|
|
grid-template-rows: fit-content(16px) auto;
|
|
grid-template-areas:
|
|
"header"
|
|
"sarting-lineup-table";
|
|
}
|
|
|
|
.lineup-card div.grid-container > .section-header {
|
|
grid-area: "header";
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.lineup-card div.grid-container > .section-header:empty::after {
|
|
content: "\00a0";
|
|
}
|
|
|
|
div.grid-container > .starting-lineup-table {
|
|
grid-area: "starting-lineup-table";
|
|
}
|
|
|
|
div.grid-container > .substitution-table {
|
|
grid-area: "substitution-table";
|
|
}
|
|
|
|
.lineup-card thead th {
|
|
color: var(--color-grey-600);
|
|
font-size: 0.7em;
|
|
}
|
|
|
|
.lineup-card th.sequence {
|
|
color: var(--color-grey-600);
|
|
font-size: inherit;
|
|
}
|
|
|
|
.lineup-card table {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.lineup-card td {
|
|
height: 33.5px;
|
|
}
|
|
|
|
#lineup-card-exchange tr,
|
|
#lineup-card-exchange-empty tr,
|
|
#lineup-card-dugout .starting-lineup-table tr,
|
|
#lineup-card-dugout .substitution-table tr:nth-child(odd) {
|
|
border-top: 1px solid black;
|
|
}
|
|
|
|
#lineup-card-exchange tr,
|
|
#lineup-card-exchange-empty tr,
|
|
#lineup-card-dugout .starting-lineup-table tr,
|
|
#lineup-card-dugout .substitution-table tr:nth-child(even) {
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
#lineup-card-exchange td.player-name {
|
|
font-stretch: 100%;
|
|
}
|
|
|
|
#lineup-card-dugout td.player-name {
|
|
width: 10ch;
|
|
}
|
|
|
|
#lineup-card-dugout td.substitution,
|
|
#lineup-card-dugout-empty td.substitution {
|
|
font-size: 11px;
|
|
height: 15px;
|
|
}
|
|
|
|
.lineup-card .position,
|
|
.lineup-card .jersey-number {
|
|
width: 2ch;
|
|
}
|
|
|
|
#lineup-card-dugout .position,
|
|
#lineup-card-dugout .jersey-number {
|
|
font-stretch: 75%;
|
|
padding-left: 2.5px;
|
|
padding-right: 2.5px;
|
|
}
|
|
|
|
.lineup-card .section-header {
|
|
padding-left: 1px;
|
|
padding-right: 1px;
|
|
font-size: inherit;
|
|
text-transform: uppercase;
|
|
font-stretch: 85%;
|
|
}
|
|
|
|
#todays-game > div {
|
|
display: grid;
|
|
/* gap: 0.5px; */
|
|
grid-template-columns: 110px auto;
|
|
grid-template-rows: calc(var(--row-height) * 1) auto auto;
|
|
grid-template-areas:
|
|
"header header"
|
|
"offense defense"
|
|
"footer footer";
|
|
}
|
|
|
|
#defense-pane {
|
|
position: relative;
|
|
/* box-sizing: border-box; */
|
|
padding: 4px 4px 0px 4px; /* top right bottom left */
|
|
display: flex;
|
|
grid-area: defense;
|
|
border-left: 0.5px solid black;
|
|
border-bottom: 0.5px solid black;
|
|
}
|
|
|
|
#offense-pane {
|
|
position: relative;
|
|
/* box-sizing: border-box; */
|
|
height: 100%;
|
|
grid-area: offense;
|
|
border-bottom: 0.5px solid black;
|
|
/* outline: 0.5px solid black; */
|
|
}
|
|
|
|
#offense-pane table {
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
#defense-pane .container {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
#defense-pane .pitching-container {
|
|
margin: auto 0 0 0; /* top right bottom left */
|
|
}
|
|
|
|
#defense-pane .field-container {
|
|
display: grid;
|
|
grid-template-rows: auto;
|
|
/* margin: top; */
|
|
width: 100%;
|
|
/* background: url("../baseball-diamond.svg"); */
|
|
background-size: 100%;
|
|
background-position: center 10px;
|
|
background-repeat: no-repeat;
|
|
gap: 6px;
|
|
z-index: 2;
|
|
}
|
|
|
|
#defense-pane img {
|
|
position: absolute;
|
|
z-index: -1;
|
|
}
|
|
|
|
.defense-slot-set {
|
|
width: 77px;
|
|
}
|
|
|
|
.index-card .defense-slot-set {
|
|
width: 65px;
|
|
}
|
|
|
|
.index-card .defense-slot-set .player-name {
|
|
font-stretch: 70%;
|
|
}
|
|
|
|
.pitching-container .defense-slot-set {
|
|
width: 100%;
|
|
}
|
|
|
|
.container .row {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.section-header {
|
|
background-color: #cadcf9;
|
|
font-size: 8.8px;
|
|
/* outline: 1px solid black; */
|
|
/* height: var(--row-height); */
|
|
width: auto;
|
|
grid-area: header;
|
|
text-align: center;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
border-bottom: 0.5px solid black;
|
|
z-index: 1;
|
|
}
|
|
|
|
.footer {
|
|
/* height:var(--row-height); */
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
grid-area: footer;
|
|
/* border: 1px solid black; */
|
|
height: 100%;
|
|
}
|
|
|
|
.footer table {
|
|
height: 100%;
|
|
outline: none;
|
|
border-style: none;
|
|
}
|
|
|
|
.footer tr {
|
|
background-color: white;
|
|
outline: none;
|
|
border-bottom: 0.5px solid var(--color-grey-500);
|
|
}
|
|
|
|
.footer tr :last-child {
|
|
background-color: white;
|
|
outline: none;
|
|
border-bottom-style: none;
|
|
}
|
|
.footer th {
|
|
text-align: left;
|
|
color: var(--color-grey-600);
|
|
}
|
|
.footer td {
|
|
height: var(--row-height);
|
|
|
|
border: none;
|
|
}
|
|
|
|
.footer td:empty::after {
|
|
content: "";
|
|
}
|
|
|
|
.cell-checkbox {
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.in-starting-lineup {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.gametitle {
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-stretch: semi-condensed;
|
|
}
|
|
|
|
.homeaway {
|
|
text-transform: uppercase;
|
|
font-stretch: normal;
|
|
font-weight: bolder;
|
|
float: right;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.cell-smalltext {
|
|
font-stretch: condensed;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.statscell {
|
|
font-family: "m+1m";
|
|
text-align: center;
|
|
font-stretch: extra-condensed;
|
|
font-size: 9px;
|
|
width: 60px;
|
|
}
|
|
|
|
{
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.condensedNameCell {
|
|
width: 70px;
|
|
text-transform: uppercase;
|
|
font-stretch: condensed;
|
|
}
|
|
|
|
.cell-square {
|
|
height: var(--row-height);
|
|
width: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cell-square.narrow {
|
|
width: 10px;
|
|
}
|
|
.cell-mono {
|
|
font-family: "m+1m";
|
|
}
|
|
|
|
.cell-condensed {
|
|
font-stretch: condensed;
|
|
}
|
|
|
|
.available-status-code-1 {
|
|
color: rgb(0, 85, 0);
|
|
background-color: #b7e1cd;
|
|
}
|
|
|
|
.available-status-code-0 {
|
|
color: rgb(170, 0, 0);
|
|
background-color: #f4c7c3;
|
|
}
|
|
|
|
.past.available-status-code-0,
|
|
.past.available-status-code-null {
|
|
color: var(--color-grey-600);
|
|
background-color: inherit;
|
|
}
|
|
|
|
.past.available-status-code-1 {
|
|
color: inherit;
|
|
background-color: var(--color-warning);
|
|
}
|
|
|
|
.past.available-status-code-1.started {
|
|
color: inherit;
|
|
background-color: inherit;
|
|
}
|
|
|
|
.available-status-code-2 {
|
|
color: blue;
|
|
background-color: #acc9fe;
|
|
}
|
|
|
|
#roster-and-history .player-name,
|
|
#roster-and-history .jersey-number {
|
|
color: black;
|
|
}
|
|
|
|
#roster-and-history .player-name {
|
|
font-stretch: normal;
|
|
}
|
|
|
|
.starting {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#roster-and-history > div > table {
|
|
/* font-size: 10.5px; */
|
|
padding: 0;
|
|
line-height: 1em;
|
|
/* outline: 0.5px black; */
|
|
}
|
|
|
|
#roster-and-history td,
|
|
#roster-and-history th {
|
|
border-left: none;
|
|
border-right: none;
|
|
padding: 0.2em 0.1em 0.2em 0.1em; /* top right bottom left */
|
|
}
|
|
|
|
#roster-and-history td.player-name {
|
|
text-align: left;
|
|
}
|
|
|
|
#roster-and-history th {
|
|
background-color: #cadcf9;
|
|
color: black;
|
|
border: none;
|
|
}
|
|
|
|
#roster-and-history thead > tr,
|
|
#roster-and-history tfoot > tr {
|
|
border-bottom: solid black 1px;
|
|
}
|
|
|
|
#roster-and-history tbody {
|
|
border-bottom: solid black 1px;
|
|
}
|
|
|
|
#roster-and-history td[id^="avail"][id$="today-plus-1"],
|
|
#roster-and-history .pitcher,
|
|
#roster-and-history .player-stats,
|
|
#roster-and-history td[id^="avail"][id$="today-minus-1"] {
|
|
border-left-width: 1px;
|
|
border-left-style: solid;
|
|
border-left-color: black;
|
|
}
|
|
|
|
#roster-and-history td.jersey-number {
|
|
border-left: 0.5px solid lightgrey;
|
|
}
|
|
|
|
#roster-and-history td.today-minus-4 {
|
|
border-right: 1px solid black;
|
|
}
|
|
|
|
#roster-and-history tr.border-top {
|
|
border-top: 1px solid black;
|
|
}
|
|
|
|
#roster-and-history #today-availability {
|
|
font-stretch: normal;
|
|
text-transform: uppercase;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.player-stats {
|
|
font-family: var(--monospace-font);
|
|
font-size: 1em;
|
|
font-stretch: 60%;
|
|
font-weight: 300;
|
|
}
|
|
|
|
#roster-and-history td.position-capability,
|
|
th.position-capability {
|
|
font-size: 8px;
|
|
font-stretch: 50%;
|
|
width: 5px;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
#roster-and-history th.position-capability {
|
|
font-size: inherit;
|
|
}
|
|
|
|
td.position-capability:not(:empty) {
|
|
color: var(--color-grey-700);
|
|
background-color: var(--color-grey-200);
|
|
}
|
|
|
|
td.is-present-checkbox {
|
|
font-size: 0.5em;
|
|
text-align: center;
|
|
color: white;
|
|
/* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
|
|
1px 1px 0 #000; */
|
|
}
|
|
|
|
td.is-present-checkbox.available-status-code-0 > span {
|
|
display: none;
|
|
}
|
|
|
|
td.is-present-checkbox.available-status-code-None > span {
|
|
display: none;
|
|
}
|
|
|
|
td.availability {
|
|
font-family: var(--monospace-font);
|
|
font-stretch: condensed;
|
|
text-align: center;
|
|
max-width: 0.8em;
|
|
min-width: 0.8em;
|
|
}
|
|
|
|
.availability.future,
|
|
.availability.past {
|
|
font-family: var(--monospace-font);
|
|
font-stretch: condensed;
|
|
font-weight: normal;
|
|
font-size: 0.8em;
|
|
padding: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
#roster-test .player-name {
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
grid-area: player-name;
|
|
}
|
|
|
|
#roster-test .jersey-number {
|
|
font-weight: bolder;
|
|
font-stretch: extra-condensed;
|
|
grid-area: jersey-number;
|
|
}
|
|
|
|
#roster-test .player-stats {
|
|
grid-area: player-stats;
|
|
}
|
|
|
|
#roster-test .diamond {
|
|
grid-area: diamond;
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
height: 10px;
|
|
/* height:10px; */
|
|
}
|
|
|
|
.rotate {
|
|
transform: rotate(270deg);
|
|
}
|
|
|
|
.delimiter,
|
|
.decimal-point {
|
|
font-family: Helvetica Now;
|
|
font-stretch: expanded;
|
|
color: var(--color-grey-500);
|
|
}
|
|
|
|
th .decimal-point {
|
|
color: rgb(0, 0, 0, 0);
|
|
}
|
|
|
|
th .delimiter {
|
|
color: var(--color-grey-500);
|
|
}
|