-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Fix navbar-burger color when color modifier is used #1982
Conversation
sass/components/navbar.sass
Outdated
@@ -74,6 +74,8 @@ $navbar-bottom-box-shadow-size: 0 -2px 0 0 !default | |||
.navbar-link | |||
&::after | |||
border-color: $color-invert | |||
& > .navbar-burger |
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.
You don't really need the nesting here. Just use .navbar-burger
.
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.
OK, I changed it. Is it that what you meant?
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.
Not exactly. Put .navbar-burger
as a sibling of .navbar-brand
, not as a child of .navbar-brand
.
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.
Ah, I see: .navbar-burger
does not necessarily need to be a child of .navbar-brand
. Makes sense. So, here my next try. Is that correct? Thank's for your patience.
When using a color modifier for a navbar (e.g., is-dark) the burger icon does not change the color. This commit adds the color modification for the navbar burger icon.
Just want to ask whether it is ready to merge after the latest correction to include it in the next release!? Is there anything I can do to help? Thanks for considering … |
When using a color modifier for a navbar (e.g., is-dark) the burger icon does not change the color. This commit adds the color modification for the navbar burger icon.
This is a bugfix.
Issue #1981.
Proposed solution
This solution adds color-invert for the .navbar-burger for the color modifiers the same way it is done for .navbar-link.
Tradeoffs
No tradeoffs.
Testing Done
I checkout out master and changed the lines. The color of the burger icon is as desired. You can see a minimal example I used there: https://jsfiddle.net/pm26zwer/6/
See also issue #1981.