mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use require css
This commit is contained in:
parent
a4cf4d91ff
commit
7355fb1f65
10 changed files with 23 additions and 51 deletions
|
@ -728,7 +728,7 @@
|
|||
|
||||
var elem = e.target;
|
||||
|
||||
if (!elem.classList.contains('card')) {
|
||||
if (!elem.classList.contains('cardImage')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1014,7 +1014,7 @@
|
|||
{ transform: 'none', opacity: '1', offset: 1 }
|
||||
];
|
||||
|
||||
var timing = { duration: 240, iterations: 1, easing: 'ease-out' };
|
||||
var timing = { duration: 200, iterations: 1, easing: 'ease-out' };
|
||||
elem.animate(keyframes, timing);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
self.show = function () {
|
||||
|
||||
Dashboard.importCss('css/search.css');
|
||||
require(['css!/css/search.css']);
|
||||
$('.headerSearchInput').val('');
|
||||
|
||||
$('.btnCloseSearch').hide();
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
function showMenu(options, successCallback, cancelCallback) {
|
||||
|
||||
Dashboard.importCss('thirdparty/social-share-kit-1.0.4/dist/css/social-share-kit.css');
|
||||
|
||||
require(['thirdparty/social-share-kit-1.0.4/dist/js/social-share-kit.min'], function () {
|
||||
require(['thirdparty/social-share-kit-1.0.4/dist/js/social-share-kit.min', 'css!thirdparty/social-share-kit-1.0.4/dist/css/social-share-kit.css'], function () {
|
||||
|
||||
var id = 'dlg' + new Date().getTime();
|
||||
var html = '';
|
||||
|
|
|
@ -1967,10 +1967,6 @@ var AppInfo = {};
|
|||
|
||||
define("connectservice", ["apiclient/connectservice"]);
|
||||
|
||||
define("jqmicons", [], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.icons.css');
|
||||
return {};
|
||||
});
|
||||
define("livetvcss", [], function () {
|
||||
Dashboard.importCss('css/livetv.css');
|
||||
return {};
|
||||
|
@ -1979,10 +1975,7 @@ var AppInfo = {};
|
|||
Dashboard.importCss('css/detailtable.css');
|
||||
return {};
|
||||
});
|
||||
define("tileitemcss", [], function () {
|
||||
Dashboard.importCss('css/tileitem.css');
|
||||
return {};
|
||||
});
|
||||
define("tileitemcss", ['css!/css/tileitem.css']);
|
||||
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
define("actionsheet", ["cordova/actionsheet"]);
|
||||
|
@ -2004,39 +1997,20 @@ var AppInfo = {};
|
|||
define("searchmenu", ["scripts/searchmenu"]);
|
||||
}
|
||||
|
||||
define("jqmtable", ["thirdparty/jquerymobile-1.4.5/jqm.table"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.table.css');
|
||||
return {};
|
||||
});
|
||||
define("jqmicons", ['css!thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.icons.css']);
|
||||
define("jqmtable", ["thirdparty/jquerymobile-1.4.5/jqm.table", 'css!thirdparty/jquerymobile-1.4.5/jqm.table.css']);
|
||||
|
||||
define("jqmwidget", ["thirdparty/jquerymobile-1.4.5/jqm.widget"], function () {
|
||||
return {};
|
||||
});
|
||||
define("jqmwidget", ["thirdparty/jquerymobile-1.4.5/jqm.widget"]);
|
||||
|
||||
define("jqmslider", ["thirdparty/jquerymobile-1.4.5/jqm.slider"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.slider.css');
|
||||
return {};
|
||||
});
|
||||
define("jqmslider", ["thirdparty/jquerymobile-1.4.5/jqm.slider", 'css!thirdparty/jquerymobile-1.4.5/jqm.slider.css']);
|
||||
|
||||
define("jqmpopup", ["thirdparty/jquerymobile-1.4.5/jqm.popup"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.popup.css');
|
||||
return {};
|
||||
});
|
||||
define("jqmpopup", ["thirdparty/jquerymobile-1.4.5/jqm.popup", 'css!thirdparty/jquerymobile-1.4.5/jqm.popup.css']);
|
||||
|
||||
define("jqmlistview", ["thirdparty/jquerymobile-1.4.5/jqm.listview"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.listview.css');
|
||||
return {};
|
||||
});
|
||||
define("jqmlistview", ["thirdparty/jquerymobile-1.4.5/jqm.listview", 'css!thirdparty/jquerymobile-1.4.5/jqm.listview.css']);
|
||||
|
||||
define("jqmcontrolgroup", ["thirdparty/jquerymobile-1.4.5/jqm.controlgroup"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.controlgroup.css');
|
||||
return {};
|
||||
});
|
||||
define("jqmcontrolgroup", ["thirdparty/jquerymobile-1.4.5/jqm.controlgroup", 'css!thirdparty/jquerymobile-1.4.5/jqm.controlgroup.css']);
|
||||
|
||||
define("jqmcollapsible", ["jqmicons", "thirdparty/jquerymobile-1.4.5/jqm.collapsible"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.collapsible.css');
|
||||
return {};
|
||||
});
|
||||
define("jqmcollapsible", ["jqmicons", "thirdparty/jquerymobile-1.4.5/jqm.collapsible", 'css!thirdparty/jquerymobile-1.4.5/jqm.collapsible.css']);
|
||||
|
||||
define("jqmcheckbox", ["jqmicons", "thirdparty/jquerymobile-1.4.5/jqm.checkbox", 'css!thirdparty/jquerymobile-1.4.5/jqm.checkbox.css']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue