diff --git a/luci-base/htdocs/luci-static/resources/rpc.js b/luci-base/htdocs/luci-static/resources/rpc.js index 72ccbd26..b69a6886 100644 --- a/luci-base/htdocs/luci-static/resources/rpc.js +++ b/luci-base/htdocs/luci-static/resources/rpc.js @@ -35,7 +35,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ { } return request.post(rpcBaseURL + q, req, { - timeout: (L.env.rpctimeout ?? 20) * 1000, + timeout: (L.env.rpctimeout ?? 60) * 1000, nobatch, credentials: true }).then(cb, cb); diff --git a/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-192x192.png b/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-192x192.png index 1aa87b41..5528d30c 100644 Binary files a/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-192x192.png and b/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-192x192.png differ diff --git a/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-512x512.png b/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-512x512.png index 09989ad7..4677b964 100644 Binary files a/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-512x512.png and b/luci-theme-aurora/.dev/public/aurora/images/pwa/app-icon-512x512.png differ diff --git a/luci-theme-aurora/.dev/public/aurora/images/pwa/app.webmanifest b/luci-theme-aurora/.dev/public/aurora/images/pwa/app.webmanifest index df004ec1..0e70ceae 100644 --- a/luci-theme-aurora/.dev/public/aurora/images/pwa/app.webmanifest +++ b/luci-theme-aurora/.dev/public/aurora/images/pwa/app.webmanifest @@ -11,7 +11,7 @@ "src": "/luci-static/aurora/images/pwa/app-icon-192x192.png", "sizes": "192x192", "type": "image/png", - "purpose": "any" + "purpose": "any maskable" }, { "src": "/luci-static/aurora/images/pwa/app-icon-512x512.png", diff --git a/luci-theme-aurora/.dev/public/aurora/images/pwa/apple-touch-icon.png b/luci-theme-aurora/.dev/public/aurora/images/pwa/apple-touch-icon.png index 63bde810..51928fd8 100644 Binary files a/luci-theme-aurora/.dev/public/aurora/images/pwa/apple-touch-icon.png and b/luci-theme-aurora/.dev/public/aurora/images/pwa/apple-touch-icon.png differ diff --git a/luci-theme-aurora/.dev/src/media/_layout.css b/luci-theme-aurora/.dev/src/media/_layout.css index a12314de..c1d10db6 100644 --- a/luci-theme-aurora/.dev/src/media/_layout.css +++ b/luci-theme-aurora/.dev/src/media/_layout.css @@ -194,7 +194,7 @@ header { #syslog, #log_textarea { - @apply w-full text-xs leading-snug; + @apply w-full font-mono text-xs leading-snug; } #syslog { diff --git a/luci-theme-aurora/.dev/src/media/_patches.css b/luci-theme-aurora/.dev/src/media/_patches.css index bed62443..01810ab2 100644 --- a/luci-theme-aurora/.dev/src/media/_patches.css +++ b/luci-theme-aurora/.dev/src/media/_patches.css @@ -34,14 +34,46 @@ @apply rounded-none; } @apply bg-panel-bg/95 not-[.tr]:border-border/40 not-[.tr]:hover:border-border/50 max-md:bg-panel-bg/98 not-[.tr]:max-md:border-border/30 not-[.tr]:border not-[.tr]:shadow-lg not-[.tr]:hover:shadow-xl not-[.tr]:max-md:border; + + /* Dark mode: override custom.css hardcoded light-mode colors on all text nodes */ + & span { + @apply dark:text-foreground!; + } + & td { + @apply dark:text-foreground!; + } + & th { + @apply dark:text-foreground!; + } + + img[src*=".svg"] { + @apply dark:invert; + } + + /* Compact spacing for assoclist cells (carry .td/.th classes) */ + & .td { + @apply py-2 max-md:py-1; + } + & .th { + @apply py-2; + } + + /* Inline info tables (e.g. DNS): strip card decoration, restore table layout */ + & .table:not(.assoclist) { + @apply border-0 rounded-none shadow-none bg-transparent mb-0; + & tr { + @apply hover:bg-transparent max-md:table-row max-md:border-0 max-md:px-0 max-md:py-0; + } + & td { + @apply border-0 px-0 py-0.5 max-md:table-cell; + &:first-child { + @apply pr-2 whitespace-nowrap opacity-70; + } + } + } } .title { - img { - &[src*=".svg"] { - @apply dark:invert; - } - } h3 { @apply text-foreground border-0 pb-4 max-md:mx-0 max-md:pb-2; } diff --git a/luci-theme-aurora/Makefile b/luci-theme-aurora/Makefile index d552b76d..86a413b7 100644 --- a/luci-theme-aurora/Makefile +++ b/luci-theme-aurora/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Aurora Theme (A modern browser theme built with Vite and Tailwind CSS) LUCI_DEPENDS:=+luci-base -PKG_VERSION:=0.11.10 -PKG_RELEASE:=13 +PKG_VERSION:=0.11.11 +PKG_RELEASE:=14 PKG_LICENSE:=Apache-2.0 LUCI_MINIFY_CSS:= diff --git a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-192x192.png b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-192x192.png index 1aa87b41..5528d30c 100644 Binary files a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-192x192.png and b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-192x192.png differ diff --git a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-512x512.png b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-512x512.png index 09989ad7..4677b964 100644 Binary files a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-512x512.png and b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app-icon-512x512.png differ diff --git a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app.webmanifest b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app.webmanifest index df004ec1..0e70ceae 100644 --- a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app.webmanifest +++ b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/app.webmanifest @@ -11,7 +11,7 @@ "src": "/luci-static/aurora/images/pwa/app-icon-192x192.png", "sizes": "192x192", "type": "image/png", - "purpose": "any" + "purpose": "any maskable" }, { "src": "/luci-static/aurora/images/pwa/app-icon-512x512.png", diff --git a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/apple-touch-icon.png b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/apple-touch-icon.png index 63bde810..51928fd8 100644 Binary files a/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/apple-touch-icon.png and b/luci-theme-aurora/htdocs/luci-static/aurora/images/pwa/apple-touch-icon.png differ diff --git a/luci-theme-aurora/ucode/template/themes/aurora/header.ut b/luci-theme-aurora/ucode/template/themes/aurora/header.ut index f2c4c6de..b501a8ab 100644 --- a/luci-theme-aurora/ucode/template/themes/aurora/header.ut +++ b/luci-theme-aurora/ucode/template/themes/aurora/header.ut @@ -124,8 +124,8 @@ {% else %} - {% endif %} +