This commit is contained in:
vinceliuice
2024-09-05 20:53:33 +08:00
parent 654adcba00
commit b63b2877cc
3 changed files with 30 additions and 19 deletions

View File

@@ -720,10 +720,19 @@ uninstall_theme() {
clean_theme() { clean_theme() {
if [[ "$UID" != "$ROOT_UID" ]]; then if [[ "$UID" != "$ROOT_UID" ]]; then
# local DEST_DIR="$HOME/.themes" if [[ "$DEST_DIR" == "$HOME/.themes" ]]; then
# uninstall_theme local dest="$HOME/.local/share/themes"
local DEST_DIR="$HOME/.local/share/themes" fi
uninstall_theme
for theme in "${themes[@]}"; do
for color in "${colors[@]}"; do
for size in "${sizes[@]}"; do
for scheme in "${schemes[@]}"; do
uninstall "${dest}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$scheme"
done
done
done
done
fi fi
} }

View File

@@ -301,16 +301,6 @@ spinner {
entry { entry {
@extend %entry_basic; @extend %entry_basic;
.background:not(.csd) & {
@include entry(solid);
&:focus { @include entry(solid-checked); }
&:drop(active) { @include entry(solid-hover); }
&:disabled { @include entry(solid-disabled); }
}
&.flat { &.flat {
min-height: 0; min-height: 0;
padding: 2px; padding: 2px;

View File

@@ -139,7 +139,7 @@ tooltip.background.chromium { background-color: rgba($tooltip, 1); }
// //
// Firefox * // Firefox
// //
#MozillaGtkWidget { #MozillaGtkWidget {
decoration { border: none; } decoration { border: none; }
@@ -254,7 +254,7 @@ window.background:not(.csd) {
} }
// //
// Inkscape * // Inkscape
// //
#ToolboxCommon { #ToolboxCommon {
@@ -336,13 +336,13 @@ scrolledwindow#DialogNotebook {
// //
// Synapse * // Synapse
// //
box.vertical > widget > widget:selected { @extend %selected_items; } box.vertical > widget > widget:selected { @extend %selected_items; }
// //
// Libreoffice * // Libreoffice
// //
window.background { window.background {
> grid > widget > widget > scrolledwindow > viewport > grid > box > box > frame > box { > grid > widget > widget > scrolledwindow > viewport > grid > box > box > frame > box {
@@ -352,7 +352,7 @@ window.background {
// //
// Pamac * // Pamac
// //
window.background.csd { window.background.csd {
> box.vertical > overlay > stack > box.vertical > box.horizontal { > box.vertical > overlay > stack > box.vertical > box.horizontal {
@@ -382,3 +382,15 @@ window.background:not(.csd):not(.solid-csd) {
background-color: $base-alt; background-color: $base-alt;
} }
} }
//
// FileZilla
//
window.background:not(.csd) {
> box > widget > widget > widget > widget > widget > widget > widget > scrolledwindow {
entry:focus {
background-color: if($variant == 'light', mix(black, $background, 5%), mix(white, $background, 5%));
}
}
}