
/* thunar */
.thunar toolbar { background-color: $headerbar_color; }
  
/* buttons in toolbar */
.thunar toolbar.horizontal button {
    
    &.flat.image-button {
        image { -gtk-icon-transform:scale(0.72);}
        background-color: transparent;
        border: none;
        &:hover { @include button(hover-header); }
    }
}
  
/* path-bar of thunar */
window.thunar toolbar#location-toolbar > toolitem > widget > widget.linked.path-bar,
.thunar toolbar {
    .path-bar-button {
        @include button(normal-header);
        border-radius: 0;
        border-right: 0.5px solid $borders_color;
        box-shadow: none;
        min-height: 20px;
        padding: 3px 4px;
        &:first-child {
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        &:last-child {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
            border-right-style: solid;
        }

        &:only-child {
            border-radius: 4px;
            border-style: solid;
        }
        &:hover { color: $selected_bg_color; }
        &:checked { @include button(active, $selected_bg_color, $selected_fg_color); }
    }
    .toggle.path-bar-button:hover {
        @include button(active, $selected_bg_color, $selected_fg_color);
    }
}
  
/* thunar sidepane */
.thunar scrolledwindow.sidebar treeview.view {
    background: $base_color;
    padding: 4px; 
    @if $variant=='light' {
        box-shadow: -10px 0px 12px rgba(162, 162, 165, 0.21) inset,
                10px -7px 12px $base_color inset,
                10px 7px 12px $base_color inset;
    }
    &:hover, &:selected {
        background: if($variant == 'light', transparentize( lighten($bg_color, 3%), 0.4), transparentize(lighten($base_color, 7%), 0.4));
        color: #ACACAC;
        box-shadow: 2px 0px 0px 0px $selected_bg_color inset;
    }
}

.thunar paned separator {
    background-image: image($base_color);
}

.thunar .frame { border-color: transparent; }