don't persist lazy loaded paths
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 922 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
|
@ -797,7 +797,7 @@ a.itemTag:hover {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 3px 5px;
|
padding: 5px 5px;
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 10px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: rgb(0, 143, 187);
|
background: rgb(0, 143, 187);
|
||||||
|
@ -816,6 +816,22 @@ a.itemTag:hover {
|
||||||
background: rgb(248, 58, 34);
|
background: rgb(248, 58, 34);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.unplayedIndicator {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 5px;
|
||||||
|
right: 5px;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 28px;
|
||||||
|
height: 23px;
|
||||||
|
padding-top: 5px;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: #fff;
|
||||||
|
background: rgb(82, 181, 75);
|
||||||
|
background: rgba(82, 181, 75, .8);
|
||||||
|
}
|
||||||
|
|
||||||
.itemProgress {
|
.itemProgress {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
|
@ -887,21 +903,21 @@ a.itemTag:hover {
|
||||||
.itemProgressBar::-moz-progress-bar {
|
.itemProgressBar::-moz-progress-bar {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: #A92D2D;
|
background-color: #52B54B;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Chrome */
|
/* Chrome */
|
||||||
.itemProgressBar::-webkit-progress-value {
|
.itemProgressBar::-webkit-progress-value {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: #A92D2D;
|
background-color: #52B54B;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Polyfill */
|
/* Polyfill */
|
||||||
.itemProgressBar[aria-valuenow]:before {
|
.itemProgressBar[aria-valuenow]:before {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
background-color: #A92D2D;
|
background-color: #52B54B;
|
||||||
}
|
}
|
||||||
|
|
||||||
.userDataIcons .itemProgressBar {
|
.userDataIcons .itemProgressBar {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Now playing bar */
|
/* Now playing bar */
|
||||||
.nowPlayingBar {
|
.nowPlayingBar {
|
||||||
padding: 6px 0 15px 0;
|
padding: 6px 0 6px 0;
|
||||||
border-top: 2px solid green;
|
border-top: 2px solid green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.posterItem {
|
.posterItem {
|
||||||
margin: 6px;
|
margin: 8px;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
font-weight: normal!important;
|
font-weight: normal!important;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -64,8 +64,8 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
padding: 5px 4px 4px;
|
padding: 5px 4px 4px;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
font-size: 15px;
|
font-size: 13px;
|
||||||
font-weight: 300;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.posterItemTextOverlay {
|
.posterItemTextOverlay {
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
.posterItemTextOverlay .posterItemText {
|
.posterItemTextOverlay .posterItemText {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 1px 5px 4px !important;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.posterItemTextOverlay .posterItemText:first-child {
|
.posterItemTextOverlay .posterItemText:first-child {
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
.posterItemProgress .itemProgressBar {
|
.posterItemProgress .itemProgressBar {
|
||||||
height: 10px;
|
height: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
opacity: .8;
|
opacity: .6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 400px) {
|
@media all and (max-width: 400px) {
|
||||||
|
|
|
@ -257,7 +257,7 @@
|
||||||
if (item.LocationType == "Offline" || item.LocationType == "Virtual") {
|
if (item.LocationType == "Offline" || item.LocationType == "Virtual") {
|
||||||
html += LibraryBrowser.getOfflineIndicatorHtml(item);
|
html += LibraryBrowser.getOfflineIndicatorHtml(item);
|
||||||
} else {
|
} else {
|
||||||
html += LibraryBrowser.getUnplayedIndicatorHtml(item);
|
html += LibraryBrowser.getPlayedIndicatorHtml(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
html += "</a>";
|
html += "</a>";
|
||||||
|
@ -879,7 +879,7 @@
|
||||||
html += LibraryBrowser.getOfflineIndicatorHtml(item);
|
html += LibraryBrowser.getOfflineIndicatorHtml(item);
|
||||||
}
|
}
|
||||||
} else if (options.showUnplayedIndicator !== false) {
|
} else if (options.showUnplayedIndicator !== false) {
|
||||||
html += LibraryBrowser.getUnplayedIndicatorHtml(item);
|
html += LibraryBrowser.getPlayedIndicatorHtml(item);
|
||||||
}
|
}
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
|
@ -1087,16 +1087,10 @@
|
||||||
return '<div class="posterRibbon missingPosterRibbon">Missing</div>';
|
return '<div class="posterRibbon missingPosterRibbon">Missing</div>';
|
||||||
},
|
},
|
||||||
|
|
||||||
getUnplayedIndicatorHtml: function (item) {
|
getPlayedIndicatorHtml: function (item) {
|
||||||
|
|
||||||
if (item.LocationType == 'Virtual') {
|
if (item.RecursiveUnplayedItemCount) {
|
||||||
return '';
|
return '<div class="unplayedIndicator">' + item.RecursiveUnplayedItemCount + '</div>';
|
||||||
}
|
|
||||||
|
|
||||||
if (item.Type == "Series") {
|
|
||||||
if (item.RecursiveUnplayedItemCount && item.PlayedPercentage) {
|
|
||||||
return '<div class="posterRibbon">' + item.RecursiveUnplayedItemCount + ' Unwatched</div>';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
@ -1455,7 +1449,7 @@
|
||||||
return html;
|
return html;
|
||||||
},
|
},
|
||||||
|
|
||||||
getItemProgressBarHtml: function (item, includeText) {
|
getItemProgressBarHtml: function (item) {
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
|
|
||||||
|
@ -1485,10 +1479,6 @@
|
||||||
|
|
||||||
html += '<progress title="' + tooltip + '" class="itemProgressBar" min="0" max="100" value="' + pct + '">';
|
html += '<progress title="' + tooltip + '" class="itemProgressBar" min="0" max="100" value="' + pct + '">';
|
||||||
html += '</progress>';
|
html += '</progress>';
|
||||||
|
|
||||||
if (includeText) {
|
|
||||||
html += '<span class="itemProgressText">' + tooltip + '</span>';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
|
@ -1498,10 +1488,6 @@
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
|
|
||||||
if (item.Type != "Audio" && item.Type != "Season" && item.Type != "Series") {
|
|
||||||
html += LibraryBrowser.getItemProgressBarHtml(item, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
var userData = item.UserData || {};
|
var userData = item.UserData || {};
|
||||||
|
|
||||||
var itemId = item.Id;
|
var itemId = item.Id;
|
||||||
|
|
|
@ -108,7 +108,7 @@
|
||||||
|
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
|
|
||||||
html += "<div class='posterItemText' style='color:#000;font-weight:400;'>";
|
html += "<div class='posterItemText' style='color:#000;font-weight:400;font-size:15px;'>";
|
||||||
html += plugin.price > 0 ? "$" + plugin.price.toFixed(2) : "Free";
|
html += plugin.price > 0 ? "$" + plugin.price.toFixed(2) : "Free";
|
||||||
html += Dashboard.getStoreRatingHtml(plugin.avgRating, plugin.id, plugin.name);
|
html += Dashboard.getStoreRatingHtml(plugin.avgRating, plugin.id, plugin.name);
|
||||||
|
|
||||||
|
|