Duality Roll Followup (#65)

* Moved the roll total to bottom right. A bunch of label fixes
* Fixed broken attack-roll damage button
* Added AppearanceMenu allowing modification of DiceSoNice Duality presets
This commit is contained in:
WBHarry 2025-05-27 20:07:47 +02:00 committed by GitHub
parent 6fcfce227a
commit c4a03b2d54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 685 additions and 400 deletions

View file

@ -1369,14 +1369,6 @@
justify-content: space-between;
padding: 0 8px;
}
.chat-message.duality .duality-data .duality-title .duality-result-value {
border: 1px solid var(--color-dark-5);
padding: 2px;
font-weight: bold;
background: var(--color-dark-1);
margin-bottom: 4px;
font-size: 16px;
}
.chat-message.duality .duality-data .duality-modifiers {
display: flex;
gap: 2px;
@ -1504,7 +1496,7 @@
text-shadow: 0 0 1px black;
font-weight: bold;
background: var(--color-dark-1);
padding: 4px;
padding: 4px 4px 0 4px;
border-radius: 6px 0 0 0;
}
.chat-message.duality .duality-actions {
@ -1736,6 +1728,13 @@
.daggerheart.chat.roll .dice-result .damage-button {
margin-top: 5px;
}
.daggerheart.chat.roll .dice-actions {
margin-top: 5px;
display: flex;
}
.daggerheart.chat.roll .dice-actions button {
flex: 1;
}
.daggerheart.chat.domain-card {
display: flex;
flex-direction: column;
@ -3095,6 +3094,39 @@ div.daggerheart.views.multiclass {
transform: translateY(-20px);
transform-origin: top;
}
.application.setting.dh-style fieldset h2,
.application.setting.dh-style fieldset h3,
.application.setting.dh-style fieldset h4 {
margin: 8px 0 4px;
text-align: center;
}
.application.setting.dh-style fieldset .title-hint {
font-size: 12px;
font-variant: small-caps;
text-align: center;
}
.application.setting.dh-style fieldset .field-section .split-section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.application.setting.dh-style fieldset .label-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.application.setting.dh-style fieldset .label-container label {
align-self: center;
text-align: center;
}
.application.setting.dh-style footer {
margin-top: 8px;
display: flex;
gap: 8px;
}
.application.setting.dh-style footer button {
flex: 1;
}
.sheet.daggerheart.dh-style .tab-navigation {
margin: 5px 0;
height: 40px;