sendou.ink/app/features/badges/components/BadgeDisplay.module.css
Kalle b4cc185d1d
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Scrims (#2211)
* Initial

* Progress

* Initial UI

* Can submit request

* Progress

* Show text if no scrims

* Can cancel request, tabs

* Delete post

* Popover if can't delete

* Request rows

* Progress

* Scrim page initial

* Fix migration order

* Progress

* Progress

* Works again

* Make it compile

* Make it compile again

* Work

* Progress

* Progress

* Progress

* Associations initial

* Association visibility work

* notFoundVisibility form fields initial

* Progress

* Association leave/join + reset invite code

* Progress

* Select test

* Merge branch 'rewrite' into scrims

* Remeda for groupBy

* Select with search

* Outline styling for select

* Select done?

* Fix prop names

* Paginated badges

* Less important

* Select no results

* Handle limiting select width

* UserSearch non-working

* Fix problem from merge

* Remove UserSearch for now

* Remove todo

* Flaggable

* Remove TODOs

* i18n start + styling

* Progress

* i18n done

* Add association e2e test

* E2E tests

* Done?

* Couple leftovers
2025-04-20 22:51:23 +03:00

74 lines
1.3 KiB
CSS

.badges {
display: flex;
min-width: 20rem;
max-width: 20rem;
min-height: 12rem;
align-items: center;
padding: var(--s-2);
border-radius: var(--rounded);
background-color: var(--bg-badge);
margin-inline: auto;
}
.smallBadges {
display: grid;
place-items: center;
grid-template-columns: repeat(3, 1fr);
margin: 0 auto;
cursor: pointer;
gap: var(--s-3);
}
.badgeExplanation {
color: var(--text-lighter);
font-size: var(--fonts-xs);
display: flex;
align-items: center;
justify-content: center;
gap: var(--s-2);
margin-block-end: var(--s-1);
}
.smallBadgeContainer {
position: relative;
}
.smallBadgeCount {
position: absolute;
top: 0;
right: 0;
margin-top: -8px;
margin-right: auto;
margin-left: auto;
color: var(--theme-vibrant);
font-size: var(--fonts-xxxs);
font-weight: var(--bold);
}
.pagination {
display: flex;
flex-wrap: wrap;
gap: var(--s-2-5);
justify-content: center;
align-items: center;
max-width: 20rem;
margin: 0 auto;
margin-block-start: var(--s-2);
}
.paginationButton {
background-color: var(--bg-darker);
border-radius: 100%;
padding: var(--s-1);
height: 24px;
width: 24px;
border: 2px solid var(--border);
font-size: var(--fonts-xs);
color: var(--text-lighter);
}
.paginationButtonActive {
color: var(--theme);
background-color: var(--bg-lightest);
}