trojans-trophy-room/styles/data_display.css

354 lines
6.1 KiB
CSS

.textBold {
font-weight: bold;
}
.tableSpacer {
width: 100%;
}
.tableLine {
border: 1px solid black;
width: 100%;
}
.tableLineLight {
border: 1px solid rgba(0, 0, 0, .25);
width: 40%;
margin: auto 60%
}
.tableLineLightCentre {
border: 1px solid rgba(0, 0, 0, .25);
width: 40%;
margin: auto;
}
#resultsDisplayBody {
display: flex;
flex-direction: row;
overflow: hidden;
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
justify-content: center;
}
#resultsDisplayBody h2 {
text-align: center;
}
#generalResultsDisplayPanel {
width: 40%;
border: 1px solid black;
border-radius: 6px;
padding-left: 5%;
padding-right: 5%;
margin-right: 1%;
}
#tourneyResultsDisplayPanel {
width: 40%;
border: 1px solid black;
border-radius: 6px;
padding-left: 5%;
padding-right: 5%;
margin-right: 1%;
}
#generalResultsTable {
margin: auto;
}
.generalResultsTableLeft {
text-align: left;
width: 100%;
line-height: 0.5;
}
.generalResultsTableRight {
text-align: right;
width: 100%;
line-height: 0.3;
}
#divisionDisplayPanel {
width: 44%;
border: 1px solid black;
border-radius: 6px;
padding-left: 3%;
padding-right: 3%;
margin-left: 1%;
}
.divisionNavPanel {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
}
.divisionNavPanel label, .divisionNavPanel input {
text-align: center;
align-items: center;
justify-content: center;
display: flex;
width: 120px;
height: 40px;
padding: 0;
cursor: pointer;
box-shadow: 0px 1px 3px;
}
.divisionNavPanel label {
border: 1px solid black;
border-radius: 3px;
z-index: 90;
margin: 1%;
}
.divisionNavPanel input[type="radio"] {
display: none;
}
.divisionNavPanel input[type="radio"]:checked + label {
background-color: rgba(0, 40, 255, .75);
box-shadow: 0 0 2px;
color: rgb(255, 255, 255);
font-weight: bold;
}
.divisionNavPanel label:hover {
background-color: rgba(255, 165, 0, .6);
}
.resultsNavPanel {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
font-size: 0.8em;
}
.resultsNavPanel label, .resultsNavPanel input {
text-align: center;
align-items: center;
justify-content: center;
display: flex;
width: 100px;
height: 35px;
padding: 0;
cursor: pointer;
box-shadow: 0px 1px 3px;
}
.resultsNavPanel label {
border: 1px solid black;
border-radius: 3px;
z-index: 90;
margin: 1%;
}
.resultsNavPanel input[type="radio"] {
display: none;
}
.resultsNavPanel input[type="radio"]:checked + label {
background-color: rgba(0, 40, 255, .75);
box-shadow: 0 0 2px;
color: rgb(255, 255, 255);
font-weight: bold;
}
.resultsNavPanel label:hover {
background-color: rgba(255, 165, 0, .6);
}
.resultsNavPanelAllButton {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
}
.resultsNavPanelAllButton label, .resultsNavPanelAllButton input {
text-align: center;
align-items: center;
justify-content: center;
display: flex;
width: 120px;
height: 40px;
padding: 0;
cursor: pointer;
box-shadow: 0px 1px 3px;
}
.resultsNavPanelAllButton label {
border: 1px solid black;
border-radius: 3px;
z-index: 90;
margin: 1%;
}
.resultsNavPanelAllButton input[type="radio"] {
display: none;
}
.resultsNavPanelAllButton input[type="radio"]:checked + label {
background-color: rgba(0, 40, 255, .75);
box-shadow: 0 0 2px;
color: rgb(255, 255, 255);
font-weight: bold;
}
.resultsNavPanelAllButton label:hover {
background-color: rgba(255, 165, 0, .6);
}
.resultsNavPanelAllButton {
text-align: center;
}
.dateSelector {
display: flex;
flex-direction: row;
justify-content: center;
width: 100%;
margin-top: 4%;
}
.dateSelector select {
border: 1px solid rgb(0, 0, 255);
border-radius: 3px;
padding: 6px 20px;
margin-right: 1%;
margin-left: 1%;
background-color: rgba(255, 255, 255, 0.4);
cursor: pointer;
}
.divisionPanel {
margin: auto;
text-align: center;
}
#divisionResultsFrame {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.divisionResultsTableLeft {
text-align: left;
width: 70%;
cursor: pointer;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.divisionResultsTableRight {
text-align: right;
width: 14%;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.divisionResultsTable {
margin: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.lineImage {
object-fit: contain;
}
.divisionFrame {
flex-grow: 1;
flex-shrink: 1;
margin: auto;
padding: 0;
border: none;
max-width: 100%;
}
.noContent {
text-align: center;
font-style: italic;
color: rgba(0, 0, 0, .35);
}
.infoLink {
text-decoration: none;
color: black;
border: 1px solid blue;
border-radius: 3px;
padding: 5px 10px;
text-align: center;
box-shadow: 0px 2px 4px;
}
#infoNav {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
}
.infoLink:hover {
color: black;
background-color: rgba(255, 165, 0, .6);
}
.infoLink:active {
box-shadow: 0px 0px 2px;
transform: translateY(2px);
}
@media only screen and (max-width: 480px) {
#resultsDisplayBody {
flex-direction: column;
width: 330px;
align-items: center;
margin: auto;
}
#generalResultsDisplayPanel {
order: 2;
width: 92%;
margin-right: 0;
padding-left: 2%;
padding-right: 2%;
margin-top: 5%;
}
#tourneyResultsDisplayPanel {
order: 2;
width: 92%;
margin-right: 0;
padding-left: 2%;
padding-right: 2%;
margin-top: 5%;
}
#divisionDisplayPanel {
order: 1;
width: 94%;
margin-left: 0;
padding-left: 1%;
padding-right: 1%;
}
.divisionPanel img {
width: 25%;
}
}