Skip to content

Commit 48ef401

Browse files
authored
Merge pull request #678 from themepark-dev/develop
1.20.1 Unraid login addon: - Fixed broken video URL to preferred domain - Unraid Fallout Addon: video scaling fix Audiobookshelf: Updated Audiobookshelf CSS
2 parents 66d018a + e485b49 commit 48ef401

File tree

7 files changed

+229
-153
lines changed

7 files changed

+229
-153
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Adds a video background
22

33
let video = `
4-
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gilbn.github.io\/theme.park\/css\/addons\/unraid\/login-page\/alien\/video\/isolation.mp4" type="video\/mp4">Video not supported</video></div>
4+
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/theme-park.dev\/css\/addons\/unraid\/login-page\/alien\/video\/isolation.mp4" type="video\/mp4">Video not supported</video></div>
55
`
6-
document.body.innerHTML += video
6+
document.body.innerHTML += video

css/addons/unraid/login-page/fallout/fallout-base.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
outline: none;
88
}
99

10-
@media (max-width: 500px) {
10+
@media only screen and (max-width: 500px) {
1111
#login {
1212
-webkit-backdrop-filter: blur(0px);
1313
backdrop-filter: blur(0px);
@@ -53,12 +53,11 @@ body {
5353
left: 0;
5454
}
5555
#video-bg-elem {
56-
display: block;
5756
position: absolute;
58-
left: 50%;
59-
top: 50%;
60-
transform: translate(-50%, -50%);
61-
z-index: 1;
57+
top: 0;
58+
left: 0;
59+
min-height: 100%;
60+
min-width: 100%;
6261
}
6362
/*TEXT COLOR*/
6463
#login h1,

css/addons/unraid/login-page/fallout/fallout_video.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525
https://www.colourlovers.com/palette/3428762/Fallout?widths=1
2626
*/
2727
}
28-
@media (max-width: 500px) {
28+
@media only screen and (max-width: 500px) {
2929
body {
3030
background: url(/css/addons/unraid/login-page/fallout/wallpaper/terminal.jpg) center center/cover no-repeat fixed !important;
3131
}
3232
:root {
33-
--div-background-color-15: transparent;
33+
--div-background-color-15: transparent;
34+
--main-bg-color: url(/css/addons/unraid/login-page/fallout/wallpaper/terminal.jpg) center center/cover no-repeat fixed;
3435
}
3536
}

css/addons/unraid/login-page/fallout/js/please_stand_by.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Source: https://www.youtube.com/watch?v=ehvduomE0AU
33

44
let video = `
5-
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gilbn.github.io\/theme.park\/css\/addons\/unraid\/login-page\/fallout\/video\/please_stand_by.mp4" type="video\/mp4">Video not supported</video></div>
5+
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/theme-park.dev\/css\/addons\/unraid\/login-page\/fallout\/video\/please_stand_by.mp4" type="video\/mp4">Video not supported</video></div>
66
`
77
document.body.innerHTML += video

css/addons/unraid/login-page/fallout/js/vault-tec-crt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Source: https://steamcommunity.com/sharedfiles/filedetails/?id=920035918
33

44
let video = `
5-
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gilbn.github.io\/theme.park\/css\/addons\/unraid\/login-page\/fallout\/video\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported</video></div>
5+
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/theme-park.dev\/css\/addons\/unraid\/login-page\/fallout\/video\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported</video></div>
66
`
77
document.body.innerHTML += video;

css/addons/unraid/login-page/fallout/js/vault-tec-crt_no-scanline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// Source: https://www.youtube.com/watch?v=ehvduomE0AU
33

44
let video = `
5-
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gilbn.github.io\/theme.park\/css\/addons\/unraid\/login-page\/fallout\/video\/VaultTecCRTLoopNoScanline.mp4" type="video\/mp4">Video not supported</video></div>
5+
<div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/theme-park.dev\/css\/addons\/unraid\/login-page\/fallout\/video\/VaultTecCRTLoopNoScanline.mp4" type="video\/mp4">Video not supported</video></div>
66
`
77
document.body.innerHTML += video

0 commit comments

Comments
 (0)