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