From 041eea9a7a0bb3cf3028bab04cadffc53c2e6659 Mon Sep 17 00:00:00 2001
From: Youzini-afk <13153778771cx@gmail.com>
Date: Tue, 24 Mar 2026 19:24:06 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E9=85=8D=E7=BD=AE?=
=?UTF-8?q?=E9=A1=B5=E6=B5=8B=E8=AF=95=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
panel.html | 10 ++++----
style.css | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 73 insertions(+), 5 deletions(-)
diff --git a/panel.html b/panel.html
index a5d8ad9..cd89a28 100644
--- a/panel.html
+++ b/panel.html
@@ -368,8 +368,9 @@
/>
-
@@ -468,8 +469,9 @@
-
diff --git a/style.css b/style.css
index 6c23c43..10ad23d 100644
--- a/style.css
+++ b/style.css
@@ -924,9 +924,67 @@
.bme-config-actions {
display: flex;
- justify-content: flex-end;
+ justify-content: flex-start;
gap: 8px;
flex-wrap: wrap;
+ margin-top: 8px;
+}
+
+.bme-config-test-btn {
+ display: inline-flex !important;
+ flex-direction: row !important;
+ align-items: center;
+ justify-content: center;
+ gap: 10px;
+ min-width: 164px;
+ min-height: 42px;
+ padding: 0 16px;
+ border-radius: 12px;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background:
+ linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
+ rgba(0, 0, 0, 0.22);
+ color: var(--bme-on-surface);
+ cursor: pointer;
+ font-size: 13px;
+ font-weight: 700;
+ line-height: 1;
+ white-space: nowrap !important;
+ writing-mode: horizontal-tb !important;
+ text-orientation: mixed !important;
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
+ transition:
+ border-color 0.15s,
+ background 0.15s,
+ color 0.15s,
+ transform 0.15s,
+ box-shadow 0.15s;
+}
+
+.bme-config-test-btn:hover {
+ border-color: var(--bme-primary);
+ background:
+ linear-gradient(180deg, rgba(233, 69, 96, 0.16), rgba(233, 69, 96, 0.08)),
+ rgba(0, 0, 0, 0.3);
+ color: var(--bme-primary-text, var(--bme-on-surface));
+ transform: translateY(-1px);
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.06),
+ 0 8px 20px rgba(0, 0, 0, 0.2);
+}
+
+.bme-config-test-btn:active {
+ transform: translateY(0);
+}
+
+.bme-config-test-btn i {
+ color: var(--bme-primary);
+ font-size: 14px;
+ flex-shrink: 0;
+}
+
+.bme-config-test-btn span {
+ display: block;
}
.bme-config-guard-note {
@@ -1320,6 +1378,14 @@
justify-content: space-between;
}
+ .bme-config-actions {
+ width: 100%;
+ }
+
+ .bme-config-test-btn {
+ width: 100%;
+ }
+
#st-bme-panel.config-mode .bme-panel-sidebar {
display: none;
}