Merge branch 'master' into orangesurf/privacy-policy

This commit is contained in:
orangesurf 2024-07-31 23:50:58 +02:00 committed by GitHub
commit b83f19f186
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 18 deletions

View File

@ -50,7 +50,7 @@
<ng-container *ngFor="let pool of accelerationInfo.pools"> <ng-container *ngFor="let pool of accelerationInfo.pools">
<img *ngIf="accelerationInfo.poolsData[pool]" <img *ngIf="accelerationInfo.poolsData[pool]"
class="pool-logo" class="pool-logo"
[class.highlight]="pool === accelerationInfo?.minedByPoolUniqueId" [style.opacity]="accelerationInfo?.minedByPoolUniqueId && pool !== accelerationInfo?.minedByPoolUniqueId ? '0.3' : '1'"
[src]="'/resources/mining-pools/' + accelerationInfo.poolsData[pool].slug + '.svg'" [src]="'/resources/mining-pools/' + accelerationInfo.poolsData[pool].slug + '.svg'"
onError="this.src = '/resources/mining-pools/default.svg'" onError="this.src = '/resources/mining-pools/default.svg'"
[alt]="'Logo of ' + pool.name + ' mining pool'"> [alt]="'Logo of ' + pool.name + ' mining pool'">

View File

@ -32,21 +32,4 @@
top: -1px; top: -1px;
margin-right: 3px; margin-right: 3px;
} }
.highlight {
filter: drop-shadow(0 0 5px #905cf4);
animation: pulse 1s infinite;
}
} }
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}