修复:

- 退出登录按钮改为红色填充样式(与主界面关闭代理按钮一致)
This commit is contained in:
RoyirinRosmontis
2026-08-23 14:03:36 +08:00
parent e8a37edfc0
commit e9f8321daf
+4 -4
View File
@@ -1435,11 +1435,11 @@ class SettingsDialog(QDialog):
self.btn_logout = QPushButton("退出登录") self.btn_logout = QPushButton("退出登录")
self.btn_logout.setStyleSheet(f""" self.btn_logout.setStyleSheet(f"""
QPushButton {{ QPushButton {{
background-color: {C_CARD}; color: {C_RED}; background-color: {C_RED}; color: #fff; border: none;
border: 1px solid {C_RED}; border-radius: 6px; border-radius: 6px; padding: 5px 14px;
padding: 5px 14px; font-size: 12px; font-size: 12px; font-weight: bold;
}} }}
QPushButton:hover {{ background-color: #ffecec; }} QPushButton:hover {{ background-color: #ff8787; }}
""") """)
self.btn_logout.setToolTip("清除登录凭据与本地节点配置,下次启动需重新登录") self.btn_logout.setToolTip("清除登录凭据与本地节点配置,下次启动需重新登录")
self.btn_logout.clicked.connect(self._logout) self.btn_logout.clicked.connect(self._logout)