1
0
Fork 0
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:
Luke Pulverenti 2016-04-11 00:24:16 -04:00
parent 308b423658
commit ca13b8cbc2
23 changed files with 153 additions and 106 deletions

View file

@ -1,4 +1,4 @@
define(['jQuery'], function ($) {
define(['jQuery', 'scrollStyles'], function ($) {
function loadUpcoming(page) {
Dashboard.showLoadingMsg();

View file

@ -1,4 +1,4 @@
define(['layoutManager', 'jQuery'], function (layoutManager, $) {
define(['layoutManager', 'jQuery', 'scrollStyles'], function (layoutManager, $) {
var currentItem;

View file

@ -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) {

View file

@ -1,4 +1,4 @@
define(['jQuery'], function ($) {
define(['jQuery', 'scrollStyles'], function ($) {
function enableScrollX() {
return browserInfo.mobile && AppInfo.enableAppLayouts;

View file

@ -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;">';

View file

@ -1,4 +1,4 @@
define(['jQuery', 'libraryBrowser'], function ($, libraryBrowser) {
define(['jQuery', 'libraryBrowser', 'scrollStyles'], function ($, libraryBrowser) {
function getView() {

View file

@ -1,4 +1,4 @@
define(['jQuery'], function ($) {
define(['jQuery', 'scrollStyles'], function ($) {
function itemsPerRow() {

View file

@ -1,4 +1,4 @@
define(['libraryBrowser'], function (libraryBrowser) {
define(['libraryBrowser', 'scrollStyles'], function (libraryBrowser) {
var searchHintTimeout;

View file

@ -1,4 +1,4 @@
define(['libraryBrowser', 'jQuery'], function (LibraryBrowser, $) {
define(['libraryBrowser', 'jQuery', 'scrollStyles'], function (LibraryBrowser, $) {
function getUserViews(userId) {

View file

@ -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
});

View file

@ -1,4 +1,4 @@
define(['libraryBrowser', 'scripts/alphapicker'], function (libraryBrowser) {
define(['libraryBrowser', 'scripts/alphapicker', 'scrollStyles'], function (libraryBrowser) {
return function (view, params) {

View file

@ -1,4 +1,4 @@
define([], function () {
define(['scrollStyles'], function () {
function loadUpcoming(context, params) {