mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
insert prose-mirror style and inicial implement to damage settings
This commit is contained in:
parent
92ce2b4367
commit
ab4bdfd49a
5 changed files with 47 additions and 2 deletions
|
|
@ -102,6 +102,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
|
|||
context.tabs = this._getTabs(this.constructor.TABS);
|
||||
context.systemFields = this.actor.system.schema.fields;
|
||||
context.systemFields.attack.fields = this.actor.system.attack.schema.fields;
|
||||
context.isNPC = true;
|
||||
|
||||
return context;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5768,6 +5768,25 @@ div.daggerheart.views.multiclass {
|
|||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
.application prose-mirror {
|
||||
height: 100% !important;
|
||||
}
|
||||
.application prose-mirror .editor-menu {
|
||||
background-color: transparent;
|
||||
}
|
||||
.application prose-mirror .editor-content {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(#18162e, #f3c267) transparent;
|
||||
}
|
||||
.application prose-mirror .editor-content h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
.application prose-mirror .editor-content h2 {
|
||||
font-size: 32px;
|
||||
}
|
||||
.application prose-mirror .editor-content h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
.daggerheart {
|
||||
/* Flex */
|
||||
/****/
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@
|
|||
@import './less/global/feature-section.less';
|
||||
@import './less/global/inventory-item.less';
|
||||
@import './less/global/inventory-fieldset-items.less';
|
||||
@import './less/global/prose-mirror.less';
|
||||
@import '../node_modules/@yaireo/tagify/dist/tagify.css';
|
||||
|
||||
.daggerheart {
|
||||
|
|
|
|||
24
styles/less/global/prose-mirror.less
Normal file
24
styles/less/global/prose-mirror.less
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@import '../utils/colors.less';
|
||||
|
||||
.application {
|
||||
prose-mirror {
|
||||
height: 100% !important;
|
||||
|
||||
.editor-menu {
|
||||
background-color: transparent;
|
||||
}
|
||||
.editor-content {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 32px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19,6 +19,6 @@
|
|||
{{ formField systemFields.attack.fields.target.fields.type value=document.system.target.type label="Target" name=(concat path "target.type") localize=true }}
|
||||
{{/if}}
|
||||
</fieldset>
|
||||
{{> 'systems/daggerheart/templates/views/actionTypes/damage.hbs' fields=systemFields.attack.fields.damage.fields.parts.element.fields source=source.system.attack.damage path="system.attack."}}
|
||||
{{> 'systems/daggerheart/templates/views/actionTypes/effect.hbs' fields=systemFields.attack.fields.effects.element.fields source=source.system.attack.effects}}
|
||||
{{> 'systems/daggerheart/templates/views/actionTypes/damage.hbs' fields=systemFields.attack.fields.damage.fields.parts.element.fields source=document.system.attack.damage path="system.attack."}}
|
||||
{{> 'systems/daggerheart/templates/views/actionTypes/effect.hbs' fields=systemFields.attack.fields.effects.element.fields source=document.system.attack.effects}}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue