🐶 Sync 2024-09-11 13:46:54

This commit is contained in:
github-actions[bot] 2024-09-11 13:46:54 +08:00
parent 16b80199bd
commit 01b4d1da46
14 changed files with 821 additions and 406 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hickory-dns
PKG_VERSION:=master
PKG_RELEASE:=34
PKG_RELEASE:=35
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/hickory-dns/hickory-dns.git

View File

@ -0,0 +1,48 @@
diff --git a/crates/proto/src/h3/h3_client_stream.rs b/crates/proto/src/h3/h3_client_stream.rs
index 71220807..e728049f 100644
--- a/crates/proto/src/h3/h3_client_stream.rs
+++ b/crates/proto/src/h3/h3_client_stream.rs
@@ -369,7 +369,7 @@ impl H3ClientStreamBuilder {
if crypto_config.alpn_protocols.is_empty() {
crypto_config.alpn_protocols = vec![ALPN_H3.to_vec()];
}
- let early_data_enabled = crypto_config.enable_early_data;
+ let early_data_enabled = true;
let mut client_config =
ClientConfig::new(Arc::new(QuicClientConfig::try_from(crypto_config)?));
diff --git a/crates/proto/src/quic/quic_client_stream.rs b/crates/proto/src/quic/quic_client_stream.rs
index f760afd0..cfee9382 100644
--- a/crates/proto/src/quic/quic_client_stream.rs
+++ b/crates/proto/src/quic/quic_client_stream.rs
@@ -236,7 +236,7 @@ impl QuicClientStreamBuilder {
if crypto_config.alpn_protocols.is_empty() {
crypto_config.alpn_protocols = vec![quic_stream::DOQ_ALPN.to_vec()];
}
- let early_data_enabled = crypto_config.enable_early_data;
+ let early_data_enabled = true;
let mut client_config =
ClientConfig::new(Arc::new(QuicClientConfig::try_from(crypto_config)?));
diff --git a/crates/proto/src/rustls/tls_stream.rs b/crates/proto/src/rustls/tls_stream.rs
index 36ae1beb..cd839cab 100644
--- a/crates/proto/src/rustls/tls_stream.rs
+++ b/crates/proto/src/rustls/tls_stream.rs
@@ -119,7 +119,7 @@ pub fn tls_connect_with_bind_addr<S: Connect>(
BufDnsStreamHandle,
) {
let (message_sender, outbound_messages) = BufDnsStreamHandle::new(name_server);
- let early_data_enabled = client_config.enable_early_data;
+ let early_data_enabled = true;
let tls_connector = TlsConnector::from(client_config).early_data(early_data_enabled);
// This set of futures collapses the next tcp socket into a stream which can be used for
@@ -166,7 +166,7 @@ where
F: Future<Output = io::Result<S>> + Send + Unpin + 'static,
{
let (message_sender, outbound_messages) = BufDnsStreamHandle::new(name_server);
- let early_data_enabled = client_config.enable_early_data;
+ let early_data_enabled = true;
let tls_connector = TlsConnector::from(client_config).early_data(early_data_enabled);
// This set of futures collapses the next tcp socket into a stream which can be used for

View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_MAINTAINER:=Thaolga <https://github.com/Thaolga/luci-app-nekoclash>
PKG_NAME:=luci-app-nekoclash
PKG_VERSION:=1.2.8
PKG_RELEASE:=19
PKG_RELEASE:=20
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@ -16,7 +16,7 @@ define Package/$(PKG_NAME)
SUBMENU:=3. Applications
TITLE:=LuCI support for mihomo
PKGARCH:=all
DEPENDS:=+kmod-tun +bash +curl +jq +php8 +php8-cgi +php8-mod-curl
DEPENDS:=+kmod-tun +bash +curl +jq +php8 +php8-fastcgi +php8-cgi +php8-mod-curl
endef
define Package/$(PKG_NAME)/description

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

View File

@ -1,76 +1,162 @@
[data-bs-theme=ChineseRed] {
color-scheme: dark;
--bs-body-color: #e6dee3;
--bs-body-color-rgb: 222, 226, 230;
--bs-body-color: #fff;
--bs-body-bg: #C8102E;
--bs-body-bg-rgb: 33, 37, 41;
--bs-emphasis-color: #fff;
--bs-emphasis-color-rgb: 255, 255, 255;
--bs-secondary-color: rgba(222, 226, 230, 0.75);
--bs-secondary-color-rgb: 222, 226, 230;
--bs-secondary-bg: #C8102E;
--bs-secondary-bg-rgb: 200, 16, 46;
--bs-tertiary-color: rgba(222, 226, 230, 0.5);
--bs-tertiary-color-rgb: 222, 226, 230;
--bs-tertiary-bg: #C8102E;
--bs-tertiary-bg-rgb: 200, 16, 46;
--bs-primary-text-emphasis: #C8102E;
--bs-secondary-text-emphasis: #a7acb1;
--bs-success-text-emphasis: #75b798;
--bs-info-text-emphasis: #6edff6;
--bs-warning-text-emphasis: #ffda6a;
--bs-danger-text-emphasis: #C8102E;
--bs-light-text-emphasis: #f8f9fa;
--bs-dark-text-emphasis: #dee2e6;
--bs-primary-bg-subtle: #C8102E;
--bs-secondary-bg-subtle: #C8102E;
--bs-success-bg-subtle: #1b0516;
--bs-info-bg-subtle: #300328;
--bs-warning-bg-subtle: #332701;
--bs-danger-bg-subtle: #C8102E;
--bs-light-bg-subtle: #C8102E;
--bs-dark-bg-subtle: #C8102E;
--bs-primary-border-subtle: #084298;
--bs-secondary-border-subtle: #41464b;
--bs-success-border-subtle: #0f5132;
--bs-info-border-subtle: #087990;
--bs-warning-border-subtle: #997404;
--bs-danger-border-subtle: #C8102E;
--bs-light-border-subtle: #495057;
--bs-dark-border-subtle: #b34187;
--bs-heading-color: inherit;
--bs-secondary-color: rgba(255, 255, 255, 0.75);
--bs-tertiary-color: rgba(255, 255, 255, 0.5);
--bs-primary-bg: #C8102E;
--bs-secondary-bg: #C8102E;
--bs-success-bg: #C8102E;
--bs-info-bg: #C8102E;
--bs-warning-bg: #C8102E;
--bs-danger-bg: #C8102E;
--bs-light-bg: #C8102E;
--bs-dark-bg: #C8102E;
--bs-primary-border: #084298;
--bs-secondary-border: #41464b;
--bs-success-border: #0f5132;
--bs-info-border: #087990;
--bs-warning-border: #997404;
--bs-danger-border: #FFDEAD;
--bs-light-border: #495057;
--bs-dark-border: #b34187;
--bs-heading-color: #fff;
--bs-primary-text-emphasis: #fff;
--bs-secondary-text-emphasis: #fff;
--bs-success-text-emphasis: #fff;
--bs-info-text-emphasis: #fff;
--bs-warning-text-emphasis: #fff;
--bs-danger-text-emphasis: #fff;
--bs-light-text-emphasis: #fff;
--bs-dark-text-emphasis: #fff;
--bs-body-font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--bs-body-font-weight: 700;
--bs-heading-font-family: "Georgia", serif;
--bs-heading-font-weight: 600;
--bs-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.2);
--bs-shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.3);
--bs-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.25);
--bs-transition-speed: 0.2s;
--btn-secondary-bg: #6c757d;
--btn-secondary-color: #fff;
--btn-success-bg: #28a745;
--btn-success-color: #fff;
--btn-info-bg: #17a2b8;
--btn-info-color: #fff;
--btn-warning-bg: #ffc107;
--btn-warning-color: #212529;
--btn-danger-bg: #dc3545;
--btn-danger-color: #fff;
}
body {
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
font-family: var(--bs-body-font-family);
font-weight: var(--bs-body-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
h1, h2, h3, h4, h5, h6 {
color: var(--bs-heading-color);
font-family: var(--bs-heading-font-family);
font-weight: var(--bs-heading-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.container-bg {
background: var(--bs-dark-bg);
}
.table {
--bs-table-bg: var(--bs-secondary-bg-subtle);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
transform: translateZ(0);
background: var(--bs-dark-bg);
border: 1px solid var(--bs-secondary-border);
}
.form-control {
background-color: var(--bs-secondary-bg-subtle);
border-color: black;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
font-family: Andale Mono, monospace;
background-color: var(--bs-light-bg);
border: 1px solid var(--bs-dark-border);
color: var(--bs-body-color);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
button {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
transition: transform 0.2s ease, box-shadow 0.2s ease;
.form-control:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
.form-control:focus {
border-color: var(--bs-primary-border);
box-shadow: var(--bs-shadow-heavy);
}
.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
transform: translateZ(0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
.btn {
border: 1px solid var(--bs-primary-border);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
.btn-secondary {
background-color: var(--btn-secondary-bg);
color: var(--btn-secondary-color);
}
.btn-success {
background-color: var(--btn-success-bg);
color: var(--btn-success-color);
}
.btn-info {
background-color: var(--btn-info-bg);
color: var(--btn-info-color);
}
.btn-warning {
background-color: var(--btn-warning-bg);
color: var(--btn-warning-color);
}
.btn-danger {
background-color: var(--btn-danger-bg);
color: var(--btn-danger-color);
}
.btn-outline-success {
border-color: var(--btn-success-bg);
color: var(--btn-success-bg);
}
.btn-outline-danger {
border-color: var(--btn-danger-bg);
color: var(--btn-danger-bg);
}
.btn-outline-warning {
border-color: var(--btn-warning-bg);
color: var(--btn-warning-bg);
}
.btn-outline-dark {
border-color: var(--bs-dark-bg);
color: var(--bs-dark-bg);
}
.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.btn:active {
transform: translateY(1px) scale(0.98);
box-shadow: var(--bs-shadow-light);
}

View File

@ -1,91 +1,163 @@
[data-bs-theme=Green] {
color-scheme: dark;
--bs-body-color: #e6dee3;
--bs-body-color-rgb: 222, 226, 230;
--bs-body-bg: #228B22;
--bs-body-bg-rgb: 34, 139, 34;
--bs-body-color: #fff;
--bs-body-bg: #228B22;
--bs-emphasis-color: #fff;
--bs-emphasis-color-rgb: 255, 255, 255;
--bs-secondary-color: rgba(222, 226, 230, 0.75);
--bs-secondary-color-rgb: 222, 226, 230;
--bs-secondary-color: rgba(255, 255, 255, 0.75);
--bs-tertiary-color: rgba(255, 255, 255, 0.5);
--bs-primary-bg: #228B22;
--bs-secondary-bg: #228B22;
--bs-secondary-bg-rgb: 34, 139, 34;
--bs-tertiary-color: rgba(222, 226, 230, 0.5);
--bs-tertiary-color-rgb: 222, 226, 230;
--bs-tertiary-bg: #228B22;
--bs-tertiary-bg-rgb: 34, 139, 34;
--bs-primary-text-emphasis: #228B22;
--bs-secondary-text-emphasis: #a7acb1;
--bs-success-text-emphasis: #75b798;
--bs-info-text-emphasis: #6edff6;
--bs-warning-text-emphasis: #ffda6a;
--bs-danger-text-emphasis: #228B22;
--bs-light-text-emphasis: #f8f9fa;
--bs-dark-text-emphasis: #dee2e6;
--bs-primary-bg-subtle: #228B22;
--bs-secondary-bg-subtle: #228B22;
--bs-success-bg-subtle: #1b0516;
--bs-info-bg-subtle: #300328;
--bs-warning-bg-subtle: #332701;
--bs-danger-bg-subtle: #228B22;
--bs-light-bg-subtle: #228B22;
--bs-dark-bg-subtle: #228B22;
--bs-primary-border-subtle: #084298;
--bs-secondary-border-subtle: #41464b;
--bs-success-border-subtle: #0f5132;
--bs-info-border-subtle: #087990;
--bs-warning-border-subtle: #997404;
--bs-danger-border-subtle: #228B22;
--bs-light-border-subtle: #495057;
--bs-dark-border-subtle: #b34187;
--bs-heading-color: inherit;
--bs-success-bg: #228B22;
--bs-info-bg: #228B22;
--bs-warning-bg: #228B22;
--bs-danger-bg: #228B22;
--bs-light-bg: #228B22;
--bs-dark-bg: #228B22;
--bs-primary-border: #084298;
--bs-secondary-border: #41464b;
--bs-success-border: #0f5132;
--bs-info-border: #087990;
--bs-warning-border: #997404;
--bs-danger-border: #FFDEAD;
--bs-light-border: #495057;
--bs-dark-border: #b34187;
--bs-heading-color: #fff;
--bs-primary-text-emphasis: #fff;
--bs-secondary-text-emphasis: #fff;
--bs-success-text-emphasis: #fff;
--bs-info-text-emphasis: #fff;
--bs-warning-text-emphasis: #fff;
--bs-danger-text-emphasis: #fff;
--bs-light-text-emphasis: #fff;
--bs-dark-text-emphasis: #fff;
--bs-body-font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--bs-body-font-weight: 700;
--bs-heading-font-family: "Georgia", serif;
--bs-heading-font-weight: 600;
--bs-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.2);
--bs-shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.3);
--bs-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.25);
--bs-transition-speed: 0.2s;
--btn-secondary-bg: #6c757d;
--btn-secondary-color: #fff;
--btn-success-bg: #28a745;
--btn-success-color: #fff;
--btn-info-bg: #17a2b8;
--btn-info-color: #fff;
--btn-warning-bg: #ffc107;
--btn-warning-color: #212529;
--btn-danger-bg: #dc3545;
--btn-danger-color: #fff;
}
body {
background-image: url("/nekoclash/assets/img/loading.svg");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
perspective: 1000px;
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
font-family: var(--bs-body-font-family);
font-weight: var(--bs-body-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.table {
--bs-table-bg: var(--bs-secondary-bg-subtle);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
transform: translateZ(0);
}
.form-control {
background-color: var(--bs-secondary-bg-subtle);
border-color: black;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}
button {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}
.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
transform: translateZ(0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
h1, h2, h3, h4, h5, h6 {
color: var(--bs-heading-color);
font-family: var(--bs-heading-font-family);
font-weight: var(--bs-heading-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.container-bg {
background: var(--bs-dark-bg-subtle);
background: var(--bs-dark-bg);
}
.table {
background: var(--bs-dark-bg);
border: 1px solid var(--bs-secondary-border);
}
.form-control {
font-family: Andale Mono, monospace;
background-color: var(--bs-light-bg);
border: 1px solid var(--bs-dark-border);
color: var(--bs-body-color);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.form-control:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.form-control:focus {
border-color: var(--bs-primary-border);
box-shadow: var(--bs-shadow-heavy);
}
.btn {
border: 1px solid var(--bs-primary-border);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.btn-secondary {
background-color: var(--btn-secondary-bg);
color: var(--btn-secondary-color);
}
.btn-success {
background-color: var(--btn-success-bg);
color: var(--btn-success-color);
}
.btn-info {
background-color: var(--btn-info-bg);
color: var(--btn-info-color);
}
.btn-warning {
background-color: var(--btn-warning-bg);
color: var(--btn-warning-color);
}
.btn-danger {
background-color: var(--btn-danger-bg);
color: var(--btn-danger-color);
}
.btn-outline-success {
border-color: var(--btn-success-bg);
color: var(--btn-success-bg);
}
.btn-outline-danger {
border-color: var(--btn-danger-bg);
color: var(--btn-danger-bg);
}
.btn-outline-warning {
border-color: var(--btn-warning-bg);
color: var(--btn-warning-bg);
}
.btn-outline-dark {
border-color: var(--bs-dark-bg);
color: var(--bs-dark-bg);
}
.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.btn:active {
transform: translateY(1px) scale(0.98);
box-shadow: var(--bs-shadow-light);
}

View File

@ -1,96 +1,163 @@
[data-bs-theme=Skyblue] {
color-scheme: dark;
--bs-body-color: #000;
--bs-body-color-rgb: 0, 0, 0;
--bs-body-color: #fff;
--bs-body-bg: #87ceeb;
--bs-body-bg-rgb: 135, 206, 235;
--bs-emphasis-color: #000;
--bs-emphasis-color-rgb: 0, 0, 0;
--bs-secondary-color: rgba(0, 0, 0, 0.75);
--bs-secondary-color-rgb: 0, 0, 0;
--bs-emphasis-color: #fff;
--bs-secondary-color: rgba(255, 255, 255, 0.75);
--bs-tertiary-color: rgba(255, 255, 255, 0.5);
--bs-primary-bg: #87ceeb;
--bs-secondary-bg: #87ceeb;
--bs-secondary-bg-rgb: 135, 206, 235;
--bs-tertiary-color: rgba(0, 0, 0, 0.5);
--bs-tertiary-color-rgb: 0, 0, 0;
--bs-tertiary-bg: #87ceeb;
--bs-tertiary-bg-rgb: 135, 206, 235;
--bs-primary-text-emphasis: #000;
--bs-secondary-text-emphasis: #000;
--bs-success-text-emphasis: #000;
--bs-info-text-emphasis: #000;
--bs-warning-text-emphasis: #000;
--bs-danger-text-emphasis: #000;
--bs-light-text-emphasis: #000;
--bs-dark-text-emphasis: #000;
--bs-primary-bg-subtle: #87ceeb;
--bs-secondary-bg-subtle: #87ceeb;
--bs-success-bg-subtle: #1b0516;
--bs-info-bg-subtle: #300328;
--bs-warning-bg-subtle: #332701;
--bs-danger-bg-subtle: #87ceeb;
--bs-light-bg-subtle: #87ceeb;
--bs-dark-bg-subtle: #87ceeb;
--bs-primary-border-subtle: #084298;
--bs-secondary-border-subtle: #41464b;
--bs-success-border-subtle: #0f5132;
--bs-info-border-subtle: #087990;
--bs-warning-border-subtle: #997404;
--bs-danger-border-subtle: #87ceeb;
--bs-light-border-subtle: #495057;
--bs-dark-border-subtle: #b34187;
--bs-heading-color: #000;
--bs-success-bg: #87ceeb;
--bs-info-bg: #87ceeb;
--bs-warning-bg: #87ceeb;
--bs-danger-bg: #87ceeb;
--bs-light-bg: #87ceeb;
--bs-dark-bg: #87ceeb;
--bs-primary-border: #084298;
--bs-secondary-border: #41464b;
--bs-success-border: #0f5132;
--bs-info-border: #087990;
--bs-warning-border: #997404;
--bs-danger-border: #FFDEAD;
--bs-light-border: #495057;
--bs-dark-border: #b34187;
--bs-heading-color: #fff;
--bs-primary-text-emphasis: #fff;
--bs-secondary-text-emphasis: #fff;
--bs-success-text-emphasis: #fff;
--bs-info-text-emphasis: #fff;
--bs-warning-text-emphasis: #fff;
--bs-danger-text-emphasis: #fff;
--bs-light-text-emphasis: #fff;
--bs-dark-text-emphasis: #fff;
--bs-body-font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--bs-body-font-weight: 700;
--bs-heading-font-family: "Georgia", serif;
--bs-heading-font-weight: 600;
.table {
--bs-table-bg: var(--bs-dark-bg-subtle);
border-collapse: separate;
border-spacing: 0 0.5rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}
--bs-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.2);
--bs-shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.3);
--bs-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.25);
.h1, .h2 {
font-weight: var(--bs-body-font-weight);
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
--bs-transition-speed: 0.2s;
.container-bg {
background: var(--bs-dark-bg-subtle);
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
.form-control {
font-family: Andale Mono, monospace;
background-color: var(--bs-light-bg-subtle);
border-color: black;
color: #000;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
border-radius: 5px;
perspective: 1000px;
}
.form-control:hover {
transform: translateY(-5px) rotateX(3deg) rotateY(3deg);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
filter: brightness(1.1);
}
.btn {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
border-radius: 5px;
perspective: 1000px;
}
.btn:hover {
transform: translateY(-5px) rotateX(3deg) rotateY(3deg);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
filter: brightness(1.1);
}
.btn:active {
transform: translateY(2px) scale(0.98);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.15);
}
--btn-secondary-bg: #6c757d;
--btn-secondary-color: #fff;
--btn-success-bg: #28a745;
--btn-success-color: #fff;
--btn-info-bg: #17a2b8;
--btn-info-color: #fff;
--btn-warning-bg: #ffc107;
--btn-warning-color: #212529;
--btn-danger-bg: #dc3545;
--btn-danger-color: #fff;
}
body {
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
font-family: var(--bs-body-font-family);
font-weight: var(--bs-body-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
h1, h2, h3, h4, h5, h6 {
color: var(--bs-heading-color);
font-family: var(--bs-heading-font-family);
font-weight: var(--bs-heading-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.container-bg {
background: var(--bs-dark-bg);
}
.table {
background: var(--bs-dark-bg);
border: 1px solid var(--bs-secondary-border);
}
.form-control {
font-family: Andale Mono, monospace;
background-color: var(--bs-light-bg);
border: 1px solid var(--bs-dark-border);
color: var(--bs-body-color);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.form-control:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.form-control:focus {
border-color: var(--bs-primary-border);
box-shadow: var(--bs-shadow-heavy);
}
.btn {
border: 1px solid var(--bs-primary-border);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.btn-secondary {
background-color: var(--btn-secondary-bg);
color: var(--btn-secondary-color);
}
.btn-success {
background-color: var(--btn-success-bg);
color: var(--btn-success-color);
}
.btn-info {
background-color: var(--btn-info-bg);
color: var(--btn-info-color);
}
.btn-warning {
background-color: var(--btn-warning-bg);
color: var(--btn-warning-color);
}
.btn-danger {
background-color: var(--btn-danger-bg);
color: var(--btn-danger-color);
}
.btn-outline-success {
border-color: var(--btn-success-bg);
color: var(--btn-success-bg);
}
.btn-outline-danger {
border-color: var(--btn-danger-bg);
color: var(--btn-danger-bg);
}
.btn-outline-warning {
border-color: var(--btn-warning-bg);
color: var(--btn-warning-bg);
}
.btn-outline-dark {
border-color: var(--bs-dark-bg);
color: var(--bs-dark-bg);
}
.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.btn:active {
transform: translateY(1px) scale(0.98);
box-shadow: var(--bs-shadow-light);
}

View File

@ -1,46 +1,163 @@
[data-bs-theme=dark] {
color-scheme: dark;
--bs-body-color: #fff;
--bs-body-bg: #333;
--bs-emphasis-color: #fff;
--bs-secondary-color: rgba(255, 255, 255, 0.75);
--bs-tertiary-color: rgba(255, 255, 255, 0.5);
--bs-primary-bg: #333;
--bs-secondary-bg: #333;
--bs-success-bg: #333;
--bs-info-bg: #333;
--bs-warning-bg: #333;
--bs-danger-bg: #333;
--bs-light-bg: #333;
--bs-dark-bg: #333;
--bs-primary-border: #333;
--bs-secondary-border: #333;
--bs-success-border: #333;
--bs-info-border: #333;
--bs-warning-border: #333;
--bs-danger-border: #333;
--bs-light-border: #333;
--bs-dark-border: #333;
--bs-heading-color: #fff;
--bs-primary-text-emphasis: #fff;
--bs-secondary-text-emphasis: #fff;
--bs-success-text-emphasis: #fff;
--bs-info-text-emphasis: #fff;
--bs-warning-text-emphasis: #fff;
--bs-danger-text-emphasis: #fff;
--bs-light-text-emphasis: #fff;
--bs-dark-text-emphasis: #fff;
--bs-body-font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--bs-body-font-weight: 700;
--bs-heading-font-family: "Georgia", serif;
--bs-heading-font-weight: 600;
--bs-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.2);
--bs-shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.3);
--bs-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.25);
--bs-transition-speed: 0.2s;
--btn-secondary-bg: #6c757d;
--btn-secondary-color: #fff;
--btn-success-bg: #28a745;
--btn-success-color: #fff;
--btn-info-bg: #17a2b8;
--btn-info-color: #fff;
--btn-warning-bg: #ffc107;
--btn-warning-color: #212529;
--btn-danger-bg: #dc3545;
--btn-danger-color: #fff;
}
body {
background-image: url("/nekoclash/assets/img/cool.jpg");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
perspective: 1000px;
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
font-family: var(--bs-body-font-family);
font-weight: var(--bs-body-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
h1, h2, h3, h4, h5, h6 {
color: var(--bs-heading-color);
font-family: var(--bs-heading-font-family);
font-weight: var(--bs-heading-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.container-bg {
background: var(--bs-dark-bg);
}
.table {
--bs-table-bg: var(--bs-secondary-bg-subtle);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
transform: translateZ(0);
background: var(--bs-dark-bg);
border: 1px solid var(--bs-secondary-border);
}
.form-control {
background-color: var(--bs-secondary-bg-subtle);
border-color: black;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
font-family: Andale Mono, monospace;
background-color: var(--bs-light-bg);
border: 1px solid var(--bs-dark-border);
color: var(--bs-body-color);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
button {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
transition: transform 0.2s ease, box-shadow 0.2s ease;
.form-control:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
.form-control:focus {
border-color: var(--bs-primary-border);
box-shadow: var(--bs-shadow-heavy);
}
.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
transform: translateZ(0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
.btn {
border: 1px solid var(--bs-primary-border);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
}
.btn-secondary {
background-color: var(--btn-secondary-bg);
color: var(--btn-secondary-color);
}
.btn-success {
background-color: var(--btn-success-bg);
color: var(--btn-success-color);
}
.btn-info {
background-color: var(--btn-info-bg);
color: var(--btn-info-color);
}
.btn-warning {
background-color: var(--btn-warning-bg);
color: var(--btn-warning-color);
}
.btn-danger {
background-color: var(--btn-danger-bg);
color: var(--btn-danger-color);
}
.btn-outline-success {
border-color: var(--btn-success-bg);
color: var(--btn-success-bg);
}
.btn-outline-danger {
border-color: var(--btn-danger-bg);
color: var(--btn-danger-bg);
}
.btn-outline-warning {
border-color: var(--btn-warning-bg);
color: var(--btn-warning-bg);
}
.btn-outline-dark {
border-color: var(--bs-dark-bg);
color: var(--bs-dark-bg);
}
.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.btn:active {
transform: translateY(1px) scale(0.98);
box-shadow: var(--bs-shadow-light);
}

View File

@ -1,79 +0,0 @@
[data-bs-theme=ivory] {
color-scheme: light;
--bs-body-color: #555555; /* 深色文本 */
--bs-body-color-rgb: 85, 85, 85;
--bs-body-bg: #fffff0;
--bs-body-bg-rgb: 255, 255, 240;
--bs-emphasis-color: #000; /* 黑色文本 */
--bs-emphasis-color-rgb: 0, 0, 0;
--bs-secondary-color: rgba(85, 85, 85, 0.75); /* 深色文本 */
--bs-secondary-color-rgb: 85, 85, 85;
--bs-secondary-bg: #fffff0;
--bs-secondary-bg-rgb: 255, 255, 240;
--bs-tertiary-color: rgba(85, 85, 85, 0.5); /* 深色文本 */
--bs-tertiary-color-rgb: 85, 85, 85;
--bs-tertiary-bg: #fffff0;
--bs-tertiary-bg-rgb: 255, 255, 240;
--bs-primary-text-emphasis: #6ea8fe;
--bs-secondary-text-emphasis: #a7acb1;
--bs-success-text-emphasis: #75b798;
--bs-info-text-emphasis: #6edff6;
--bs-warning-text-emphasis: #ffda6a;
--bs-danger-text-emphasis: #ea868f;
--bs-light-text-emphasis: #f8f9fa;
--bs-dark-text-emphasis: #dee2e6;
--bs-primary-bg-subtle: #fffff0;
--bs-secondary-bg-subtle: #fffff0;
--bs-success-bg-subtle: #d1e7dd;
--bs-info-bg-subtle: #cff4fc;
--bs-warning-bg-subtle: #fff3cd;
--bs-danger-bg-subtle: #f8d7da;
--bs-light-bg-subtle: #fffff0;
--bs-dark-bg-subtle: #fffff0;
--bs-primary-border-subtle: #084298;
--bs-secondary-border-subtle: #41464b;
--bs-success-border-subtle: #0f5132;
--bs-info-border-subtle: #087990;
--bs-warning-border-subtle: #997404;
--bs-danger-border-subtle: #842029;
--bs-light-border-subtle: #495057;
--bs-dark-border-subtle: #b34187;
--bs-heading-color: inherit;
--bs-body-font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--bs-body-font-weight: 700;
.table {
--bs-table-bg: var(--bs-secondary-bg-subtle);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
transform: translateZ(0);
}
.form-control {
background-color: var(--bs-secondary-bg-subtle);
border-color: black;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}
button {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}
.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
transform: translateZ(0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
}

View File

@ -11,7 +11,7 @@
--bs-success-bg: #1b0516;
--bs-info-bg: #300328;
--bs-warning-bg: #332701;
--bs-danger-bg: #FFFFFF;
--bs-danger-bg: #FFFFFF;
--bs-light-bg: #FFFFFF;
--bs-dark-bg: #FFFFFF;
@ -20,7 +20,7 @@
--bs-success-border: #0f5132;
--bs-info-border: #087990;
--bs-warning-border: #997404;
--bs-danger-border: #FFFFFF;
--bs-danger-border: #FFFFFF;
--bs-light-border: #495057;
--bs-dark-border: #b34187;

View File

@ -1,78 +1,162 @@
[data-bs-theme=pink] {
color-scheme: dark;
--bs-body-color: #e6dee3;
--bs-body-color-rgb: 222, 226, 230;
--bs-body-bg: #ff69b4;
--bs-body-bg-rgb: 255, 105, 180;
--bs-body-color: #fff;
--bs-body-bg: #FF69B4;
--bs-emphasis-color: #fff;
--bs-emphasis-color-rgb: 255, 255, 255;
--bs-secondary-color: rgba(222, 226, 230, 0.75);
--bs-secondary-color-rgb: 222, 226, 230;
--bs-secondary-bg: #ff69b4;
--bs-secondary-bg-rgb: 255, 105, 180;
--bs-tertiary-color: rgba(222, 226, 230, 0.5);
--bs-tertiary-color-rgb: 222, 226, 230;
--bs-tertiary-bg: #ff69b4;
--bs-tertiary-bg-rgb: 255, 105, 180;
--bs-primary-text-emphasis: #6ea8fe;
--bs-secondary-text-emphasis: #a7acb1;
--bs-success-text-emphasis: #75b798;
--bs-info-text-emphasis: #6edff6;
--bs-warning-text-emphasis: #ffda6a;
--bs-danger-text-emphasis: #ea868f;
--bs-light-text-emphasis: #f8f9fa;
--bs-dark-text-emphasis: #dee2e6;
--bs-primary-bg-subtle: #ff69b4;
--bs-secondary-bg-subtle: #ff69b4;
--bs-success-bg-subtle: #1b0516;
--bs-info-bg-subtle: #300328;
--bs-warning-bg-subtle: #332701;
--bs-danger-bg-subtle: #2c0b0e;
--bs-light-bg-subtle: #ff69b4;
--bs-dark-bg-subtle: #ff69b4;
--bs-primary-border-subtle: #084298;
--bs-secondary-border-subtle: #41464b;
--bs-success-border-subtle: #0f5132;
--bs-info-border-subtle: #087990;
--bs-warning-border-subtle: #997404;
--bs-danger-border-subtle: #842029;
--bs-light-border-subtle: #495057;
--bs-dark-border-subtle: #b34187;
--bs-heading-color: inherit;
--bs-secondary-color: rgba(255, 255, 255, 0.75);
--bs-tertiary-color: rgba(255, 255, 255, 0.5);
--bs-primary-bg: #FF69B4;
--bs-secondary-bg: #FF69B4;
--bs-success-bg: #FF69B4;
--bs-info-bg: #FF69B4;
--bs-warning-bg: #FF69B4;
--bs-danger-bg: #FF69B4;
--bs-light-bg: #FF69B4;
--bs-dark-bg: #FF69B4;
--bs-primary-border: #084298;
--bs-secondary-border: #41464b;
--bs-success-border: #0f5132;
--bs-info-border: #087990;
--bs-warning-border: #997404;
--bs-danger-border: #FFDEAD;
--bs-light-border: #495057;
--bs-dark-border: #b34187;
--bs-heading-color: #fff;
--bs-primary-text-emphasis: #fff;
--bs-secondary-text-emphasis: #fff;
--bs-success-text-emphasis: #fff;
--bs-info-text-emphasis: #fff;
--bs-warning-text-emphasis: #fff;
--bs-danger-text-emphasis: #fff;
--bs-light-text-emphasis: #fff;
--bs-dark-text-emphasis: #fff;
--bs-body-font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
--bs-body-font-weight: 700;
--bs-heading-font-family: "Georgia", serif;
--bs-heading-font-weight: 600;
.table {
--bs-table-bg: var(--bs-secondary-bg-subtle);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
transform: translateZ(0);
}
--bs-shadow-light: 0 4px 8px rgba(0, 0, 0, 0.2);
--bs-shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.3);
--bs-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.25);
.form-control {
background-color: var(--bs-secondary-bg-subtle);
border-color: black;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}
--bs-transition-speed: 0.2s;
button {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}
.card {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
transform: translateZ(0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15);
}
--btn-secondary-bg: #6c757d;
--btn-secondary-color: #fff;
--btn-success-bg: #28a745;
--btn-success-color: #fff;
--btn-info-bg: #17a2b8;
--btn-info-color: #fff;
--btn-warning-bg: #ffc107;
--btn-warning-color: #212529;
--btn-danger-bg: #dc3545;
--btn-danger-color: #fff;
}
body {
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
font-family: var(--bs-body-font-family);
font-weight: var(--bs-body-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
h1, h2, h3, h4, h5, h6 {
color: var(--bs-heading-color);
font-family: var(--bs-heading-font-family);
font-weight: var(--bs-heading-font-weight);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.container-bg {
background: var(--bs-dark-bg);
}
.table {
background: var(--bs-dark-bg);
border: 1px solid var(--bs-secondary-border);
}
.form-control {
font-family: Andale Mono, monospace;
background-color: var(--bs-light-bg);
border: 1px solid var(--bs-dark-border);
color: var(--bs-body-color);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.form-control:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.form-control:focus {
border-color: var(--bs-primary-border);
box-shadow: var(--bs-shadow-heavy);
}
.btn {
border: 1px solid var(--bs-primary-border);
box-shadow: var(--bs-shadow-light);
transition: transform var(--bs-transition-speed), box-shadow var(--bs-transition-speed);
}
.btn-secondary {
background-color: var(--btn-secondary-bg);
color: var(--btn-secondary-color);
}
.btn-success {
background-color: var(--btn-success-bg);
color: var(--btn-success-color);
}
.btn-info {
background-color: var(--btn-info-bg);
color: var(--btn-info-color);
}
.btn-warning {
background-color: var(--btn-warning-bg);
color: var(--btn-warning-color);
}
.btn-danger {
background-color: var(--btn-danger-bg);
color: var(--btn-danger-color);
}
.btn-outline-success {
border-color: var(--btn-success-bg);
color: var(--btn-success-bg);
}
.btn-outline-danger {
border-color: var(--btn-danger-bg);
color: var(--btn-danger-bg);
}
.btn-outline-warning {
border-color: var(--btn-warning-bg);
color: var(--btn-warning-bg);
}
.btn-outline-dark {
border-color: var(--bs-dark-bg);
color: var(--bs-dark-bg);
}
.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: var(--bs-shadow-medium);
}
.btn:active {
transform: translateY(1px) scale(0.98);
box-shadow: var(--bs-shadow-light);
}

View File

@ -24,11 +24,31 @@ fi
echo "[ `date +%T` ] - Checking Files"
files_check() {
uci set uhttpd.main.index_page='index.php'
uci set uhttpd.main.interpreter='.php=/usr/bin/php-cgi'
uci commit uhttpd
if [ -n "$(command -v nginx)" ];then
cat << 'EOF' > /etc/nginx/conf.d/nekoclash.locations
location /nekoclash {
alias /www/nekoclash;
index index.php index.html index.htm;
/etc/init.d/uhttpd restart
location ~ \.php$ {
if (!-f $request_filename) {
return 404;
}
fastcgi_pass 127.0.0.1:1026;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
EOF
/etc/init.d/nginx restart
else
uci set uhttpd.main.index_page='index.php'
uci set uhttpd.main.interpreter='.php=/usr/bin/php-cgi'
uci commit uhttpd
/etc/init.d/uhttpd restart
fi
case "$arch" in
aarch64)

View File

@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mihomo
PKG_RELEASE:=51
PKG_RELEASE:=52
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/MetaCubeX/mihomo.git
PKG_SOURCE_DATE:=2024-09-09
PKG_SOURCE_VERSION:=7c8f451892258afe80e211867a118cd1d6aba63c
PKG_SOURCE_DATE:=2024-09-10
PKG_SOURCE_VERSION:=417d709d605a070d3e59cb7cb04e763eccffa372
PKG_MIRROR_HASH:=skip
PKG_LICENSE:=MIT