Add glow effect to peg outs in progress
This commit is contained in:
parent
47d221fd3b
commit
b453898b1d
@ -34,7 +34,7 @@
|
|||||||
<td class="timestamp text-left widget">
|
<td class="timestamp text-left widget">
|
||||||
<app-time kind="since" [time]="peg.blocktime"></app-time>
|
<app-time kind="since" [time]="peg.blocktime"></app-time>
|
||||||
</td>
|
</td>
|
||||||
<td class="amount text-right widget" [ngClass]="{'credit': peg.amount > 0, 'debit': peg.amount < 0}">
|
<td class="amount text-right widget" [ngClass]="{'credit': peg.amount > 0, 'debit': peg.amount < 0, 'glow-effect': peg.amount < 0 && peg.bitcoinaddress && !peg.bitcointxid}">
|
||||||
<app-amount [satoshis]="peg.amount" [noFiat]="true" [forceBtc]="true" [addPlus]="true"></app-amount>
|
<app-amount [satoshis]="peg.amount" [noFiat]="true" [forceBtc]="true" [addPlus]="true"></app-amount>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
‎{{ peg.blocktime * 1000 | date:'yyyy-MM-dd HH:mm' }}
|
‎{{ peg.blocktime * 1000 | date:'yyyy-MM-dd HH:mm' }}
|
||||||
<div class="symbol lg-inline relative-time"><i>(<app-time kind="since" [time]="peg.blocktime"></app-time>)</i></div>
|
<div class="symbol lg-inline relative-time"><i>(<app-time kind="since" [time]="peg.blocktime"></app-time>)</i></div>
|
||||||
</td>
|
</td>
|
||||||
<td class="amount text-right" [ngClass]="{'credit': peg.amount > 0, 'debit': peg.amount < 0}">
|
<td class="amount text-right" [ngClass]="{'credit': peg.amount > 0, 'debit': peg.amount < 0, 'glow-effect': peg.amount < 0 && peg.bitcoinaddress && !peg.bitcointxid}">
|
||||||
<app-amount [satoshis]="peg.amount" [noFiat]="true" [forceBtc]="true" [addPlus]="true"></app-amount>
|
<app-amount [satoshis]="peg.amount" [noFiat]="true" [forceBtc]="true" [addPlus]="true"></app-amount>
|
||||||
</td>
|
</td>
|
||||||
<td class="output text-left">
|
<td class="output text-left">
|
||||||
|
@ -105,3 +105,16 @@ tr, td, th {
|
|||||||
.debit {
|
.debit {
|
||||||
color: #D81B60;
|
color: #D81B60;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.glow-effect {
|
||||||
|
animation: color-oscillation 1s ease-in-out infinite alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes color-oscillation {
|
||||||
|
0% {
|
||||||
|
color: #777983;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
color: #D81B60;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user