mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Revert "Initial chat message description design change"
This reverts commit f4f5fd6c24.
This commit is contained in:
parent
f4f5fd6c24
commit
0b4266ba08
3 changed files with 3 additions and 39 deletions
|
|
@ -101,7 +101,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
|
||||||
CONFIG.DH.id,
|
CONFIG.DH.id,
|
||||||
CONFIG.DH.SETTINGS.gameSettings.appearance
|
CONFIG.DH.SETTINGS.gameSettings.appearance
|
||||||
).expandRollMessage,
|
).expandRollMessage,
|
||||||
rollSections = html.querySelectorAll('.roll-part, .description-section'),
|
rollSections = html.querySelectorAll('.roll-part'),
|
||||||
itemDesc = html.querySelector('.domain-card-move');
|
itemDesc = html.querySelector('.domain-card-move');
|
||||||
rollSections.forEach(s => {
|
rollSections.forEach(s => {
|
||||||
if (s.classList.contains('roll-section')) {
|
if (s.classList.contains('roll-section')) {
|
||||||
|
|
|
||||||
|
|
@ -574,39 +574,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-roll .description-section {
|
|
||||||
background: @dark-80;
|
|
||||||
border-radius: 6px;
|
|
||||||
|
|
||||||
.description-header {
|
|
||||||
width: 100%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
gap: 2px;
|
|
||||||
|
|
||||||
.description-header-title {
|
|
||||||
color: @golden;
|
|
||||||
font-size: var(--font-size-16);
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-header-subtitle {
|
|
||||||
font-size: var(--font-size-14);
|
|
||||||
padding-bottom: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.roll-part-content .dice-tooltip .wrapper {
|
|
||||||
i {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
> :first-child:not(.target-selector) {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.roll-buttons {
|
.roll-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
<div class="dice-roll description-section" data-action="expandRoll">
|
<div class="roll-part dice-roll description-section" data-action="expandRoll">
|
||||||
<div class="description-header">
|
<div class="roll-part-header"><div><span>{{localize "DAGGERHEART.GENERAL.description"}}</span></div></div>
|
||||||
<div class="description-header-title">{{title}}</div>
|
|
||||||
<div class="description-header-subtitle">{{title}}</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="roll-part-content description-content">
|
<div class="roll-part-content description-content">
|
||||||
<div class="dice-tooltip">
|
<div class="dice-tooltip">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue