Skip to content
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

feat: Add hover effect to Navbar links #145

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Ratul-Saha-003
Copy link

Added hover effect to Navbar links.
Before:
Screenshot from 2024-03-17 19-20-39

After:
Screenshot from 2024-03-17 19-23-05

This Pull Request resolves issue #144

@@ -104,19 +104,27 @@ button:not(:disabled) {
line-height: inherit;
margin: 0 auto;
}
/* .nav-link.dropdown-toggle:hover {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of all this commented out code?


button.nav-link {
background: #f9f9f9;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: 0 2px 4px -3px rgb(0 0 0 / 25%);
}

.nav-link:hover{
button.nav-link:hover {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you are specifically targetting buttons now?

@Ratul-Saha-003
Copy link
Author

@halkeye The PR was incomplete. It is complete now. I can't understand the reason for this linting error.

@halkeye
Copy link
Member

halkeye commented Mar 18, 2024

<file name="/home/jenkins/agent/workspace/tes_jenkins-io-components_PR-145/src/jio-navbar.css">
 <error source="stylelint.rules.rule-empty-line-before" line="107" column="1" severity="error" message="Expected empty line before rule (rule-empty-line-before)" />

does line 107 on jio-navbar.css have a empty line before the next rule?

@Ratul-Saha-003
Copy link
Author

Ratul-Saha-003 commented Mar 18, 2024

<file name="/home/jenkins/agent/workspace/tes_jenkins-io-components_PR-145/src/jio-navbar.css">
 <error source="stylelint.rules.rule-empty-line-before" line="107" column="1" severity="error" message="Expected empty line before rule (rule-empty-line-before)" />

does line 107 on jio-navbar.css have a empty line before the next rule?

@halkeye Made the appropriate changes.

@halkeye
Copy link
Member

halkeye commented Mar 18, 2024

I'll admit, i'm not sure why a hover effect is wanted. Have you talked to any of the sig leaders about it? like @MarkEWaite or @kmartens27 ?

@Ratul-Saha-003
Copy link
Author

No, but I was working with the Navbar component when I noticed that it is very easy to click another link when there is no difference on hover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants