Skip to content

Commit e8b2d16

Browse files
author
Ian Santopietro
authored
fix(apps): add nautilus pathbar styling (#486)
* fix(apps): add styling for nautilus path bar Copies the styling from Nautilus's CSS into the Pop theme, and adds some pop-flavored changes. * build(debian): release 5.3.1
1 parent 50f789b commit e8b2d16

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
pop-gtk-theme (5.3.1) UNRELEASED; urgency=medium
2+
3+
* Add styling for Nautilus Path Bars
4+
5+
-- Ian Santopietro <ian@system76.com> Thu, 12 Nov 2020 17:14:27 -0700
6+
17
pop-gtk-theme (5.3.0) groovy; urgency=medium
28

39
* Sync sources with Adwaita 3.38 for 20.10

gtk/src/light/gtk-3.0/_apps.scss

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,38 @@ list.tweak-categories separator {
6363
background-color: if($variant=='light', white, $base_color);
6464
&:backdrop { background-color: $backdrop_base_color }
6565

66+
.path-bar-box {
67+
$_headerbar_button_bg: darken($headerbar_bg_color, 2%);
68+
$_btn_backdrop_border: darken($headerbar_border_color, 3%);
69+
border: 1px solid;
70+
border-radius: $button_radius;
71+
transition: all 200ms $ease-out-quad;
72+
@include button(normal, $_headerbar_button_bg, $headerbar_fg_color);
73+
74+
&:backdrop {
75+
@include button(backdrop, $backdrop_headerbar_bg_color, $backdrop_headerbar_fg_color);
76+
border-color: $_btn_backdrop_border;
77+
}
78+
}
79+
80+
.path-bar-box button {
81+
margin: 0px;
82+
83+
&:first-child {
84+
border-width: 0px 1px 0px 0px;
85+
border-radius: $button_radius 0px 0px $button_radius;
86+
}
87+
88+
&:not(:first-child) {
89+
border-width: 0px 1px 0px 1px;
90+
border-radius: 0px;
91+
}
92+
93+
&:not(:checked) image {
94+
opacity: 0.8; /* dim the icon when not checked */
95+
}
96+
}
97+
6698
// Make sure tags fit inside the search entry
6799
entry.search > * {
68100
margin: 5px;

0 commit comments

Comments
 (0)