Merge pull request #112 from sparky8251/remove-seasonal-themes

Removed seasonal theme support
This commit is contained in:
Vasily 2019-02-02 23:38:13 +03:00 committed by GitHub
commit 2b5c236510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 3 additions and 578 deletions

View File

@ -162,12 +162,10 @@ define(['require', 'browser', 'layoutManager', 'appSettings', 'pluginManager', '
} }
if (!browser.tizen && !browser.web0s) { if (!browser.tizen && !browser.web0s) {
context.querySelector('.fldSeasonalThemes').classList.remove('hide');
context.querySelector('.fldBackdrops').classList.remove('hide'); context.querySelector('.fldBackdrops').classList.remove('hide');
context.querySelector('.fldThemeSong').classList.remove('hide'); context.querySelector('.fldThemeSong').classList.remove('hide');
context.querySelector('.fldThemeVideo').classList.remove('hide'); context.querySelector('.fldThemeVideo').classList.remove('hide');
} else { } else {
context.querySelector('.fldSeasonalThemes').classList.add('hide');
context.querySelector('.fldBackdrops').classList.add('hide'); context.querySelector('.fldBackdrops').classList.add('hide');
context.querySelector('.fldThemeSong').classList.add('hide'); context.querySelector('.fldThemeSong').classList.add('hide');
context.querySelector('.fldThemeVideo').classList.add('hide'); context.querySelector('.fldThemeVideo').classList.add('hide');
@ -189,7 +187,6 @@ define(['require', 'browser', 'layoutManager', 'appSettings', 'pluginManager', '
context.querySelector('#chkThemeSong').checked = userSettings.enableThemeSongs(); context.querySelector('#chkThemeSong').checked = userSettings.enableThemeSongs();
context.querySelector('#chkThemeVideo').checked = userSettings.enableThemeVideos(); context.querySelector('#chkThemeVideo').checked = userSettings.enableThemeVideos();
context.querySelector('#chkBackdrops').checked = userSettings.enableBackdrops(); context.querySelector('#chkBackdrops').checked = userSettings.enableBackdrops();
context.querySelector('#chkSeasonalThemes').checked = userSettings.enableSeasonalThemes();
context.querySelector('#selectLanguage').value = userSettings.language() || ''; context.querySelector('#selectLanguage').value = userSettings.language() || '';
context.querySelector('.selectDateTimeLocale').value = userSettings.dateTimeLocale() || ''; context.querySelector('.selectDateTimeLocale').value = userSettings.dateTimeLocale() || '';
@ -226,7 +223,6 @@ define(['require', 'browser', 'layoutManager', 'appSettings', 'pluginManager', '
userSettingsInstance.skin(context.querySelector('.selectSkin').value); userSettingsInstance.skin(context.querySelector('.selectSkin').value);
userSettingsInstance.enableBackdrops(context.querySelector('#chkBackdrops').checked); userSettingsInstance.enableBackdrops(context.querySelector('#chkBackdrops').checked);
userSettingsInstance.enableSeasonalThemes(context.querySelector('#chkSeasonalThemes').checked);
if (user.Id === apiClient.getCurrentUserId()) { if (user.Id === apiClient.getCurrentUserId()) {
@ -340,4 +336,4 @@ define(['require', 'browser', 'layoutManager', 'appSettings', 'pluginManager', '
}; };
return DisplaySettings; return DisplaySettings;
}); });

View File

@ -129,14 +129,6 @@
<select id="selectTheme" is="emby-select" label="${LabelTheme}"></select> <select id="selectTheme" is="emby-select" label="${LabelTheme}"></select>
</div> </div>
<div class="checkboxContainer checkboxContainer-withDescription fldSeasonalThemes hide">
<label>
<input type="checkbox" is="emby-checkbox" id="chkSeasonalThemes" />
<span>${AllowSeasonalThemes}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${AllowSeasonalThemesHelp}</div>
</div>
<div class="selectContainer selectDashboardThemeContainer hide"> <div class="selectContainer selectDashboardThemeContainer hide">
<select id="selectDashboardTheme" is="emby-select" label="${LabelDashboardTheme}"></select> <select id="selectDashboardTheme" is="emby-select" label="${LabelDashboardTheme}"></select>
</div> </div>

View File

@ -228,23 +228,6 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
} }
var themeResources = {}; var themeResources = {};
function modifyThemeForSeasonal(id) {
if (!userSettings.enableSeasonalThemes()) {
return id;
}
var date = new Date();
var month = date.getMonth();
var day = date.getDate();
if (month === 9 && day >= 30) {
return 'halloween';
}
return id;
}
var lastSound = 0; var lastSound = 0;
var currentSound; var currentSound;
@ -258,18 +241,6 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
} }
backdrop.clear(); backdrop.clear();
if (id === 'halloween') {
themeResources = {
themeSong: 'https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/monsterparadefade.mp3',
effect: 'https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/howl.wav',
backdrop: 'https://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/bg.jpg'
};
return;
}
themeResources = {
};
} }
function onThemeLoaded() { function onThemeLoaded() {
@ -294,15 +265,6 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
var requiresRegistration = true; var requiresRegistration = true;
if (context !== 'serverdashboard') {
var newId = modifyThemeForSeasonal(id);
if (newId !== id) {
requiresRegistration = false;
}
id = newId;
}
if (currentThemeId && currentThemeId === id) { if (currentThemeId && currentThemeId === id) {
resolve(); resolve();
return; return;
@ -390,4 +352,4 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
} }
return skinManager; return skinManager;
}); });

View File

@ -8,7 +8,6 @@
"AirDate": "Дата на излъчване", "AirDate": "Дата на излъчване",
"Aired": "Излъчено", "Aired": "Излъчено",
"Albums": "Албуми", "Albums": "Албуми",
"AllowSeasonalThemes": "Автоматични сезонни облици",
"Art": "Картина", "Art": "Картина",
"Artists": "Изпълнители", "Artists": "Изпълнители",
"AttributeNew": "Нови", "AttributeNew": "Нови",

View File

@ -13,7 +13,6 @@
"AllChannels": "Všechny kanály", "AllChannels": "Všechny kanály",
"AllEpisodes": "Všechny epizody", "AllEpisodes": "Všechny epizody",
"AllLanguages": "Všechny jazyky", "AllLanguages": "Všechny jazyky",
"AllowSeasonalThemes": "Povolit automatická sezónní témata",
"AlwaysPlaySubtitles": "Vždy zobrazit titulky", "AlwaysPlaySubtitles": "Vždy zobrazit titulky",
"AlwaysPlaySubtitlesHelp": "Titulky odpovídající jazykové předvolbě se načtou bez ohledu na jazyk audia.", "AlwaysPlaySubtitlesHelp": "Titulky odpovídající jazykové předvolbě se načtou bez ohledu na jazyk audia.",
"Anytime": "Kdykoliv", "Anytime": "Kdykoliv",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Alle komplexen Formate (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "Alle komplexen Formate (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "Alle Episoden", "AllEpisodes": "Alle Episoden",
"AllLanguages": "Alle Sprachen", "AllLanguages": "Alle Sprachen",
"AllowSeasonalThemes": "Erlaube automatische Saison-Themes",
"AllowSeasonalThemesHelp": "Wenn aktiviert, werden Saison-Themes von Zeit zu Zeit deine Theme-Einstellungen überschreiben.",
"AlwaysPlaySubtitles": "Untertitel immer anzeigen", "AlwaysPlaySubtitles": "Untertitel immer anzeigen",
"AlwaysPlaySubtitlesHelp": "Untertitel die den Spracheinstellungen entsprechen werden unabhängig von der Tonspursprache geladen.", "AlwaysPlaySubtitlesHelp": "Untertitel die den Spracheinstellungen entsprechen werden unabhängig von der Tonspursprache geladen.",
"AnamorphicVideoNotSupported": "Anamorphes Video nicht unterstützt", "AnamorphicVideoNotSupported": "Anamorphes Video nicht unterstützt",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Όλες οι σύνθετες μορφές (ASS, SSA, VOBSUB, PGS, SUB / IDX κ.λπ.)", "AllComplexFormats": "Όλες οι σύνθετες μορφές (ASS, SSA, VOBSUB, PGS, SUB / IDX κ.λπ.)",
"AllEpisodes": "Ολα τα επεισόδια", "AllEpisodes": "Ολα τα επεισόδια",
"AllLanguages": "Όλες οι γλώσσες", "AllLanguages": "Όλες οι γλώσσες",
"AllowSeasonalThemes": "Ενεργοποίηση εποχιακών θεμάτων",
"AllowSeasonalThemesHelp": "Εάν είναι ενεργοποιημένο, τα εποχιακά θέματα κατά καιρούς θα αντικαταστήσουν τη ρύθμιση θέματος.",
"AlwaysPlaySubtitles": "Πάντα αναπαραγωγή Υποτίτλων", "AlwaysPlaySubtitles": "Πάντα αναπαραγωγή Υποτίτλων",
"AlwaysPlaySubtitlesHelp": "Οι υπότιτλοι που ταιριάζουν με τις προτιμήσεις γλώσσας θα φορτωθούν ανεξάρτητα από τη γλώσσα του ήχου.", "AlwaysPlaySubtitlesHelp": "Οι υπότιτλοι που ταιριάζουν με τις προτιμήσεις γλώσσας θα φορτωθούν ανεξάρτητα από τη γλώσσα του ήχου.",
"AnamorphicVideoNotSupported": "Το αναμορφωτικό βίντεο δεν υποστηρίζεται", "AnamorphicVideoNotSupported": "Το αναμορφωτικό βίντεο δεν υποστηρίζεται",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "All complex formats (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "All complex formats (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "All episodes", "AllEpisodes": "All episodes",
"AllLanguages": "All languages", "AllLanguages": "All languages",
"AllowSeasonalThemes": "Allow automatic seasonal themes",
"AllowSeasonalThemesHelp": "If enabled, seasonal themes will occasionally override your theme setting.",
"AlwaysPlaySubtitles": "Always play subtitles", "AlwaysPlaySubtitles": "Always play subtitles",
"AlwaysPlaySubtitlesHelp": "Subtitles matching the language preference will be loaded regardless of the audio language.", "AlwaysPlaySubtitlesHelp": "Subtitles matching the language preference will be loaded regardless of the audio language.",
"AnamorphicVideoNotSupported": "Anamorphic video not supported", "AnamorphicVideoNotSupported": "Anamorphic video not supported",

View File

@ -16,8 +16,6 @@
"AllComplexFormats": "Todos los subtitulos complejos (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "Todos los subtitulos complejos (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "Todos los episodios", "AllEpisodes": "Todos los episodios",
"AllLanguages": "Todos los idiomas", "AllLanguages": "Todos los idiomas",
"AllowSeasonalThemes": "Permitir temas de temporada automáticamente",
"AllowSeasonalThemesHelp": "Si esta habilitado, temas de temporada reemplazaran ocasionalmente el tema por defecto.",
"AlwaysPlaySubtitles": "Siempre mostrar subtítulos", "AlwaysPlaySubtitles": "Siempre mostrar subtítulos",
"AlwaysPlaySubtitlesHelp": "Los subtítulos que coincidan con el lenguaje preferido serán cargados independientemente del lenguaje del audio.", "AlwaysPlaySubtitlesHelp": "Los subtítulos que coincidan con el lenguaje preferido serán cargados independientemente del lenguaje del audio.",
"AnamorphicVideoNotSupported": "Video anamorfico no soportado", "AnamorphicVideoNotSupported": "Video anamorfico no soportado",

View File

@ -16,8 +16,6 @@
"AllComplexFormats": "Tous les formats complexes (ASS, SSA, VOBSUB, PGS, SUB/IDX etc)", "AllComplexFormats": "Tous les formats complexes (ASS, SSA, VOBSUB, PGS, SUB/IDX etc)",
"AllEpisodes": "Tous les épisodes", "AllEpisodes": "Tous les épisodes",
"AllLanguages": "Tous les langages", "AllLanguages": "Tous les langages",
"AllowSeasonalThemes": "Autoriser les thèmes saisonniers automatiques",
"AllowSeasonalThemesHelp": "Des thèmes saisonniers viendront occasionnellement remplacer votre thème régulier.",
"AlwaysPlaySubtitles": "Toujours lancer les sous-titres", "AlwaysPlaySubtitles": "Toujours lancer les sous-titres",
"AlwaysPlaySubtitlesHelp": "Les sous-titres correspondant à la préférence linguistique seront chargés indépendamment de la langue de l'audio.", "AlwaysPlaySubtitlesHelp": "Les sous-titres correspondant à la préférence linguistique seront chargés indépendamment de la langue de l'audio.",
"AnamorphicVideoNotSupported": "Vidéo anamorphique non prise en charge", "AnamorphicVideoNotSupported": "Vidéo anamorphique non prise en charge",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Tutti i formati complessi (ASS, SSA, VOBSUB, PGS, SUB / IDX, ecc.)", "AllComplexFormats": "Tutti i formati complessi (ASS, SSA, VOBSUB, PGS, SUB / IDX, ecc.)",
"AllEpisodes": "Tutti gli episodi", "AllEpisodes": "Tutti gli episodi",
"AllLanguages": "Tutte le lingue", "AllLanguages": "Tutte le lingue",
"AllowSeasonalThemes": "Consenti temi automatici stagionali",
"AllowSeasonalThemesHelp": "Se abilitato, i temi stagionali sovrascriveranno occasionalmente l'impostazione del tema.",
"AlwaysPlaySubtitles": "Visualizza sempre i sottotitoli", "AlwaysPlaySubtitles": "Visualizza sempre i sottotitoli",
"AlwaysPlaySubtitlesHelp": "I sottotitoli corrispondenti alla lingua preferita saranno caricati a prescindere dalla lingua dell'audio.", "AlwaysPlaySubtitlesHelp": "I sottotitoli corrispondenti alla lingua preferita saranno caricati a prescindere dalla lingua dell'audio.",
"AnamorphicVideoNotSupported": "Il video anamorfico non è supportato", "AnamorphicVideoNotSupported": "Il video anamorfico non è supportato",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Барлық күрделі пішімдері (ASS, SSA, VOBSUB, PGS, SUB/IDX және т.б.)", "AllComplexFormats": "Барлық күрделі пішімдері (ASS, SSA, VOBSUB, PGS, SUB/IDX және т.б.)",
"AllEpisodes": "Барлық бөлімдер", "AllEpisodes": "Барлық бөлімдер",
"AllLanguages": "Барлық тілдер", "AllLanguages": "Барлық тілдер",
"AllowSeasonalThemes": "Автоматты түрдегі маусымдық тақырыптарға рұқсат ету",
"AllowSeasonalThemesHelp": "Қосылған болса, маусымдық тақырыптар анда-санда тақырып параметрлеріңіздің күшін жояды.",
"AlwaysPlaySubtitles": "Субтитрлерді әрқашан ойнату", "AlwaysPlaySubtitles": "Субтитрлерді әрқашан ойнату",
"AlwaysPlaySubtitlesHelp": "Тіл теңшеліміне сәйкес келген субтитрлер дыбыс тіліне қатыссыз жүктеледі.", "AlwaysPlaySubtitlesHelp": "Тіл теңшеліміне сәйкес келген субтитрлер дыбыс тіліне қатыссыз жүктеледі.",
"AnamorphicVideoNotSupported": "Анаморфтық бейне үшін қолдау көрсетілмейді", "AnamorphicVideoNotSupported": "Анаморфтық бейне үшін қолдау көрсетілмейді",

View File

@ -16,8 +16,6 @@
"AllComplexFormats": "Alle complexe formaten (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "Alle complexe formaten (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "Alle afleveringen", "AllEpisodes": "Alle afleveringen",
"AllLanguages": "Alle talen", "AllLanguages": "Alle talen",
"AllowSeasonalThemes": "Schakel seizoen thema's in",
"AllowSeasonalThemesHelp": "Indien ingeschakeld zullen seizoen thema's uw thema instellingen overschrijven.",
"AlwaysPlaySubtitles": "Altijd ondertitels weergeven", "AlwaysPlaySubtitles": "Altijd ondertitels weergeven",
"AlwaysPlaySubtitlesHelp": "Ondertitels die met de taalvoorkeur overeenkomen worden weergegeven, ongeacht de audiotaal.", "AlwaysPlaySubtitlesHelp": "Ondertitels die met de taalvoorkeur overeenkomen worden weergegeven, ongeacht de audiotaal.",
"AnamorphicVideoNotSupported": "Anamorfische video niet ondersteund", "AnamorphicVideoNotSupported": "Anamorfische video niet ondersteund",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Wszystkie złożone formaty (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "Wszystkie złożone formaty (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "Wszystkie odcinki", "AllEpisodes": "Wszystkie odcinki",
"AllLanguages": "Wszystkie języki", "AllLanguages": "Wszystkie języki",
"AllowSeasonalThemes": "Zezwalaj na automatyczne motywy sezonowe",
"AllowSeasonalThemesHelp": "Jeśli aktywne, motywy sezonowe będą sporadycznie nadpisywać Twoje ustawienia motywu.",
"AlwaysPlaySubtitles": "Zawsze wyświetlaj napisy", "AlwaysPlaySubtitles": "Zawsze wyświetlaj napisy",
"AlwaysPlaySubtitlesHelp": "Napisy pasujące do preferowanego języka będą wczytywane, niezależnie od języka ścieżki dźwiękowej.", "AlwaysPlaySubtitlesHelp": "Napisy pasujące do preferowanego języka będą wczytywane, niezależnie od języka ścieżki dźwiękowej.",
"AnamorphicVideoNotSupported": "Nieobsługiwane wideo anamorficzne", "AnamorphicVideoNotSupported": "Nieobsługiwane wideo anamorficzne",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Todos os formatos complexos (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "Todos os formatos complexos (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "Todos os episódios", "AllEpisodes": "Todos os episódios",
"AllLanguages": "Todos os idiomas", "AllLanguages": "Todos os idiomas",
"AllowSeasonalThemes": "Permitir temas sazonais automáticos",
"AllowSeasonalThemesHelp": "Se ativado, temas sazonais irão sobrepor a configuração de temas.",
"AlwaysPlaySubtitles": "Sempre reproduzir legendas", "AlwaysPlaySubtitles": "Sempre reproduzir legendas",
"AlwaysPlaySubtitlesHelp": "As legendas que combinarem com a preferência de idioma serão carregadas independente do idioma do áudio.", "AlwaysPlaySubtitlesHelp": "As legendas que combinarem com a preferência de idioma serão carregadas independente do idioma do áudio.",
"AnamorphicVideoNotSupported": "Vídeo anamórfico não suportado", "AnamorphicVideoNotSupported": "Vídeo anamórfico não suportado",

View File

@ -17,8 +17,6 @@
"AllComplexFormats": "Все комлексные форматы (ASS, SSA, VOBSUB, PGS, SUB/IDX и т.д.)", "AllComplexFormats": "Все комлексные форматы (ASS, SSA, VOBSUB, PGS, SUB/IDX и т.д.)",
"AllEpisodes": "Все эпизоды", "AllEpisodes": "Все эпизоды",
"AllLanguages": "Все языки", "AllLanguages": "Все языки",
"AllowSeasonalThemes": "Разрешить автоматические сезонные темы",
"AllowSeasonalThemesHelp": "При включении, сезонные темы будут время от времени перекрывать вашу настройку темы.",
"AlwaysPlaySubtitles": "Всегда воспроизводить с субтитрами", "AlwaysPlaySubtitles": "Всегда воспроизводить с субтитрами",
"AlwaysPlaySubtitlesHelp": "Субтитры, соответствующие настройке языка, будут загружаться независимо от языка аудио.", "AlwaysPlaySubtitlesHelp": "Субтитры, соответствующие настройке языка, будут загружаться независимо от языка аудио.",
"AnamorphicVideoNotSupported": "Анаморфное видео не поддерживается", "AnamorphicVideoNotSupported": "Анаморфное видео не поддерживается",

View File

@ -16,8 +16,6 @@
"AllComplexFormats": "Alla komplexa format (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)", "AllComplexFormats": "Alla komplexa format (ASS, SSA, VOBSUB, PGS, SUB/IDX, etc.)",
"AllEpisodes": "Alla avsnitt", "AllEpisodes": "Alla avsnitt",
"AllLanguages": "Alla språk", "AllLanguages": "Alla språk",
"AllowSeasonalThemes": "Tillåt automatiska säsongsbaserade teman",
"AllowSeasonalThemesHelp": "Om aktiverat kommer säsongsteman emellanåt kringgå din temainställning.",
"AlwaysPlaySubtitles": "Visa alltid undertexter", "AlwaysPlaySubtitles": "Visa alltid undertexter",
"AlwaysPlaySubtitlesHelp": "Undertexter på det önskade språket kommer att laddas oavsett ljudspårets språk.", "AlwaysPlaySubtitlesHelp": "Undertexter på det önskade språket kommer att laddas oavsett ljudspårets språk.",
"AnamorphicVideoNotSupported": "Anamorphic video stöds inte", "AnamorphicVideoNotSupported": "Anamorphic video stöds inte",

View File

@ -15,8 +15,6 @@
"AllComplexFormats": "所有复杂的格式ASS, SSA, VOBSUB, PGS, SUB/IDX 等)", "AllComplexFormats": "所有复杂的格式ASS, SSA, VOBSUB, PGS, SUB/IDX 等)",
"AllEpisodes": "所有集", "AllEpisodes": "所有集",
"AllLanguages": "所有语言", "AllLanguages": "所有语言",
"AllowSeasonalThemes": "允许自动切换季节性主题",
"AllowSeasonalThemesHelp": "如果启用,当季节性主题使用时会覆盖你的主题设置。",
"AlwaysPlaySubtitles": "总是显示字幕", "AlwaysPlaySubtitles": "总是显示字幕",
"AlwaysPlaySubtitlesHelp": "无论音频为何种语言,都将加载与语言偏好匹配的字幕。", "AlwaysPlaySubtitlesHelp": "无论音频为何种语言,都将加载与语言偏好匹配的字幕。",
"Anytime": "任何时间", "Anytime": "任何时间",

View File

@ -1,485 +0,0 @@
@import url(https://fonts.googleapis.com/css?family=Eater);
h1,
h2 {
font-family: Eater;
font-weight: 400 !important
}
h1 {
font-size: 1.566em !important
}
h2 {
font-size: 1.305em !important
}
.sectionTabs button,
.userViewNames .btnUserViewHeader {
font-family: Eater !important;
font-size: 87% !important
}
.skinHeader,
html {
color: #eee;
color: rgba(255, 255, 255, .87)
}
.wizardStartForm,
.ui-corner-all,
.ui-shadow {
background-color: #202020
}
.emby-collapsible-button {
border-color: #383838;
border-color: rgba(255, 255, 255, .135)
}
.skinHeader {
color: #ccc;
color: rgba(255, 255, 255, .78)
}
.skinHeader-withBackground {
background-color: #202020
}
.osdHeader {
-webkit-box-shadow: none !important;
box-shadow: none !important
}
.skinHeader.semiTransparent {
-webkit-backdrop-filter: none !important;
backdrop-filter: none !important;
background-color: rgba(0, 0, 0, .3);
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .6)), to(rgba(0, 0, 0, 0)));
background: -webkit-linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
background: -o-linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0))
}
.pageTitleWithDefaultLogo {
background-image: url(../logowhite.png)
}
.backgroundContainer,
.dialog,
html {
background-color: #1a1a1a
}
.backgroundContainer.withBackdrop {
background-color: rgba(12, 12, 12, .9)
}
.paper-icon-button-light:focus {
color: #FF9100;
background-color: rgba(255, 145, 0, .2)
}
.skinHeader-withBackground .paper-icon-button-light:focus {
color: #fff;
background-color: rgba(255, 255, 255, .2)
}
.fab,
.raised {
background: #404040;
color: #fff
}
.fab:focus,
.raised:focus {
background: #505050
}
.button-submit {
background: #FF9100;
color: #fff
}
.button-submit:focus {
background: #FF9D0C;
color: #fff
}
.checkboxLabel {
color: inherit
}
.checkboxListLabel,
.inputLabel,
.inputLabelUnfocused,
.paperListLabel,
.textareaLabelUnfocused {
color: #bbb;
color: rgba(255, 255, 255, .7)
}
.inputLabelFocused,
.selectLabelFocused,
.textareaLabelFocused {
color: #FF9100
}
.checkboxOutline {
border-color: currentColor
}
.collapseContent,
.formDialogFooter:not(.formDialogFooter-clear),
.formDialogHeader:not(.formDialogHeader-clear),
.paperList,
.visualCardBox {
background-color: #222
}
.defaultCardBackground1 {
background-color: #d2b019
}
.defaultCardBackground2 {
background-color: #338abb
}
.defaultCardBackground3 {
background-color: #6b689d
}
.defaultCardBackground4 {
background-color: #dd452b
}
.defaultCardBackground5 {
background-color: #5ccea9
}
.cardText-secondary,
.fieldDescription,
.guide-programNameCaret,
.listItem .secondary,
.nowPlayingBarSecondaryText,
.programSecondaryTitle,
.secondaryText {
color: #999;
color: rgba(255, 255, 255, .5)
}
.actionsheetDivider {
background: #444;
background: rgba(255, 255, 255, .14)
}
.cardFooter-vibrant .cardText-secondary {
color: inherit;
opacity: .5
}
.actionSheetMenuItem:hover {
background-color: #222
}
.toast {
background: #303030;
color: #fff;
color: rgba(255, 255, 255, .87)
}
.appfooter {
background: #101010;
color: #ccc;
color: rgba(255, 255, 255, .78)
}
@supports (backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px)) {
.appfooter-blurred {
background: rgba(24, 24, 24, .7);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px)
}
}
.itemSelectionPanel {
border: 1px solid #FF9100
}
.selectionCommandsPanel {
background: #FF9100;
color: #fff
}
.upNextDialog-countdownText {
color: #FF9100
}
.alphaPickerButton {
color: #999;
color: rgba(255, 255, 255, .5);
background-color: transparent
}
.alphaPickerButton-selected {
color: #fff
}
.alphaPickerButton-tv:focus {
background-color: #FF9100;
color: #fff !important
}
.detailTableBodyRow-shaded:nth-child(even) {
background: #1c1c1c;
background: rgba(30, 30, 30, .9)
}
.listItem-border {
border-color: rgba(30, 30, 30, .9) !important
}
.listItem:focus {
background: #333
}
.progressring-spiner {
border-color: #FF9100
}
.button-flat-accent,
.button-link {
color: #FF9100
}
.mediaInfoText {
color: #ddd;
background: rgba(170, 170, 190, .2)
}
.mediaInfoTimerIcon,
.starIcon {
color: #CB272A
}
.emby-input,
.emby-textarea {
color: inherit;
background: #262626;
border: .07em solid #262626;
-webkit-border-radius: .15em;
border-radius: .15em
}
.emby-input:focus,
.emby-textarea:focus {
border-color: #FF9100
}
.emby-select-withcolor {
color: inherit;
background: #262626;
border: .07em solid #262626
}
.emby-select-withcolor>option {
color: inherit;
background: #222
}
.emby-select-withcolor:focus {
border-color: #FF9100 !important
}
.emby-select-tv-withcolor:focus {
background-color: #FF9100 !important;
color: #fff !important
}
.emby-checkbox:checked+span+span+.checkboxOutline {
border-color: #FF9100
}
.emby-checkbox:focus+span+.emby-checkbox-focushelper {
background-color: rgba(204, 51, 51, .26)
}
.emby-checkbox:checked+span+span+.checkboxOutline,
.itemProgressBarForeground {
background-color: #FF9100
}
.itemProgressBarForeground-recording {
background-color: #CB272A
}
.countIndicator,
.fullSyncIndicator,
.playedIndicator {
background: #FF9100
}
.fullSyncIndicator {
color: #fff
}
.mainDrawer {
background-color: #1c1c1f;
color: #ccc;
color: rgba(255, 255, 255, .7)
}
.navMenuOption:hover {
background: #252528
}
.navMenuOption-selected {
background: #FF9100 !important;
color: #fff
}
.emby-button-focusscale:focus {
background: #FF9100;
color: #fff
}
.emby-tab-button {
color: #999;
color: rgba(255, 255, 255, .5)
}
.emby-tab-button-active {
color: #FF9100
}
.emby-tab-button-active.emby-button-tv {
color: #fff
}
.emby-tab-button.emby-button-tv:focus {
color: #FF9100;
background: 0 0
}
.channelPrograms,
.guide-channelHeaderCell,
.programCell {
border-color: #282828
}
.programCell-sports {
background: #3949AB !important
}
.programCell-movie {
background: #5E35B1 !important
}
.programCell-kids {
background: #039BE5 !important
}
.programCell-news {
background: #43A047 !important
}
.programCell-active {
background: #1e1e1e !important
}
.guide-channelHeaderCell:focus,
.programCell:focus {
background-color: #FF9100 !important;
color: #fff !important
}
.guide-programTextIcon {
color: #1e1e1e;
background: #555
}
.guide-headerTimeslots {
color: inherit
}
.guide-date-tab-button {
color: #555;
color: rgba(255, 255, 255, .3)
}
.guide-date-tab-button.emby-tab-button-active,
.guide-date-tab-button:focus {
color: #00a4dc
}
.guide-date-tab-button.emby-button-tv:focus {
background-color: #00a4dc;
color: #fff
}
.itemBackdropFader {
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(#191919));
background: -webkit-linear-gradient(rgba(0, 0, 0, 0), #191919);
background: -o-linear-gradient(rgba(0, 0, 0, 0), #191919);
background: linear-gradient(rgba(0, 0, 0, 0), #191919)
}
.infoBanner {
color: #ddd;
background: #111;
padding: 1em;
-webkit-border-radius: .25em;
border-radius: .25em
}
.ratingbutton-icon-withrating {
color: #FF9100
}
.downloadbutton-icon-complete,
.downloadbutton-icon-on {
color: #4285F4
}
.playstatebutton-icon-played {
color: #FF9100
}
.repeatButton-active {
color: #4285F4
}
.card:focus .card-focuscontent {
border-color: #FF9100
}
.layout-desktop ::-webkit-scrollbar {
width: 1em;
height: 1em
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3)
}
::-webkit-scrollbar-track-piece {
background-color: #3b3b3b
}
::-webkit-scrollbar-thumb:horizontal,
::-webkit-scrollbar-thumb:vertical {
-webkit-border-radius: 2px;
background: center no-repeat #888
}
.btnUserViewHeader:focus {
color: #FF9100 !important
}
.btnUserViewHeader:focus .userViewButtonText {
border-bottom-color: #FF9100 !important
}
.emby-button:focus:not(.btnUserViewHeader):not(.emby-tab-button) {
background: #FF9100
}

View File

@ -235,15 +235,6 @@ define(['appSettings', 'events'], function (appsettings, events) {
return this.get('appTheme', false) || UserSettings.defaults.theme; return this.get('appTheme', false) || UserSettings.defaults.theme;
}; };
UserSettings.prototype.enableSeasonalThemes = function (val) {
if (val != null) {
return this.set('enableSeasonalThemes', val, false);
}
return this.get('enableSeasonalThemes', false) !== 'false';
};
UserSettings.prototype.screensaver = function (val) { UserSettings.prototype.screensaver = function (val) {
if (val != null) { if (val != null) {
@ -321,4 +312,4 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
return UserSettings; return UserSettings;
}); });

View File

@ -1204,9 +1204,6 @@ var Dashboard = {
}, { }, {
name: "Dark (red accent)", name: "Dark (red accent)",
id: "dark-red" id: "dark-red"
}, {
name: "Halloween",
id: "halloween"
}, { }, {
name: "Light", name: "Light",
id: "light", id: "light",