BOL : Fix damage error, rework roll dialog and new damage targetting

This commit is contained in:
2026-03-16 20:16:58 +01:00
parent 7adc1b3f07
commit a549262d25
121 changed files with 538 additions and 408 deletions

View File

@@ -1113,6 +1113,49 @@ h2.bad {
font-style: italic;
margin-bottom: 4px;
}
.chat-message .bol-damage-card .damage-target-select-label,
.chat-message .bol-defense-card .damage-target-select-label {
font-size: 0.78rem;
color: #7a0000;
font-family: "Wolfsbane2Expanded", cursive;
letter-spacing: 0.4px;
margin-bottom: 4px;
}
.chat-message .bol-damage-card .chat-target-select,
.chat-message .bol-defense-card .chat-target-select {
display: flex;
align-items: center;
gap: 6px;
width: 100%;
margin-bottom: 2px;
padding: 3px 8px;
background: linear-gradient(135deg, #f5f0e8, #ede4d4);
border: 1px solid #c4a882;
border-radius: 4px;
color: #191813;
font-size: 0.85rem;
cursor: pointer;
text-align: left;
}
.chat-message .bol-damage-card .chat-target-select:hover,
.chat-message .bol-defense-card .chat-target-select:hover {
background: linear-gradient(135deg, #7a0000, darkred);
color: #e8d890;
border-color: #7a0000;
}
.chat-message .bol-damage-card .chat-target-select:hover .damage-target-icon,
.chat-message .bol-defense-card .chat-target-select:hover .damage-target-icon {
border-color: #e8d890;
}
.chat-message .bol-damage-card .chat-target-select .damage-target-icon,
.chat-message .bol-defense-card .chat-target-select .damage-target-icon {
width: 24px;
height: 24px;
border-radius: 3px;
border: 1px solid #c4a882;
object-fit: cover;
flex: 0 0 24px;
}
.chat-message .bol-damage-card .damage-note,
.chat-message .bol-defense-card .damage-note {
font-size: 0.78rem;
@@ -1521,6 +1564,18 @@ body.system-bol img#logo {
color: #191813;
margin: 0;
}
.bol.dialog .roll-dialog-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0 8px;
align-items: start;
margin-bottom: 2px;
}
.bol.dialog .roll-col {
display: flex;
flex-direction: column;
min-width: 0;
}
.bol.dialog .roll-box,
.bol.dialog .box-roll,
.bol.dialog div.flexrow:has(.bg-darkred) {
@@ -1583,8 +1638,8 @@ body.system-bol img#logo {
.bol.dialog select option:hover,
.bol.dialog input[type="text"] option:hover,
.bol.dialog input[type="number"] option:hover {
background: darkred;
color: white;
background: darkred !important;
color: white !important;
}
.bol.dialog input:disabled {
color: #8b0000 !important;