Skip to content

Commit b743679

Browse files
committed
gtk3: Update nautilus path-bar styling
Nautilus 3.38 removed the special width-maximized style class from the path-bar, and now always uses the maximized design. Update the path-bar styling for Arc accordingly. As an unwanted side effect, this also changes the path-bar style for Nautilus 3.30 to 3.36 in similar fashion, but there doesn't seem to be any way to work around this. Closes #85
1 parent 8c11ba8 commit b743679

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

common/gtk-3.0/3.24/sass/_applications.scss

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,7 @@ terminal-window,
7070
// Pathbar for nautilus >=3.30
7171
.nautilus-window .path-bar-box {
7272
border-radius: 3px;
73-
border: 0 $header_button_border solid;
74-
75-
&.width-maximized {
76-
border-width: 1px;
77-
transition: border $backdrop_transition;
78-
}
73+
border: 1px $header_button_border solid;
7974
}
8075

8176
// path-bar buttons for nautilus 3.30
@@ -107,17 +102,15 @@ terminal-window,
107102

108103
&, &:hover, &:active, &:checked, &:disabled { @extend %linked; }
109104

110-
.nautilus-window .path-bar-box.width-maximized > & {
111-
border-width: 0;
105+
border-width: 0;
112106

113-
&:only-child {
114-
border-radius: 3px 0px 0px 3px;
115-
}
107+
&:only-child {
108+
border-radius: 3px 0px 0px 3px;
109+
}
116110

117-
&:last-child {
118-
border-radius: 0;
119-
border-right-width: 1px;
120-
}
111+
&:last-child {
112+
border-radius: 0;
113+
border-right-width: 1px;
121114
}
122115
}
123116

0 commit comments

Comments
 (0)