mirror of
https://github.com/IliesAllali/parenthese.git
synced 2026-11-13 00:16:09 +00:00
- Landing refaite : nouvelle palette claire, Newsreader et DM Sans, logo validé, sections (garanties, trois gestes, démo, pour qui, engagements, guides, bloc final). Illustration du hero conservée et recolorée, portraits alignés sur les âges. - App : couleurs et typographie passées à la nouvelle DA, structure et fonctionnalités inchangées. Composants communs dans src/styles/pz.css. - Refaits de zéro : fiche d'une personne (souvenirs, infos, liens, panneau mobile), connexion, création de compte, liste des arbres, accès par mot de passe, recherche, barre d'actions, menu du compte, zoom, et toutes les fenêtres (compte, création d'arbre, contributions, envoi, sortie d'édition, brouillon, ajout de personne, souvenirs, visionneuse, paramètres de l'arbre). - Arbre : chaque personne garde sa forme de cadre tirée au hasard, cadre vertical pour une photo carrée. - Démo : photos d'époque libres de droits hébergées dans public/demo (sources et licences dans sources.json et CREDITS.md), famille Dupont crédible, Isabelle née à Fort-de-France. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
69 lines
3.3 KiB
CSS
69 lines
3.3 KiB
CSS
/* Souvenirs d'une personne : ajouter, ranger, supprimer (DA terracotta). La fenêtre vient de pz.css */
|
|
.media-manager-modal-overlay { z-index: 2200; }
|
|
|
|
.mm-form { display: grid; gap: 16px; }
|
|
.mm-optional { font-weight: 400; color: var(--pz-faint); margin-left: 4px; }
|
|
|
|
.mm-types { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
|
|
@media (max-width: 640px) { .mm-types { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } }
|
|
.mm-type {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 6px;
|
|
padding: 12px 6px 10px;
|
|
border: 1px solid var(--pz-line);
|
|
border-radius: var(--pz-r-m);
|
|
background: var(--pz-surface);
|
|
color: var(--pz-ink-2);
|
|
font: 500 12.5px var(--pz-sans);
|
|
cursor: pointer;
|
|
transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 140ms var(--pz-ease);
|
|
}
|
|
.mm-type:active { transform: scale(.97); }
|
|
.mm-type.is-active { border-color: var(--pz-a500); background: var(--pz-a50); color: var(--pz-a700); box-shadow: 0 0 0 3px var(--pz-a100); }
|
|
@media (hover: hover) and (pointer: fine) { .mm-type:hover:not(.is-active) { border-color: var(--pz-a300); } }
|
|
|
|
.mm-drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
.mm-drop {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
border: 1.5px dashed var(--pz-a300);
|
|
border-radius: var(--pz-r-m);
|
|
background: var(--pz-a50);
|
|
cursor: pointer;
|
|
transition: background-color 160ms ease;
|
|
}
|
|
@media (hover: hover) and (pointer: fine) { .mm-drop:hover { background: var(--pz-a100); } }
|
|
.mm-drop-input:focus-visible + .mm-drop { outline: 2px solid var(--pz-a500); outline-offset: 2px; }
|
|
.mm-drop-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--pz-surface); color: var(--pz-a700); }
|
|
.mm-drop-text { display: grid; gap: 2px; min-width: 0; }
|
|
.mm-drop-text strong { font: 500 14px var(--pz-sans); color: var(--pz-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.mm-drop-text span { font: 400 12.5px var(--pz-sans); color: var(--pz-muted); }
|
|
|
|
.mm-list-wrap { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--pz-line); }
|
|
.mm-empty { padding: 4px 0; }
|
|
.mm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
|
|
.mm-item { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 6px; border: 1px solid var(--pz-line); border-radius: var(--pz-r-m); }
|
|
.mm-preview {
|
|
width: 48px;
|
|
height: 48px;
|
|
flex: none;
|
|
display: grid;
|
|
place-items: center;
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
background: var(--pz-a50);
|
|
color: var(--pz-a700);
|
|
font: 500 12px var(--pz-sans);
|
|
}
|
|
.mm-preview img { width: 100%; height: 100%; object-fit: cover; }
|
|
.media-manager-modal-preview-map { width: 100%; height: 100%; }
|
|
.mm-meta { flex: 1; display: grid; gap: 2px; min-width: 0; }
|
|
.mm-meta strong { font: 500 14px/1.3 var(--pz-sans); color: var(--pz-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.mm-meta span { font: 400 12.5px var(--pz-sans); color: var(--pz-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.mm-meta a { color: var(--pz-a700); }
|
|
.mm-actions { display: flex; gap: 0; flex: none; }
|
|
.mm-actions .pz-btn--icon { width: 36px; min-height: 36px; }
|