all repos — nirvash @ 5bb05a9a235e2d4419b791fa88c21e645421d3c5

modular CMS using the quartzgun library

fix wallpaper reset, file input styling
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQT/foVVmI9pK13hPWFohAcXSWbK8wUCZfiKCAAKCRBohAcXSWbK
86ofAQCC/GkmsROsjliGQlPT1afSebChs3isa7iVl0ktLI7WkAD/eNVcRRF0PUPY
Xn7fSk6faOa0vWcAM7Ikt16SuYntmAU=
=Wu5o
-----END PGP SIGNATURE-----
commit

5bb05a9a235e2d4419b791fa88c21e645421d3c5

parent

891cb9ef7b5555b681b28001ca4b766139b5c43c

2 files changed, 13 insertions(+), 4 deletions(-)

jump to
M static/style.cssstatic/style.css

@@ -250,7 +250,7 @@ position:relative;

text-transform: uppercase; display: inline-block; transition: background 1s, color 1s; - z-index: 2; + z-index: 1; } #theme_cfg label.nohover, #theme_cfg label.nohover:hover {

@@ -310,7 +310,7 @@ text-transform: uppercase;

transition: background 1s, color 1s; } -form.editor input[type="submit"]:hover,form.build input[type="submit"]:hover, .danger-zone input[type="submit"]:hover, form.configurator input[type="submit"]:hover, .file-move input[type="submit"]:hover, .uploader input[type="submit"]:hover, .uploader label:hover, .mkdir input[type="submit"]:hover, .uploader button:hover{ +form.editor input[type="submit"]:hover,form.build input[type="submit"]:hover, .danger-zone input[type="submit"]:hover, form.configurator input[type="submit"]:hover, .file-move input[type="submit"]:hover, .uploader input[type="submit"]:hover, .upload-wrapper:hover label, .mkdir input[type="submit"]:hover, .uploader button:hover{ background: var(--fg_color); color: var(--bg_color); }

@@ -373,10 +373,15 @@

input[type="file"] { opacity: 0; position: absolute; - z-index: 1; + z-index: 2; top: 5px; height: 50px; width: 110px; +} + +#theme_cfg input[type="file"] { + height: 35px; + width: 120px; } input[type="file"]:not(:valid) + .file-feedback::after {
M static/theme.jsstatic/theme.js

@@ -139,9 +139,13 @@ break;

} } - rule.style.setProperty("background", `url('${saveData[screen + "Screen"]}`); + const dataUrl = saveData[screen + "Screen"]; + if (dataUrl) { + + rule.style.setProperty("background", `url('${dataUrl}`); rule.style.setProperty("background-size", "cover"); rule.style.setProperty("background-attachment", "fixed"); + } } function initializeReaders() {