[plasma/breeze-gtk] src/gtk4/widgets: gtk4/menu: fix menu shadow and menu item highlight

Rocket Aaron <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c19fd9d5665d8e438d3a047168c0cb4d017313fb by Rocket Aaron.
Committed on 17/08/2026 at 14:29.
Pushed by ngraham into branch 'master'.

gtk4/menu: fix menu shadow and menu item highlight

M  +5    -5    src/gtk4/widgets/_menus.scss

https://invent.kde.org/plasma/breeze-gtk/-/commit/c19fd9d5665d8e438d3a047168c0cb4d017313fb

diff --git a/src/gtk4/widgets/_menus.scss b/src/gtk4/widgets/_menus.scss
index ba7442b..77b2c9a 100644
--- a/src/gtk4/widgets/_menus.scss
+++ b/src/gtk4/widgets/_menus.scss
@@ -71,6 +71,10 @@ popover, popover.background {
 		background-color: gtkmix(gtk("@theme_bg_color"), gtk("@theme_base_color"), 0.3);
 		border: 1px solid gtk("@borders");
 		border-radius: $r;
+
+		$shadow: rgba(0, 0, 0, 0.25);
+		box-shadow: 0px 0px 2mm $shadow,
+					0px 0.25mm 1mm scale-color($shadow, $alpha: -40%);
 	}
 
 	// axes borders in a composited env
@@ -85,11 +89,7 @@ popover, popover.background {
 		min-width: 10mm;
 		padding: 0.75mm 2mm;
 		border: 1px solid transparent;
-
-		@if $new-highlight {
-			border: 1px solid transparent;
-			margin: 1mm;
-		}
+		margin: 1px;
 
 		accelerator {
 			color: gtkalpha(currentColor, 0.55);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.