mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-01 10:26:49 +00:00
update
This commit is contained in:
parent
7d9b702418
commit
4090a93776
@ -27,19 +27,19 @@ MY_HOME=$(getent passwd "${MY_USERNAME}" | cut -d: -f6)
|
||||
if command -v gnome-shell &> /dev/null; then
|
||||
SHELL_VERSION="$(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f -1)"
|
||||
if [[ "${SHELL_VERSION:-}" -ge "48" ]]; then
|
||||
GS_VERSION="48-0"
|
||||
GNOME_VERSION="48-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "47" ]]; then
|
||||
GS_VERSION="47-0"
|
||||
GNOME_VERSION="47-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "46" ]]; then
|
||||
GS_VERSION="46-0"
|
||||
GNOME_VERSION="46-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "44" ]]; then
|
||||
GS_VERSION="44-0"
|
||||
GNOME_VERSION="44-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "42" ]]; then
|
||||
GS_VERSION="42-0"
|
||||
GNOME_VERSION="42-0"
|
||||
elif [[ "${SHELL_VERSION:-}" -ge "40" ]]; then
|
||||
GS_VERSION="40-0"
|
||||
GNOME_VERSION="40-0"
|
||||
else
|
||||
GS_VERSION="3-28"
|
||||
GNOME_VERSION="3-28"
|
||||
fi
|
||||
else
|
||||
GNOME_VERSION="48-0"
|
||||
|
@ -2372,6 +2372,8 @@ headerbar {
|
||||
|
||||
> windowhandle > box {
|
||||
padding: 0 $container_padding / 2;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.tiled &,
|
||||
|
@ -264,7 +264,7 @@ window.background.chromium {
|
||||
//
|
||||
// Libre-Office
|
||||
//
|
||||
window.background:not(.solid-csd):not(.csd) {
|
||||
window.background:not(.solid-csd) {
|
||||
// reserved area at the most-right side of GtkMenuBar
|
||||
> grid.horizontal > grid.horizontal {
|
||||
background-color: $header_bg;
|
||||
@ -296,13 +296,13 @@ window.background:not(.solid-csd):not(.csd) {
|
||||
|
||||
> grid.horizontal > widget > widget {
|
||||
viewport.frame > box > box > box > grid toolbar {
|
||||
background: none;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
> scrolledwindow > viewport.frame {
|
||||
background: $base_color;
|
||||
background-color: $base_color;
|
||||
|
||||
> grid > box.vertical {
|
||||
> toolbar {
|
||||
@ -313,7 +313,7 @@ window.background:not(.solid-csd):not(.csd) {
|
||||
}
|
||||
|
||||
> grid > box.horizontal > #combobox.linked,
|
||||
> grid > box.horizontal > grid.horizontal > box.horizontal { background: $base_color; }
|
||||
> grid > box.horizontal > grid.horizontal > box.horizontal { background-color: $base_color; }
|
||||
}
|
||||
|
||||
toolbar.small-button {
|
||||
@ -403,6 +403,10 @@ toolbar.toolbar {
|
||||
background-color: if($variant == 'light', mix(black, $bg_color, 5%), mix(white, $bg_color, 5%));
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
color: $disabled_fg_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user