mirror of
https://github.com/exane/not-gwent-online
synced 2024-12-23 21:03:14 +00:00
change strength display on cards
This commit is contained in:
parent
5b7190184b
commit
a89f3414ff
BIN
assets/card_strength_border.png
Normal file
BIN
assets/card_strength_border.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
@ -146,12 +146,22 @@ $game-height: 800px;
|
||||
span {
|
||||
color: #ff2d00;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
font-size: 16px;
|
||||
position: absolute;
|
||||
text-shadow: 1px 1px 0px #101010;
|
||||
margin-top: 62px;
|
||||
margin-left: 0px;
|
||||
text-shadow: 1px 1px 1px #101010;
|
||||
text-align: center;
|
||||
//margin-top: 62px;
|
||||
//margin-left: 3px;
|
||||
//margin-top: 2px;
|
||||
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 {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{{#each this}}
|
||||
<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>
|
||||
</div>
|
||||
{{/each}}
|
Loading…
Reference in New Issue
Block a user