diff --git a/CSS/main.css b/CSS/main.css index 6f4ffad..8e40c2e 100644 --- a/CSS/main.css +++ b/CSS/main.css @@ -272,7 +272,7 @@ input::-webkit-input-placeholder { user-select: none } height: 100%; } -#window > div:first-child { +#window-menu:first-child { display: grid; grid-template-columns: 10fr 2fr; width: 100%; @@ -283,7 +283,7 @@ input::-webkit-input-placeholder { user-select: none } z-index: 1; } -#window > div:first-child > div:first-child { +#window-menu:first-child > div:first-child { display: flex; align-items: center; height: var(--topMenuSize); @@ -292,13 +292,13 @@ input::-webkit-input-placeholder { user-select: none } font-size: 14px; } -#window > div:first-child > div:last-child { +#window-menu:first-child > div:last-child { display: flex; height: var(--topMenuSize); direction: rtl; } -#window > div:first-child > div:last-child > button { +#window-menu:first-child > div:last-child > button { height: var(--topMenuSize); -webkit-app-region: no-drag; padding: 0 20px; @@ -306,11 +306,11 @@ input::-webkit-input-placeholder { user-select: none } color: #eee; } -#window > div:first-child > div:last-child > button:hover { +#window-menu:first-child > div:last-child > button:hover { background-color: #333; } -#window > div:first-child > div:last-child > button:first-child:hover { +#window-menu:first-child > div:last-child > button:first-child:hover { background-color: #E74C3C; } @@ -1788,6 +1788,11 @@ input::-webkit-input-placeholder { user-select: none } grid-template-rows: 210px 11fr; } +#comic-slider[fullscreen] { + height: 100%; + top: 0; +} + #c-s-ov { display: block; width: 100%; diff --git a/JS/slider.js b/JS/slider.js index 2ea8dcb..3edf7e6 100644 --- a/JS/slider.js +++ b/JS/slider.js @@ -146,13 +146,18 @@ function sliderImageBorderHighlighter() { } function toggleComicSliderScreen() { - const parent = document.getElementById('comic-slider').children[1] + const comic_slider = document.getElementById('comic-slider') + const parent = comic_slider.children[1] if (ThisWindow.isFullScreen()) { ThisWindow.setFullScreen(false) parent.style.backgroundColor = '#000000f3' + comic_slider.removeAttribute('fullscreen') + document.getElementById('window-menu').style.display = 'grid' } else { ThisWindow.setFullScreen(true) parent.style.backgroundColor = '#000' + comic_slider.setAttribute('fullscreen', true) + document.getElementById('window-menu').style.display = 'none' } } diff --git a/checkout.json b/checkout.json deleted file mode 100644 index e6a45d9..0000000 --- a/checkout.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "comic_panel_theme": 1, - "pagination_theme": 0, - "offline_theme": 1, - "browser_theme": 1, - "waiting_quality": 1, - "hover_downloader": false, - "max_per_page": 18, - "img_graphic": 1, - "notification_download_finish": false, - "notification_optimization_finish": true, - "lazy_loading": true, - "tabs_limit": 32, - "search_speed": 1, - "download_limit": 5, - "show_unoptimize": false, - "check_update": true, - "auto_close_optimize_panel": false, - "file_location": "C:\\Users\\Rene716\\Documents\\techzipfiles\\XComicDownloads", - "open_br_startup": false, - "developer_mode": false -} \ No newline at end of file diff --git a/index.html b/index.html index 2d1ed92..a029b0c 100644 --- a/index.html +++ b/index.html @@ -36,7 +36,7 @@