From 0009d0e771f1a7cb9adf12e78d66aefcccc766b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= Date: Thu, 27 Sep 2018 12:50:44 +0100 Subject: toolbar: Use GTK_STYLE_CLASS'es on the pathbar container box On wider windows, we show a border around the pathbar and fill it with background color using custom CSS specific for Adwaita. This means the pathbar is unbounded in HighContrast mode or 3rd party custom themes, giving the headerbar an uncentered, unbalanced layout. Fix that using the "frame" and "background" style class which are exposed by Gtk+ for this purpose. Closes: https://gitlab.gnome.org/GNOME/nautilus/issues/661 --- src/resources/css/Adwaita.css | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/resources') diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css index b1e510903..ca7a3a9d4 100644 --- a/src/resources/css/Adwaita.css +++ b/src/resources/css/Adwaita.css @@ -65,14 +65,8 @@ .path-bar-box { transition: border 200ms; transition: background-color 200ms; -} -.path-bar-box.width-maximized { - border: 1px @borders solid; border-radius: 3px; } -.path-bar-box.width-maximized:not(:backdrop) { - background-color: @theme_bg_color; -} /* Make the tags fit into the box */ entry.search > * { -- cgit v1.2.1