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

Change bm-burger-bars #128

Open
FlorianWip opened this issue Jan 19, 2022 · 1 comment
Open

Change bm-burger-bars #128

FlorianWip opened this issue Jan 19, 2022 · 1 comment

Comments

@FlorianWip
Copy link

How is it possible to change the style of the menu in nuxtjs, especially the class bm-burger-bars, because I want to use this in a website, which is in dark-mode. So it is quit difficult to see a grey bar in a dark grey background, so I want to color it white.

@nickeledfox
Copy link

How is it possible to change the style of the menu in nuxtjs, especially the class bm-burger-bars, because I want to use this in a website, which is in dark-mode. So it is quit difficult to see a grey bar in a dark grey background, so I want to color it white.

I used it in Vue 3 but I believe it works the same for Nuxt:
CSS(SCSS particular) just apply desired styles:

.bm-menu {
width: 400px;
}
.bm-burger-button {
z-index: 100;
}
.bm-burger-bars {
background-color: red; // or:
background: #fff;
border-radius: 10px;
height: 5px;
margin: 5px 0;

&:nth-of-type(1) {
width: 50%;
}

&:nth-of-type(2) {
width: 100%;
}

&:nth-of-type(3) {
width: 75%;
}
}

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

No branches or pull requests

2 participants