No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
border-bottom: 1px solid #bbbbbb; | border-bottom: 1px solid #bbbbbb; | ||
} | } | ||
.player:last-child {border-bottom: none;} | |||
.order { | .order { | ||
padding: 0 0.3rem; | padding: 0 0.3rem; | ||
Line 52: | Line 53: | ||
.players { | .players { | ||
display: | display: grid; | ||
grid-template-columns: repeat(auto-fill, 200px); | |||
/*border: none;*/ | /*border: none;*/ | ||
width: 100%; | width: 100%; |
Revision as of 22:07, 21 September 2022
.p-team-container {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.border {
border: 1px solid #bbbbbb;
}
.player {
display: grid;
grid-template-columns: 40px 1fr;
align-items: center;
padding: 0.1rem 0;
border-bottom: 1px solid #bbbbbb;
}
.player:last-child {border-bottom: none;}
.order {
padding: 0 0.3rem;
border-right: 1px solid #bbbbbb;
}
.name {
padding-left: 0.4rem;
}
#team-toggle {
padding: 0.3rem;
background-color: #eeeeee;
width: 112px;
text-align: center;
border-radius: 3px;
margin-bottom: 8px;
transition: background-color 0.3s;
cursor: pointer;
}
#team-toggle:hover {background-color: #e1e1e1;}
.team-list {
width: 200px;
height: 200px;
position: relative;
border: 1px solid #bbbbbb;
border-bottom: none;
}
.team-list-logo {
display: flex;
justify-content: center;
height: 100%;
align-items: center;
}
.team-list-logo img{
width: auto;
height: auto;
max-height: 200px;
}
.players {
display: grid;
grid-template-columns: repeat(auto-fill, 200px);
/*border: none;*/
width: 100%;
position: absolute;
top: 0;
height: 100%;
opacity: 0;
background-color: rgba(255, 255, 255, 0.9);
transition: opacity 0.3s;
}
.team-list .players.show {opacity: 1;}
.team-list .players tr:last-child th,
.team-list .players tr:last-child td {
border-bottom: none;
}
.team-list .players:hover {
opacity: 1;
}
.team-list-qualifier {
text-align: center;
font-weight: 600;
border: 1px solid #bbbbbb;
}