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

update channel styles

This commit is contained in:
Luke Pulverenti 2016-05-06 01:13:29 -04:00
parent 9fd023f7de
commit 9b355ec012
4 changed files with 20 additions and 12 deletions

View file

@ -58,14 +58,6 @@ iron-list .card {
border-radius: 3px;
}
.defaultBackground .cardImage {
background-color: #303030;
}
.homeTopViews .defaultBackground .cardImage {
background-color: #181818;
}
.cardOverlayButtonContainer {
position: absolute;
bottom: 0;
@ -109,10 +101,13 @@ iron-list .card {
}
.ui-body-b .visualCardBox {
background: rgba(56,56,56,.85);
border-radius: 3px;
}
.defaultBackground .cardImage, .ui-body-b .visualCardBox {
background-color: #262626;
}
.cardScalable {
position: relative;
}

View file

@ -63,7 +63,7 @@
<div class="listTopPaging">
</div>
</div>
<div id="items" class="itemsContainer" style="max-width: 800px; margin: 0 auto;"></div>
<div id="items" class="itemsContainer"></div>
</div>
<div class="pageTabContent recordingsTabContent hide" data-index="3">
<div id="activeRecordings" class="homePageSection hide">

View file

@ -2412,6 +2412,15 @@
lines.push(item.ProductionYear || '');
}
if (item.Type == 'TvChannel') {
if (item.CurrentProgram) {
lines.push(LibraryBrowser.getPosterViewDisplayName(item.CurrentProgram));
} else {
lines.push('');
}
}
if (options.showSeriesYear) {
if (item.Status == "Continuing") {

View file

@ -35,9 +35,13 @@
function getChannelsHtml(channels) {
return LibraryBrowser.getListViewHtml({
return LibraryBrowser.getPosterViewHtml({
items: channels,
smallIcon: true
shape: "square",
showTitle: true,
lazy: true,
cardLayout: true,
showDetailsMenu: true
});
}