mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-10 04:40:46 -05:00
338 lines
6.5 KiB
CSS
338 lines
6.5 KiB
CSS
.tournament__action-section {
|
|
padding: var(--s-6);
|
|
border-radius: var(--rounded);
|
|
background-color: var(--bg-lighter);
|
|
}
|
|
|
|
.tournament__action-section-title {
|
|
font-size: var(--fonts-lg);
|
|
font-weight: var(--bold);
|
|
}
|
|
|
|
.tournament__action-side-note {
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--semi-bold);
|
|
}
|
|
|
|
.tournament__map-pool-counts {
|
|
display: grid;
|
|
width: 250px;
|
|
margin: 0 auto;
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-xs);
|
|
grid-template-columns: repeat(4, 1fr);
|
|
place-items: center;
|
|
row-gap: var(--s-2);
|
|
}
|
|
|
|
.tournament__summary-content {
|
|
display: inline-flex;
|
|
gap: var(--s-3);
|
|
}
|
|
|
|
.tournament__summary-content > svg {
|
|
width: 1rem;
|
|
}
|
|
|
|
.tournament__round-container {
|
|
width: 250px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tournament__select-container > label {
|
|
margin-left: var(--s-2-5);
|
|
}
|
|
|
|
.tournament__teams-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--s-4);
|
|
}
|
|
|
|
.tournament__team-select {
|
|
width: 150px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tournament__bo-radios-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--s-4);
|
|
}
|
|
|
|
.tournament__map-list {
|
|
display: grid;
|
|
justify-content: center;
|
|
column-gap: var(--s-4);
|
|
font-size: var(--fonts-sm);
|
|
font-weight: var(--semi-bold);
|
|
grid-template-columns: max-content max-content;
|
|
}
|
|
|
|
.tournament__pick-info {
|
|
align-self: center;
|
|
font-size: var(--fonts-xxxs);
|
|
}
|
|
|
|
.tournament__pick-info.team-1 {
|
|
color: var(--theme-informative-blue);
|
|
}
|
|
|
|
.tournament__pick-info.team-2 {
|
|
color: var(--theme-informative-red);
|
|
}
|
|
|
|
.tournament__pick-info.tiebreaker {
|
|
color: var(--theme-informative-yellow);
|
|
}
|
|
|
|
.tournament__pick-info.both {
|
|
color: var(--theme-informative-green);
|
|
}
|
|
|
|
.tournament__stage-listed {
|
|
justify-self: flex-start;
|
|
}
|
|
|
|
.tournament__team-with-roster {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.tournament__team-with-roster__name {
|
|
flex: 1;
|
|
font-weight: var(--bold);
|
|
padding-inline-end: var(--s-4);
|
|
text-align: right;
|
|
}
|
|
|
|
.tournament__team-with-roster__members {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
border-inline-start: 2px solid var(--theme);
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--semi-bold);
|
|
gap: var(--s-2);
|
|
list-style: none;
|
|
padding-inline-start: var(--s-4);
|
|
padding-block: var(--s-3);
|
|
}
|
|
|
|
.tournament__team-with-roster__member {
|
|
display: grid;
|
|
gap: var(--s-1-5);
|
|
grid-template-columns: max-content max-content 1fr;
|
|
}
|
|
|
|
.tournament__team-with-roster__map-pool {
|
|
display: grid;
|
|
grid-template-columns: max-content max-content max-content max-content;
|
|
border-radius: var(--rounded);
|
|
border: 2px solid var(--theme);
|
|
width: max-content;
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tournament__team-with-roster__map-pool__mode-info {
|
|
background-color: var(--bg-darker);
|
|
display: flex;
|
|
font-size: var(--fonts-xxs);
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--s-1);
|
|
font-weight: var(--semi-bold);
|
|
padding-block: var(--s-0-5);
|
|
}
|
|
|
|
.tournament__team-member-name {
|
|
overflow: hidden;
|
|
color: var(--text);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tournament__logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-4);
|
|
}
|
|
|
|
.tournament__logo {
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.tournament__title {
|
|
font-size: var(--fonts-xl);
|
|
font-weight: var(--bold);
|
|
}
|
|
|
|
.tournament__info__icon {
|
|
width: 18px;
|
|
padding: var(--s-1) 0;
|
|
}
|
|
|
|
.tournament___info__mode-container {
|
|
background-color: var(--bg-lighter);
|
|
border-radius: 100%;
|
|
padding: var(--s-2);
|
|
}
|
|
|
|
.tournament__by {
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-sm);
|
|
font-weight: var(--semi-bold);
|
|
}
|
|
|
|
.tournament__section-header {
|
|
font-size: var(--fonts-sm);
|
|
}
|
|
|
|
.tournament__section {
|
|
background-color: var(--bg-lighter);
|
|
margin-inline: -12px;
|
|
padding: var(--s-4) var(--s-3);
|
|
}
|
|
|
|
.tournament__section-centered {
|
|
margin: 0 auto;
|
|
max-width: 20rem;
|
|
}
|
|
|
|
.tournament__section__input-container {
|
|
width: 16rem;
|
|
}
|
|
|
|
.tournament__section__warning {
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--semi-bold);
|
|
text-align: center;
|
|
color: var(--text-lighter);
|
|
}
|
|
|
|
.tournament__section__map-select-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-4);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tournament__section__icon {
|
|
width: 2rem;
|
|
}
|
|
|
|
.tournament__missing-player {
|
|
width: 62px;
|
|
height: 62px;
|
|
font-size: 32px;
|
|
border-radius: 100%;
|
|
border: 2px solid var(--theme-transparent);
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.tournament__missing-player__optional {
|
|
border: 2px dashed var(--theme-transparent);
|
|
}
|
|
|
|
.tournament__invite-container {
|
|
margin-block-start: var(--s-14);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-12);
|
|
align-items: center;
|
|
}
|
|
|
|
.tournament__seeds__form {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tournament__seeds__order-button {
|
|
margin-block-start: var(--s-2);
|
|
margin-inline-end: auto;
|
|
}
|
|
|
|
/* TODO: overflow-x scroll */
|
|
.tournament__seeds__teams-list-row {
|
|
display: grid;
|
|
width: 100%;
|
|
align-items: center;
|
|
padding: var(--s-1-5) var(--s-3);
|
|
border-radius: var(--rounded);
|
|
column-gap: var(--s-1);
|
|
font-size: var(--fonts-xs);
|
|
grid-template-columns: 3rem 8rem 1fr;
|
|
list-style: none;
|
|
row-gap: var(--s-1-5);
|
|
}
|
|
|
|
.tournament__seeds__teams-list-row.sortable:not(.disabled) {
|
|
cursor: grab;
|
|
}
|
|
|
|
.tournament__seeds__teams-list-row.sortable:hover:not(.disabled)
|
|
.tournament__seeds__team-member {
|
|
background-color: var(--bg-lighter-transparent);
|
|
}
|
|
|
|
.tournament__seeds__teams-list-row.active .tournament__seeds__team-member {
|
|
background-color: var(--bg-lighter-transparent);
|
|
}
|
|
|
|
.tournament__seeds__teams-list-row.active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.tournament__seeds__teams-list-row.sortable:active:not(.disabled) {
|
|
cursor: grabbing !important;
|
|
}
|
|
|
|
.tournament__seeds__teams-container__header {
|
|
font-weight: var(--bold);
|
|
}
|
|
|
|
.tournament__seeds__team-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tournament__seeds__team-member {
|
|
display: grid;
|
|
grid-template-columns: max-content max-content;
|
|
grid-column-gap: var(--s-2-5);
|
|
background-color: var(--bg-lighter);
|
|
border-radius: var(--rounded);
|
|
padding: var(--s-1) var(--s-3);
|
|
place-items: center;
|
|
}
|
|
|
|
.tournament__seeds__team-member__name {
|
|
grid-column: 1 / span 2;
|
|
font-weight: var(--semi-bold);
|
|
}
|
|
|
|
.tournament__seeds__lonely-stat {
|
|
grid-column: 1 / span 2;
|
|
}
|
|
|
|
.tournament__seeds__plus-info {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-inline-end: var(--s-4);
|
|
min-width: 2rem;
|
|
}
|
|
|
|
@media screen and (min-width: 640px) {
|
|
.tournament__section {
|
|
margin: 0;
|
|
border-radius: var(--rounded);
|
|
}
|
|
}
|