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

update view menu bar

This commit is contained in:
Luke Pulverenti 2015-09-23 12:42:35 -04:00
parent e334a86a01
commit 8dd2c5d717
5 changed files with 11 additions and 6 deletions

View file

@ -121,7 +121,6 @@
}, },
enableFullPaperTabs: function () { enableFullPaperTabs: function () {
return true;
return AppInfo.isNativeApp; return AppInfo.isNativeApp;
}, },

View file

@ -5,7 +5,7 @@
var self = this; var self = this;
var currentProgressInterval; var currentProgressInterval;
var currentPlaylistIndex = 0; var currentPlaylistIndex = -1;
self.currentMediaRenderer = null; self.currentMediaRenderer = null;
self.currentItem = null; self.currentItem = null;

View file

@ -706,11 +706,13 @@
if (index != -1) { if (index != -1) {
var item = itemsContainer.querySelectorAll('.listItem')[index]; var item = itemsContainer.querySelectorAll('.listItem')[index];
if (item) {
var img = item.querySelector('.listviewImage'); var img = item.querySelector('.listviewImage');
img.classList.remove('lazy'); img.classList.remove('lazy');
img.classList.add('playlistIndexIndicatorImage'); img.classList.add('playlistIndexIndicatorImage');
} }
}
ImageLoader.lazyChildren(itemsContainer); ImageLoader.lazyChildren(itemsContainer);
} }

View file

@ -1927,7 +1927,6 @@ var AppInfo = {};
Dashboard.importCss('themes/ios.css'); Dashboard.importCss('themes/ios.css');
} }
} }
Dashboard.importCss('themes/ios.css');
if ($.browser.msie && $.browser.tv && ($.browser.version || 11) <= 10) { if ($.browser.msie && $.browser.tv && ($.browser.version || 11) <= 10) {
Dashboard.importCss('thirdparty/paper-ie10.css'); Dashboard.importCss('thirdparty/paper-ie10.css');

View file

@ -19,6 +19,11 @@ body {
background-color: rgba(28,28,28,.92) !important; background-color: rgba(28,28,28,.92) !important;
} }
.viewMenuBar {
/* It needs this in order to retain height since we're positioning the contents absolutely */
height: 50px;
}
.viewMenuBar, .libraryViewNav, paper-tabs { .viewMenuBar, .libraryViewNav, paper-tabs {
background-color: #000; background-color: #000;
} }