mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
264 - Action Feature Swap (#265)
* Removed action fields on Adversary/Environment in favor of using Feature Items * Added drag/drop for features onto adversary/environment settings * Added Drag of features from Adversary/Environment settings to anywhere in Foundry * Updated all item types except Class/Subclass * Added for Class/Subclass * Items now copy over their features to Character * Corrected back to actions for right items * Fixed adversary/environment features display * PR Fixes
This commit is contained in:
parent
eac58c1386
commit
e9ad9c539a
58 changed files with 1146 additions and 1114 deletions
|
|
@ -2099,74 +2099,6 @@ div.daggerheart.views.multiclass {
|
|||
.daggerheart.views.roll-selection #roll-selection-costSelection footer {
|
||||
display: none;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .disadvantage,
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .advantage {
|
||||
border: 2px solid #708090;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .disadvantage.selected,
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .advantage.selected {
|
||||
filter: drop-shadow(0px 0px 3px red);
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .disadvantage input,
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .advantage input {
|
||||
border: 0;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .disadvantage button,
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .advantage button {
|
||||
flex: 0;
|
||||
border-radius: 50%;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 2px 0 2px 4px;
|
||||
padding: 12px;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .disadvantage button i,
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .advantage button i {
|
||||
margin: 0;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .roll-dialog-experience-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .roll-dialog-experience-container .roll-dialog-chip {
|
||||
border: 1px solid black;
|
||||
border-radius: 6px;
|
||||
min-width: calc(33% - 2px);
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
background: grey;
|
||||
overflow: hidden;
|
||||
font-weight: bold;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .roll-dialog-experience-container .roll-dialog-chip.hover {
|
||||
filter: drop-shadow(0 0 3px red);
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .roll-dialog-experience-container .roll-dialog-chip span {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .roll-dialog-experience-container .roll-dialog-chip.selected {
|
||||
background: green;
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .roll-dialog-experience-container .roll-dialog-chip.selected span {
|
||||
filter: drop-shadow(0 0 3px gold);
|
||||
}
|
||||
.daggerheart.views.roll-selection .roll-dialog-container .hope-container {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
|
@ -2217,25 +2149,6 @@ div.daggerheart.views.multiclass {
|
|||
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .selection-container .dice-container .advantage-container .advantage-button:hover {
|
||||
background: var(--button-hover-background-color);
|
||||
}
|
||||
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
}
|
||||
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container .experience-chip {
|
||||
opacity: 0.6;
|
||||
border-radius: 16px;
|
||||
width: calc(50% - 4px);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container .experience-chip.active,
|
||||
.daggerheart.views.npc-roll-selection .npc-roll-dialog-container .roll-dialog-experience-container .experience-chip:hover {
|
||||
opacity: 1;
|
||||
background: var(--button-hover-background-color);
|
||||
}
|
||||
.daggerheart.views.multiclass .multiclass-container {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
|
@ -3708,16 +3621,16 @@ div.daggerheart.views.multiclass {
|
|||
.daggerheart.dh-style.setting .trait-array-container .trait-array-item input {
|
||||
text-align: center;
|
||||
}
|
||||
.themed.theme-dark .application.sheet.dh-style .character-header-sheet .trait,
|
||||
.themed.theme-dark.application.sheet.dh-style .character-header-sheet .trait,
|
||||
body.theme-dark .application .character-header-sheet .trait,
|
||||
body.theme-dark.application .character-header-sheet .trait {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style .character-header-sheet .trait,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style .character-header-sheet .trait,
|
||||
body.theme-dark .application.daggerheart .character-header-sheet .trait,
|
||||
body.theme-dark.application.daggerheart .character-header-sheet .trait {
|
||||
background: url(../assets/svg/trait-shield.svg) no-repeat;
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style .character-header-sheet .trait,
|
||||
.themed.theme-light.application.sheet.dh-style .character-header-sheet .trait,
|
||||
body.theme-light .application .character-header-sheet .trait,
|
||||
body.theme-light.application .character-header-sheet .trait {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style .character-header-sheet .trait,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style .character-header-sheet .trait,
|
||||
body.theme-light .application.daggerheart .character-header-sheet .trait,
|
||||
body.theme-light.application.daggerheart .character-header-sheet .trait {
|
||||
background: url('../assets/svg/trait-shield-light.svg') no-repeat;
|
||||
}
|
||||
.application.sheet.daggerheart.actor.dh-style.character .character-header-sheet {
|
||||
|
|
@ -3880,28 +3793,28 @@ body.theme-light.application .character-header-sheet .trait {
|
|||
font-size: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.themed.theme-dark .application.sheet.dh-style .character-sidebar-sheet,
|
||||
.themed.theme-dark.application.sheet.dh-style .character-sidebar-sheet,
|
||||
body.theme-dark .application .character-sidebar-sheet,
|
||||
body.theme-dark.application .character-sidebar-sheet {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style .character-sidebar-sheet,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style .character-sidebar-sheet,
|
||||
body.theme-dark .application.daggerheart .character-sidebar-sheet,
|
||||
body.theme-dark.application.daggerheart .character-sidebar-sheet {
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
}
|
||||
.themed.theme-dark .application.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
.themed.theme-dark.application.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
body.theme-dark .application .character-sidebar-sheet .experience-value,
|
||||
body.theme-dark.application .character-sidebar-sheet .experience-value {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
body.theme-dark .application.daggerheart .character-sidebar-sheet .experience-value,
|
||||
body.theme-dark.application.daggerheart .character-sidebar-sheet .experience-value {
|
||||
background: url(../assets/svg/experience-shield.svg) no-repeat;
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style .character-sidebar-sheet,
|
||||
.themed.theme-light.application.sheet.dh-style .character-sidebar-sheet,
|
||||
body.theme-light .application .character-sidebar-sheet,
|
||||
body.theme-light.application .character-sidebar-sheet {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style .character-sidebar-sheet,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style .character-sidebar-sheet,
|
||||
body.theme-light .application.daggerheart .character-sidebar-sheet,
|
||||
body.theme-light.application.daggerheart .character-sidebar-sheet {
|
||||
background: transparent;
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
.themed.theme-light.application.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
body.theme-light .application .character-sidebar-sheet .experience-value,
|
||||
body.theme-light.application .character-sidebar-sheet .experience-value {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style .character-sidebar-sheet .experience-value,
|
||||
body.theme-light .application.daggerheart .character-sidebar-sheet .experience-value,
|
||||
body.theme-light.application.daggerheart .character-sidebar-sheet .experience-value {
|
||||
background: url('../assets/svg/experience-shield-light.svg') no-repeat;
|
||||
}
|
||||
.application.sheet.dh-style .character-sidebar-sheet {
|
||||
|
|
@ -4825,16 +4738,16 @@ body.theme-light.application .character-sidebar-sheet .experience-value {
|
|||
align-items: center;
|
||||
padding: 0 20px;
|
||||
}
|
||||
.themed.theme-dark .application.sheet.dh-style.environment,
|
||||
.themed.theme-dark.application.sheet.dh-style.environment,
|
||||
body.theme-dark .application.environment,
|
||||
body.theme-dark.application.environment {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style.environment,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style.environment,
|
||||
body.theme-dark .application.daggerheart.environment,
|
||||
body.theme-dark.application.daggerheart.environment {
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style.environment,
|
||||
.themed.theme-light.application.sheet.dh-style.environment,
|
||||
body.theme-light .application.environment,
|
||||
body.theme-light.application.environment {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style.environment,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style.environment,
|
||||
body.theme-light .application.daggerheart.environment,
|
||||
body.theme-light.application.daggerheart.environment {
|
||||
background: url('../assets/parchments/dh-parchment-light.png');
|
||||
}
|
||||
.application.sheet.daggerheart.actor.dh-style.environment .tab {
|
||||
|
|
@ -4884,122 +4797,78 @@ body.theme-light.application.environment {
|
|||
.application.daggerheart.dh-style.dialog .tab.experiences .experience-list .experience-item a {
|
||||
text-align: center;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions {
|
||||
.application.daggerheart.dh-style.dialog .tab.features {
|
||||
max-height: 450px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .add-action-btn {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .add-feature-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .feature-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .feature-list .feature-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item img {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .feature-list .feature-item img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item .label {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .feature-list .feature-item .label {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item .label .tags {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item .label .tags .tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
background: light-dark(#22222215, #efe6d815);
|
||||
border: 1px solid light-dark(#222, #efe6d8);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item .label .tags .label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item .controls {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .feature-list .feature-item .controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.actions .action-list .action-item .controls a {
|
||||
.application.daggerheart.dh-style.dialog .tab.features .feature-list .feature-item .controls a {
|
||||
text-align: center;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features {
|
||||
max-height: 450px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .add-action-btn {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .add-feature-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .feature-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .feature-list .feature-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item img {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .feature-list .feature-item img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item .label {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .feature-list .feature-item .label {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item .label .tags {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item .label .tags .tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
background: light-dark(#22222215, #efe6d815);
|
||||
border: 1px solid light-dark(#222, #efe6d8);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item .label .tags .label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item .controls {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .feature-list .feature-item .controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.actions .action-list .action-item .controls a {
|
||||
.application.daggerheart.dh-style.dialog.environment-settings .tab.features .feature-list .feature-item .controls a {
|
||||
text-align: center;
|
||||
}
|
||||
.application.daggerheart.dh-style.dialog .tab.adversaries {
|
||||
|
|
@ -5326,16 +5195,16 @@ body.theme-light.application.environment {
|
|||
.theme-light .application.sheet.daggerheart.actor.dh-style.companion .experience-list .experience-value {
|
||||
background: url('../assets/svg/experience-shield-light.svg') no-repeat;
|
||||
}
|
||||
.themed.theme-dark .application.sheet.dh-style.companion,
|
||||
.themed.theme-dark.application.sheet.dh-style.companion,
|
||||
body.theme-dark .application.companion,
|
||||
body.theme-dark.application.companion {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style.companion,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style.companion,
|
||||
body.theme-dark .application.daggerheart.companion,
|
||||
body.theme-dark.application.daggerheart.companion {
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style.companion,
|
||||
.themed.theme-light.application.sheet.dh-style.companion,
|
||||
body.theme-light .application.companion,
|
||||
body.theme-light.application.companion {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style.companion,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style.companion,
|
||||
body.theme-light .application.daggerheart.companion,
|
||||
body.theme-light.application.daggerheart.companion {
|
||||
background: url('../assets/parchments/dh-parchment-light.png');
|
||||
}
|
||||
.application.sheet.daggerheart.actor.dh-style.adversary .window-content {
|
||||
|
|
@ -5420,6 +5289,111 @@ body.theme-light.application.companion {
|
|||
justify-content: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .dices-section {
|
||||
display: flex;
|
||||
gap: 60px;
|
||||
justify-content: center;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .dices-section .dice-option {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 120px;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .dices-section .dice-option .dice-icon {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .dices-section .dice-option .dice-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
height: 32px;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .dices-section .dice-option .dice-select .label {
|
||||
font-family: 'Cinzel', serif;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
color: light-dark(#222, #efe6d8);
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .experience-container {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .experience-container .experience-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
background: light-dark(#18162e10, #f3c26710);
|
||||
color: light-dark(#18162e, #f3c267);
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .experience-container .experience-chip .label {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .experience-container .experience-chip.selected {
|
||||
background: light-dark(#18162e40, #f3c26740);
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .advantage-chip,
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .disadvantage-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .advantage-chip .label,
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .disadvantage-chip .label {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .advantage-chip {
|
||||
background: #40a64010;
|
||||
color: #40a640;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .advantage-chip.selected {
|
||||
color: #efe6d8;
|
||||
background: linear-gradient(151.21deg, #40a640 7.21%, #011b01 92.79%);
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .disadvantage-chip {
|
||||
background: #e54e4e10;
|
||||
color: #e54e4e;
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .modifier-container .disadvantage-chip.selected {
|
||||
color: #efe6d8;
|
||||
background: linear-gradient(151.21deg, #e54e4e 7.21%, #3c0000 92.79%);
|
||||
}
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection .roll-dialog-container .formula-label {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
color: light-dark(#222, #efe6d8);
|
||||
}
|
||||
@keyframes glow {
|
||||
0% {
|
||||
box-shadow: 0 0 1px 1px #f3c267;
|
||||
|
|
@ -5513,17 +5487,17 @@ body.theme-light.application.companion {
|
|||
* @param {Rules} @darkRules - Styles to apply when `.theme-dark` is present
|
||||
* @param {Rules} @lightRules - Styles to apply when `.theme-light` is present
|
||||
*/
|
||||
.themed.theme-dark .application.sheet.dh-style,
|
||||
.themed.theme-dark.application.sheet.dh-style,
|
||||
body.theme-dark .application,
|
||||
body.theme-dark.application {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style,
|
||||
body.theme-dark .application.daggerheart,
|
||||
body.theme-dark.application.daggerheart {
|
||||
background: rgba(24, 22, 46, 0.33);
|
||||
backdrop-filter: blur(9px);
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style,
|
||||
.themed.theme-light.application.sheet.dh-style,
|
||||
body.theme-light .application,
|
||||
body.theme-light.application {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style,
|
||||
body.theme-light .application.daggerheart,
|
||||
body.theme-light.application.daggerheart {
|
||||
background: url('../assets/parchments/dh-parchment-light.png') no-repeat center;
|
||||
}
|
||||
.application.sheet.dh-style {
|
||||
|
|
@ -5571,18 +5545,18 @@ body.theme-light.application {
|
|||
.application.sheet.dh-style:not(.minimized) .window-content {
|
||||
opacity: 1;
|
||||
}
|
||||
.themed.theme-dark .application.sheet.dh-style.dialog,
|
||||
.themed.theme-dark.application.sheet.dh-style.dialog,
|
||||
body.theme-dark .application.dialog,
|
||||
body.theme-dark.application.dialog {
|
||||
.themed.theme-dark .application.daggerheart.sheet.dh-style.dialog,
|
||||
.themed.theme-dark.application.daggerheart.sheet.dh-style.dialog,
|
||||
body.theme-dark .application.daggerheart.dialog,
|
||||
body.theme-dark.application.daggerheart.dialog {
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
.themed.theme-light .application.sheet.dh-style.dialog,
|
||||
.themed.theme-light.application.sheet.dh-style.dialog,
|
||||
body.theme-light .application.dialog,
|
||||
body.theme-light.application.dialog {
|
||||
.themed.theme-light .application.daggerheart.sheet.dh-style.dialog,
|
||||
.themed.theme-light.application.daggerheart.sheet.dh-style.dialog,
|
||||
body.theme-light .application.daggerheart.dialog,
|
||||
body.theme-light.application.daggerheart.dialog {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@
|
|||
@import './less/applications/header.less';
|
||||
@import './less/applications/adversary-settings/sheet.less';
|
||||
@import './less/applications/adversary-settings/experiences.less';
|
||||
@import './less/applications/adversary-settings/actions.less';
|
||||
@import './less/applications/adversary-settings/features.less';
|
||||
|
||||
@import './less/applications/environment-settings/actions.less';
|
||||
@import './less/applications/environment-settings/features.less';
|
||||
@import './less/applications/environment-settings/adversaries.less';
|
||||
|
||||
@import './less/applications//beastform.less';
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||
.tab.actions {
|
||||
.action-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
||||
padding: 20px 0;
|
||||
padding-top: 10px;
|
||||
height: 95%;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||
.tab.features {
|
||||
.feature-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
overflow-y: auto;
|
||||
mask-image: linear-gradient(0deg, transparent 0%, black 5%, black 95%, transparent 100%);
|
||||
padding: 20px 0;
|
||||
padding-top: 10px;
|
||||
height: 95%;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,74 +0,0 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.daggerheart.dh-style.dialog {
|
||||
.tab.actions {
|
||||
max-height: 450px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
|
||||
.add-action-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.action-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.action-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-radius: 3px;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
|
||||
.tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
|
||||
background: light-dark(@dark-15, @beige-15);
|
||||
border: 1px solid light-dark(@dark, @beige);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
a {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
styles/less/applications/adversary-settings/features.less
Normal file
48
styles/less/applications/adversary-settings/features.less
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.daggerheart.dh-style.dialog {
|
||||
.tab.features {
|
||||
max-height: 450px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
|
||||
.add-feature-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.feature-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.feature-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-radius: 3px;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
a {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.daggerheart.dh-style.dialog.environment-settings {
|
||||
.tab.actions {
|
||||
max-height: 450px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
|
||||
.add-action-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.action-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.action-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
|
||||
.tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: 12px;
|
||||
|
||||
background: light-dark(@dark-15, @beige-15);
|
||||
border: 1px solid light-dark(@dark, @beige);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
a {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
48
styles/less/applications/environment-settings/features.less
Normal file
48
styles/less/applications/environment-settings/features.less
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.daggerheart.dh-style.dialog.environment-settings {
|
||||
.tab.features {
|
||||
max-height: 450px;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
|
||||
.add-feature-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.feature-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.feature-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr auto;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
a {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,128 +1,128 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection {
|
||||
.roll-dialog-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
.dices-section {
|
||||
display: flex;
|
||||
gap: 60px;
|
||||
justify-content: center;
|
||||
|
||||
.dice-option {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 120px;
|
||||
|
||||
.dice-icon {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.dice-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
height: 32px;
|
||||
|
||||
.label {
|
||||
font-family: @font-subtitle;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.experience-container {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.experience-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modifier-container {
|
||||
.advantage-chip,
|
||||
.disadvantage-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
.advantage-chip {
|
||||
background: @green-10;
|
||||
color: @green;
|
||||
|
||||
&.selected {
|
||||
color: @beige;
|
||||
background: @gradient-green;
|
||||
}
|
||||
}
|
||||
|
||||
.disadvantage-chip {
|
||||
background: @red-10;
|
||||
color: @red;
|
||||
|
||||
&.selected {
|
||||
color: @beige;
|
||||
background: @gradient-red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.formula-label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
}
|
||||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.application.daggerheart.dialog.dh-style.views.roll-selection {
|
||||
.roll-dialog-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
|
||||
.dices-section {
|
||||
display: flex;
|
||||
gap: 60px;
|
||||
justify-content: center;
|
||||
|
||||
.dice-option {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 120px;
|
||||
|
||||
.dice-icon {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.dice-select {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
height: 32px;
|
||||
|
||||
.label {
|
||||
font-family: @font-subtitle;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.experience-container {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.experience-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
background: light-dark(@dark-blue-10, @golden-10);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modifier-container {
|
||||
.advantage-chip,
|
||||
.disadvantage-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
gap: 5px;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
.label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
.advantage-chip {
|
||||
background: @green-10;
|
||||
color: @green;
|
||||
|
||||
&.selected {
|
||||
color: @beige;
|
||||
background: @gradient-green;
|
||||
}
|
||||
}
|
||||
|
||||
.disadvantage-chip {
|
||||
background: @red-10;
|
||||
color: @red;
|
||||
|
||||
&.selected {
|
||||
color: @beige;
|
||||
background: @gradient-red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.formula-label {
|
||||
font-family: @font-body;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 17px;
|
||||
|
||||
color: light-dark(@dark, @beige);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue