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