Update argon.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-08-29 06:28:32 +08:00
1 parent c255e197f1
commit 49c2813666
1 file changed
+18 -30
+18 -30
View File
@@ -51,24 +51,12 @@
{% endif %} {% endif %}
<!-- Login Container Start --> <!-- Login Container Start -->
--- a/luci-theme-argon/less/sysauth.less --- a/luci-theme-argon/htdocs/luci-static/argon/css/cascade.css
+++ b/luci-theme-argon/less/sysauth.less +++ b/luci-theme-argon/htdocs/luci-static/argon/css/cascade.css
@@ -75,7 +75,7 @@ @@ -103,6 +103,21 @@ body {
// Login container -webkit-tap-highlight-color: transparent;
.login-container { font-size: 0.875rem;
z-index: 10; }
- margin-left: 5%;
+ margin: 0 auto;
display: flex;
height: 100vh;
width: 26rem;
--- a/luci-theme-argon/less/layout.less
+++ b/luci-theme-argon/less/layout.less
@@ -7,6 +7,20 @@
// 1. Main Container Layout
// ==========================================================================
+body::before { +body::before {
+ content: ""; + content: "";
+ background-image: url("/luci-static/argon/img/pattern.svg"); + background-image: url("/luci-static/argon/img/pattern.svg");
@@ -83,19 +71,19 @@
+ pointer-events: none; + pointer-events: none;
+ opacity: .3; + opacity: .3;
+} +}
+.main .main-right{background-color: transparent !important}
.main { main {
position: relative; display: block;
@@ -15,6 +29,9 @@
overflow-y: auto;
display: flex;
flex-direction: row;
+ .main-right {
+ background-color: transparent !important;
+ }
} }
@@ -718,7 +733,7 @@ select[multiple="multiple"] {
// 2. Left Sidebar Layout }
.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 --- a/luci-theme-argon/ucode/template/themes/argon/footer.ut
+++ b/luci-theme-argon/ucode/template/themes/argon/footer.ut +++ b/luci-theme-argon/ucode/template/themes/argon/footer.ut