Fix Copied! visibility and remove URL hover effect

- Use visible gray (#888888) for "Copied!" text
- Remove hover color change from URL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-06 11:48:45 -08:00
parent 10971e6a02
commit 664d652e9e

View File

@@ -222,10 +222,6 @@ class MainWindow(QMainWindow):
border: none; border: none;
padding: 4px 8px; padding: 4px 8px;
}} }}
QPushButton:hover {{
color: {THEME['accent_color']};
text-decoration: underline;
}}
""") """)
self.ip_label.clicked.connect(self.copy_url_to_clipboard) self.ip_label.clicked.connect(self.copy_url_to_clipboard)
self.update_ip_label() self.update_ip_label()
@@ -479,13 +475,13 @@ class MainWindow(QMainWindow):
# Show "Copied!" feedback with dimmed style # Show "Copied!" feedback with dimmed style
self.ip_label.setText("Copied!") self.ip_label.setText("Copied!")
self.ip_label.setStyleSheet(f""" self.ip_label.setStyleSheet("""
QPushButton {{ QPushButton {
background-color: transparent; background-color: transparent;
color: {THEME['highlight_color']}; color: #888888;
border: none; border: none;
padding: 4px 8px; padding: 4px 8px;
}} }
""") """)
# Restore original URL after delay # Restore original URL after delay
@@ -500,10 +496,6 @@ class MainWindow(QMainWindow):
border: none; border: none;
padding: 4px 8px; padding: 4px 8px;
}} }}
QPushButton:hover {{
color: {THEME['accent_color']};
text-decoration: underline;
}}
""") """)
self.update_ip_label() self.update_ip_label()