mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 21:43:56 +08:00
🦄 Sync 2026-08-20 06:28:12
This commit is contained in:
1 parent
86aeb09d2d
commit
f2c678e262
2 files changed
+5
-7
No files matched your search
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-passwall
|
PKG_NAME:=luci-app-passwall
|
||||||
PKG_VERSION:=26.8.19
|
PKG_VERSION:=26.8.19
|
||||||
PKG_RELEASE:=231
|
PKG_RELEASE:=232
|
||||||
PKG_PO_VERSION:=$(PKG_VERSION)
|
PKG_PO_VERSION:=$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:= \
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .3);
|
box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .3);
|
||||||
color: #525f7f;
|
color: #525f7f;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
z-index: 5;
|
z-index: 999;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,13 +75,10 @@ display:block !important;
|
|||||||
const _ASSETS = '/luci-static/passwall/';
|
const _ASSETS = '/luci-static/passwall/';
|
||||||
const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[passwall]], [[ip]])%>';
|
const CHECK_IP_URL = '<%=url([[admin]], [[services]], [[passwall]], [[ip]])%>';
|
||||||
|
|
||||||
let wW = window.innerWidth;
|
let statusBar = document.querySelector(".status-bar");
|
||||||
|
|
||||||
function resize() {
|
function resize() {
|
||||||
wW = window.innerWidth;
|
statusBar.style.width = document.getElementById("maincontent").offsetWidth + 'px';
|
||||||
let lw = document.querySelector(".main-left")?.offsetWidth ?? 5;
|
|
||||||
let statusBar = document.querySelector(".status-bar");
|
|
||||||
statusBar.style.width = (wW - lw) + 'px';
|
|
||||||
let flagElement = statusBar.querySelector(".flag");
|
let flagElement = statusBar.querySelector(".flag");
|
||||||
flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px';
|
flagElement.style.width = (flagElement.offsetHeight / 3 * 4) + 'px';
|
||||||
|
|
||||||
@@ -125,4 +122,5 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener('resize', resize);
|
window.addEventListener('resize', resize);
|
||||||
|
document.body.appendChild(statusBar);
|
||||||
</script>
|
</script>
|
||||||
Reference in new issue
Block a user