mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* start development * finish party members tab * start resources tab * finish resources tab * finish inventory tab and add inital template to projects tab * add resource buttons actions methods * add group roll dialog * Main implementation * Fixed costs * Minor fixes and tweaks for the party sheet (#1239) * Minor fixes and tweaks for the party sheet * Fix scroll restoration for party sheet tabs * Finished GroupRoll * Removed/commented-out not yet implemented things * Commented out Difficulty since it's not used yet * Re-render party when members update (#1242) * Fixed so style applies in preview chat message * Added the clown car * Fixed so items can be dropped into the Party sheet * Added delete icon to inventory * Fixed TokenHUD token property useage. Fixed skipping roll message * Added visible modifier to GroupRoll leader result * Leader roll displays the large result display right away after rolling * Corrected tokenHUD for non-player-tokens * Fixed clowncar tokenData * Fixed TagTeam roll message and sound * Removed final TagTeamRoll roll sound * [PR] [Party Sheets] Sidebar character sheet changes (#1249) * Something experimenting * I am silly (wearning Dunce hat) * Stressful task * Armor functional to be hit * CSS Changes to accomadate pip boy * last minute change to resource section for better visual feeling * restoring old css for toggle * Added setting to toggle pip/number display * toggle functionality added * Fixed light-mode in characterSheet * Fixed multi-row resource pips display for character * Fixed separators * Added pip-display to Adversary and Companion. Some fixing on armor display --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> * Fixed party height and resource armor update * Fixed deletebutton padding * Only showing expand-me icon on InventoryItem if there is a description to show * . * Fixed menu icon to be beige instead of white in dark mode --------- Co-authored-by: moliloo <dev.murilobrito@gmail.com> Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>
210 lines
6.2 KiB
Text
210 lines
6.2 KiB
Text
.chat-message .message-content .group-roll {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding-bottom: 8px;
|
|
|
|
.group-roll-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
|
|
.group-roll-header {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
margin-bottom: 0;
|
|
font-weight: normal;
|
|
|
|
&.first {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.group-roll-header-expand-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
|
|
label {
|
|
cursor: pointer;
|
|
}
|
|
|
|
i {
|
|
color: light-dark(@dark-blue, @golden);
|
|
}
|
|
}
|
|
}
|
|
|
|
.group-roll-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
overflow: hidden;
|
|
height: auto;
|
|
transition: all 0.3s ease;
|
|
|
|
&.closed {
|
|
height: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
&.finished {
|
|
background: light-dark(@dark-blue-10, @golden-10);
|
|
}
|
|
|
|
.group-roll-main-roll {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.divider {
|
|
font-size: 14px;
|
|
margin-bottom: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.main-roll-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
color: light-dark(@dark-blue, @golden);
|
|
|
|
.main-value {
|
|
font-size: var(--font-size-24);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.main-text {
|
|
font-size: var(--font-size-16);
|
|
margin-top: 2px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.group-roll-member {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.group-roll-data {
|
|
display: flex;
|
|
gap: 4px;
|
|
|
|
img {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.group-roll-label-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
|
|
.group-roll-label-inner-container {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.group-roll-modifier {
|
|
padding: 2px 8px;
|
|
border: 1px solid light-dark(@green, @green);
|
|
border-radius: 6px;
|
|
color: light-dark(@green, @green);
|
|
background: light-dark(@green-40, @green-40);
|
|
|
|
&.failure {
|
|
border-color: light-dark(@red, @red);
|
|
color: light-dark(@red, @red);
|
|
background: light-dark(@red-40, @red-40);
|
|
}
|
|
}
|
|
|
|
.group-roll-trait {
|
|
padding: 2px 8px;
|
|
border: 1px solid light-dark(white, white);
|
|
border-radius: 6px;
|
|
color: light-dark(white, white);
|
|
background: light-dark(@beige-80, @beige-80);
|
|
}
|
|
}
|
|
}
|
|
|
|
.group-roll-rolling {
|
|
img {
|
|
width: 42px;
|
|
height: 42px;
|
|
|
|
&:hover {
|
|
filter: drop-shadow(0 0 8px light-dark(@dark-blue, @golden));
|
|
}
|
|
}
|
|
}
|
|
|
|
.roll-results {
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 5px;
|
|
width: fit-content;
|
|
gap: 16px;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
background: light-dark(@dark-blue-10, @golden-10);
|
|
color: light-dark(@dark-blue, @golden);
|
|
|
|
&.finished {
|
|
background-color: initial;
|
|
}
|
|
|
|
.reroll-result-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
|
|
.label {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: var(--font-size-18);
|
|
line-height: 17px;
|
|
}
|
|
|
|
i {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.success,
|
|
.success i {
|
|
color: @green;
|
|
}
|
|
|
|
.failure,
|
|
.failure i {
|
|
color: @red;
|
|
}
|
|
}
|
|
|
|
.group-roll-reroll {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.dice-icon {
|
|
width: 24px;
|
|
}
|
|
|
|
.reroll-icon {
|
|
position: absolute;
|
|
font-size: 14px;
|
|
color: black;
|
|
filter: drop-shadow(0 0 3px black);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|