mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Merged with main
This commit is contained in:
commit
2123ae1965
177 changed files with 2677 additions and 657 deletions
105
styles/less/dialog/compendiumBrowserPackDialog/sheet.less
Normal file
105
styles/less/dialog/compendiumBrowserPackDialog/sheet.less
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
.daggerheart.dialog.dh-style.views.compendium-brower-settings {
|
||||
--text-color: light-dark(@dark-blue, @beige);
|
||||
color: var(--text-color);
|
||||
|
||||
.window-content {
|
||||
justify-content: space-between;
|
||||
|
||||
> div {
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: 440px;
|
||||
}
|
||||
}
|
||||
|
||||
.types-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.type-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
> label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: var(--font-size-16);
|
||||
font-family: @font-subtitle;
|
||||
font-weight: bold;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, light-dark(@dark-blue, @golden) 100%);
|
||||
margin-right: 8px;
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, light-dark(@dark-blue, @golden) 0%, rgba(0, 0, 0, 0) 100%);
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.sources-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.source-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
|
||||
.source-inner-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.source-inner-label-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
||||
i {
|
||||
font-size: 18px;
|
||||
// color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.checks-container {
|
||||
padding-left: 24px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4px;
|
||||
transition: height 0.4s ease-in-out;
|
||||
overflow: hidden;
|
||||
|
||||
&.collapsed {
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
.check-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 8px;
|
||||
display: flex;
|
||||
|
||||
button {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,9 @@
|
|||
|
||||
.dialog-header-inner {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
|
@ -45,6 +47,29 @@
|
|||
}
|
||||
}
|
||||
|
||||
.reaction-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-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: var(--font-size-14);
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: light-dark(@dark-blue-40, @golden-40);
|
||||
}
|
||||
}
|
||||
|
||||
.tag-team-controller {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -43,3 +43,5 @@
|
|||
@import './risk-it-all/sheet.less';
|
||||
|
||||
@import './character-reset/sheet.less';
|
||||
|
||||
@import './compendiumBrowserPackDialog/sheet.less';
|
||||
|
|
|
|||
|
|
@ -52,8 +52,19 @@
|
|||
}
|
||||
}
|
||||
|
||||
input[type='checkbox'] {
|
||||
&:indeterminate {
|
||||
&::before {
|
||||
content: '\f0fe';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input[type='checkbox'],
|
||||
input[type='radio'] {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
|
||||
&:checked::after {
|
||||
color: light-dark(@dark, @golden);
|
||||
}
|
||||
|
|
@ -451,6 +462,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.three-columns {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
line-div {
|
||||
display: block;
|
||||
height: 1px;
|
||||
|
|
|
|||
|
|
@ -50,6 +50,29 @@
|
|||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.item-description-outer-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.item-description-container {
|
||||
h4 {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.item-description-inner-container {
|
||||
p {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.item-links {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: Remove me when this issue is resolved https://github.com/foundryvtt/foundryvtt/issues/13734 */
|
||||
|
|
|
|||
|
|
@ -174,9 +174,12 @@
|
|||
&.extensible {
|
||||
display: grid;
|
||||
grid-template-rows: 0fr;
|
||||
transition: grid-template-rows 0.3s ease-in-out;
|
||||
transition:
|
||||
grid-template-rows 0.3s ease-in-out,
|
||||
padding-top 0.3s ease-in-out;
|
||||
&.extended {
|
||||
grid-template-rows: 1fr;
|
||||
padding-top: 4px;
|
||||
}
|
||||
.invetory-description {
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -2,11 +2,13 @@
|
|||
.status-effects {
|
||||
.effect-control {
|
||||
filter: none;
|
||||
background: var(--dark-blue-90);
|
||||
}
|
||||
|
||||
.effect-control-container {
|
||||
.effect-control {
|
||||
filter: none;
|
||||
background: var(--dark-blue-90);
|
||||
}
|
||||
|
||||
.effect-control-disabled-marker {
|
||||
|
|
@ -22,6 +24,7 @@
|
|||
.palette-category-title {
|
||||
grid-column: span var(--effect-columns);
|
||||
font-weight: bold;
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@
|
|||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
select {
|
||||
flex: 1;
|
||||
|
|
@ -96,6 +97,7 @@
|
|||
height: 0;
|
||||
min-height: 0;
|
||||
transition: height 0.1s ease-in-out;
|
||||
overflow: hidden;
|
||||
|
||||
&.revealed {
|
||||
height: 300px;
|
||||
|
|
|
|||
|
|
@ -38,124 +38,6 @@
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.action-move {
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.action-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 8px 8px 0;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
|
||||
&:hover {
|
||||
background: @golden-10;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.action-img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.action-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
color: @beige;
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-20);
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: var(--font-size-12);
|
||||
color: @beige;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
|
||||
.summons-header {
|
||||
font-size: var(--font-size-14);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: ' ';
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, light-dark(@dark-blue, @golden) 100%);
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: linear-gradient(90deg, light-dark(@dark-blue, @golden) 0%, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.summons-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.summon-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.summon-label-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
|
||||
img {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ability-card-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&:not(.duality .fate) {
|
||||
&:not(.duality):not(.fate) {
|
||||
.font-20 {
|
||||
color: @dark;
|
||||
}
|
||||
|
|
@ -228,6 +228,15 @@
|
|||
font-size: var(--font-size-12);
|
||||
padding: 0 20px;
|
||||
|
||||
.roll-part-title {
|
||||
text-align: center;
|
||||
font-family: @font-subtitle;
|
||||
font-size: var(--font-size-18);
|
||||
font-weight: bold;
|
||||
color: light-dark(@dark-blue, var(--text-color));
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
|
||||
> .roll-part-header {
|
||||
font-size: var(--font-size-14);
|
||||
}
|
||||
|
|
@ -286,6 +295,7 @@
|
|||
|
||||
> :first-child:not(.target-selector) {
|
||||
margin-top: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
> :last-child {
|
||||
|
|
@ -573,6 +583,30 @@
|
|||
}
|
||||
}
|
||||
|
||||
.chat-roll .description-section {
|
||||
.roll-part-content {
|
||||
.dice-tooltip {
|
||||
.wrapper {
|
||||
i {
|
||||
margin: 0;
|
||||
|
||||
:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
> :first-child:not(.target-selector) {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.roll-buttons {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
|
|
@ -590,5 +624,124 @@
|
|||
.dice-roll .dice-tooltip fieldset {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
details[open] {
|
||||
.fa-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.action-move {
|
||||
width: 100%;
|
||||
|
||||
.fa-chevron-down {
|
||||
transition: all 0.3s ease;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.action-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin: 8px 8px 0;
|
||||
padding-bottom: 5px;
|
||||
width: -webkit-fill-available;
|
||||
gap: 5px;
|
||||
border-bottom: 1px solid @golden;
|
||||
|
||||
&:hover {
|
||||
background: @golden-10;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.action-img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.action-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
color: @beige;
|
||||
|
||||
.title {
|
||||
font-size: var(--font-size-20);
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: var(--font-size-12);
|
||||
color: @beige;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 8px;
|
||||
|
||||
.summons-header {
|
||||
font-size: var(--font-size-14);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: ' ';
|
||||
height: 1px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, light-dark(@dark-blue, @golden) 100%);
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: linear-gradient(90deg, light-dark(@dark-blue, @golden) 0%, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.summons-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
|
||||
.summon-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.summon-label-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
|
||||
img {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,68 +3,70 @@
|
|||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.chat-message:not(.duality) .message-content {
|
||||
color: @dark;
|
||||
.chat-message:not(.duality):not(.fate) {
|
||||
.message-content {
|
||||
color: @dark;
|
||||
|
||||
blockquote {
|
||||
border-left: 5px solid @dark-blue-40;
|
||||
}
|
||||
blockquote {
|
||||
border-left: 5px solid @dark-blue-40;
|
||||
}
|
||||
|
||||
a[href] {
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
a[href]:hover,
|
||||
a[href].active {
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 8px @dark-blue;
|
||||
}
|
||||
|
||||
button {
|
||||
background: transparent;
|
||||
border: 1px solid @dark-blue;
|
||||
color: @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: @light-black;
|
||||
a[href] {
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
a[href]:hover,
|
||||
a[href].active {
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 8px @dark-blue;
|
||||
}
|
||||
|
||||
button {
|
||||
background: transparent;
|
||||
border: 1px solid @dark-blue;
|
||||
color: @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: @light-black;
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
|
||||
&:hover {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
|
||||
&.reverted {
|
||||
background: @dark-blue-10;
|
||||
color: @dark-blue;
|
||||
border: 1px solid @dark;
|
||||
&:hover {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
}
|
||||
img {
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.reverted {
|
||||
background: @dark-blue-10;
|
||||
.roll-buttons button {
|
||||
height: 40px;
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dice-roll .dice-formula,
|
||||
.dice-roll .dice-total {
|
||||
background: @dark-blue-40;
|
||||
color: @dark-blue;
|
||||
border: 1px solid @dark;
|
||||
&:hover {
|
||||
background: transparent;
|
||||
color: @dark-blue;
|
||||
}
|
||||
img {
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.roll-buttons button {
|
||||
height: 40px;
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dice-roll .dice-formula,
|
||||
.dice-roll .dice-total {
|
||||
background: @dark-blue-40;
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@
|
|||
}
|
||||
|
||||
.item-desc .wrapper {
|
||||
padding: 0 10px;
|
||||
padding: 0 0 0 50px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
|
|
|
|||
|
|
@ -1,36 +1,39 @@
|
|||
#ui-left #ui-left-column-2 {
|
||||
flex: 0 0 230px;
|
||||
|
||||
.scene-navigation {
|
||||
.scene-wrapper {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
height: var(--control-size);
|
||||
width: 100%;
|
||||
.scene-wrapper {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
height: var(--control-size);
|
||||
width: 100%;
|
||||
|
||||
.scene-environment {
|
||||
padding: 0;
|
||||
> ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
border-radius: 4px;
|
||||
}
|
||||
.scene-environment {
|
||||
padding: 0;
|
||||
|
||||
img {
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.scene {
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
background: var(--control-bg-color);
|
||||
border: 1px solid var(--control-border-color);
|
||||
border-radius: 4px;
|
||||
color: var(--control-icon-color);
|
||||
pointer-events: all;
|
||||
transition:
|
||||
border 0.25s,
|
||||
color 0.25s;
|
||||
text-shadow: none;
|
||||
width: 200px;
|
||||
max-width: 200px;
|
||||
}
|
||||
.scene {
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
background: var(--control-bg-color);
|
||||
border: 1px solid var(--control-border-color);
|
||||
border-radius: 4px;
|
||||
color: var(--control-icon-color);
|
||||
pointer-events: all;
|
||||
transition:
|
||||
border 0.25s,
|
||||
color 0.25s;
|
||||
text-shadow: none;
|
||||
width: 200px;
|
||||
max-width: 200px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
li[role='option'] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: var(--font-size-14);
|
||||
padding: 0 10px;
|
||||
cursor: pointer;
|
||||
|
|
|
|||
|
|
@ -227,16 +227,6 @@ aside[role='tooltip'].locked-tooltip:has(div.daggerheart.dh-style.tooltip.card-s
|
|||
outline: 1px solid light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
||||
.theme-light #tooltip:has(div.daggerheart.dh-style.tooltip.card-style),
|
||||
.theme-light aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip.card-style) {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
}
|
||||
|
||||
.theme-light aside[role='tooltip'].locked-tooltip:has(div.daggerheart.dh-style.tooltip) {
|
||||
box-shadow: 0 0 25px @dark-blue-90;
|
||||
outline: 1px solid light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
||||
#tooltip,
|
||||
.locked-tooltip,
|
||||
.daggerheart.dh-style.tooltip {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue