Files
parenthese/frontend/src/components/annotations/TextOptions.css
T
IliesAllaliandClaude Opus 5.5 5b5636e1be Refonte de la direction artistique : accent terracotta, landing, app et démo
- 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>
2026-09-25 11:21:04 +02:00

122 lines
2.1 KiB
CSS

.text-options {
display: flex;
flex-direction: column;
gap: 12px;
}
.text-options__section {
display: flex;
flex-direction: column;
gap: 6px;
}
.text-options__label {
font-size: 14px;
font-weight: 450;
color: #6B645D;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.text-options__colors {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
}
.text-options__color-btn {
width: 28px;
height: 28px;
border-radius: 8px;
border: 2px solid transparent;
cursor: pointer;
transition: all 0.15s ease;
}
.text-options__color-btn:hover {
transform: scale(1.12);
}
.text-options__color-btn--active {
border-color: #2A2622;
box-shadow: 0 0 0 2px rgba(42, 38, 34, 0.2);
}
.text-options__sizes {
display: flex;
gap: 4px;
}
.text-options__size-btn {
flex: 1;
padding: 6px 4px;
border-radius: 8px;
border: 1.5px solid rgba(147, 64, 42, 0.2);
background: transparent;
color: #2A2622;
font-size: 14px;
font-weight: 450;
cursor: pointer;
transition: all 0.15s ease;
}
.text-options__size-btn:hover {
background: rgba(147, 64, 42, 0.08);
}
.text-options__size-btn--active {
border-color: #93402A;
background: rgba(147, 64, 42, 0.1);
color: #93402A;
}
/* Toggle switch */
.text-options__toggle {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.text-options__toggle input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.text-options__toggle-track {
position: relative;
width: 36px;
height: 20px;
border-radius: 999px;
background: rgba(147, 64, 42, 0.2);
transition: background 0.2s ease;
}
.text-options__toggle input:checked + .text-options__toggle-track {
background: #93402A;
}
.text-options__toggle-thumb {
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
border-radius: 50%;
background: white;
box-shadow: 0 1px 3px rgba(42, 38, 34, 0.15);
transition: transform 0.2s ease;
}
.text-options__toggle input:checked + .text-options__toggle-track .text-options__toggle-thumb {
transform: translateX(16px);
}
.text-options__toggle-label {
font-size: 14px;
font-weight: 500;
color: #2A2622;
}