Add spells rolls and enhance CSS styling

This commit is contained in:
2026-01-12 10:45:20 +01:00
parent e75824cd20
commit 0bc6b43ffe
29 changed files with 2428 additions and 878 deletions
+54
View File
@@ -25,6 +25,30 @@
border-radius: 4px;
padding: 0.5rem;
}
.dialog-weapon-options {
margin-top: 8px;
.dialog-save {
margin: 4px 0;
label {
display: flex;
align-items: center;
cursor: pointer;
input[type="checkbox"] {
margin-right: 8px;
cursor: pointer;
}
}
select {
margin-left: 8px;
min-width: 10rem;
}
}
}
}
.prismrpg-range-defense-dialog {
@@ -156,4 +180,34 @@
font-size: calc(var(--font-size-standard) * 1);
text-shadow: 0 0 10px var(--color-shadow-primary);
}
// Roll Damage button in weapon attack messages
.damage-roll-button {
margin-top: 0.5em;
margin-bottom: 0.25em;
.roll-damage-button {
background: linear-gradient(135deg, #8b0000 0%, #dc143c 100%);
color: white;
border: 1px solid #6b0000;
border-radius: 3px;
padding: 4px 10px;
font-weight: 600;
cursor: pointer;
font-size: 0.85em;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
transition: all 0.2s ease;
&:hover {
background: linear-gradient(135deg, #a00000 0%, #ff1744 100%);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
transform: translateY(-1px);
}
i {
margin-right: 4px;
font-size: 0.9em;
}
}
}
}