Fix: change background of selected menu item corner for grey background

This commit is contained in:
Jorit Tijsen
2024-05-15 14:05:05 +02:00
parent d495cdde37
commit 9ae62ab798
3 changed files with 24 additions and 5 deletions

12
public/css/style.css vendored
View File

@@ -257,7 +257,9 @@ div.pp_default .pp_close:hover {
display: block;
width: 33px;
height: 25px;
background-image: URL("/images/menu-corner-1.svg");
-webkit-mask-image: URL("/images/menu-corner-1.svg");
mask-image: URL("/images/menu-corner-1.svg");
background-color: white;
position: absolute;
top: 0;
left: 0;
@@ -268,7 +270,9 @@ div.pp_default .pp_close:hover {
display: block;
width: 12px;
height: 15px;
background-image: URL("/images/menu-corner-2.svg");
-webkit-mask-image: URL("/images/menu-corner-2.svg");
mask-image: URL("/images/menu-corner-2.svg");
background-color: white;
position: absolute;
bottom: 0;
right: -1px;
@@ -586,10 +590,14 @@ div.pp_default .pp_close:hover {
.grey_background nav > div {
background: #f9f9f9;
border-color: #f9f9f9;
}
.grey_background .menu > li a {
background: #f9f9f9;
}
.grey_background .menu > li.selected a:before, .grey_background .menu > li.selected a:after, .grey_background .menu > li:hover a:before, .grey_background .menu > li:hover a:after, .grey_background .menu > li.hover a:before, .grey_background .menu > li.hover a:after {
background-color: #f9f9f9;
}
.grey_background .menu > li:last-child:after {
background: #f9f9f9;
}

File diff suppressed because one or more lines are too long