Merge branch 'main' into bug/251-light-theme-character-sheet

This commit is contained in:
Joaquin Pereyra 2025-07-03 23:35:24 -03:00
commit 2007e2d8d2
48 changed files with 1204 additions and 310 deletions

View file

@ -2329,6 +2329,29 @@ div.daggerheart.views.multiclass {
width: 1.5rem;
height: 1.5rem;
}
.daggerheart.views.action .action-category .action-category-data .hint-group {
display: flex;
flex-direction: column;
align-items: end;
}
.daggerheart.views.action .action-category .action-category-data .hint-group .form-fields {
width: 100%;
display: flex;
align-items: center;
}
.daggerheart.views.action .action-category .action-category-data .hint-group .form-fields label {
flex: 1;
}
.daggerheart.views.action .action-category .action-category-data .hint-group .form-fields input,
.daggerheart.views.action .action-category .action-category-data .hint-group .form-fields select {
flex: 3;
}
.daggerheart.views.action .action-category .action-category-data .hint-group .hint {
margin: 4px 0 0 0;
font-size: 12px;
font-style: italic;
opacity: 0.6;
}
.daggerheart.views.action .action-category .action-category-data .data-form-array {
border: 1px solid var(--color-fieldset-border);
padding: 0.5rem;
@ -3854,6 +3877,8 @@ div.daggerheart.views.multiclass {
text-align: center;
}
.themed.theme-dark .application.sheet.dh-style .character-sidebar-sheet,
.themed.theme-dark.application.sheet.dh-style .character-sidebar-sheet {
.themed.theme-dark .application.sheet.dh-style .character-sidebar-sheet,
.themed.theme-dark.application.sheet.dh-style .character-sidebar-sheet {
background-image: url('../assets/parchments/dh-parchment-dark.png');
}
@ -3862,6 +3887,12 @@ div.daggerheart.views.multiclass {
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 {
.themed.theme-dark .application.sheet.dh-style .character-sidebar-sheet .experience-value,
.themed.theme-dark.application.sheet.dh-style .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 {
background: transparent;
}
@ -3874,22 +3905,36 @@ div.daggerheart.views.multiclass {
min-width: 275px;
border-right: 1px solid light-dark(#18162e, #f3c267);
}
.application.sheet.dh-style .character-sidebar-sheet .portrait {
.themed.theme-light .application.sheet.dh-style .character-sidebar-sheet .experience-value,
.themed.theme-light.application.sheet.dh-style .character-sidebar-sheet .experience-value {
background: url('../assets/svg/experience-shield-light.svg') no-repeat;
}
.application.sheet.dh-style .character-sidebar-sheet {
width: 275px;
min-width: 275px;
border-right: 1px solid light-dark(#18162e, #f3c267);
}
.application.sheet.dh-style .character-sidebar-sheet .portrait {
position: relative;
border-bottom: 1px solid light-dark(#18162e, #f3c267);
cursor: pointer;
}
.application.sheet.dh-style .character-sidebar-sheet .portrait img {
.application.sheet.dh-style .character-sidebar-sheet .portrait img {
height: 235px;
width: 275px;
object-fit: cover;
}
.application.sheet.dh-style .character-sidebar-sheet .portrait .death-roll-btn {
.application.sheet.dh-style .character-sidebar-sheet .portrait .death-roll-btn {
display: none;
}
.application.sheet.dh-style .character-sidebar-sheet .portrait.death-roll {
.application.sheet.dh-style .character-sidebar-sheet .portrait.death-roll {
filter: grayscale(1);
}
.application.sheet.dh-style .character-sidebar-sheet .portrait.death-roll .death-roll-btn {
.application.sheet.dh-style .character-sidebar-sheet .portrait.death-roll .death-roll-btn {
display: flex;
position: absolute;
@ -3898,9 +3943,11 @@ div.daggerheart.views.multiclass {
font-size: 6rem;
color: #efe6d8;
}
.application.sheet.dh-style .character-sidebar-sheet .portrait.death-roll .death-roll-btn:hover {
.application.sheet.dh-style .character-sidebar-sheet .portrait.death-roll .death-roll-btn:hover {
text-shadow: 0 0 8px #efe6d8;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section {
.application.sheet.dh-style .character-sidebar-sheet .info-section {
position: relative;
display: flex;
@ -3909,16 +3956,19 @@ div.daggerheart.views.multiclass {
gap: 30px;
margin-bottom: -10px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section {
display: flex;
justify-content: space-evenly;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar {
position: relative;
width: 100px;
height: 40px;
justify-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-label {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-label {
position: relative;
top: 40px;
@ -3927,12 +3977,14 @@ div.daggerheart.views.multiclass {
clip-path: path('M0 0H79L74 16.5L39 22L4 16.5L0 0Z');
background: light-dark(#18162e, #f3c267);
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-label h4 {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-label h4 {
font-weight: bold;
text-align: center;
line-height: 18px;
color: light-dark(#efe6d8, #18162e);
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value {
position: absolute;
display: flex;
@ -3946,6 +3998,7 @@ div.daggerheart.views.multiclass {
z-index: 2;
color: #efe6d8;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'] {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'] {
background: transparent;
font-size: 1.5rem;
@ -3956,6 +4009,7 @@ div.daggerheart.views.multiclass {
outline: 2px solid transparent;
color: #efe6d8;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'].bar-input {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'].bar-input {
padding: 0;
color: #efe6d8;
@ -3964,13 +4018,17 @@ div.daggerheart.views.multiclass {
transition: all 0.3s ease;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'].bar-input:hover,
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'].bar-input:focus {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'].bar-input:hover,
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value input[type='number'].bar-input:focus {
background: rgba(24, 22, 46, 0.33);
backdrop-filter: blur(9.5px);
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value .bar-label {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .status-value .bar-label {
width: 40px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar {
position: absolute;
appearance: none;
@ -3981,36 +4039,44 @@ div.daggerheart.views.multiclass {
z-index: 1;
background: #18162e;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar::-webkit-progress-bar {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar::-webkit-progress-bar {
border: none;
background: #18162e;
border-radius: 6px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar::-webkit-progress-value {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar::-webkit-progress-value {
background: linear-gradient(15deg, #46140a 0%, #be0000 42%, #fcb045 100%);
border-radius: 6px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar.stress-color::-webkit-progress-value {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar.stress-color::-webkit-progress-value {
background: linear-gradient(15deg, #823b01 0%, #fc8e45 65%, #be0000 100%);
border-radius: 6px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar::-moz-progress-bar {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar::-moz-progress-bar {
background: linear-gradient(15deg, #46140a 0%, #be0000 42%, #fcb045 100%);
border-radius: 6px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar.stress-color::-moz-progress-bar {
.application.sheet.dh-style .character-sidebar-sheet .info-section .resources-section .status-bar .progress-bar.stress-color::-moz-progress-bar {
background: linear-gradient(15deg, #823b01 0%, #fc8e45 65%, #be0000 100%);
border-radius: 6px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section {
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section {
display: flex;
flex-wrap: wrap;
gap: 5px;
justify-content: center;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number {
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number {
justify-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-value {
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-value {
position: relative;
display: flex;
@ -4026,16 +4092,19 @@ div.daggerheart.views.multiclass {
background: light-dark(transparent, #18162e);
z-index: 2;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-value.armor-slots {
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-value.armor-slots {
width: 80px;
height: 30px;
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-label {
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-label {
padding: 2px 10px;
width: 100%;
border-radius: 3px;
background: light-dark(#18162e, #f3c267);
}
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-label h4 {
.application.sheet.dh-style .character-sidebar-sheet .info-section .status-section .status-number .status-label h4 {
font-weight: bold;
text-align: center;
@ -4043,44 +4112,54 @@ div.daggerheart.views.multiclass {
font-size: 12px;
color: light-dark(#efe6d8, #18162e);
}
.application.sheet.dh-style .character-sidebar-sheet .items-sidebar-list {
.application.sheet.dh-style .character-sidebar-sheet .items-sidebar-list {
display: flex;
flex-direction: column;
gap: 5px;
}
.application.sheet.dh-style .character-sidebar-sheet .items-sidebar-list .inventory-item {
.application.sheet.dh-style .character-sidebar-sheet .items-sidebar-list .inventory-item {
padding: 0 10px;
}
.application.sheet.dh-style .character-sidebar-sheet .equipment-section .title {
.application.sheet.dh-style .character-sidebar-sheet .equipment-section .title {
display: flex;
gap: 15px;
align-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .equipment-section .title h3 {
.application.sheet.dh-style .character-sidebar-sheet .equipment-section .title h3 {
font-size: 20px;
}
.application.sheet.dh-style .character-sidebar-sheet .equipment-section .items-list {
.application.sheet.dh-style .character-sidebar-sheet .equipment-section .items-list {
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .loadout-section .title {
.application.sheet.dh-style .character-sidebar-sheet .loadout-section .title {
display: flex;
gap: 15px;
align-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .loadout-section .title h3 {
.application.sheet.dh-style .character-sidebar-sheet .loadout-section .title h3 {
font-size: 20px;
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .title {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .title {
display: flex;
gap: 15px;
align-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .title h3 {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .title h3 {
font-size: 20px;
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list {
display: flex;
flex-direction: column;
@ -4089,6 +4168,7 @@ div.daggerheart.views.multiclass {
margin-top: 10px;
align-items: center;
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-row {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-row {
display: flex;
gap: 5px;
@ -4096,6 +4176,7 @@ div.daggerheart.views.multiclass {
align-items: center;
justify-content: space-between;
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-row input[type='text'] {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-row input[type='text'] {
height: 32px;
width: 180px;
@ -4106,9 +4187,11 @@ div.daggerheart.views.multiclass {
transition: all 0.3s ease;
color: light-dark(#222, #efe6d8);
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-row input[type='text']:hover {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-row input[type='text']:hover {
outline: 2px solid light-dark(#222, #efe6d8);
}
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-value {
.application.sheet.dh-style .character-sidebar-sheet .experience-section .experience-list .experience-value {
height: 25px;
width: 35px;
@ -4791,6 +4874,8 @@ div.daggerheart.views.multiclass {
padding: 0 20px;
}
.themed.theme-dark .application.sheet.dh-style.environment,
.themed.theme-dark.application.sheet.dh-style.environment {
.themed.theme-dark .application.sheet.dh-style.environment,
.themed.theme-dark.application.sheet.dh-style.environment {
background-image: url('../assets/parchments/dh-parchment-dark.png');
}
@ -4798,6 +4883,10 @@ div.daggerheart.views.multiclass {
.themed.theme-light.application.sheet.dh-style.environment {
background: url('../assets/parchments/dh-parchment-light.png');
}
.themed.theme-light .application.sheet.dh-style.environment,
.themed.theme-light.application.sheet.dh-style.environment {
background: url('../assets/parchments/dh-parchment-light.png');
}
.application.sheet.daggerheart.actor.dh-style.environment .tab {
max-height: 300px;
overflow-y: auto;
@ -5003,6 +5092,53 @@ div.daggerheart.views.multiclass {
color: light-dark(#18162e50, #efe6d850);
font-family: 'Montserrat', sans-serif;
}
.theme-light .application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container .beastform-title {
background-image: url('../assets/parchments/dh-parchment-dark.png');
}
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container {
display: flex;
flex-direction: column;
gap: 4px;
}
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
gap: 4px;
}
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container {
position: relative;
display: flex;
justify-content: center;
border: 1px solid light-dark(#18162e, #f3c267);
border-radius: 6px;
cursor: pointer;
}
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container.inactive {
opacity: 0.4;
}
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container img {
width: 100%;
border-radius: 6px;
}
.application.daggerheart.dh-style.views.beastform-selection .beastforms-container .beastforms-tier .beastform-container .beastform-title {
position: absolute;
top: 4px;
display: flex;
flex-wrap: wrap;
font-size: 16px;
margin: 0 4px;
border: 1px solid light-dark(#18162e, #f3c267);
border-radius: 6px;
color: light-dark(#efe6d8, #222);
background-image: url('../assets/parchments/dh-parchment-light.png');
}
.application.daggerheart.dh-style.views.beastform-selection footer {
margin-top: 8px;
display: flex;
}
.application.daggerheart.dh-style.views.beastform-selection footer button {
flex: 1;
}
.application.sheet.daggerheart.actor.dh-style.companion .companion-header-sheet {
display: flex;
flex-direction: column;
@ -5241,6 +5377,8 @@ div.daggerheart.views.multiclass {
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 {
.themed.theme-dark .application.sheet.dh-style.companion,
.themed.theme-dark.application.sheet.dh-style.companion {
background-image: url('../assets/parchments/dh-parchment-dark.png');
}
@ -5248,6 +5386,10 @@ div.daggerheart.views.multiclass {
.themed.theme-light.application.sheet.dh-style.companion {
background: url('../assets/parchments/dh-parchment-light.png');
}
.themed.theme-light .application.sheet.dh-style.companion,
.themed.theme-light.application.sheet.dh-style.companion {
background: url('../assets/parchments/dh-parchment-light.png');
}
.application.sheet.daggerheart.actor.dh-style.adversary .window-content {
overflow: auto;
}
@ -5437,6 +5579,7 @@ div.daggerheart.views.multiclass {
padding: 0;
}
.application.sheet.dh-style .window-header button:hover {
border-color: light-dark(#18162e, #f3c267);
border-color: light-dark(#18162e, #f3c267);
color: light-dark(#18162e, #f3c267);
}
@ -5454,6 +5597,20 @@ div.daggerheart.views.multiclass {
opacity: 0;
transition-duration: 0.1s;
}
.application.sheet.dh-style .window-content {
padding: 0;
position: relative;
top: -36px;
min-height: -webkit-fill-available;
transition: opacity 0.3s ease;
}
.application.sheet.dh-style .window-content .tab {
padding: 0 10px;
}
.application.sheet.dh-style.minimized .window-content {
opacity: 0;
transition-duration: 0.1s;
}
.application.sheet.dh-style:not(.minimized) .window-title,
.application.sheet.dh-style:not(.minimized) .window-icon {
display: none;
@ -5479,6 +5636,8 @@ div.daggerheart.views.multiclass {
background-position: center;
}
.themed.theme-light .application.sheet.dh-style.dialog,
.themed.theme-light.application.sheet.dh-style.dialog {
.themed.theme-light .application.sheet.dh-style.dialog,
.themed.theme-light.application.sheet.dh-style.dialog {
background-image: url('../assets/parchments/dh-parchment-light.png');
background-repeat: no-repeat;
@ -5973,6 +6132,44 @@ div.daggerheart.views.multiclass {
justify-content: center;
gap: 10px;
}
.sheet.daggerheart.dh-style .tab.features .features-list {
display: flex;
flex-direction: column;
list-style: none;
padding: 0;
margin: 0;
width: 100%;
gap: 5px;
}
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item {
display: grid;
align-items: center;
grid-template-columns: 1fr 4fr 1fr;
cursor: pointer;
}
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item img {
height: 40px;
width: 40px;
object-fit: cover;
border-radius: 3px;
}
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item h4 {
font-family: 'Montserrat', sans-serif;
font-weight: lighter;
color: #efe6d8;
}
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item .image {
height: 40px;
width: 40px;
object-fit: cover;
border-radius: 6px;
border: none;
}
.sheet.daggerheart.dh-style .tab.features .features-list .feature-item .controls {
display: flex;
justify-content: center;
gap: 10px;
}
.sheet.daggerheart.dh-style .tab.effects .effects-list {
display: flex;
flex-direction: column;