Eval-Bar mit Stockfish-Streaming, LESS entfernt, Move-Lock, AGENTS-Regeln

This commit is contained in:
2026-05-25 20:09:09 +02:00
parent 3b1a4ce4e4
commit ec1ebaa525
8 changed files with 412 additions and 595 deletions

View File

@@ -133,6 +133,66 @@ header h1 {
#board [data-square].last-move-highlight {
box-shadow: inset 0 0 3px 3px rgba(255, 200, 0, 0.7);
}
/* Board Row: Board + Eval-Bar nebeneinander */
#board-row {
display: flex;
gap: 8px;
width: 100%;
max-width: 540px;
}
#eval-bar-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
flex-shrink: 0;
width: 36px;
min-height: 350px;
}
#eval-bar {
flex: 1;
width: 16px;
background: #1a1a1a;
border-radius: 8px;
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.15);
}
#eval-bar-fill {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(to top, #f0f0f0 0%, #d0d0d0 100%);
transition: height 0.3s ease;
border-radius: 0 0 7px 7px;
height: 50%;
}
#eval-bar-marker {
position: absolute;
left: -2px;
right: -2px;
height: 2px;
background: #000;
transition: top 0.3s ease;
z-index: 2;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
top: 50%;
}
#eval-info {
display: flex;
flex-direction: column;
align-items: center;
gap: 1px;
flex-shrink: 0;
}
#eval-score {
font-family: 'Courier New', monospace;
font-size: 0.75rem;
font-weight: bold;
color: #fff;
text-align: center;
white-space: nowrap;
}
#pgn-panel,
#pgn-panel-mobile {
width: 100%;