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

Set background color for mobile hamburger menu #74

Open
libmanuk opened this issue Dec 2, 2024 · 0 comments
Open

Set background color for mobile hamburger menu #74

libmanuk opened this issue Dec 2, 2024 · 0 comments
Assignees

Comments

@libmanuk
Copy link
Member

libmanuk commented Dec 2, 2024

.ukl-menu-button-more {
width: 7mm;
height: 7mm;
background-size: 100%;
/* inline SVG element! */
background-image: url('data:image/svg+xml;utf8,');
background-color: #0033a0;
border: 0px;
}

.ukl-menu-button-less {
display: block;
float: right;
justify-content:flex-end;
margin-left: auto;
width: 7mm;
height: 7mm;
background-size: 100%;
/* inline SVG element! */
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M8 8 L24 24 M8 24 L24 8'/%3E%3C/svg%3E");
background-color: #0033a0;
border: 0px;
}

Add the background-color to the above CSS rules.

@libmanuk libmanuk self-assigned this Dec 2, 2024
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

1 participant