Commander css + BG fix

This commit is contained in:
Mandar
2022-01-14 15:23:54 +01:00
parent a6b724719f
commit 6e9595b121
4 changed files with 16 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@@ -192,6 +192,7 @@
}
.warlord-name {
display: flex;
flex: 100%;
flex-wrap: wrap;
margin: 0;
padding: 0.5rem 0.5rem 0;

View File

@@ -1,11 +1,13 @@
/** Global **/
body {
background: url("../assets/imgs/bg-table.webp") no-repeat;
background-size: cover;
> * {
scrollbar-width: thin;
}
&:not(.background) {
background: url("../assets/imgs/bg-table.webp") no-repeat;
background-size: auto;
}
}
/* Windows */

View File

@@ -24,12 +24,16 @@
<div class="header-fields commander">
<fieldset>
<legend>{{^if data.data.commander_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.commander'}}</legend>
{{#if data.data.commander_actor_id}}
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>
{{else}}
<input name="data.commander" type="text" value="{{data.data.commander}}" />
{{/if}}
<div class="warlord-name">
{{#if data.data.commander_actor_id}}
<label>
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
</label>
{{else}}
<input name="data.commander" type="text" value="{{data.data.commander}}" />
{{/if}}
</div>
<div class="standing">
<ul>
<li>