mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Merged
This commit is contained in:
commit
5f65efe959
4 changed files with 84 additions and 85 deletions
|
|
@ -565,64 +565,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.application.setting.dh-style {
|
.application.setting.dh-style {
|
||||||
fieldset {
|
h2,
|
||||||
h2,
|
h3,
|
||||||
h3,
|
h4 {
|
||||||
h4 {
|
margin: 8px 0 4px;
|
||||||
margin: 8px 0 4px;
|
text-align: center;
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.title-hint {
|
|
||||||
font-size: var(--font-size-12);
|
|
||||||
font-variant: small-caps;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.field-section {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
gap: 10px;
|
|
||||||
|
|
||||||
.split-section {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 1fr;
|
|
||||||
gap: 10px;
|
|
||||||
|
|
||||||
> label {
|
|
||||||
grid-column: span 2;
|
|
||||||
text-align: center;
|
|
||||||
font-size: var(--font-size-18);
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-container {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 1fr;
|
|
||||||
gap: 10px;
|
|
||||||
|
|
||||||
&.full-width {
|
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
||||||
|
|
||||||
select {
|
|
||||||
grid-column: span 3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
align-self: center;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-container {
|
|
||||||
display: grid;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,14 @@
|
||||||
.daggerheart.dh-style.setting.appearance-settings {
|
.daggerheart.dh-style.setting.appearance-settings {
|
||||||
|
.tab.active[data-tab='diceSoNice'] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.diceSoNice-footer {
|
.diceSoNice-footer {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
align-items: center;
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
|
|
@ -13,4 +21,49 @@
|
||||||
grid-column: span 2;
|
grid-column: span 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-hint {
|
||||||
|
font-size: var(--font-size-12);
|
||||||
|
font-variant: small-caps;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.split-section {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 10px;
|
||||||
|
|
||||||
|
> label {
|
||||||
|
grid-column: span 2;
|
||||||
|
text-align: center;
|
||||||
|
font-size: var(--font-size-18);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.field-section {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-container {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 10px;
|
||||||
|
|
||||||
|
&.full-width {
|
||||||
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||||
|
|
||||||
|
select {
|
||||||
|
grid-column: span 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
align-self: center;
|
||||||
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,20 @@
|
||||||
<section class="tab {{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
<section class="tab {{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
||||||
<fieldset>
|
|
||||||
<div class="title-hint">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.hint"}}</div>
|
<div class="title-hint">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.hint"}}</div>
|
||||||
|
|
||||||
<section class='tab-navigation'>
|
<section class='tab-navigation'>
|
||||||
<div class='navigation-container'>
|
<div class='navigation-container'>
|
||||||
<div class="navigation-inner-container">
|
<div class="navigation-inner-container">
|
||||||
<line-div></line-div>
|
<line-div></line-div>
|
||||||
<nav class='feature-tab sheet-tabs tabs' data-group='diceSoNice'>
|
<nav class='feature-tab sheet-tabs tabs' data-group='diceSoNice'>
|
||||||
{{#each dsnTabs as |tab|}}
|
{{#each dsnTabs as |tab|}}
|
||||||
<a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
|
<a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
|
||||||
{{localize tab.label}}
|
{{localize tab.label}}
|
||||||
</a>
|
</a>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</nav>
|
</nav>
|
||||||
<line-div></line-div>
|
<line-div></line-div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
{{#each dsnTabs as |dsnTab|}}
|
{{#each dsnTabs as |dsnTab|}}
|
||||||
<section class="tab {{#if dsnTab.active}} active{{/if}}" data-group="{{dsnTab.group}}" data-tab="{{dsnTab.id}}">
|
<section class="tab {{#if dsnTab.active}} active{{/if}}" data-group="{{dsnTab.group}}" data-tab="{{dsnTab.id}}">
|
||||||
|
|
@ -41,5 +40,4 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</fieldset>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -41,21 +41,22 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if animations}}
|
{{#if animations}}
|
||||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.animations"}}</h3>
|
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.animations"}}</h3>
|
||||||
<div class="label-container full-width">
|
<div class="label-container full-width">
|
||||||
<label>{{localize "DAGGERHEART.CONFIG.DaggerheartDiceAnimationEvents.higher.name"}}</label>
|
<label>{{localize "DAGGERHEART.CONFIG.DaggerheartDiceAnimationEvents.higher.name"}}</label>
|
||||||
{{formInput fields.sfx.fields.higher.fields.class value=values.sfx.higher.class blank="" localize=true}}
|
{{formInput fields.sfx.fields.higher.fields.class value=values.sfx.higher.class blank="" localize=true}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<div class="diceSoNice-footer">
|
<div class="diceSoNice-footer">
|
||||||
<label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.previewAnimation"}}</label>
|
<label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.previewAnimation"}}</label>
|
||||||
<select name="{{concat dsnTab.id "PreviewAnimation"}}">
|
<select name="{{concat id "PreviewAnimation"}}">
|
||||||
{{selectOptions @root.animationEvents selected=@root.previewAnimation blank="" localize=true }}
|
{{selectOptions @root.animationEvents selected=@root.previewAnimation blank="" localize=true }}
|
||||||
</select>
|
</select>
|
||||||
<button type="button" data-action="preview" data-key="{{dsnTab.id}}">
|
|
||||||
<i class="fa-solid fa-dice"></i>
|
<button type="button" data-action="preview" data-key="{{id}}">
|
||||||
<span>{{localize "DAGGERHEART.GENERAL.preview"}}</span>
|
<i class="fa-solid fa-dice"></i>
|
||||||
</button>
|
<span>{{localize "DAGGERHEART.GENERAL.preview"}}</span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue