1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix tv program cards

This commit is contained in:
Luke Pulverenti 2016-08-03 16:14:39 -04:00
parent 29f5388ae5
commit 0467a94a3d
5 changed files with 26 additions and 18 deletions

View file

@ -69,16 +69,26 @@
color: #333;
}
.fullSyncIndicator {
background: #cc3333;
}
.playedIndicatorIcon, .syncIndicator {
.indicatorIcon {
width: 22px;
height: 22px;
font-size: 22px;
}
.fullSyncIndicator {
color: #673AB7;
padding: 0;
border: 4px solid #673AB7;
background: #fff;
}
.fullSyncIndicatorIcon {
margin: -3px;
font-size: 26px;
height: 26px;
width: 26px;
}
.layout-tv .countIndicator, .layout-tv .playedIndicator {
width: 3.8vh;
height: 3.8vh;

View file

@ -61,7 +61,7 @@ define(['css!./indicators.css', 'material-icons'], function () {
}
if (userData.PlayedPercentage && userData.PlayedPercentage >= 100 || (userData.Played)) {
return '<div class="playedIndicator indicator"><i class="md-icon playedIndicatorIcon">&#xE5CA;</i></div>';
return '<div class="playedIndicator indicator"><i class="md-icon indicatorIcon">&#xE5CA;</i></div>';
}
}
@ -103,9 +103,9 @@ define(['css!./indicators.css', 'material-icons'], function () {
function getSyncIndicator(item) {
if (item.SyncPercent == 100) {
return '<i class="md-icon indicator syncIndicator fullSyncIndicator">file_download</i>';
return '<div class="syncIndicator indicator fullSyncIndicator"><i class="md-icon indicatorIcon fullSyncIndicatorIcon">offline_pin</i></div>';
} else if (item.SyncPercent != null) {
return '<i class="md-icon indicator syncIndicator emptySyncIndicator">file_download</i>';
return '<div class="syncIndicator indicator emptySyncIndicator"><i class="md-icon indicatorIcon">file_download</i></div>';
}
return '';