mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move some css files to global folder
This commit is contained in:
parent
e1009d3d67
commit
7abe22780b
12 changed files with 4 additions and 30 deletions
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "actionsheet.js"
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "dialog.js"
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "dialogHelper.js"
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "headroom.js"
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "navdrawer.js"
|
|
||||||
}
|
|
|
@ -2,7 +2,6 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function onOneDocumentClick() {
|
function onOneDocumentClick() {
|
||||||
|
|
||||||
document.removeEventListener('click', onOneDocumentClick);
|
document.removeEventListener('click', onOneDocumentClick);
|
||||||
document.removeEventListener('keydown', onOneDocumentClick);
|
document.removeEventListener('keydown', onOneDocumentClick);
|
||||||
|
|
||||||
|
@ -10,15 +9,14 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
|
||||||
Notification.requestPermission();
|
Notification.requestPermission();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('click', onOneDocumentClick);
|
document.addEventListener('click', onOneDocumentClick);
|
||||||
document.addEventListener('keydown', onOneDocumentClick);
|
document.addEventListener('keydown', onOneDocumentClick);
|
||||||
|
|
||||||
var serviceWorkerRegistration;
|
var serviceWorkerRegistration;
|
||||||
|
|
||||||
function closeAfter(notification, timeoutMs) {
|
function closeAfter(notification, timeoutMs) {
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
|
||||||
if (notification.close) {
|
if (notification.close) {
|
||||||
notification.close();
|
notification.close();
|
||||||
}
|
}
|
||||||
|
@ -29,9 +27,7 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetRegistration() {
|
function resetRegistration() {
|
||||||
|
|
||||||
var serviceWorker = navigator.serviceWorker;
|
var serviceWorker = navigator.serviceWorker;
|
||||||
|
|
||||||
if (serviceWorker) {
|
if (serviceWorker) {
|
||||||
serviceWorker.ready.then(function (registration) {
|
serviceWorker.ready.then(function (registration) {
|
||||||
serviceWorkerRegistration = registration;
|
serviceWorkerRegistration = registration;
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "toast.js"
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"main": "viewManager.js"
|
|
||||||
}
|
|
|
@ -25,7 +25,6 @@ h3 {
|
||||||
|
|
||||||
/* This is supposed to be 1080p, but had to reduce the min height to account for possible browser chrome */
|
/* This is supposed to be 1080p, but had to reduce the min height to account for possible browser chrome */
|
||||||
@media all and (min-height: 1000px) {
|
@media all and (min-height: 1000px) {
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-size: 27px;
|
font-size: 27px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -720,9 +720,9 @@ var AppInfo = {};
|
||||||
define("programStyles", ["css!" + componentsPath + "/guide/programs"], returnFirstDependency);
|
define("programStyles", ["css!" + componentsPath + "/guide/programs"], returnFirstDependency);
|
||||||
define("listViewStyle", ["css!" + componentsPath + "/listview/listview"], returnFirstDependency);
|
define("listViewStyle", ["css!" + componentsPath + "/listview/listview"], returnFirstDependency);
|
||||||
define("formDialogStyle", ["css!" + componentsPath + "/formdialog"], returnFirstDependency);
|
define("formDialogStyle", ["css!" + componentsPath + "/formdialog"], returnFirstDependency);
|
||||||
define("clearButtonStyle", ["css!" + componentsPath + "/clearbutton"], returnFirstDependency);
|
define("clearButtonStyle", ["css!css/clearbutton"], returnFirstDependency);
|
||||||
define("cardStyle", ["css!" + componentsPath + "/cardbuilder/card"], returnFirstDependency);
|
define("cardStyle", ["css!" + componentsPath + "/cardbuilder/card"], returnFirstDependency);
|
||||||
define("flexStyles", ["css!" + componentsPath + "/flexstyles"], returnFirstDependency);
|
define("flexStyles", ["css!css/flexstyles"], returnFirstDependency);
|
||||||
|
|
||||||
// define legacy features
|
// define legacy features
|
||||||
// TODO delete the rest of these
|
// TODO delete the rest of these
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue