mirror of
https://github.com/deunix-educ/PyQuest.git
synced 2026-11-25 08:19:44 +01:00
Add drawing canvas (canvas module, DrawingView, drawing_* tests) and levels 13-14 (classes, saved patterns)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -152,3 +152,35 @@
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
/* Feuille de dessin (module canvas) : toujours blanche, quel que soit le thème. */
|
||||
.cell-drawing {
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
|
||||
.cell-drawing figcaption {
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.drawing-canvas {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 22rem;
|
||||
aspect-ratio: 1;
|
||||
background: #ffffff;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
|
||||
.drawing-summary {
|
||||
margin: 0.25rem 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.drawing-list {
|
||||
margin: 0.25rem 0 0;
|
||||
padding-left: 1.25rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user