Paramètres : choix du canal d'Excalidraw (stable ou préversion)
- Dialogue « Paramètres » (icône engrenage) : sections Apparence (titre, logo) et Excalidraw (canal latest/next, versions publiées, commande de reconstruction ; rappel qu'Excalidraw est compilé dans l'image). - L'icône de mise à jour suit le canal choisi et compare par égalité (les numéros next sont inférieurs à la dernière stable) ; elle ouvre les paramètres sur la section Excalidraw. - Compatibilité avec le canal next : la prop excalidrawAPI y devient onExcalidrawAPI, les deux sont passées (image next construite et testée). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019EuvvuTv7AUc8ksDHv8VKx
This commit is contained in:
1 parent
7da52b6755
commit
88f7750577
9 files changed
+361
-255
No files matched your search
+58
-8
@@ -929,14 +929,6 @@ li.active > .row {
|
||||
background: var(--warn);
|
||||
box-shadow: 0 0 0 2px var(--ex-island);
|
||||
}
|
||||
.modal.update p {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.modal.update .small {
|
||||
font-size: 12px;
|
||||
}
|
||||
.modal .cmd {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -955,3 +947,61 @@ li.active > .row {
|
||||
color: var(--ex-primary);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* Dialogue « Paramètres » */
|
||||
.modal.settings {
|
||||
width: min(480px, 100%);
|
||||
max-height: min(720px, 92dvh);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.modal h4 {
|
||||
margin: 6px 0 0;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--border);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.4px;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
.modal h3 + h4 {
|
||||
border-top: none;
|
||||
padding-top: 0;
|
||||
}
|
||||
.modal .versions {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.modal small code {
|
||||
font-size: 11px;
|
||||
}
|
||||
/* Choix du canal : RadioGroup d'Excalidraw. */
|
||||
.radio-group {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
padding: 2px;
|
||||
border: 1px solid var(--ex-surface-high);
|
||||
border-radius: 0.625rem;
|
||||
background: var(--ex-island);
|
||||
align-self: flex-start;
|
||||
}
|
||||
.radio-group button {
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
height: auto;
|
||||
min-width: 110px;
|
||||
padding: 6px 12px;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
font-size: 13px;
|
||||
}
|
||||
.radio-group button small {
|
||||
font-size: 11px;
|
||||
letter-spacing: normal;
|
||||
opacity: 0.75;
|
||||
}
|
||||
.radio-group button.on {
|
||||
background: var(--ex-primary);
|
||||
color: var(--ex-surface-lowest);
|
||||
}
|
||||
Reference in new issue
Block a user