tony.cheng
2026-03-17 0c8432f4ff5c95faca4ca62d6a4ec4618feba627
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, #e63946 0%, #c1121f 100%);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}
.state-control-btn--terminate:hover {
  background: linear-gradient(135deg, #f04a57 0%, #d41926 100%);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 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;