-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eagle 1372 #812
Eagle 1372 #812
Conversation
… it was using a file instead of our icon library
Reviewer's Guide by SourceryThis PR combines the close buttons for the bottom window tabs into a single button. It also implements a new hover effect for icons and buttons. State diagram for button hover statesstateDiagram-v2
[*] --> Normal
Normal --> Hover: Mouse over
Hover --> Normal: Mouse out
state Hover {
[*] --> ApplyHoverColor
ApplyHoverColor --> AddTextShadow
AddTextShadow --> SetCursorPointer
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @M-Wicenec - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider restructuring the CSS selectors to avoid using !important tags, as these can make styles harder to maintain and override. Try increasing selector specificity instead.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
.iconHoverEffect:hover { | ||
color: var(--hoverHighlight) !important; | ||
cursor: pointer; | ||
border-color: var(--hoverHighlight) !important; | ||
text-shadow: -1px -1px 0 #4b4b4b, 0 -1px 0 #4b4b4b, 1px -1px 0 #4b4b4b, 1px 0 0 #4b4b4b, 1px 1px 0 #4b4b4b, 0 1px 0 #4b4b4b, -1px 1px 0 #4b4b4b, -1px 0 0 #4b4b4b; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (performance): Consider using a more performant approach than text-shadow for hover effects
Multiple text-shadows can impact rendering performance. Consider using alternative approaches like border or box-shadow for the hover effect.
.iconHoverEffect:hover { | |
color: var(--hoverHighlight) !important; | |
cursor: pointer; | |
border-color: var(--hoverHighlight) !important; | |
text-shadow: -1px -1px 0 #4b4b4b, 0 -1px 0 #4b4b4b, 1px -1px 0 #4b4b4b, 1px 0 0 #4b4b4b, 1px 1px 0 #4b4b4b, 0 1px 0 #4b4b4b, -1px 1px 0 #4b4b4b, -1px 0 0 #4b4b4b; | |
} | |
.iconHoverEffect:hover { | |
color: var(--hoverHighlight) !important; | |
cursor: pointer; | |
border-color: var(--hoverHighlight) !important; | |
box-shadow: 0 0 0 1px #4b4b4b; | |
} |
combining the close bottom window button instead of having one for each tab. this is just about reducing code.
ended up implementing a new hover effect for icons and buttons, because i noticed that most buttons didnt actually have one
Summary by Sourcery
Combine the close button for the bottom window into a single button instead of having one for each tab. Implement a new hover effect for icons and buttons.
New Features:
Enhancements: