rudimentary promotion selection

This commit is contained in:
2026-06-21 20:53:13 +02:00
parent 60bab173be
commit c999c545a8
3 changed files with 97 additions and 11 deletions
+40
View File
@@ -0,0 +1,40 @@
.promotion-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
border-radius: inherit;
}
.promotion-picker {
display: flex;
flex-direction: column;
gap: 6px;
background: white;
padding: 10px;
border-radius: 14px;
box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.promotion-piece {
width: 64px;
height: 64px;
display: flex;
align-items: center;
justify-content: center;
font-size: 42px;
cursor: pointer;
border: 2px solid transparent;
border-radius: 8px;
background: #fafafa;
transition: all 0.15s ease;
}
.promotion-piece:hover {
background: #eff6ff;
border-color: #3b82f6;
transform: scale(1.08);
}
.promotion-piece:active {
transform: scale(0.95);
}