From 678164bf0d0caa85a2a8dc408f1faf76a72825b7 Mon Sep 17 00:00:00 2001 From: Filipinos Date: Thu, 19 Jun 2025 10:55:14 +0200 Subject: [PATCH] bug fix --- css/editor.css | 4 ++-- css/epg_modal.css | 2 +- css/layout.css | 2 +- css/modals_general.css | 9 ++++++++- css/movistar_vod_modal.css | 2 +- shaka_handler.js | 2 -- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/css/editor.css b/css/editor.css index 28aa6f4..b5f72a8 100644 --- a/css/editor.css +++ b/css/editor.css @@ -32,7 +32,7 @@ --editor-transition-speed: 0.3s; --editor-selected-bg: var(--accent-primary-transparent); } -#editorModal .content-wrapper { flex-grow: 1; display: flex; overflow: hidden; background-color: var(--bg-primary); height: calc(100vh - 120px); } +#editorModal .content-wrapper { flex-grow: 1; display: flex; overflow: hidden; background-color: var(--bg-primary); height: 100%; } #editorModal .list-panel { width: 100%; display: flex; flex-direction: column; border-right: none; overflow: hidden; transition: width var(--editor-transition-speed) ease; } #editorModal.editor-visible .list-panel { width: 60%; border-right: 1px solid var(--editor-border-color); } #editorModal .list-toolbar { padding: 10px 15px; border-bottom: 1px solid var(--editor-border-color); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; flex-shrink: 0; background-color: var(--bg-secondary); } @@ -93,7 +93,7 @@ #editorModal #editor-placeholder i { font-size: 3em; margin-bottom: 15px; opacity: 0.5; } #editorModal #editor-placeholder p { font-size: 1rem; } #editorModal .hidden { display: none !important; } -#editorModal .modal-body { padding: 1rem; } +#editorModal .modal-body { padding: 0; } #editorModal .btn { display: inline-block; font-weight: 400; line-height: 1.5; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; user-select: none; border: 1px solid transparent; padding: .375rem .75rem; font-size: 1rem; border-radius: .25rem; background-color: var(--bg-element); color: var(--text-primary); border-color: var(--border-color); } #editorModal .btn:hover { background-color: var(--bg-element-hover); border-color: var(--border-color-strong); } #editorModal .btn-sm { padding: .25rem .5rem; font-size: .875rem; border-radius: .2rem; } diff --git a/css/epg_modal.css b/css/epg_modal.css index cdaa80f..a96dd01 100644 --- a/css/epg_modal.css +++ b/css/epg_modal.css @@ -1,5 +1,5 @@ #epgModal .modal-content, #movistarVODModal .modal-content { background-color: var(--bg-primary); } -#epgModal .modal-body { padding: 1rem; height: calc(100vh - 120px); display: flex; flex-direction: column; overflow: hidden; } +#epgModal .modal-body { padding: 1rem; display: flex; flex-direction: column; overflow: hidden; } #epgModal .input-group .form-control { background-color: var(--bg-element); border: 1px solid var(--border-color); color: var(--text-primary); } .epg-timeline { display: flex; flex-direction: column; flex: 1; overflow: hidden; position: relative; background-color: var(--bg-secondary); border-radius: var(--radius-md); border: 1px solid var(--border-color); } .epg-timeline-header { height: 50px; background-color: rgba(var(--rgb-bg-secondary, 22, 27, 34), 0.7); border-bottom: 1px solid var(--border-color); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 2; display: flex; overflow-x: auto; overflow-y: hidden; flex-shrink: 0; } diff --git a/css/layout.css b/css/layout.css index 864e5b3..a661c4e 100644 --- a/css/layout.css +++ b/css/layout.css @@ -51,5 +51,5 @@ padding: 1.5rem; flex-grow: 1; overflow-y: auto; - padding-bottom: var(--taskbar-height); + padding-bottom: calc(var(--taskbar-height) + 1rem); } \ No newline at end of file diff --git a/css/modals_general.css b/css/modals_general.css index 6a20f2a..3154dbb 100644 --- a/css/modals_general.css +++ b/css/modals_general.css @@ -6,4 +6,11 @@ .modal-header .btn-close { filter: invert(0.8) brightness(1.2); opacity: 0.8; transition: opacity 0.2s; } .modal-header .btn-close:hover { opacity: 1; } .modal-body { padding: 1.5rem; } -.modal-footer { border-top: 1px solid var(--border-color); padding: 1rem 1.5rem; background-color: var(--bg-tertiary); border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); } \ No newline at end of file +.modal-footer { border-top: 1px solid var(--border-color); padding: 1rem 1.5rem; background-color: var(--bg-tertiary); border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); } + +.modal-fullscreen .modal-content { + height: calc(100vh - var(--taskbar-height)); + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + border-bottom: none; +} \ No newline at end of file diff --git a/css/movistar_vod_modal.css b/css/movistar_vod_modal.css index 292b318..cb7b41c 100644 --- a/css/movistar_vod_modal.css +++ b/css/movistar_vod_modal.css @@ -1,4 +1,4 @@ -#movistarVODModal .modal-body { padding: 1rem; height: calc(100vh - 120px); display: flex; flex-direction: column; overflow: hidden; } +#movistarVODModal .modal-body { padding: 1rem; display: flex; flex-direction: column; overflow: hidden; } #movistarVODModal .form-control { background-color: var(--bg-element); border: 1px solid var(--border-color); color: var(--text-primary); } #movistarVODModal-programs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; padding-top:1rem; } .movistar-vod-card { background-color: var(--bg-element); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 2px 4px var(--shadow-color); cursor: pointer; display:flex; flex-direction:column; } diff --git a/shaka_handler.js b/shaka_handler.js index edc5344..56fb45b 100644 --- a/shaka_handler.js +++ b/shaka_handler.js @@ -255,8 +255,6 @@ async function playChannelInShaka(channel, windowId) { try { if (player.getMediaElement()) { await player.unload(true); - videoElement.src = ''; - videoElement.load(); } const requestHeadersForDNR = getChannelHeaders(channel);