Move cogs closer to Armor and Movement headers

The cogs still show up at the same time on both sheets, but this is certainly better, at least they are clickable now.
This commit is contained in:
supervj 2021-08-13 10:21:36 -04:00
parent bb7c8af607
commit 48b6ab8e18
2 changed files with 20 additions and 24 deletions

View file

@ -37,16 +37,13 @@
<div class="attributes"> <div class="attributes">
{{!-- ARMOR CLASS --}} {{!-- ARMOR CLASS --}}
<section> <section>
<h1 class="attribute-name armor">
<li class="attribute armor"> {{ localize "SW5E.ArmorClass" }}
<h4 class="attribute-name box-title"> <a class="config-button" data-action="armor" title="{{localize 'SW5E.ArmorConfig'}}"><i class="fas fa-cog"></i></a>
{{ localize "SW5E.ArmorClass" }} </h1>
<a class="config-button" data-action="armor" title="{{localize 'SW5E.ArmorConfig'}}"><i class="fas fa-cog"></i></a> <div class="attribute-value attributable" data-property="attributes.ac">
</h4> <span>{{data.attributes.ac.value}}</span>
<div class="attribute-value attributable" data-property="attributes.ac"> </div>
<span>{{data.attributes.ac.value}}</span>
</div>
</li>
</section> </section>
{{!-- HIT POINTS --}} {{!-- HIT POINTS --}}
@ -99,7 +96,7 @@
{{!-- SPEED / MOVEMENT TYPES --}} {{!-- SPEED / MOVEMENT TYPES --}}
<section> <section>
<h1> <h1 class="attribute-name movement">
{{ localize "SW5E.Movement" }} {{ localize "SW5E.Movement" }}
<a class="config-button" data-action="movement" title="{{localize 'SW5E.MovementConfig'}}"><i class="fas fa-cog"></i></a> <a class="config-button" data-action="movement" title="{{localize 'SW5E.MovementConfig'}}"><i class="fas fa-cog"></i></a>
</h1> </h1>

View file

@ -37,18 +37,16 @@
<div class="attributes"> <div class="attributes">
{{!-- ARMOR CLASS --}} {{!-- ARMOR CLASS --}}
<section> <section>
<li class="attribute armor"> <h1 class="attribute-name armor">
<h4 class="attribute-name box-title"> {{ localize "SW5E.ArmorClass" }}
{{ localize "SW5E.ArmorClass" }} <a class="config-button" data-action="armor" title="{{localize 'SW5E.ArmorConfig'}}"><i class="fas fa-cog"></i></a>
<a class="config-button" data-action="armor" title="{{localize 'SW5E.ArmorConfig'}}"><i class="fas fa-cog"></i></a> </h1>
</h4> <div class="attribute-value attributable" data-property="attributes.ac">
<div class="attribute-value attributable" data-property="attributes.ac"> <span>{{data.attributes.ac.value}}</span>
<span>{{data.attributes.ac.value}}</span> </div>
</div> <footer class="attribute-footer">
<footer class="attribute-footer"> <span>{{labels.armorType}}</span>
<span>{{labels.armorType}}</span> </footer>
</footer>
</li>
</section> </section>
{{!-- HIT POINTS --}} {{!-- HIT POINTS --}}
@ -67,7 +65,8 @@
</footer> </footer>
</section> </section>
<section> <section>
<h1>{{ localize "SW5E.Movement" }} <h1 class="attribute-name movement">
{{ localize "SW5E.Movement" }}
<a class="config-button" data-action="movement" title="{{localize 'SW5E.MovementConfig'}}"><i class="fas fa-cog"></i></a> <a class="config-button" data-action="movement" title="{{localize 'SW5E.MovementConfig'}}"><i class="fas fa-cog"></i></a>
</h1> </h1>
<div class="attribute-value"> <div class="attribute-value">