From 6fb356e222fa92fb98b1dbfef4d8e1bde8dc89a7 Mon Sep 17 00:00:00 2001
From: tony.cheng <chengmingwei_1984122@126.com>
Date: Tue, 17 Mar 2026 14:43:19 +0800
Subject: [PATCH] style: 为状态控制按钮设计独立的B端风格样式,不影响人工接管按钮

---
 web-app/src/App.css |   89 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 89 insertions(+), 0 deletions(-)

diff --git a/web-app/src/App.css b/web-app/src/App.css
index 5b74aac..c2f4790 100644
--- a/web-app/src/App.css
+++ b/web-app/src/App.css
@@ -518,6 +518,95 @@
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }
 
+/* 状态控制按钮样式(终止/恢复) */
+.state-control-btn {
+  padding: 10px 24px;
+  border: none;
+  border-radius: var(--border-radius);
+  font-weight: 600;
+  font-size: 1rem;
+  cursor: pointer;
+  transition: all 0.2s ease;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  gap: 8px;
+  color: white;
+}
+
+.state-control-btn:hover {
+  transform: translateY(-2px);
+  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+}
+
+.state-control-btn:active {
+  transform: translateY(0);
+}
+
+.state-control-btn:disabled {
+  opacity: 0.6;
+  cursor: not-allowed;
+  transform: none;
+}
+
+/* 终止按钮 - 蓝色主题 */
+.state-control-btn--terminate {
+  background: linear-gradient(135deg, #1A6FB8 0%, #0d4a8a 100%);
+  box-shadow: 0 2px 8px rgba(26, 111, 184, 0.3);
+}
+
+.state-control-btn--terminate:hover {
+  background: linear-gradient(135deg, #1d7fcc 0%, #0f55a0 100%);
+  box-shadow: 0 4px 16px rgba(26, 111, 184, 0.4);
+}
+
+/* 恢复按钮 - 绿色主题 */
+.state-control-btn--resume {
+  background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
+  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
+}
+
+.state-control-btn--resume:hover {
+  background: linear-gradient(135deg, #5fd42b 0%, #42b417 100%);
+  box-shadow: 0 4px 16px rgba(82, 196, 26, 0.4);
+}
+
+/* 人工接管印章效果 */
+.takeover-stamp {
+  position: relative;
+  display: inline-flex;
+  align-items: center;
+  justify-content: center;
+  padding: 8px 20px;
+  font-size: 1rem;
+  font-weight: 700;
+  color: #e63946;
+  background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
+  border: 3px double #e63946;
+  border-radius: 4px;
+  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.15);
+  transform: rotate(-3deg);
+  user-select: none;
+  cursor: default;
+  letter-spacing: 3px;
+  opacity: 0.9;
+}
+
+.takeover-stamp::before {
+  content: '';
+  position: absolute;
+  inset: 3px;
+  border: 1px solid rgba(230, 57, 70, 0.4);
+  border-radius: 2px;
+  pointer-events: none;
+}
+
+.takeover-stamp-text {
+  display: flex;
+  align-items: center;
+  gap: 8px;
+}
+
 /* 调解数据看板 */
 .mediation-metrics {
   display: grid;

--
Gitblit v1.8.0