From 4e4207457f63d593b5565665fb87acbb34743bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 5 Jul 2020 11:03:36 +0200 Subject: adwaita: Remove header bar border radius We get this from the window node these days. --- gtk/theme/Adwaita/_common.scss | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index a7646eade7..104f09d707 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1465,30 +1465,6 @@ headerbar { } } -.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar, -.background:not(.tiled-top):not(.maximized):not(.solid-csd) .titlebar, -.background:not(.tiled-left):not(.maximized):not(.solid-csd) .titlebar, -.background:not(.tiled-right):not(.maximized):not(.solid-csd) .titlebar, -.background:not(.tiled-bottom):not(.maximized):not(.solid-csd) .titlebar { - &:backdrop, & { - border-top-left-radius: 7px; - border-top-right-radius: 7px; - } -} - -headerbar { // headerbar border rounding - window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) separator:first-child + &, // tackles the paned container case - window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) &:first-child { &:backdrop, & { border-top-left-radius: 7px; }} - window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) &:last-child { &:backdrop, & { border-top-right-radius: 7px; }} - window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) stack & { // tackles the stacked headerbars case - &:first-child, &:last-child { - &:backdrop, & { - border-top-left-radius: 7px; - border-top-right-radius: 7px; - } - } - } -} .titlebar:not(headerbar) { window.csd > & { -- cgit v1.2.1