vue-burger-menu icon indicating copy to clipboard operation
vue-burger-menu copied to clipboard

Change bm-burger-bars

Open FlorianWip opened this issue 3 years ago • 1 comments

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.

FlorianWip avatar Jan 19 '22 23:01 FlorianWip

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%; } }

nickeledfox avatar Feb 14 '22 07:02 nickeledfox