mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Merged with development
This commit is contained in:
commit
4944d1ef49
161 changed files with 2733 additions and 694 deletions
|
|
@ -2,20 +2,18 @@
|
|||
@import '../utils/fonts.less';
|
||||
@import '../utils/mixin.less';
|
||||
|
||||
.theme-light {
|
||||
.daggerheart.chat-sidebar .chat-log,
|
||||
#chat-notifications .chat-log {
|
||||
.chat-message {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.chat-log .chat-message {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
|
||||
.message-header .message-header-metadata .message-metadata,
|
||||
.message-header .message-header-main .message-sub-header-container {
|
||||
color: @dark;
|
||||
}
|
||||
.message-header .message-header-metadata .message-metadata,
|
||||
.message-header .message-header-main .message-sub-header-container {
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.message-header .message-header-main .message-sub-header-container h4 {
|
||||
color: @dark-blue;
|
||||
}
|
||||
.message-header .message-header-main .message-sub-header-container h4 {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,35 @@
|
|||
}
|
||||
}
|
||||
|
||||
.dialog-selection-container {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.selection-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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.standard-form {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,3 +51,14 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: Remove me when this issue is resolved https://github.com/foundryvtt/foundryvtt/issues/13734 */
|
||||
body.theme-dark,
|
||||
.themed.theme-dark {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body.theme-light,
|
||||
.themed.theme-light {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
@import './tab-description.less';
|
||||
@import './tab-features.less';
|
||||
@import './tab-effects.less';
|
||||
@import './tab-settings.less';
|
||||
@import './item-header.less';
|
||||
@import './feature-section.less';
|
||||
@import './inventory-item.less';
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@
|
|||
.item-description {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.sheet.daggerheart.dh-style {
|
||||
.tab.settings {
|
||||
margin-bottom: 36px;
|
||||
}
|
||||
}
|
||||
104
styles/less/sheets/actions/actions.less
Normal file
104
styles/less/sheets/actions/actions.less
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
.application.daggerheart.dh-style.action-config {
|
||||
.actor-summon-items {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.actor-summon-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
border-radius: 3px;
|
||||
|
||||
.actor-summon-name {
|
||||
flex: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.actor-summon-controls {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.summon-dragger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
height: 40px;
|
||||
margin-top: 10px;
|
||||
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
|
||||
border-radius: 3px;
|
||||
color: light-dark(@dark-blue-50, @beige-50);
|
||||
}
|
||||
}
|
||||
|
||||
.trigger-data {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
|
||||
.trigger-data-inner {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
select {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.select-section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.programmer-section {
|
||||
flex: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.hint-section {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
||||
.hint {
|
||||
flex: 1;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.expand-trigger {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.code-mirror-wrapper {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
transition: height 0.1s ease-in-out;
|
||||
|
||||
&.revealed {
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -148,7 +148,7 @@
|
|||
padding: 0 0.375rem;
|
||||
}
|
||||
|
||||
button[data-action=viewParty] {
|
||||
button[data-action='viewParty'] {
|
||||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
@import './actions/actions.less';
|
||||
|
||||
@import './actors/actor-sheet-shared.less';
|
||||
|
||||
@import './actors/adversary/actions.less';
|
||||
|
|
@ -39,3 +41,4 @@
|
|||
@import './items/item-sheet-shared.less';
|
||||
|
||||
@import './rollTables/sheet.less';
|
||||
@import './actions/actions.less';
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.domain-card {
|
||||
.domain-card-move .domain-card-header {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.action {
|
||||
.action-move .action-section {
|
||||
|
|
@ -98,6 +99,61 @@
|
|||
|
||||
.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 {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat-sidebar .chat-log,
|
||||
#chat-notifications .chat-log {
|
||||
.chat-log {
|
||||
--text-color: @dark-blue;
|
||||
--bg-color: @dark-blue-40;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@import '../../utils/colors.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.damage-summary .token-target-container {
|
||||
&:hover {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.downtime {
|
||||
.downtime-moves-list .downtime-move {
|
||||
|
|
@ -103,7 +104,7 @@
|
|||
width: 100%;
|
||||
|
||||
.action-use-target {
|
||||
display:flex;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 4px;
|
||||
|
|
@ -127,7 +128,6 @@
|
|||
font-weight: 600;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
@import '../../utils/colors.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat.effect-summary {
|
||||
.effect-header,
|
||||
|
|
|
|||
|
|
@ -125,9 +125,9 @@
|
|||
|
||||
.group-roll-trait {
|
||||
padding: 2px 8px;
|
||||
border: 1px solid light-dark(white, white);
|
||||
border: 1px solid light-dark(@dark-blue, white);
|
||||
border-radius: 6px;
|
||||
color: light-dark(white, white);
|
||||
color: light-dark(@dark-blue, white);
|
||||
background: light-dark(@beige-80, @beige-80);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
@import '../../utils/colors.less';
|
||||
@import '../../utils/fonts.less';
|
||||
|
||||
.daggerheart.chat-sidebar.theme-light,
|
||||
#interface.theme-light {
|
||||
.chat-message:not(.duality) .message-content {
|
||||
color: @dark;
|
||||
|
|
|
|||
|
|
@ -33,3 +33,5 @@
|
|||
@import './scene-config/scene-config.less';
|
||||
|
||||
@import './effects-display/sheet.less';
|
||||
|
||||
@import './scene-navigation/scene-navigation.less';
|
||||
|
|
|
|||
|
|
@ -37,4 +37,63 @@
|
|||
.helper-text {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.scene-environments {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
|
||||
.scene-environment {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
|
||||
.scene-environment-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
flex: 1;
|
||||
|
||||
img {
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tags {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
padding-bottom: 0;
|
||||
|
||||
.tag {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 3px 5px;
|
||||
font-size: var(--font-size-12);
|
||||
font: @font-body;
|
||||
|
||||
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: var(--font-size-12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.remove-icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
36
styles/less/ui/scene-navigation/scene-navigation.less
Normal file
36
styles/less/ui/scene-navigation/scene-navigation.less
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#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-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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5,6 +5,8 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.theme-light #interface #ui-right #sidebar {
|
||||
.theme-light#interface #ui-right #sidebar {
|
||||
menu li button img {
|
||||
filter: @grey-filter;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip.card-style) {
|
|||
width: 18rem;
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
outline: 1px solid light-dark(@dark-80, @beige-80);
|
||||
box-shadow: 0 0 25px rgba(0, 0, 0, 0.80);
|
||||
box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
|
||||
|
||||
.tooltip-title {
|
||||
font-size: var(--font-size-20);
|
||||
|
|
@ -235,7 +235,6 @@ aside[role='tooltip'].locked-tooltip:has(div.daggerheart.dh-style.tooltip.card-s
|
|||
.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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue