mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-21 22:53:35 -05:00
* Got something going * Style overwrites * width != height * More playing with lines * Migrations * Start bracket initial * Unhardcode stage generation params * Link to match page * Matches page initial * Support directly adding seed to map list generator * Add docs * Maps in matches page * Add invariant about tie breaker map pool * Fix PICNIC lacking tie breaker maps * Only link in bracket when tournament has started * Styled tournament roster inputs * Prefer IGN in tournament match page * ModeProgressIndicator * Some conditional rendering * Match action initial + better error display * Persist bestOf in DB * Resolve best of ahead of time * Move brackets-manager to core * Score reporting works * Clear winner on score report * ModeProgressIndicator: highlight winners * Fix inconsistent input * Better text when submitting match * mapCountPlayedInSetWithCertainty that works * UNDO_REPORT_SCORE implemented * Permission check when starting tournament * Remove IGN from upsert * View match results page * Source in DB * Match page waiting for teams * Move tournament bracket to feature folder * REOPEN_MATCH initial * Handle proper resetting of match * Inline bracket-manager * Syncify * Transactions * Handle match is locked gracefully * Match page auto refresh * Fix match refresh called "globally" * Bracket autoupdate * Move fillWithNullTillPowerOfTwo to utils with testing * Fix map lists not visible after tournament started * Optimize match events * Show UI while in progress to members * Fix start tournament alert not being responsive * Teams can check in * Fix map list 400 * xxx -> TODO * Seeds page * Remove map icons for team page * Don't display link to seeds after tournament has started * Admin actions initial * Change captain admin action * Make all hooks ts * Admin actions functioning * Fix validate error not displaying in CatchBoundary * Adjust validate args order * Remove admin loader * Make delete team button menancing * Only include checked in teams to bracket * Optimize to.id route loads * Working show map list generator toggle * Update full tournaments flow * Make full tournaments work with many start times * Handle undefined in crud * Dynamic stage banner * Handle default strat if map list generation fails * Fix crash on brackets if less than 2 teams * Add commented out test for reference * Add TODO * Add players from team during register * TrustRelationship * Prefers not to host feature * Last before merge * Rename some vars * More renames
321 lines
5.9 KiB
CSS
321 lines
5.9 KiB
CSS
.layout__container {
|
|
display: flex;
|
|
height: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.layout__breadcrumb-container {
|
|
display: flex;
|
|
|
|
/** check if should use px or not */
|
|
height: 30px;
|
|
align-items: center;
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.layout__breadcrumb {
|
|
overflow: hidden;
|
|
max-width: 350px;
|
|
color: var(--text);
|
|
font-size: var(--fonts-sm);
|
|
font-weight: 600;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.layout__breadcrumb.logo {
|
|
overflow: initial;
|
|
}
|
|
|
|
.layout__breadcrumb-separator {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.layout__header {
|
|
--item-size: 1.9rem;
|
|
|
|
position: fixed;
|
|
z-index: 501;
|
|
top: 0;
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1.5px solid var(--border);
|
|
-webkit-backdrop-filter: var(--backdrop-filter);
|
|
backdrop-filter: var(--backdrop-filter);
|
|
background-color: transparent;
|
|
font-weight: bold;
|
|
padding-block: var(--s-2);
|
|
padding-inline: var(--s-4);
|
|
}
|
|
|
|
.layout__avatar {
|
|
width: var(--item-size);
|
|
height: var(--item-size);
|
|
}
|
|
|
|
.layout__page-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: var(--fonts-md);
|
|
font-weight: var(--bold);
|
|
gap: var(--s-2-5);
|
|
letter-spacing: 0.02rem;
|
|
}
|
|
|
|
.layout__header__right-container {
|
|
display: flex;
|
|
gap: var(--s-3);
|
|
justify-self: flex-end;
|
|
}
|
|
|
|
.layout__header__button {
|
|
width: var(--item-size);
|
|
height: var(--item-size);
|
|
padding: 0.25rem;
|
|
border: 2px solid;
|
|
border-color: var(--theme-transparent);
|
|
border-radius: 50%;
|
|
background-color: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.layout__header__button__icon {
|
|
width: 1.15rem;
|
|
}
|
|
|
|
.main {
|
|
width: 100%;
|
|
max-width: 48rem;
|
|
margin: 0 auto;
|
|
padding-inline: var(--s-3);
|
|
}
|
|
|
|
.half-width {
|
|
width: 100%;
|
|
max-width: 24rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.bigger {
|
|
width: 100%;
|
|
max-width: 72rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.layout__main {
|
|
padding-block-end: var(--s-32);
|
|
padding-block-start: var(--s-20);
|
|
}
|
|
|
|
.layout__log-in-button {
|
|
display: flex;
|
|
height: var(--item-size);
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.5rem;
|
|
border: 2px solid;
|
|
border-color: var(--theme-transparent);
|
|
border-radius: var(--rounded);
|
|
background-color: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font-size: var(--fonts-xs);
|
|
font-weight: var(--bold);
|
|
gap: var(--s-2);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.layout__log-in-button > svg {
|
|
width: 1rem;
|
|
}
|
|
|
|
.layout__log-in-button:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.layout__user-popover {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--s-2);
|
|
border-radius: var(--rounded);
|
|
background-color: var(--bg-darker);
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.layout__user-popover > button:focus {
|
|
outline: 2px solid var(--theme);
|
|
}
|
|
|
|
.layout__footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--s-2-5);
|
|
background-color: var(--bg-lighter);
|
|
gap: var(--s-6);
|
|
margin-block-start: auto;
|
|
padding-block-end: var(--s-32);
|
|
}
|
|
|
|
.layout__footer__link-list {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
font-size: var(--fonts-xxs);
|
|
}
|
|
|
|
.layout__footer__socials {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.layout__footer__social-link {
|
|
display: flex;
|
|
max-width: 10rem;
|
|
height: 12rem;
|
|
flex: 1 1 0;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--s-4);
|
|
border-radius: var(--rounded);
|
|
background-color: var(--theme-transparent);
|
|
cursor: pointer;
|
|
font-size: var(--fonts-lg);
|
|
}
|
|
|
|
.layout__footer__social-icon {
|
|
height: 2.25rem;
|
|
transition: transform 0.25s ease-in-out;
|
|
}
|
|
|
|
.layout__footer__social-link:hover > .layout__footer__social-icon {
|
|
transform: translateY(-0.3rem);
|
|
}
|
|
|
|
.layout__footer__social-header {
|
|
text-align: center;
|
|
}
|
|
|
|
.layout__footer__social-header > p {
|
|
font-size: var(--fonts-xxs);
|
|
}
|
|
|
|
.layout__footer__patron-title {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
font-size: var(--fonts-sm);
|
|
font-weight: var(--semi-bold);
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.layout__footer__patron-list {
|
|
display: flex;
|
|
max-width: 75vw;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
font-size: var(--fonts-xs);
|
|
gap: var(--s-1);
|
|
list-style: none;
|
|
margin-block-start: var(--s-2);
|
|
}
|
|
|
|
.layout__copyright-note {
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: var(--text-lighter);
|
|
font-size: var(--fonts-xxs);
|
|
text-align: center;
|
|
}
|
|
|
|
.layout__side-nav {
|
|
position: fixed;
|
|
display: flex;
|
|
height: 100vh;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: var(--s-6);
|
|
overflow-y: auto;
|
|
padding-inline: var(--s-4);
|
|
}
|
|
|
|
.layout__side-nav-image-container {
|
|
display: grid;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--rounded);
|
|
background-color: var(--bg-lighter);
|
|
place-items: center;
|
|
transition: all 0.2s ease-out;
|
|
}
|
|
|
|
.layout__side-nav-image-container:hover {
|
|
background-color: var(--theme-transparent);
|
|
}
|
|
|
|
@media screen and (display-mode: standalone) {
|
|
.layout__header {
|
|
align-items: flex-end;
|
|
padding-top: env(safe-area-inset-top);
|
|
}
|
|
|
|
.layout__main {
|
|
padding-block-start: calc(env(safe-area-inset-top) + var(--s-16));
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 950px) {
|
|
.layout__side-nav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 640px) {
|
|
.layout__header__right-container {
|
|
display: none;
|
|
}
|
|
|
|
.layout__breadcrumb-container > a {
|
|
max-width: 175px;
|
|
}
|
|
|
|
.layout__footer__socials {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.layout__footer__social-link {
|
|
max-width: initial;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.layout__footer__social-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-2);
|
|
text-align: initial;
|
|
}
|
|
|
|
.layout__footer__social-header > p {
|
|
margin-block-start: var(--s-1);
|
|
}
|
|
|
|
.layout__footer__social-icon {
|
|
height: 1.75rem;
|
|
}
|
|
|
|
.layout__footer__social-link:hover > .layout__footer__social-icon {
|
|
transform: translateX(-0.3rem);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.layout__breadcrumb-container {
|
|
width: 100%;
|
|
}
|
|
}
|