Make list item gray if feed disabled

This commit is contained in:
Tobias Eidelpes 2021-05-03 17:52:13 +02:00
parent e885b41e77
commit 19caa801b3
2 changed files with 8 additions and 1 deletions

View File

@ -25,3 +25,10 @@
margin-right: auto;
max-width: 800px;
}
.notActive {
background-color: white;
filter:alpha(opacity=50); /* IE */
opacity: 0.5; /* Safari, Opera */
-moz-opacity:0.50; /* FireFox */
}

View File

@ -2,7 +2,7 @@
<div class="content">
<div class="text-center">
<div class="container" *ngFor="let feed of feeds">
<div class="row feed-list-row">
<div class="row feed-list-row" [ngClass]="{'notActive': feed.active == false}">
<div class="col-2 text-center padding-0 margin-auto">
<img class="feed-icon" src="{{feed.icon}}" alt="Feed-Icon">
</div>