sendou.ink/app/features/tier-list-maker/components/TierRow.module.css
Kalle 84b4c1d67f
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Download tier list as img (#2638)
Co-authored-by: hfcRed <hfcred@gmx.net>
2025-11-17 18:40:22 +02:00

118 lines
1.9 KiB
CSS

.container {
display: flex;
gap: var(--s-1);
min-height: 68px;
}
.tierLabel {
display: flex;
align-items: center;
justify-content: center;
min-width: 68px;
padding: var(--s-2);
font-size: var(--fonts-lg);
font-weight: var(--bold);
color: var(--text);
border-radius: var(--rounded-sm);
cursor: pointer;
transition: opacity 0.2s;
border: none;
}
.tierLabel:hover {
opacity: 0.9;
}
.tierName {
font-size: var(--fonts-xl);
color: var(--button-text);
}
.popupContent {
display: flex;
flex-direction: column;
gap: var(--s-6);
padding: var(--s-2);
}
.nameInput {
max-width: 125px;
text-align: center;
}
.targetZone {
flex: 1;
display: flex;
flex-wrap: wrap;
gap: var(--s-1-5);
padding: var(--s-2);
background: var(--bg-lighter-solid);
border: 2px dashed transparent;
border-radius: var(--rounded-sm) 0 0 var(--rounded-sm);
align-content: flex-start;
transition: all 0.2s;
}
.targetZoneOver {
border-color: var(--theme-transparent);
background: var(--bg-lightest);
}
.emptyMessage {
width: 100%;
height: 100%;
text-align: center;
margin: auto;
color: var(--text-lighter);
font-size: var(--fonts-md);
font-weight: var(--semi-bold);
font-style: italic;
display: flex;
align-items: center;
justify-content: center;
}
.arrowControls {
display: flex;
flex-direction: column;
gap: var(--s-1);
margin: auto;
}
.arrowButton {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
padding: var(--s-1);
background: var(--bg-lighter);
border: none;
cursor: pointer;
transition: opacity 0.2s;
}
.arrowButtonUpper {
border-radius: 0 var(--rounded-sm) 0 0;
}
.arrowButtonLower {
border-radius: 0 0 var(--rounded-sm) 0;
}
.arrowButton:hover:not(:disabled) {
opacity: 0.8;
}
.arrowButton:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.arrowIcon {
width: 20px;
height: 20px;
stroke-width: 3;
color: var(--text);
}