mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 06:22:52 +08:00
Update argon.patch
This commit is contained in:
1 parent
0b87d429f8
commit
f75f09c733
1 file changed
+13
-9
@@ -121,15 +121,6 @@
|
||||
main {
|
||||
display: block;
|
||||
}
|
||||
@@ -718,7 +734,7 @@ select[multiple="multiple"] {
|
||||
}
|
||||
.login-page .login-container {
|
||||
z-index: 10;
|
||||
- margin-left: 5%;
|
||||
+ margin: 0 auto;
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
width: 26rem;
|
||||
|
||||
--- a/luci-theme-argon/ucode/template/themes/argon/footer.ut
|
||||
+++ b/luci-theme-argon/ucode/template/themes/argon/footer.ut
|
||||
@@ -158,6 +149,19 @@
|
||||
<a class="luci-link" href="{{ version.disturl }}" target="_blank">{{ version.distname }} {{ version.distversion }}-{{ version.distrevision }}</a>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -42,6 +40,12 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
+ const loginContainer = document.querySelector(
|
||||
+ 'div[class="login-container"][style*="backdrop-filter: blur(0px)"]'
|
||||
+ );
|
||||
+ if (loginContainer) {
|
||||
+ loginContainer.style.margin = '0 auto';
|
||||
+ }
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
diff --git a/luci-theme-argon/htdocs/luci-static/argon/img/pattern.svg b/luci-theme-argon/htdocs/luci-static/argon/img/pattern.svg
|
||||
new file mode 100644
|
||||
index 000000000..72eb03cdc
|
||||
|
||||
Reference in new issue
Block a user