8e2afb93f3
- NCWF-5: scaffold /analysis route with ChessBoard viewer and navigation - NCWF-6: FEN / PGN / Game-ID input form with depth selector - NCWF-7: extend GameApiService with analyzePosition(); add AnalysisService with game-wide annotation pipeline; proxy /api/analysis -> :8087 - NCWF-8: EvalTimelineComponent — SVG win-chance chart per ply - NCWF-9: AnnotatedMoveListComponent — quality labels (!! ! ?! ? ??) derived from win-chance delta Also fix pre-existing app.spec.ts failure (missing provideHttpClient). Apply project-wide prettier formatting pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
74 lines
1.2 KiB
CSS
74 lines
1.2 KiB
CSS
/* Shared Button Template - All Button Styles Consolidated */
|
|
|
|
.app-btn {
|
|
background: var(--btn-bg);
|
|
color: var(--btn-fg);
|
|
border: none;
|
|
border-radius: 2px;
|
|
padding: 0.6rem 1rem;
|
|
font-family: 'Space Mono', monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
cursor: pointer;
|
|
box-shadow: var(--btn-glow);
|
|
transition:
|
|
transform 0.2s ease,
|
|
filter 0.2s ease,
|
|
background 1.6s ease,
|
|
box-shadow 1.6s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
outline: none;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.app-btn:hover:enabled {
|
|
transform: scale(1.05);
|
|
filter: brightness(1.15);
|
|
}
|
|
|
|
.app-btn:active:enabled {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.app-btn:disabled {
|
|
opacity: 0.65;
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.app-btn.w-100 {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Dialog Button Layouts */
|
|
.dialog-actions {
|
|
display: flex;
|
|
gap: 0.6rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dialog-actions .app-btn {
|
|
flex: 1;
|
|
min-width: 120px;
|
|
}
|
|
|
|
/* Promotion Dialog Button Variant */
|
|
.promotion-choice {
|
|
flex-direction: column;
|
|
height: auto;
|
|
padding: 16px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.promotion-choice .piece-symbol {
|
|
font-size: 32px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.promotion-choice .piece-label {
|
|
font-size: 11px;
|
|
}
|