mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update scroll styles
This commit is contained in:
parent
308b423658
commit
ca13b8cbc2
23 changed files with 153 additions and 106 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery'], function ($) {
|
||||
define(['jQuery', 'scrollStyles'], function ($) {
|
||||
|
||||
function loadUpcoming(page) {
|
||||
Dashboard.showLoadingMsg();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['layoutManager', 'jQuery'], function (layoutManager, $) {
|
||||
define(['layoutManager', 'jQuery', 'scrollStyles'], function (layoutManager, $) {
|
||||
|
||||
var currentItem;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['playlistManager', 'appSettings', 'appStorage', 'jQuery'], function (playlistManager, appSettings, appStorage, $) {
|
||||
define(['playlistManager', 'appSettings', 'appStorage', 'jQuery', 'scrollStyles'], function (playlistManager, appSettings, appStorage, $) {
|
||||
|
||||
var libraryBrowser = (function (window, document, screen) {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery'], function ($) {
|
||||
define(['jQuery', 'scrollStyles'], function ($) {
|
||||
|
||||
function enableScrollX() {
|
||||
return browserInfo.mobile && AppInfo.enableAppLayouts;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['appSettings', 'jQuery'], function (appSettings, $) {
|
||||
define(['appSettings', 'jQuery', 'scrollStyles'], function (appSettings, $) {
|
||||
|
||||
function createVideoPlayer(self) {
|
||||
|
||||
|
@ -465,7 +465,7 @@
|
|||
html += '</div>';
|
||||
|
||||
if (item.Chapters && item.Chapters.length) {
|
||||
html += '<div class="tabScenes nowPlayingTab hiddenScrollX" style="display:none;white-space:nowrap;margin-bottom:2em;">';
|
||||
html += '<div class="tabScenes nowPlayingTab smoothScrollX" style="display:none;white-space:nowrap;margin-bottom:2em;">';
|
||||
var chapterIndex = 0;
|
||||
html += item.Chapters.map(function (c) {
|
||||
|
||||
|
@ -512,7 +512,7 @@
|
|||
}
|
||||
|
||||
if (item.People && item.People.length) {
|
||||
html += '<div class="tabCast nowPlayingTab hiddenScrollX" style="display:none;white-space:nowrap;">';
|
||||
html += '<div class="tabCast nowPlayingTab smoothScrollX" style="display:none;white-space:nowrap;">';
|
||||
html += item.People.map(function (cast) {
|
||||
|
||||
var personHtml = '<div class="tileItem smallPosterTileItem" style="width:300px;">';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery', 'libraryBrowser'], function ($, libraryBrowser) {
|
||||
define(['jQuery', 'libraryBrowser', 'scrollStyles'], function ($, libraryBrowser) {
|
||||
|
||||
function getView() {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery'], function ($) {
|
||||
define(['jQuery', 'scrollStyles'], function ($) {
|
||||
|
||||
function itemsPerRow() {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['libraryBrowser'], function (libraryBrowser) {
|
||||
define(['libraryBrowser', 'scrollStyles'], function (libraryBrowser) {
|
||||
|
||||
var searchHintTimeout;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['libraryBrowser', 'jQuery'], function (LibraryBrowser, $) {
|
||||
define(['libraryBrowser', 'jQuery', 'scrollStyles'], function (LibraryBrowser, $) {
|
||||
|
||||
function getUserViews(userId) {
|
||||
|
||||
|
|
|
@ -1977,6 +1977,7 @@ var AppInfo = {};
|
|||
define("robotoFont", ['css!' + embyWebComponentsBowerPath + '/fonts/roboto/style']);
|
||||
define("opensansFont", ['css!' + embyWebComponentsBowerPath + '/fonts/opensans/style']);
|
||||
define("montserratFont", ['css!' + embyWebComponentsBowerPath + '/fonts/montserrat/style']);
|
||||
define("scrollStyles", ['css!' + embyWebComponentsBowerPath + '/scrollstyles']);
|
||||
|
||||
define("viewcontainer", ['components/viewcontainer-lite'], returnFirstDependency);
|
||||
define('queryString', [bowerPath + '/query-string/index'], function () {
|
||||
|
@ -2615,7 +2616,7 @@ var AppInfo = {};
|
|||
|
||||
defineRoute({
|
||||
path: '/livetvtimer.html',
|
||||
dependencies: [],
|
||||
dependencies: ['scrollStyles'],
|
||||
autoFocus: false
|
||||
});
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define(['libraryBrowser', 'scripts/alphapicker'], function (libraryBrowser) {
|
||||
define(['libraryBrowser', 'scripts/alphapicker', 'scrollStyles'], function (libraryBrowser) {
|
||||
|
||||
return function (view, params) {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
define([], function () {
|
||||
define(['scrollStyles'], function () {
|
||||
|
||||
function loadUpcoming(context, params) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue