summaryrefslogtreecommitdiff
path: root/src/resources/css
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniojpfernandes@gmail.com>2018-10-10 00:54:08 +0000
committerAntónio Fernandes <antoniof@gnome.org>2018-10-12 11:35:33 +0100
commit171ae2ed5206c941f12df5d3f74bc7236f3efd94 (patch)
treea6ca901d907003e99756f036c5398b32280f2605 /src/resources/css
parent4581155f0a13968c08a151cecdb7eb70bddf4f7c (diff)
downloadnautilus-171ae2ed5206c941f12df5d3f74bc7236f3efd94.tar.gz
Revert "toolbar: Use GTK_STYLE_CLASS'es on the pathbar container box"
This reverts commit 0009d0e771f1a7cb9adf12e78d66aefcccc766b6 That commit gave the pathbar a bounding frame under HighContrast. However, this 1px border is not consistent with button borders, and it lacks padding. The result is uglier than before the change. Furthermore, it may be the case that setting GTK_STYLE_CLASS_BACKGROUND and GTK_STYLE_CLASS_FRAME in a GtkBox is either meaningless or leads to unexpected styling. This change is neutral for Adwaita, so let's revert it. Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/674
Diffstat (limited to 'src/resources/css')
-rw-r--r--src/resources/css/Adwaita.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index ca7a3a9d4..b1e510903 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -65,8 +65,14 @@
.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 > * {