trojans-trophy-room/styles/tourney_management.css

267 lines
4.5 KiB
CSS

#tourneyFormPanel {
width: 500px;
min-height: 1000px;
margin: auto;
text-align: center;
}
#tourneyFormBody {
width: 800px;
margin: auto;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#textInputArea {
padding-left: 10px;
display: flex;
flex-wrap: wrap;
flex-direction: row;
margin: auto;
text-align: center;
}
#tourneyEditPanel {
width: 95%;
min-height: 400px;
margin: auto;
text-align: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.optionsArea {
display: flex;
flex-wrap: wrap;
flex-direction: row;
margin: auto;
text-align: center;
justify-content: center;
}
#userForm input {
background-color: rgba(255, 255, 255, 0.6);
border: 1px solid rgb(0, 0, 255);
}
#userForm label {
text-align: left;
font-weight: bold;
}
#userForm input[type="submit"] {
margin: auto;
padding: 8px 25px;
font-size: 150%;
font-weight: bold;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: rgba(255, 255, 255, 0);
border-radius: 6px;
border: 1px solid rgb(0, 0, 255);
box-shadow: 0px 2px 4px;
}
#userForm input[type="submit"]:hover {
color: black;
background-color: rgba(255, 165, 0, .6);
}
#userForm input[type="submit"]:active {
box-shadow: 0px 0px 2px;
transform: translateY(2px);
}
#userForm input[type="text"] {
flex: 1;
align-items: flex-end;
border-radius: 2px;
padding: 3px 10px;
margin: 0 6%;
}
#userForm input[type="date"] {
flex: 1;
border-radius: 2px;
width: 100px;
padding: 3px 10px;
margin: 0 6%;
text-align: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#userForm select {
border: 1px solid black;
border-radius: 2px;
background-color: rgba(255, 255, 255, 0.6);
padding: 3px 10px;
margin: 0 3%;
}
.playerInput input[type="text"]{
flex: 1;
width: 150px;
}
.teamInput input[type="text"]{
flex: 1;
width: 60%;
}
.teamInput input[type="text"]{
flex: 1;
width: 60%;
}
.teamInput {
width: 60%;
text-align: center;
}
#playerDataInputArea {
height: 280px;
width: 75%;
border: 1px solid black;
border-radius: 5px;
margin: auto;
}
#playerData {
margin: auto;
width: 80%;
}
#playerData input[type="text"]{
width: 90%;
border-radius: 2px;
padding: 3px 0;
margin: 0 0;
text-align: center;
}
#playerTableMiddleSpacer {
width: 10%;
}
.tableSubHeader {
font-size: 100%;
}
#teamNameHeader {
font-size: 100%;
}
.tableHeader {
font-weight: bold;
font-size: 125%;
}
#submitButtonDiv {
display: flex;
flex-direction: column;
bottom: 10px;
}
#submitButton {
margin: auto;
}
#tourneyName {
width:100%;
padding: 3px 0;
margin: 0 0;
text-align: center;
}
#ballchasingID {
width:100%;
padding: 3px 0;
margin: 0 0;
text-align: center;
}
#notes {
width: 80%;
height: 100px;
background-color: rgba(255, 255, 255, 0.6);
resize: none;
}
.showTeamSelector {
visibility: hidden;
}
#teamNameHeader {
font-weight: bold;
}
/* EDITING PAGE */
.tourneyListPanel {
display: flex;
flex-direction: row;
flex-wrap: wrap;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
width: 99%;
justify-content: center;
margin: auto;
border-collapse: collapse;
}
.tournamentIDCol {
width: 2.5em;
text-align: center;
outline: 1px solid black;
margin: auto;
margin-left: 1px;
margin-top: 1px;
}
.tournamentDateCol {
width: 6em;
text-align: center;
outline: 1px solid black;
margin: auto;
margin-left: 1px;
margin-top: 1px;
}
.tournamentNameCol {
width: 0;
text-align: left;
outline: 1px solid black;
flex-grow: 1;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-left: 0.5em;
padding-right: 0.5em;
margin: auto;
margin-left: 1px;
margin-top: 1px;
}
.editTournamentCol {
width: 3em;
outline: 1px solid black;
margin: auto;
margin-left: 1px;
margin-top: 1px;
}
.deleteTournamentCol {
width: 4.5em;
outline: 1px solid black;
margin: auto;
margin-left: 1px;
margin-top: 1px;
}
/*
This section affects the auto-complete menu for player names
*/
.ui-menu {
background-color: rgba(255, 255, 255, 0.6);
border: 1px solid black;
border-radius: 2px;
}
.ui-autocomplete {
max-height: 200px;
overflow-y: scroll;
overflow-x: hidden;
width: 120px;
}