mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 15:33:56 +08:00
🎨 Sync 2026-06-18 22:47:39
This commit is contained in:
1 parent
94a3419742
commit
76f6ea98cd
79 files changed
+141
-518
No files matched your search
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-daede
|
||||
PKG_VERSION:=1.13.0
|
||||
PKG_RELEASE:=14
|
||||
PKG_RELEASE:=15
|
||||
PKG_MAINTAINER:=kenzok8
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
||||
@@ -152,6 +152,24 @@ const CSS = [
|
||||
'body.dark .dd-card,html[data-theme="dark"] .dd-card,html[data-bs-theme="dark"] .dd-card,html[data-darkmode="true"] .dd-card{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.02)}',
|
||||
'body.dark .dd-adv-bar,html[data-theme="dark"] .dd-adv-bar,html[data-bs-theme="dark"] .dd-adv-bar,html[data-darkmode="true"] .dd-adv-bar{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.10)}',
|
||||
'body.dark .dd-settings-card .cbi-value-field input,body.dark .dd-settings-card .cbi-value-field select,body.dark .dd-settings-card .cbi-value-field textarea,html[data-theme="dark"] .dd-settings-card .cbi-value-field input,html[data-theme="dark"] .dd-settings-card .cbi-value-field select,html[data-theme="dark"] .dd-settings-card .cbi-value-field textarea,html[data-bs-theme="dark"] .dd-settings-card .cbi-value-field input,html[data-bs-theme="dark"] .dd-settings-card .cbi-value-field select,html[data-bs-theme="dark"] .dd-settings-card .cbi-value-field textarea,html[data-darkmode="true"] .dd-settings-card .cbi-value-field input,html[data-darkmode="true"] .dd-settings-card .cbi-value-field select,html[data-darkmode="true"] .dd-settings-card .cbi-value-field textarea{border-color:rgba(255,255,255,.18)}',
|
||||
// Argon dark sets no DOM attr (esp. follow-system) — mirror dark rules via @media
|
||||
'@media (prefers-color-scheme: dark){',
|
||||
'.dd-edit-wrap .dd-hl{color:#c8cdd6;background:#1e2228}',
|
||||
'.dd-edit-wrap .dd-editor-hl{caret-color:#7fd0e8}',
|
||||
'.dh-c{color:#6b7280}',
|
||||
'.dh-s{color:#7ec699}',
|
||||
'.dh-k{color:#c792ea}',
|
||||
'.dh-f{color:#82c4dd}',
|
||||
'.dh-o{color:#e0a35a}',
|
||||
'.dh-g{color:#ec6fa8}',
|
||||
'.dd-editor-footer{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.04)}',
|
||||
'.dd-editor-footer .dd-fb-warn{color:#e0b34a}',
|
||||
'.dd-ph-warn-title{color:#e0b34a}',
|
||||
'.dd-ph-list .dd-ph-ln{color:#f0c763;background:rgba(217,158,0,.22)}',
|
||||
'.dd-card{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.02)}',
|
||||
'.dd-adv-bar{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.10)}',
|
||||
'.dd-settings-card .cbi-value-field input,.dd-settings-card .cbi-value-field select,.dd-settings-card .cbi-value-field textarea{border-color:rgba(255,255,255,.18)}',
|
||||
'}',
|
||||
/* status card line-2 meta (backend · pid), below the badge+toggle line */
|
||||
'.dd-status-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}',
|
||||
/* compact icon-only row actions — the 编辑/删除 text buttons are too wide
|
||||
|
||||
@@ -264,6 +264,7 @@ generate() {
|
||||
echo " }"
|
||||
echo " routing {"
|
||||
echo " request {"
|
||||
[ "$block_ads" = "1" ] && echo " qname(geosite:category-ads-all) -> reject"
|
||||
echo " qname(geosite:cn) -> cndns"
|
||||
echo " fallback: fallbackdns"
|
||||
echo " }"
|
||||
|
||||
Reference in new issue
Block a user