menu: add item background

This commit is contained in:
jean-emmanuel 2023-05-13 11:43:45 +02:00
parent 5b981996fd
commit 3af1d4ad1c
2 changed files with 7 additions and 4 deletions

View file

@ -8,6 +8,9 @@
- advanced syntax: update issue with clones using their own value in their properties
- client: minor keyboard shortcut issues
- widgets
- menu: add a background to menu items to help distinguish them
## 1.24.2
- bug fixes

View file

@ -363,13 +363,13 @@
top: calc(-1 * var(--size) / 8);
border-radius: 100%;
pointer-events: none;
box-shadow: 0 0 0 4rem var(--color-fill);
opacity: 0;
box-shadow: 0 0 0 calc(var(--size) / 2.7 - 2rem) var(--color-fill);
opacity: 0.075;
}
}
&.on {
color: var(--color-fill);
color: var(--color-background);
}
&.on div:before {
@ -415,7 +415,7 @@
height: 100%;
flex: 1;
&:after {
opacity: 0;
opacity: 0.075;
margin: 0;
top:0;left:0;right:0;bottom:0;
}