1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00

change strength display on cards

This commit is contained in:
exane 2015-06-29 10:31:02 +02:00
parent 5b7190184b
commit a89f3414ff
3 changed files with 15 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -146,12 +146,22 @@ $game-height: 800px;
span { span {
color: #ff2d00; color: #ff2d00;
font-weight: bold; font-weight: bold;
font-size: 20px; font-size: 16px;
position: absolute; position: absolute;
text-shadow: 1px 1px 0px #101010; text-shadow: 1px 1px 1px #101010;
margin-top: 62px; text-align: center;
margin-left: 0px; //margin-top: 62px;
//margin-left: 3px;
//margin-top: 2px;
cursor: default; cursor: default;
//background: #ffffff;
//border-radius: 10px;
//padding: 2px;
padding-top: 4px;
//padding-left: -4px;
height: 37px;
width: 30px;
background: url("../../assets/card_strength_border.png") no-repeat;
} }
&.disabled { &.disabled {

View File

@ -1,6 +1,6 @@
{{#each this}} {{#each this}}
<div class="card{{#if _disabled}} disabled{{/if}}" data-key="{{_key}}" data-id="{{_id}}"> <div class="card{{#if _disabled}} disabled{{/if}}" data-key="{{_key}}" data-id="{{_id}}">
{{#if diff}}<span class="card-attr-power {{#if diffPos}}card-attr-positive{{/if}}">{{diff}}</span>{{/if}} {{#if diff}}<span class="card-attr-power {{#if diffPos}}card-attr-positive{{/if}}">{{power}}</span>{{/if}}
<i class="card-sm-{{_data.faction}} card-sm-{{_data.faction}}-{{_data.img}}"></i> <i class="card-sm-{{_data.faction}} card-sm-{{_data.faction}}-{{_data.img}}"></i>
</div> </div>
{{/each}} {{/each}}