fixed blur and the login patch

This commit is contained in:
Jesse James Isler 2022-06-01 23:16:17 +02:00
parent a9a28246e2
commit b23bcd267a
2 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,7 @@ videoid="ZjQZxqTipHM"
iframe="<iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$videoid?autoplay=1&amp;controls=0&amp;loop=1' title='Background Music' frameborder='0' allow='autoplay;'></iframe>"
# The final string.
Video="<div class='app' style='margin-left: 25px;'>$iframe</div>"
Video="<div class='app' style='margin-left: 8px;'>$iframe</div>"
# Inject that bad boy into the foundry thing. Might break in future updates (May only need the line changed)
sed -i -e "69i $Video" /home/foundry/resources/app/templates/setup/join-game.html

View File

@ -11,8 +11,11 @@ sed -i -e 's+url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1H
sed -i -e 's+rgb(150, 12, 16)+rgb(0, 150, 136)+g' ./foundry_login.css
sed -i -e 's+rgb(228, 9, 19)+rgb(0, 188, 170)+g' ./foundry_login.css
# Make the Width responsive and add a sick blur effect
sed -i -e 's+width: 400px !important;+width: 90% !important;backdrop-filter: blur(7px) !important;+g' ./foundry_login.css
# Make the Width responsive
sed -i -e 's+width: 400px !important;+width: 90% !important;+g' ./foundry_login.css
# Add blur to app class... this COULD potentially break things
echo '#join-game .app {backdrop-filter: blur(7px) !important;}' >> /home/foundry/resources/app/public/css/style.css
# Append to the Foundry Style.css
cat ./foundry_login.css >> /home/foundry/resources/app/public/css/style.css