From bd79df9858f2054ab46280a4d7eb300205c19198 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Sun, 15 Jun 2025 17:08:14 +0000 Subject: [PATCH] themes: Fix system theme leak on notebook header Some system themes add a box shadow and change borders for GtkNotebook headers. This patch adds rules defining these, along with defining the outline for header buttons when hovered over. --- themes/Default/common.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index cd2682f484..20a41cb2a2 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -177,13 +177,19 @@ notebook stack { notebook header { background-color: @bg-color; - border-color: @edge-border-color; + border-bottom: 1px solid @edge-border-color; + box-shadow: none; } notebook header button { box-shadow: none; } +notebook header button:hover { + background-color: @selected-color; + border-color: @edge-border-color; +} + notebook header tabs { background-color: transparent; }