Trefferwuerfe: Rechenkette anzeigen, Bearbeitung im Overlay mit einem Feld je Wurf
This commit is contained in:
parent
27a267893e
commit
f9126675b2
5 changed files with 205 additions and 67 deletions
|
|
@ -821,6 +821,39 @@ input[type="file"] {
|
|||
.stat .b.bonus-zero { color: var(--parchment-dim); }
|
||||
.stat .b.bonus-neg { color: #e0756a; }
|
||||
|
||||
/* --- Trefferwürfe: Rechenkette als Feld, Overlay zum Bearbeiten --------- */
|
||||
.hp-sum {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 0.6rem;
|
||||
width: 100%;
|
||||
padding: 0.55rem 0.7rem;
|
||||
border: 1px solid rgba(201, 162, 39, 0.35);
|
||||
border-radius: var(--radius);
|
||||
background: rgba(6, 9, 16, 0.55);
|
||||
color: var(--parchment);
|
||||
font: inherit;
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.02em;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.hp-sum:hover,
|
||||
.hp-sum:focus-visible {
|
||||
border-color: var(--gold);
|
||||
background: rgba(201, 162, 39, 0.12);
|
||||
}
|
||||
.hp-sum small { color: var(--parchment-dim); font-size: 0.72rem; white-space: nowrap; }
|
||||
.hp-roll-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
|
||||
gap: 0.6rem;
|
||||
}
|
||||
.hp-roll-grid .field { margin: 0; }
|
||||
.hp-roll-grid input { text-align: center; font-variant-numeric: tabular-nums; }
|
||||
dialog.hp-rolls-dialog { width: min(34rem, 94vw); }
|
||||
|
||||
/* --- Selektor-Schirm für Fertigkeiten und Zauber ------------------------ */
|
||||
.selector-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue