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:
parent
9fd023f7de
commit
9b355ec012
4 changed files with 20 additions and 12 deletions
|
@ -58,14 +58,6 @@ iron-list .card {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.defaultBackground .cardImage {
|
|
||||||
background-color: #303030;
|
|
||||||
}
|
|
||||||
|
|
||||||
.homeTopViews .defaultBackground .cardImage {
|
|
||||||
background-color: #181818;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cardOverlayButtonContainer {
|
.cardOverlayButtonContainer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -109,10 +101,13 @@ iron-list .card {
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-body-b .visualCardBox {
|
.ui-body-b .visualCardBox {
|
||||||
background: rgba(56,56,56,.85);
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.defaultBackground .cardImage, .ui-body-b .visualCardBox {
|
||||||
|
background-color: #262626;
|
||||||
|
}
|
||||||
|
|
||||||
.cardScalable {
|
.cardScalable {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<div class="listTopPaging">
|
<div class="listTopPaging">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="items" class="itemsContainer" style="max-width: 800px; margin: 0 auto;"></div>
|
<div id="items" class="itemsContainer"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pageTabContent recordingsTabContent hide" data-index="3">
|
<div class="pageTabContent recordingsTabContent hide" data-index="3">
|
||||||
<div id="activeRecordings" class="homePageSection hide">
|
<div id="activeRecordings" class="homePageSection hide">
|
||||||
|
|
|
@ -2412,6 +2412,15 @@
|
||||||
lines.push(item.ProductionYear || '');
|
lines.push(item.ProductionYear || '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (item.Type == 'TvChannel') {
|
||||||
|
|
||||||
|
if (item.CurrentProgram) {
|
||||||
|
lines.push(LibraryBrowser.getPosterViewDisplayName(item.CurrentProgram));
|
||||||
|
} else {
|
||||||
|
lines.push('');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (options.showSeriesYear) {
|
if (options.showSeriesYear) {
|
||||||
|
|
||||||
if (item.Status == "Continuing") {
|
if (item.Status == "Continuing") {
|
||||||
|
|
|
@ -35,9 +35,13 @@
|
||||||
|
|
||||||
function getChannelsHtml(channels) {
|
function getChannelsHtml(channels) {
|
||||||
|
|
||||||
return LibraryBrowser.getListViewHtml({
|
return LibraryBrowser.getPosterViewHtml({
|
||||||
items: channels,
|
items: channels,
|
||||||
smallIcon: true
|
shape: "square",
|
||||||
|
showTitle: true,
|
||||||
|
lazy: true,
|
||||||
|
cardLayout: true,
|
||||||
|
showDetailsMenu: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue