diff --git a/lib-core.sh b/lib-core.sh index 65b8331..f511793 100755 --- a/lib-core.sh +++ b/lib-core.sh @@ -75,6 +75,7 @@ ETC_CSS_FILE="/etc/alternatives/gdm3.css" ETC_GR_FILE="/etc/alternatives/gdm3-theme.gresource" YARU_GR_FILE="/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource" POP_OS_GR_FILE="/usr/share/gnome-shell/theme/Pop/gnome-shell-theme.gresource" +ZORIN_GR_FILE="/usr/share/gnome-shell/theme/ZorinBlue-Light/gnome-shell-theme.gresource" MISC_GR_FILE="/usr/share/gnome-shell/gnome-shell-theme.gresource" GS_GR_XML_FILE="${THEME_SRC_DIR}/main/gnome-shell/gnome-shell-theme.gresource.xml" diff --git a/lib-install.sh b/lib-install.sh index 08826b4..7809765 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -583,6 +583,8 @@ install_gdm_theme() { TARGET="${POP_OS_GR_FILE}" elif check_theme_file "$YARU_GR_FILE"; then TARGET="${YARU_GR_FILE}" + elif check_theme_file "$ZORIN_GR_FILE"; then + TARGET="${ZORIN_GR_FILE}" elif check_theme_file "$MISC_GR_FILE"; then TARGET="${MISC_GR_FILE}" fi @@ -601,6 +603,7 @@ revert_gdm_theme() { restore_file "${ZORIN_CSS_FILE}"; restore_file "${ETC_CSS_FILE}" restore_file "${POP_OS_GR_FILE}"; restore_file "${YARU_GR_FILE}" restore_file "${MISC_GR_FILE}"; restore_file "${ETC_GR_FILE}" + restore_file "${ZORIN_GR_FILE}" } ############################################################################### diff --git a/src/sass/gnome-shell/common/_calendar.scss b/src/sass/gnome-shell/common/_calendar.scss index 4d70b7b..bcc224e 100644 --- a/src/sass/gnome-shell/common/_calendar.scss +++ b/src/sass/gnome-shell/common/_calendar.scss @@ -184,20 +184,24 @@ color: $alt_fg_color !important; background-color: rgba($fg_color, 0.1); border: none; + background-gradient-direction: none !important; &:hover, &:focus { background-color: rgba($fg_color, 0.15); color: $fg_color !important; + background-gradient-direction: none !important; } &:active { background-color: darken($primary_color, 5%); color: $light_fg_color !important; + background-gradient-direction: none !important; } &:selected { background-color: $primary_color; color: $light_fg_color !important; + background-gradient-direction: none !important; &:hover, &:focus { background-color: lighten($primary_color, 8%); diff --git a/src/sass/gnome-shell/common/_dialogs.scss b/src/sass/gnome-shell/common/_dialogs.scss index f00c97e..edff59d 100644 --- a/src/sass/gnome-shell/common/_dialogs.scss +++ b/src/sass/gnome-shell/common/_dialogs.scss @@ -12,20 +12,24 @@ color: white !important; background-color: $primary_color; box-shadow: inset 0 1px 0 0 rgba(white,0.1); + background-gradient-direction: none !important; &:hover { color: white !important; background-color: lighten($primary_color, 9%); + background-gradient-direction: none !important; } &:active { color: white !important; background-color: darken($primary_color, 5%); + background-gradient-direction: none !important; } &:insensitive { background-color: rgba($primary_color, 0.05); color: rgba($primary_color, 0.35) !important; + background-gradient-direction: none !important; } } diff --git a/src/sass/gnome-shell/common/_popovers.scss b/src/sass/gnome-shell/common/_popovers.scss index 8897e17..d78c9ee 100644 --- a/src/sass/gnome-shell/common/_popovers.scss +++ b/src/sass/gnome-shell/common/_popovers.scss @@ -98,10 +98,12 @@ $popop_menuitem_radius: $wm_radius - 4px; box-shadow: none; color: $alt_fg_color; background-color: $submenu_bg_color; + background-gradient-direction: none !important; - &.hover, &.selected { + &:hover, &.selected { color: $selected_fg_color; background-color: $selected_bg_color; + background-gradient-direction: none !important; } &:active {