Praxispunkte: groessere Klickflaeche, Zaehler und Klick-Handler statt Submit

This commit is contained in:
torsten 2026-11-22 20:18:46 +01:00
parent 3795c517fb
commit 1acb99dc51
4 changed files with 29 additions and 15 deletions

View file

@ -816,10 +816,10 @@ input[type="file"] {
/* Würfelspalte und ankreuzbare Praxispunkte (PP) */
.skill-table th.die, .skill-table td.die { width: 3.4rem; white-space: nowrap; }
.skill-table td.pp-cell { white-space: nowrap; vertical-align: baseline; }
.pp-slots { display: inline-flex; gap: 0.16rem; margin: 0; padding: 0; border: 0; }
.pp-slots { display: inline-flex; gap: 0.2rem; margin: 0; padding: 0; border: 0; }
.pp-slot {
width: 0.68rem;
height: 0.68rem;
width: 1.05rem;
height: 1.05rem;
padding: 0;
border: 1px solid rgba(201, 162, 39, 0.55);
border-radius: 2px;
@ -827,9 +827,10 @@ input[type="file"] {
cursor: pointer;
transition: background 0.12s ease, border-color 0.12s ease;
}
.pp-slot:hover { border-color: var(--gold); }
.pp-slot:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.18); }
.pp-slot.is-filled { background: var(--gold); border-color: var(--gold); }
.pp-slot:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.pp-count { margin-left: 0.4rem; font-size: 0.78rem; color: var(--parchment-dim); font-variant-numeric: tabular-nums; }
/* --- Boni: positiv grün, null grau, negativ rot ------------------------- */
.bonus-pos { color: #79d29a; }