This commit is contained in:
vinceliuice 2022-11-12 23:11:11 +08:00
parent eb68cec312
commit 9eb675f8b4
3 changed files with 10 additions and 29 deletions

View file

@ -158,11 +158,11 @@ else
show_needed_dialogs
fi
prompt -w "Removing the old '${name}${colorscheme}' themes..."
prompt -w "Removing the old '${name}${colorscheme}' themes...\n"
remove_themes; customize_theme; avoid_variant_duplicates; echo
remove_themes; customize_theme; avoid_variant_duplicates;
prompt -w "Installing '${name}${colorscheme}' themes in '${dest}'..."; echo
prompt -w "Installing '${name}${colorscheme}' themes in '${dest}'...\n";
prompt -t "--->>> GTK | GNOME Shell | Cinnamon | Metacity | XFWM | Plank <<<---"
prompt -i "Color variants : $( IFS=';'; echo "${colors[*]}" )"

View file

@ -884,7 +884,7 @@ customize_theme() {
# Change Nautilus sidarbar size
if [[ "${sidebar_size}" != 'default' ]]; then
prompt -s "Changing Nautilus sidebar size ... \n"
prompt -s "Changing Nautilus sidebar size ...\n"
sed $SED_OPT "/\$sidebar_size/s/200px/${sidebar_size}px/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi

View file

@ -88,21 +88,9 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
> .linked > button.disclosure-button { margin-left: $container_padding / 2; }
> box.horizontal:first-child { // move the search button to right side
margin-right: -74px;
@if $nautilus_style == 'normal' or $nautilus_style == 'stable' {
entry.search { margin-left: if($placement == 'left', $container_padding, $nautilus_sidebar_size - 74px); }
}
}
}
@if $nautilus_style == 'normal' or $nautilus_style == 'stable' {
&.maximized {
> deck > box.vertical > headerbar.titlebar {
> box.horizontal:first-child { // move the search button to right side
entry.search { margin-left: 0; }
}
@if $placement == 'left' {
.nautilus-path-bar {
margin-left: 22px;
}
}
}
@ -131,12 +119,7 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
@if $nautilus_style == 'normal' or $nautilus_style == 'stable' {
@if $placement == 'left' {
> .linked.raised > button:first-child { margin-left: $nautilus_sidebar_size - (32px + $container_padding * 6); }
}
@else {
.path-bar-box { margin-left: $nautilus_sidebar_size - (68px + $container_padding * 2); }
entry.search { margin-left: if($placement == 'left', $container_padding * 1.5, $nautilus_sidebar_size - 74px); }
> .linked.raised > button:first-child { margin-left: $nautilus_sidebar_size - (48px + $container_padding * 6); }
}
}
}
@ -164,10 +147,8 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
@if $nautilus_style == 'stable' {
background-image: if($trans == 'true', none, $nautilus_sidebar_image);
}
@else {
&.frame { border-right: 1px solid $nautilus_borders_color; }
} @else {
&.frame { border-right: 1px solid $header_border; }
}
list { margin-bottom: 6px; }