sendou.ink/app/styles/vars.css
Kalle ef78d3a2c2
Tournament full (#1373)
* 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
2023-05-15 22:37:43 +03:00

147 lines
4.0 KiB
CSS

html {
--bg: #ebebf0;
--bg-darker: #f8f8f8;
--bg-lighter: rgb(250 250 250);
--bg-lightest: #fff;
--bg-light-variation: #fff;
--bg-lighter-transparent: hsla(225deg 100% 88% / 50%);
--bg-darker-very-transparent: rgb(187 208 219 / 29.5%);
--bg-darker-transparent: hsla(202deg 90% 90% / 65%);
--bg-ability: rgb(3 6 7);
--bg-badge: #000;
--bg-mode-active: rgb(213 42 190 / 23.4%);
--abilities-button-bg: rgb(22 23 51);
--badge-text: rgb(255 255 255 / 95%);
--border: rgb(217 218 234);
--button-text: rgb(0 0 0 / 85%);
--button-text-transparent: rgb(0 0 0 / 65%);
--text: rgb(0 0 0 / 95%);
--black-text: rgb(0 0 0 / 95%);
--text-lighter: rgb(75 75 75 / 95%);
--divider: #f5a2c8;
--theme-error: rgb(199 13 6);
--theme-error-transparent: rgba(199 13 6 / 55%);
--theme-error-semi-transparent: rgba(199 13 6 / 70%);
--theme-warning: #c9c900;
--theme-warning-transparent: #c9c90052;
--theme-success: #00a514;
--theme-success-transparent: #00a51452;
--theme-info: #1fb0d0;
--theme-info-transparent: #1fb0d052;
--theme-informative-yellow: #b09901;
--theme-informative-red: #9d0404;
--theme-informative-blue: #007f9c;
--theme-informative-green: #017a0f;
--theme: #f73e8b;
--theme-transparent: #f3a0c386;
--theme-very-transparent: #f3a0c341;
--theme-vibrant: #f73e8b;
--theme-semi-transparent: #ff99c477;
--theme-secondary: rgb(63 58 255);
--backdrop-filter: blur(10px) brightness(95%);
--rounded: 16px;
--rounded-full: 200px;
--rounded-sm: 10px;
--fonts-xl: 1.5rem;
--fonts-lg: 1.2rem;
--fonts-md: 1rem;
--fonts-sm: 0.92rem;
--fonts-xs: 0.8rem;
--fonts-xxs: 0.7rem;
--fonts-xxxs: 0.6rem;
--fonts-xxxxs: 0.5rem;
--extra-bold: 700;
--bold: 600;
--semi-bold: 500;
--body: 400;
--s-0-5: 0.125rem;
--s-1: 0.25rem;
--s-1-5: 0.375rem;
--s-2: 0.5rem;
--s-2-5: 0.625rem;
--s-3: 0.75rem;
--s-4: 1rem;
--s-5: 1.25rem;
--s-6: 1.5rem;
--s-7: 1.75rem;
--s-8: 2rem;
--s-9: 2.25rem;
--s-10: 2.5rem;
--s-11: 2.75rem;
--s-12: 3rem;
--s-14: 3.5rem;
--s-16: 4rem;
--s-20: 5rem;
--s-24: 6rem;
--s-28: 7rem;
--s-32: 8rem;
--s-40: 10rem;
--s-48: 12rem;
--s-56: 14rem;
--s-64: 16rem;
--s-72: 18rem;
--s-80: 20rem;
--s-96: 2rem;
--sparse: 0.4px;
--label-margin: var(--s-1);
--inactive-image-filter: grayscale(100%) brightness(30%);
}
html.dark {
--bg: #02011e;
--bg-darker: #0a092d;
--bg-lighter: rgb(169 138 255 / 10%);
--bg-lighter-transparent: rgb(64 67 108 / 50%);
--bg-light-variation: #a98aff30;
--bg-lightest: rgb(169 138 255 / 30%);
--bg-darker-very-transparent: hsla(237.3deg 42.3% 26.6% / 50%);
--bg-darker-transparent: #0a092dce;
--bg-ability: #010112;
--bg-badge: #000;
--bg-mode-active: var(--theme-transparent);
--bg-input: #1b1a35;
--abilities-button-bg: var(--bg-lighter);
--border: rgb(255 255 255 / 10%);
--button-text: rgb(0 0 0 / 85%);
--button-text-transparent: rgb(0 0 0 / 65%);
--text: #e1dede;
--badge-text: var(--text);
--black-text: rgb(0 0 0 / 95%);
--text-lighter: rgb(215 214 255 / 80%);
--divider: #ffbedb2f;
--theme-error: rgb(219 70 65);
--theme-error-transparent: rgba(219 70 65 / 55%);
--theme-error-semi-transparent: rgba(199 13 6 / 70%);
--theme-warning: #f5f587;
--theme-success: #a3ffae;
--theme-success-transparent: #a3ffae52;
--theme-info: #87cddc;
--theme-info-transparent: #87cddc52;
--theme-informative-yellow: #ffed75;
--theme-informative-red: #ff9494;
--theme-informative-blue: #a7efff;
--theme-informative-green: #a2ffad;
--theme: #ffc6de;
--theme-very-transparent: #ffc6de36;
--theme-vibrant: #f391ba;
--theme-semi-transparent: #ff99c477;
--theme-transparent: #ffc6de52;
--theme-secondary: rgb(239 229 83);
--backdrop-filter: blur(10px) brightness(75%);
--inactive-image-filter: grayscale(100%) brightness(130%);
}
html.dark .light-mode-only {
display: none;
}
html.light .dark-mode-only {
display: none;
}
/* xs: "(min-width: 480px)",
sm: "(min-width: 640px)",
md: "(min-width: 768px)",
lg: "(min-width: 1024px)",
xl: "(min-width: 1280px)", */