mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 07:36:26 +01:00
Lightmode fixes
This commit is contained in:
parent
4262bf7a97
commit
a1856866fa
3 changed files with 20 additions and 8 deletions
|
|
@ -1,7 +1,13 @@
|
||||||
.theme-light .daggerheart.dialog.dh-style.views.resource-dice {
|
.theme-light .daggerheart.dialog.dh-style.views.resource-dice {
|
||||||
.resource-items input {
|
.resource-items .resource-item {
|
||||||
|
input {
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
filter: brightness(0) saturate(100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.daggerheart.dialog.dh-style.views.resource-dice {
|
.daggerheart.dialog.dh-style.views.resource-dice {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,17 @@
|
||||||
@import '../utils/colors.less';
|
@import '../utils/colors.less';
|
||||||
@import '../utils/fonts.less';
|
@import '../utils/fonts.less';
|
||||||
|
|
||||||
|
.theme-light .application.daggerheart.dh-style {
|
||||||
|
.inventory-item,
|
||||||
|
.card-item {
|
||||||
|
.item-resource .item-dice-resource {
|
||||||
|
img {
|
||||||
|
filter: brightness(0) saturate(100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.application.daggerheart.dh-style {
|
.application.daggerheart.dh-style {
|
||||||
.inventory-item {
|
.inventory-item {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
@ -213,7 +224,7 @@
|
||||||
label {
|
label {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
color: light-dark(white, black);
|
color: light-dark(white, black);
|
||||||
filter: drop-shadow(0 0 1px @golden);
|
filter: drop-shadow(0 0 1px light-dark(@dark-blue, @golden));
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
||||||
|
|
@ -4,16 +4,11 @@
|
||||||
{{#with (ifThen (lookup ../diceStates this) (lookup ../diceStates this) this) as | state |}}
|
{{#with (ifThen (lookup ../diceStates this) (lookup ../diceStates this) this) as | state |}}
|
||||||
<div class="resource-item" data-dice="{{#if ../../this}}{{../this}}{{else}}{{state}}{{/if}}">
|
<div class="resource-item" data-dice="{{#if ../../this}}{{../this}}{{else}}{{state}}{{/if}}">
|
||||||
<input type="number" data-dtype="Number" name={{concat "diceStates." (ifThen ../../this ../this state) ".value" }} value="{{state.value}}" />
|
<input type="number" data-dtype="Number" name={{concat "diceStates." (ifThen ../../this ../this state) ".value" }} value="{{state.value}}" />
|
||||||
{{!-- <label>{{ifThen state.value state.value '?'}}</label> --}}
|
|
||||||
<img src="{{concat "systems/daggerheart/assets/icons/dice/hope/d" (ifThen ../../resource.dieFaces ../../resource.dieFaces ../resource.dieFaces) ".svg"}}" />
|
<img src="{{concat "systems/daggerheart/assets/icons/dice/hope/d" (ifThen ../../resource.dieFaces ../../resource.dieFaces ../resource.dieFaces) ".svg"}}" />
|
||||||
</div>
|
</div>
|
||||||
{{/with}}
|
{{/with}}
|
||||||
{{/times}}
|
{{/times}}
|
||||||
</div>
|
</div>
|
||||||
{{!-- <div class="reroll-confirmation">
|
|
||||||
<div>{{localize 'DAGGERHEART.APPLICATIONS.ResourceDice.rerollRecoveryInfo' name=name recovery=recovery }}</div>
|
|
||||||
<div>{{localize 'DAGGERHEART.APPLICATIONS.ResourceDice.rerollConfirmation' name=name }}</div>
|
|
||||||
</div> --}}
|
|
||||||
<footer>
|
<footer>
|
||||||
<button data-action="save">{{localize 'Save'}}</button>
|
<button data-action="save">{{localize 'Save'}}</button>
|
||||||
<button data-action="rerollDice">{{localize "DAGGERHEART.APPLICATIONS.ResourceDice.rerollDice"}}</button>
|
<button data-action="rerollDice">{{localize "DAGGERHEART.APPLICATIONS.ResourceDice.rerollDice"}}</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue