gtk: Add dummy checked path-bar button style for Nautilus 3.32
Upstream dropped :checked state from Nautilus' path-bar button, but we still want it as visual feedback. Only the arrow icon is not enough (at least for me).
Upstream dropped :checked state from Nautilus' path-bar button, but we still want it as visual feedback. Only the arrow icon is not enough (at least for me).
by roundabout, Sunday, 10 March 2019, 09:19:36 (1552209576), pushed by roundabout, Sunday, 11 May 2025, 13:22:35 (1746969755)
Author identity: nana-4 <hnmaigo@gmail.com>
60b76b5c0849a2dc37d49c2df4afb95929b6aae1
.linked:not(.vertical) > entry:not(.flat) { border-radius: $corner-radius $corner-radius 0 0; }
button:not(.suggested-action):not(.destructive-action) {
@at-root %titlebar-button, & button:not(.suggested-action):not(.destructive-action) {
@extend %button_basic.flat;
border-image: radial-gradient(circle closest-corner at center calc(100% - 1px),
background-color: $titlebar-fill;
}
// for 3.30
.path-bar button {
label:not(:only-child) {
&:first-child { margin-left: 0; }
&:last-child { margin-right: 0; }
}
}
// for 3.32
.nautilus-path-bar button {
padding-left: ($medium-size - 24px) / 2;
padding-right: ($medium-size - 24px) / 2;
label:not(:only-child) {
&:first-child { margin-left: 0; }
&:last-child { margin-right: 0; }
}
&.text-button.image-button image:not(:only-child) { margin: 0; }
&:last-child:dir(ltr),
&:first-child:dir(rtl) { @extend %titlebar-button:checked; }
}
}
// Floating status bar