mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-26 21:27:48 -05:00
Clean up unused util classes
This commit is contained in:
@@ -216,7 +216,7 @@ function TournamentFirstPlacerWithMembers({
|
||||
<span className={styles.firstPlacersTeamName}>
|
||||
{censored ? "???" : placer.teamName}
|
||||
</span>
|
||||
<div className="text-xxxs text-lighter font-bold text-uppercase">
|
||||
<div className="text-xxs text-lighter font-bold text-uppercase">
|
||||
{t("front:showcase.card.winner")}
|
||||
{placer.div ? ` (${placer.div})` : null}
|
||||
</div>
|
||||
@@ -255,7 +255,7 @@ function TournamentFirstPlacerTeamNameOnly({
|
||||
<span className={styles.firstPlacersTeamName}>
|
||||
{censored ? "???" : placer.teamName}
|
||||
</span>
|
||||
<div className="text-xxxs text-lighter font-bold text-uppercase">
|
||||
<div className="text-xxs text-lighter font-bold text-uppercase">
|
||||
{t("front:showcase.card.winner")}
|
||||
{placer.div ? ` (${placer.div})` : null}
|
||||
</div>
|
||||
|
||||
@@ -279,7 +279,7 @@ function GroupMember({
|
||||
<span className={styles.name}>
|
||||
{member.inGameName ? (
|
||||
<>
|
||||
<span className="text-lighter font-bold text-xxxs">
|
||||
<span className="text-lighter font-bold text-xxs">
|
||||
{t("user:ign.short")}:
|
||||
</span>{" "}
|
||||
{inGameNameWithoutDiscriminator(member.inGameName)}
|
||||
@@ -291,7 +291,7 @@ function GroupMember({
|
||||
</span>
|
||||
</UserCard>
|
||||
{member.pronouns ? (
|
||||
<span className="text-lighter ml-1 text-xxxs">
|
||||
<span className="text-lighter ml-1 text-xxs">
|
||||
{member.pronouns.subject}/{member.pronouns.object}
|
||||
</span>
|
||||
) : null}
|
||||
|
||||
@@ -330,7 +330,7 @@ function StandingsTable({
|
||||
{s.team.name}
|
||||
</Link>{" "}
|
||||
{s.team.droppedOut ? (
|
||||
<span className="text-warning text-xxxs font-bold">
|
||||
<span className="text-warning text-xxs font-bold">
|
||||
Drop-out
|
||||
</span>
|
||||
) : null}
|
||||
|
||||
@@ -217,7 +217,7 @@ function LFGGroupMemberRow({
|
||||
</span>
|
||||
</UserCard>
|
||||
{member.pronouns ? (
|
||||
<span className="text-lighter ml-1 text-xxxs">
|
||||
<span className="text-lighter ml-1 text-xxs">
|
||||
{member.pronouns.subject}/{member.pronouns.object}
|
||||
</span>
|
||||
) : null}
|
||||
|
||||
@@ -23,18 +23,10 @@
|
||||
font-size: var(--font-2xs);
|
||||
}
|
||||
|
||||
.text-xxxs {
|
||||
font-size: var(--font-2xs);
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.text-main-forced {
|
||||
color: var(--color-text);
|
||||
}
|
||||
@@ -43,10 +35,6 @@
|
||||
color: var(--color-text-high);
|
||||
}
|
||||
|
||||
.text-theme-transparent {
|
||||
color: var(--color-accent-low);
|
||||
}
|
||||
|
||||
.text-error {
|
||||
color: var(--color-error);
|
||||
}
|
||||
@@ -55,10 +43,6 @@
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.text-info {
|
||||
color: var(--color-info);
|
||||
}
|
||||
|
||||
.text-accent-high {
|
||||
color: var(--color-accent-high);
|
||||
}
|
||||
@@ -116,18 +100,6 @@
|
||||
background-color: var(--color-bg-high);
|
||||
}
|
||||
|
||||
.bg-transparent {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.bg-darker-transparent {
|
||||
background-color: var(--color-bg);
|
||||
}
|
||||
|
||||
.bg-theme-transparent {
|
||||
background-color: var(--color-accent-low);
|
||||
}
|
||||
|
||||
.rounded {
|
||||
border-radius: var(--radius-box);
|
||||
}
|
||||
@@ -152,10 +124,6 @@
|
||||
font-weight: var(--weight-bold);
|
||||
}
|
||||
|
||||
.h-full {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.h-max {
|
||||
height: max-content;
|
||||
}
|
||||
@@ -176,30 +144,14 @@
|
||||
width: var(--s-24);
|
||||
}
|
||||
|
||||
.min-w-max {
|
||||
min-width: max-content;
|
||||
}
|
||||
|
||||
.w-max {
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.w-min {
|
||||
width: min-content;
|
||||
}
|
||||
|
||||
.p-1 {
|
||||
padding: var(--s-1);
|
||||
}
|
||||
|
||||
.p-1-5 {
|
||||
padding: var(--s-1-5);
|
||||
}
|
||||
|
||||
.px-4 {
|
||||
padding-inline: var(--s-4);
|
||||
}
|
||||
|
||||
.py-4 {
|
||||
padding-block: var(--s-4);
|
||||
}
|
||||
@@ -212,14 +164,6 @@
|
||||
padding-inline-start: var(--s-4);
|
||||
}
|
||||
|
||||
.px-2 {
|
||||
padding-inline: var(--s-2);
|
||||
}
|
||||
|
||||
.pb-4 {
|
||||
padding-block-end: var(--s-4);
|
||||
}
|
||||
|
||||
.pt-0 {
|
||||
padding-block-start: 0;
|
||||
}
|
||||
@@ -228,34 +172,14 @@
|
||||
padding-block-start: var(--s-0-5);
|
||||
}
|
||||
|
||||
.pt-8 {
|
||||
padding-block-start: var(--s-8);
|
||||
}
|
||||
|
||||
.m-auto-0 {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
.mt-auto {
|
||||
margin-block-start: auto;
|
||||
}
|
||||
|
||||
.mt-0 {
|
||||
margin-block-start: 0;
|
||||
}
|
||||
|
||||
.-mt-1px {
|
||||
margin-block-start: -1px;
|
||||
}
|
||||
|
||||
.mt-1 {
|
||||
margin-block-start: var(--s-1);
|
||||
}
|
||||
|
||||
.mt-1-5 {
|
||||
margin-block-start: var(--s-1-5);
|
||||
}
|
||||
|
||||
.mt-2 {
|
||||
margin-block-start: var(--s-2);
|
||||
}
|
||||
@@ -304,14 +228,6 @@
|
||||
margin-inline-start: var(--s-2);
|
||||
}
|
||||
|
||||
.ml-2-5 {
|
||||
margin-inline-start: var(--s-3);
|
||||
}
|
||||
|
||||
.ml-4 {
|
||||
margin-inline-start: var(--s-4);
|
||||
}
|
||||
|
||||
.ml-6 {
|
||||
margin-inline-start: var(--s-6);
|
||||
}
|
||||
@@ -328,10 +244,6 @@
|
||||
margin-inline-end: var(--s-2);
|
||||
}
|
||||
|
||||
.mr-4 {
|
||||
margin-inline-end: var(--s-4);
|
||||
}
|
||||
|
||||
.mx-auto {
|
||||
margin-inline: auto;
|
||||
}
|
||||
@@ -344,10 +256,6 @@
|
||||
margin-inline: var(--s-2);
|
||||
}
|
||||
|
||||
.my-auto {
|
||||
margin-block: auto;
|
||||
}
|
||||
|
||||
.my-1 {
|
||||
margin-block: var(--s-1);
|
||||
}
|
||||
@@ -400,10 +308,6 @@
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.overflow-x-scroll {
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.relative {
|
||||
position: relative;
|
||||
}
|
||||
@@ -444,10 +348,6 @@
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.justify-evenly {
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.justify-self-end {
|
||||
justify-self: flex-end;
|
||||
}
|
||||
@@ -472,10 +372,6 @@
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flex-wrap-reverse {
|
||||
flex-wrap: wrap-reverse;
|
||||
}
|
||||
|
||||
.all-unset {
|
||||
all: unset;
|
||||
}
|
||||
@@ -491,14 +387,6 @@
|
||||
--label-margin: 0;
|
||||
}
|
||||
|
||||
.mobile-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.desktop-hidden {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -507,20 +395,6 @@
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.list-none {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 480px) {
|
||||
.mobile-hidden {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.desktop-hidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.scrollbar,
|
||||
textarea {
|
||||
@supports not selector(::-webkit-scrollbar) {
|
||||
|
||||
Reference in New Issue
Block a user