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

How to change the color of the hamburger? #279

Closed
Seil0 opened this issue Mar 28, 2017 · 6 comments
Closed

How to change the color of the hamburger? #279

Seil0 opened this issue Mar 28, 2017 · 6 comments

Comments

@Seil0
Copy link

Seil0 commented Mar 28, 2017

is there any option to change the color of the three bars of the hamburger-meue icon from black to white?

@Seil0 Seil0 changed the title hHow to change the color of the hamburger? How to change the color of the hamburger? Mar 28, 2017
@skmedix
Copy link
Collaborator

skmedix commented Mar 28, 2017

https://github.com/jfoenixadmin/JFoenix/blob/master/demo/src/main/resources/css/jfoenix-components.css#L12-L17

@vinskidev
Copy link

Yes, there is.

.jfx-hamburger StackPane { -fx-background-color: white; }

@Seil0
Copy link
Author

Seil0 commented Mar 28, 2017

I want to change the color of the three bars, not the background. sorry if this was not clear.

@skmedix
Copy link
Collaborator

skmedix commented Mar 28, 2017

But that's how you can change these bars.


Example:

image

Code:

.jfx-hamburger {
	-fx-background-color: lightgrey;
}

.jfx-hamburger StackPane {
	-fx-background-color: green;
}

@Seil0 Seil0 closed this as completed Mar 29, 2017
@Seil0
Copy link
Author

Seil0 commented Mar 29, 2017

@skmedix Sorry, I just can't read, you are totally right.

@chriskorosu
Copy link

Any way to do it from Gluon SceneBuilder?

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

No branches or pull requests

5 participants