Compare commits

..
32 Commits
Author SHA1 Message Date
Vince 8e99173169 update 2021-12-04 11:10:36 +08:00
Vince d4ebdbbf2f update 2021-12-02 14:50:08 +08:00
Vince 9c384df830 update 2021-11-30 16:50:07 +08:00
Vince 010c7469ba update 2021-11-30 12:36:01 +08:00
Vince dc6cf67ee3 Fixed #492 2021-11-30 12:14:55 +08:00
Vince 02870d80a7 Fixed #497 2021-11-30 11:56:07 +08:00
Vince d6d26d3567 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2021-11-29 21:54:37 +08:00
Vince 5eddef1f23 Update _window-picker.scss 2021-11-29 21:54:31 +08:00
Vince 8754f1d569 Merge pull request #494 from S4CH/master
some typo corrected
2021-11-28 13:44:48 +08:00
CyFun 4b5aba237c some typo corrected 2021-11-28 10:28:44 +05:30
Vince 1a1020052d Fixed gtk4 issues 2021-11-28 11:53:51 +08:00
Vince aa3ded3480 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2021-11-27 23:51:04 +08:00
Vince 27cf392e4e update 2021-11-27 23:50:59 +08:00
Vince aa3b8fd1da Merge pull request #491 from ciricode/master
Update _common-3.0.scss
2021-11-27 19:08:11 +08:00
Ciri 71e442a455 Update _common-3.0.scss 2021-11-27 17:36:40 +07:00
Vince b62848e363 Update #370 2021-11-24 15:24:19 +08:00
Vince 8fde865cbb Merge pull request #478 from BlueManCZ/patch-1
Add firefox-bin command
2021-11-13 01:38:22 +08:00
Ivo Šmerek 1d520ce6f0 Add firefox-bin command 2021-11-12 11:21:08 +01:00
Vince 49a1d3dd47 update 2021-11-05 15:37:08 +08:00
Vince 973da2b566 Add darker version option 2021-11-04 11:09:13 +08:00
Vince e854df45e8 update 2021-11-04 10:19:45 +08:00
Vince f42f25ba28 update 2021-11-04 10:17:20 +08:00
Vince 1588c1140b Update #475 2021-11-04 09:55:52 +08:00
Vince ce402c0b1b update 2021-11-03 16:57:31 +08:00
Vince 2d70448239 Fixed #458 2021-11-03 16:49:25 +08:00
Vince 309e27dd2f Fixed xfce4 desktop issues 2021-11-01 18:23:02 +08:00
Vince 00b04162bc Merge pull request #468 from puenka/patch-1
Add user-themes to recommended extensions
2021-10-29 09:29:54 +08:00
puenka 4a90a3d289 Add user-themes to recommended extensions
Add the `user-themes` extension to the recommendations to avoid confusion about not being able to set the gnome-shell theme, #443
2021-10-28 17:58:12 +02:00
Vince 697c64fee5 Merge branch 'master' of github.com:vinceliuice/WhiteSur-gtk-theme 2021-10-22 19:32:48 +08:00
Vince d24cdf7203 update 2021-10-22 19:32:30 +08:00
Vince fc51330a6d Merge pull request #459 from puenka/patch-1
Fix length of ICON_VARIANTS check.
2021-10-22 17:27:12 +08:00
puenka a9149a2e4c Fix length of ICON_VARIANTS check.
ICON_VARIANTS has 14 entries but is currently only checked up to the 13th.
Fixes an error when `-i zorin` is specified.
2021-10-22 10:41:08 +02:00
31 changed files with 358 additions and 351 deletions

No files matched your search

+16 -1
View File
@@ -26,6 +26,7 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
<details> <summary> Recommended GNOME Shell extensions </summary> <details> <summary> Recommended GNOME Shell extensions </summary>
- [user-themes](https://extensions.gnome.org/extension/19/user-themes/) to enable gnome-shell theme (and not just the application theme)
- [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock) `gnome-shell <= 3.38` - [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock) `gnome-shell <= 3.38`
- [dash-to-dock](https://github.com/ewlsh/dash-to-dock/tree/ewlsh/gnome-40) - [dash-to-dock](https://github.com/ewlsh/dash-to-dock/tree/ewlsh/gnome-40)
(GNOME Shell 40 patch) `gnome-shell >= 40.0` (GNOME Shell 40 patch) `gnome-shell >= 40.0`
@@ -41,6 +42,16 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
Run `./install.sh` to install the default WhiteSur GTK theme pack which includes Run `./install.sh` to install the default WhiteSur GTK theme pack which includes
GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes. GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.
## Quick uninstall
- uninstall Gtk themes: `./install.sh -r`
- uninstall GDM theme: `sudo ./tweaks.sh -g -r`
- uninstall Firefox theme: `./tweaks.sh -f -r`
- uninstall Dash-to-dock theme: `./tweaks.sh -d -r`
- uninstall Flatpak Gtk themes: `./tweaks.sh -F -r`
- uninstall Snap Gtk themes: `./tweaks.sh -s -r`
## There's so many customizations you can do! ## There's so many customizations you can do!
Usage: `./install.sh [OPTIONS...]` Usage: `./install.sh [OPTIONS...]`
@@ -154,6 +165,8 @@ Example: `./install.sh -s 220`
Parameter: `--icon` `-i` Parameter: `--icon` `-i`
Example: `./install.sh -i fedora` Example: `./install.sh -i fedora`
Note that you will need to enable the GNOME user-themes extension to change the shell theme (not to confuse with the application theme).
### <p align="center"> <b> Change Nautilus style </b> </p> ### <p align="center"> <b> Change Nautilus style </b> </p>
@@ -235,11 +248,12 @@ Show this help.
## There's more themes you can try! ## There's more themes you can try!
### <p align="center"> <b> Install and edit Firefox theme </b> </p> ### <p align="center"> <b> Install and edit Firefox theme </b> </p>
<p align="center"> <a href="src/other/firefox"> <p align="center"> <a href="src/other/firefox">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-whitesur.png"/> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-whitesur.png"/>
</a> </p> </a> </p>
#### Install Firefox theme #### [Install Firefox theme](src/other/firefox)
Parameter: `--firefox` `-f` Parameter: `--firefox` `-f`
Example: `./tweaks.sh -f` Example: `./tweaks.sh -f`
@@ -253,6 +267,7 @@ Example:
./tweaks.sh -f -e # install and edit Firefox theme ./tweaks.sh -f -e # install and edit Firefox theme
./tweaks.sh -e -f # it's reversible! ./tweaks.sh -e -f # it's reversible!
./tweaks.sh -e # edit the installed Firefox theme ./tweaks.sh -e # edit the installed Firefox theme
./tweaks.sh -f -r # remove installed Firefox theme
``` ```
#### Use Monterey style #### Use Monterey style
+13 -6
View File
@@ -41,6 +41,7 @@ usage() {
helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square" helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square"
helpify "--right, --rightplacement" "" "Set Nautilus titlebutton placement to right" "Default is left" helpify "--right, --rightplacement" "" "Set Nautilus titlebutton placement to right" "Default is left"
helpify "--black, --blackfont" "" "Set panel font color to black" "Default is white" helpify "--black, --blackfont" "" "Set panel font color to black" "Default is white"
helpify "--darker, --darkercolor" "" "Install darker '${THEME_NAME}' dark themes" ""
helpify "--dialog, --interactive" "" "Run this installer interactively, with dialogs" "" helpify "--dialog, --interactive" "" "Run this installer interactively, with dialogs" ""
helpify "--silent-mode" "" "Meant for developers: ignore any confirm prompt and params become more strict" "" helpify "--silent-mode" "" "Meant for developers: ignore any confirm prompt and params become more strict" ""
helpify "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" "" helpify "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" ""
@@ -66,7 +67,7 @@ while [[ $# -gt 0 ]]; do
# at once # at once
case "${1}" in case "${1}" in
# Parameters that don't require value # Parameters that don't require value
-r|--remove|-u|-uninstall) -r|--remove|-u|-uninstall)
uninstall='true'; shift ;; uninstall='true'; shift ;;
--silent-mode) --silent-mode)
@@ -81,11 +82,13 @@ while [[ $# -gt 0 ]]; do
max_round="true"; shift ;; max_round="true"; shift ;;
--black|--blackfont) --black|--blackfont)
black_font="true"; shift ;; black_font="true"; shift ;;
--darker|--darkercolor)
darker="true"; shift ;;
-HD|--highdefinition) -HD|--highdefinition)
compact="false"; shift ;; compact="false"; shift ;;
-m|--monterey) -m|--monterey)
monterey="true"; shift ;; monterey="true"; shift ;;
# Parameters that require value, single use # Parameters that require value, single use
-b|--background) -b|--background)
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;; check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;
-d|--dest) -d|--dest)
@@ -124,10 +127,14 @@ finalize_argument_parsing
#---------------------------START INSTALL THEMES-------------------------------# #---------------------------START INSTALL THEMES-------------------------------#
if [[ "${uninstall}" == 'true' ]]; then if [[ "${uninstall}" == 'true' ]]; then
prompt -i "Removing '${name}' themes in '${dest}'..." prompt -i "Removing '${name}' gtk themes in '${dest}'... \n"
prompt -w "REMOVAL: Non file-related parameters will be ignored."; echo prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
remove_themes remove_themes
prompt -s "Done! All '${name}' themes has been removed." prompt -s "Done! All '${name}' gtk themes in has been removed. \n"
if [[ -f "${MISC_GR_FILE}.bak" ]]; then
prompt -e "Find installed GDM theme, you need to run: 'sudo ./tweaks.sh -g -r' to remove it!"
fi
else else
if [[ "${interactive}" == 'true' ]]; then if [[ "${interactive}" == 'true' ]]; then
show_panel_opacity_dialog; show_sidebar_size_dialog; show_nautilus_style_dialog show_panel_opacity_dialog; show_sidebar_size_dialog; show_nautilus_style_dialog
@@ -136,7 +143,7 @@ else
show_needed_dialogs show_needed_dialogs
fi fi
prompt -w "Removing the old '${name}' themes..." prompt -w "Removing the old '${name}' themes... \n"
remove_themes; customize_theme; avoid_variant_duplicates; echo remove_themes; customize_theme; avoid_variant_duplicates; echo
+1 -1
View File
@@ -558,7 +558,7 @@ check_param() {
fi fi
done ;; done ;;
-i) -i)
for i in {0..12}; do for i in {0..13}; do
if [[ "${value}" == "${ICON_VARIANTS[i]}" ]]; then if [[ "${value}" == "${ICON_VARIANTS[i]}" ]]; then
icon="${ICON_VARIANTS[i]}"; variant_found="true"; break icon="${ICON_VARIANTS[i]}"; variant_found="true"; break
fi fi
+29 -23
View File
@@ -813,22 +813,10 @@ gtk_base() {
customize_theme() { customize_theme() {
cp -rf "${THEME_SRC_DIR}/sass/_theme-options"{".scss","-temp.scss"} cp -rf "${THEME_SRC_DIR}/sass/_theme-options"{".scss","-temp.scss"}
# Change gnome-shell panel transparency # Darker dark colors
if [[ "${panel_opacity}" != 'default' ]]; then if [[ "${darker}" == 'true' ]]; then
prompt -s "Changing panel transparency ... \n" prompt -s "Changing dark color style to darker one ..."
sed $SED_OPT "/\$panel_opacity/s/0.15/0.${panel_opacity}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$darker/s/false/true/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
# Change gnome-shell panel height size
if [[ "${panel_size}" != 'default' ]]; then
prompt -s "Changing panel height size to '${panel_size}'... \n"
sed $SED_OPT "/\$panel_size/s/default/${panel_size}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
# Change gnome-shell show apps button style
if [[ "${showapps_normal}" == 'true' ]]; then
prompt -s "Changing gnome-shell show apps button style ... \n"
sed $SED_OPT "/\$showapps_button/s/bigsur/normal/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
# Change Nautilus sidarbar size # Change Nautilus sidarbar size
@@ -839,43 +827,61 @@ customize_theme() {
# Change Nautilus style # Change Nautilus style
if [[ "${nautilus_style}" != 'stable' ]]; then if [[ "${nautilus_style}" != 'stable' ]]; then
prompt -s "Changing Nautilus style ... \n" prompt -s "Changing Nautilus style ..."
sed $SED_OPT "/\$nautilus_style/s/stable/${nautilus_style}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$nautilus_style/s/stable/${nautilus_style}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
# Change Nautilus titlebutton placement style # Change Nautilus titlebutton placement style
if [[ "${right_placement}" == 'true' ]]; then if [[ "${right_placement}" == 'true' ]]; then
prompt -s "Changing Nautilus titlebutton placement style ... \n" prompt -s "Changing Nautilus titlebutton placement style ..."
sed $SED_OPT "/\$placement/s/left/right/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$placement/s/left/right/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
# Change maximized window radius # Change maximized window radius
if [[ "${max_round}" == 'true' ]]; then if [[ "${max_round}" == 'true' ]]; then
prompt -s "Changing maximized window style ... \n" prompt -s "Changing maximized window style ..."
sed $SED_OPT "/\$max_window_style/s/square/round/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$max_window_style/s/square/round/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
# Change gnome-shell panel transparency
if [[ "${panel_opacity}" != 'default' ]]; then
prompt -s "Changing panel transparency ..."
sed $SED_OPT "/\$panel_opacity/s/0.15/0.${panel_opacity}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
# Change gnome-shell panel height size
if [[ "${panel_size}" != 'default' ]]; then
prompt -s "Changing panel height size to '${panel_size}'..."
sed $SED_OPT "/\$panel_size/s/default/${panel_size}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
# Change gnome-shell show apps button style
if [[ "${showapps_normal}" == 'true' ]]; then
prompt -s "Changing gnome-shell show apps button style ..."
sed $SED_OPT "/\$showapps_button/s/bigsur/normal/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
# Change panel font color # Change panel font color
if [[ "${monterey}" == 'true' ]]; then if [[ "${monterey}" == 'true' ]]; then
black_font="true" black_font="true"
prompt -s "Changing to Monterey style ... \n" prompt -s "Changing to Monterey style ..."
sed $SED_OPT "/\$monterey/s/false/true/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$monterey/s/false/true/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
sed $SED_OPT "/\$panel_opacity/s/0.15/0.5/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$panel_opacity/s/0.15/0.5/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
# Change panel font color # Change panel font color
if [[ "${black_font}" == 'true' ]]; then if [[ "${black_font}" == 'true' ]]; then
prompt -s "Changing panel font color ... \n" prompt -s "Changing panel font color ..."
sed $SED_OPT "/\$panel_font/s/white/black/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$panel_font/s/white/black/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
if [[ "${compact}" == 'false' ]]; then if [[ "${compact}" == 'false' ]]; then
prompt -s "Changing Definition mode to HD (Bigger font, Bigger size) ... \n" prompt -s "Changing Definition mode to HD (Bigger font, Bigger size) ..."
#FIXME: @vince is it not implemented yet? (Only Gnome-shell and Gtk theme finished!) #FIXME: @vince is it not implemented yet? (Only Gnome-shell and Gtk theme finished!)
fi fi
if [[ "${scale}" == 'x2' ]]; then if [[ "${scale}" == 'x2' ]]; then
prompt -s "Changing GDM scaling to 200% ... \n" prompt -s "Changing GDM scaling to 200% ..."
sed $SED_OPT "/\$scale/s/default/x2/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss" sed $SED_OPT "/\$scale/s/default/x2/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi fi
} }
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -114,10 +114,23 @@
margin: 6px !important; margin: 6px !important;
padding: 0 !important; padding: 0 !important;
} }
button.close {
button.close:not(.ghost-button) {
margin: 0 !important; margin: 0 !important;
} }
button.close.ghost-button {
margin: 6px !important;
}
button.close.ghost-button:not(:active):hover {
background-color: var(--gnome-headerbar-button-hover-background) !important;
}
button.close.ghost-button:active {
background-color: var(--gnome-headerbar-button-active-background) !important;
}
/* */ /* */
#appMenu-popup .panel-banner-item[notificationid="update-restart"]::after { #appMenu-popup .panel-banner-item[notificationid="update-restart"]::after {
display: none !important; display: none !important;
+10 -32
View File
@@ -28,7 +28,7 @@ menulist,
#sidebar-switcher-target, #sidebar-switcher-target,
#viewButton, #viewButton,
.close-icon:not(.tab-close-button), .close-icon:not(.tab-close-button),
button.close, button.close:not(.ghost-button),
.menulist-label-box, .menulist-label-box,
.expander-down, .expander-up, .expander-down, .expander-up,
.notification-button, .notification-button,
@@ -120,7 +120,7 @@ menulist:hover,
#sidebar-switcher-target:hover, #sidebar-switcher-target:hover,
#viewButton:hover, #viewButton:hover,
.close-icon:not(.tab-close-button):hover, .close-icon:not(.tab-close-button):hover,
button.close:hover, button.close:not(.ghost-button):hover,
menulist:hover .menulist-label-box, menulist:hover .menulist-label-box,
.expander-down:hover, .expander-up:hover, .expander-down:hover, .expander-up:hover,
.notification-button:hover, .notification-button:hover,
@@ -157,7 +157,7 @@ menulist[open],
#sidebar-switcher-target:active, #sidebar-switcher-target.active, #sidebar-switcher-target:active, #sidebar-switcher-target.active,
#viewButton[open], #viewButton[open],
.close-icon:not(.tab-close-button):active, .close-icon:not(.tab-close-button):active,
button.close:active, button.close:not(.ghost-button):active,
menulist[open] .menulist-label-box, menulist[open] .menulist-label-box,
.expander-down:active, .expander-up:active, .expander-down:active, .expander-up:active,
.notification-button:active, .notification-button:active,
@@ -210,7 +210,7 @@ menulist[open] .menulist-label-box,
/* Flat buttons */ /* Flat buttons */
.subviewbutton-back:not(#hack), .subviewbutton-back:not(#hack),
.close-icon:not(.tab-close-button), .close-icon:not(.tab-close-button),
button.close, button.close:not(.ghost-button),
#protections-popup-info-button, #protections-popup-info-button,
.permission-popup-permission-remove-button { .permission-popup-permission-remove-button {
background: transparent !important; background: transparent !important;
@@ -221,9 +221,10 @@ button.close,
.subviewbutton-back:not(#hack):not(:active):hover, .subviewbutton-back:not(#hack):not(:active):hover,
.close-icon:not(.tab-close-button):not(:active):hover, .close-icon:not(.tab-close-button):not(:active):hover,
button.close:not(:active):hover, button.close:not(.ghost-button):not(:active):hover,
#protections-popup-info-button:hover, #protections-popup-info-button:hover,
.permission-popup-permission-remove-button:not(:active):hover { .permission-popup-permission-remove-button:not(:active):hover {
background: var(--gnome-headerbar-button-hover-background) !important;
box-shadow: none !important; box-shadow: none !important;
border-color: var(--gnome-button-border-color) !important; border-color: var(--gnome-button-border-color) !important;
border-bottom-color: var(--gnome-button-border-accent-color) !important; border-bottom-color: var(--gnome-button-border-accent-color) !important;
@@ -231,41 +232,18 @@ button.close:not(:active):hover,
.subviewbutton-back:not(#hack):active, .subviewbutton-back:not(#hack):active,
.close-icon:not(.tab-close-button):active, .close-icon:not(.tab-close-button):active,
button.close:active, button.close:not(.ghost-button):active,
#protections-popup-info-button:active, #protections-popup-info-button:active,
.permission-popup-permission-remove-button:active { .permission-popup-permission-remove-button:active {
box-shadow: none !important; box-shadow: none !important;
background: var(--gnome-headerbar-button-active-background) !important;
} }
button.close,
.close-icon:not(.tab-close-button) { .close-icon:not(.tab-close-button) {
background: transparent !important;
box-shadow: none !important; box-shadow: none !important;
border: none !important; border: none !important;
border-radius: 100px !important; border-radius: 100% !important;
padding: 0 0 !important;
margin: 0 0 !important;
min-height: 24px !important;
min-width: 24px !important;
}
#sidebar-close.close-icon,
.findbar-closebutton.close-icon {
min-width: 28px !important;
}
.close-icon:not(.tab-close-button) .button-icon {
padding: 0 0 !important;
margin: 0 0 !important;
}
.close-icon:not(.tab-close-button):hover {
outline: 0 !important;
background: var(--gnome-button-hover-color) !important;
}
.close-icon:not(.tab-close-button):active {
outline: 0 !important;
background: var(--gnome-button-active-color) !important;
} }
/* Circle buttons */ /* Circle buttons */
@@ -111,23 +111,25 @@ toolbarspring {
min-height: 34px !important; min-height: 34px !important;
min-width: 34px !important; min-width: 34px !important;
margin: 0 !important; margin: 0 !important;
border-radius: 0 !important;
} }
.searchbar-engine-one-off-item:hover, .searchbar-engine-one-off-item[selected] { .searchbar-engine-one-off-item:hover, .searchbar-engine-one-off-item[selected] {
background: var(--gnome-button-hover-background) !important; background: var(--gnome-button-hover-background) !important;
color: unset !important; color: unset !important;
} }
.searchbar-engine-one-off-item:first-child { .searchbar-engine-one-off-item:first-child {
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px !important;
border-left-width: 1px !important; border-left-width: 1px !important;
} }
.searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:last-child { .searchbar-engine-one-off-item:last-child:not(.search-setting-button) {
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0 !important;
} }
#urlbar-anon-search-settings-compact { #urlbar-anon-search-settings-compact,
.search-setting-button {
border-left-width: 1px !important; border-left-width: 1px !important;
border-bottom: 1px solid var(--gnome-button-border-accent-color) !important; border-bottom: 1px solid var(--gnome-button-border-accent-color) !important;
border-radius: 5px; border-radius: 5px !important;
margin-left: 6px !important; margin-left: 6px !important;
} }
+1 -1
View File
@@ -17,7 +17,7 @@ menupopup {
#PlacesToolbar menupopup { #PlacesToolbar menupopup {
background: none !important; background: none !important;
padding: 3px 6px 8px !important; padding: 3px 6px 8px !important;
margin-top: 0 !important; margin: 0 0 0 -8px !important;
border: none !important; border: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
@@ -139,15 +139,6 @@ tab > stack {
margin-left: auto !important; margin-left: auto !important;
} }
/* If tab close button is not present, don't force favicon to the center */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stack {
margin-left: 0 !important;
}
/* Fix website with no favicon centred text */ /* Fix website with no favicon centred text */
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack { .tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack {
margin-left: 0 !important margin-left: 0 !important
@@ -251,8 +242,6 @@ tab > stack {
max-width: .1px !important; max-width: .1px !important;
} }
/* Remove container bottom line indicator */
/* Remove alt colours references for multi tabs*/ /* Remove alt colours references for multi tabs*/
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line { .tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-bottom-line {
display: none; display: none;
@@ -114,10 +114,23 @@
margin: 6px !important; margin: 6px !important;
padding: 0 !important; padding: 0 !important;
} }
button.close {
button.close:not(.ghost-button) {
margin: 0 !important; margin: 0 !important;
} }
button.close.ghost-button {
margin: 6px !important;
}
button.close.ghost-button:not(:active):hover {
background-color: var(--gnome-headerbar-button-hover-background) !important;
}
button.close.ghost-button:active {
background-color: var(--gnome-headerbar-button-active-background) !important;
}
/* */ /* */
#appMenu-popup .panel-banner-item[notificationid="update-restart"]::after { #appMenu-popup .panel-banner-item[notificationid="update-restart"]::after {
display: none !important; display: none !important;
+12 -64
View File
@@ -28,8 +28,7 @@ menulist,
#sidebar-switcher-target, #sidebar-switcher-target,
#viewButton, #viewButton,
.close-icon:not(.tab-close-button), .close-icon:not(.tab-close-button),
button.close, button.close:not(.ghost-button),
#TabsToolbar .toolbarbutton-1,
.menulist-label-box, .menulist-label-box,
.expander-down, .expander-up, .expander-down, .expander-up,
.notification-button, .notification-button,
@@ -121,8 +120,7 @@ menulist:hover,
#sidebar-switcher-target:hover, #sidebar-switcher-target:hover,
#viewButton:hover, #viewButton:hover,
.close-icon:not(.tab-close-button):hover, .close-icon:not(.tab-close-button):hover,
button.close:hover, button.close:not(.ghost-button):hover,
#TabsToolbar .toolbarbutton-1:hover,
menulist:hover .menulist-label-box, menulist:hover .menulist-label-box,
.expander-down:hover, .expander-up:hover, .expander-down:hover, .expander-up:hover,
.notification-button:hover, .notification-button:hover,
@@ -159,8 +157,7 @@ menulist[open],
#sidebar-switcher-target:active, #sidebar-switcher-target.active, #sidebar-switcher-target:active, #sidebar-switcher-target.active,
#viewButton[open], #viewButton[open],
.close-icon:not(.tab-close-button):active, .close-icon:not(.tab-close-button):active,
button.close:active, button.close:not(.ghost-button):active,
#TabsToolbar .toolbarbutton-1:active, #TabsToolbar .toolbarbutton-1[open],
menulist[open] .menulist-label-box, menulist[open] .menulist-label-box,
.expander-down:active, .expander-up:active, .expander-down:active, .expander-up:active,
.notification-button:active, .notification-button:active,
@@ -213,8 +210,7 @@ menulist[open] .menulist-label-box,
/* Flat buttons */ /* Flat buttons */
.subviewbutton-back:not(#hack), .subviewbutton-back:not(#hack),
.close-icon:not(.tab-close-button), .close-icon:not(.tab-close-button),
button.close, button.close:not(.ghost-button),
#TabsToolbar .toolbarbutton-1,
#protections-popup-info-button, #protections-popup-info-button,
.permission-popup-permission-remove-button { .permission-popup-permission-remove-button {
background: transparent !important; background: transparent !important;
@@ -225,10 +221,10 @@ button.close,
.subviewbutton-back:not(#hack):not(:active):hover, .subviewbutton-back:not(#hack):not(:active):hover,
.close-icon:not(.tab-close-button):not(:active):hover, .close-icon:not(.tab-close-button):not(:active):hover,
button.close:not(:active):hover, button.close:not(.ghost-button):not(:active):hover,
#TabsToolbar .toolbarbutton-1:not(:active):not([open]):hover,
#protections-popup-info-button:hover, #protections-popup-info-button:hover,
.permission-popup-permission-remove-button:not(:active):hover { .permission-popup-permission-remove-button:not(:active):hover {
background: var(--gnome-headerbar-button-hover-background) !important;
box-shadow: none !important; box-shadow: none !important;
border-color: var(--gnome-button-border-color) !important; border-color: var(--gnome-button-border-color) !important;
border-bottom-color: var(--gnome-button-border-accent-color) !important; border-bottom-color: var(--gnome-button-border-accent-color) !important;
@@ -236,64 +232,18 @@ button.close:not(:active):hover,
.subviewbutton-back:not(#hack):active, .subviewbutton-back:not(#hack):active,
.close-icon:not(.tab-close-button):active, .close-icon:not(.tab-close-button):active,
button.close:active, button.close:not(.ghost-button):active,
#TabsToolbar .toolbarbutton-1:active,
#protections-popup-info-button:active, #protections-popup-info-button:active,
.permission-popup-permission-remove-button:active { .permission-popup-permission-remove-button:active {
box-shadow: none !important; box-shadow: none !important;
background: var(--gnome-headerbar-button-active-background) !important;
} }
button.close,
.close-icon:not(.tab-close-button) { .close-icon:not(.tab-close-button) {
background: transparent !important;
box-shadow: none !important; box-shadow: none !important;
border: none !important; border: none !important;
border-radius: 100px !important; border-radius: 100% !important;
padding: 0 0 !important;
margin: 0 0 !important;
min-height: 24px !important;
min-width: 24px !important;
}
#sidebar-close.close-icon,
.findbar-closebutton.close-icon {
min-width: 28px !important;
}
.close-icon:not(.tab-close-button) .button-icon {
padding: 0 0 !important;
margin: 0 0 !important;
}
#TabsToolbar .toolbarbutton-1 {
margin: 0 0 !important;
padding: 0 0 !important;
height: 28px !important;
width: 32px !important;
min-height: 28px !important;
min-width: 32px !important;
border-radius: 0 !important;
transition: all 200ms;
}
#TabsToolbar .toolbarbutton-1 image {
margin: 0 0 !important;
padding: 0 0 !important;
height: 16px !important;
width: 16px !important;
min-height: 16px !important;
min-width: 16px !important;
}
.close-icon:not(.tab-close-button):hover,
#TabsToolbar .toolbarbutton-1:not(:active):not([open]):hover {
outline: 0 !important;
background: var(--gnome-button-hover-color) !important;
}
.close-icon:not(.tab-close-button):active,
#TabsToolbar .toolbarbutton-1:active, #TabsToolbar .toolbarbutton-1[open] {
outline: 0 !important;
background: var(--gnome-button-active-color) !important;
} }
/* Circle buttons */ /* Circle buttons */
@@ -313,8 +263,7 @@ button.close:active,
#appMenu-popup .toolbaritem-combined-buttons toolbarbutton:not(:last-of-type):not(#appMenu-zoomEnlarge-button), #appMenu-popup .toolbaritem-combined-buttons toolbarbutton:not(:last-of-type):not(#appMenu-zoomEnlarge-button),
#context-navigation menuitem:not(:last-of-type), #context-navigation menuitem:not(:last-of-type),
.findbar-container toolbarbutton.findbar-find-previous, .findbar-container toolbarbutton.findbar-find-previous,
.findbar-button:not(:last-of-type), .findbar-button:not(:last-of-type) {
.search-panel-one-offs .searchbar-engine-one-off-item:not(:last-child) {
border-top-right-radius: 0 !important; border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important; border-bottom-right-radius: 0 !important;
border-right-width: 0 !important; border-right-width: 0 !important;
@@ -327,8 +276,7 @@ button.close:active,
#context-navigation menuitem:not(:first-of-type), #context-navigation menuitem:not(:first-of-type),
.findbar-container toolbarbutton.findbar-find-previous, .findbar-container toolbarbutton.findbar-find-previous,
.findbar-container toolbarbutton.findbar-find-next, .findbar-container toolbarbutton.findbar-find-next,
.findbar-button:not(:first-of-type), .findbar-button:not(:first-of-type) {
.search-panel-one-offs .searchbar-engine-one-off-item:not(:first-child) {
border-top-left-radius: 0 !important; border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important; border-bottom-left-radius: 0 !important;
margin-left: 0 !important; margin-left: 0 !important;
@@ -117,17 +117,18 @@ toolbarspring {
color: unset !important; color: unset !important;
} }
.searchbar-engine-one-off-item:first-child { .searchbar-engine-one-off-item:first-child {
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px !important;
border-left-width: 1px !important; border-left-width: 1px !important;
} }
.searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:last-child { .searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:not(.search-setting-button):last-child {
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0 !important;
} }
#urlbar-anon-search-settings-compact { #urlbar-anon-search-settings-compact,
.search-setting-button {
border-left-width: 1px !important; border-left-width: 1px !important;
border-bottom: 1px solid var(--gnome-button-border-accent-color) !important; border-bottom: 1px solid var(--gnome-button-border-accent-color) !important;
border-radius: 5px; border-radius: 5px !important;
margin-left: 6px !important; margin-left: 6px !important;
} }
+1 -1
View File
@@ -17,7 +17,7 @@ menupopup {
#PlacesToolbar menupopup { #PlacesToolbar menupopup {
background: none !important; background: none !important;
padding: 3px 6px 8px !important; padding: 3px 6px 8px !important;
margin-top: 0 !important; margin: 0 0 0 -8px !important;
border: none !important; border: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
@@ -148,15 +148,6 @@ tab[selected]:-moz-window-inactive {
margin-left: auto !important; margin-left: auto !important;
} }
/* If tab close button is not present, don't force favicon to the center */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stack {
margin-left: 0 !important;
}
/* Fix website with no favicon centred text */ /* Fix website with no favicon centred text */
.tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack { .tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]) .tab-icon-stack {
margin-left: 0 !important margin-left: 0 !important
@@ -367,11 +358,6 @@ tab[selected]:-moz-window-inactive {
} }
/* Fix too many tabs text align */ /* Fix too many tabs text align */
.tab-close-button[pinned],
#tabbrowser-tabs[closebuttons="activetab"]>#tabbrowser-arrowscrollbox>.tabbrowser-tab>.tab-stack>.tab-content>.tab-icon-stack:not([selected="true"]) {
margin-left: 0 !important;
}
.tab-close-button[pinned], .tab-close-button[pinned],
#tabbrowser-tabs[closebuttons="activetab"]>#tabbrowser-arrowscrollbox>.tabbrowser-tab>.tab-stack>.tab-content>.tab-icon-stack[selected="true"] { #tabbrowser-tabs[closebuttons="activetab"]>#tabbrowser-arrowscrollbox>.tabbrowser-tab>.tab-stack>.tab-content>.tab-icon-stack[selected="true"] {
margin-left: auto !important; margin-left: auto !important;
+10 -10
View File
@@ -10,9 +10,9 @@
@import 'colors-palette'; @import 'colors-palette';
// Base colors // Base colors
$base_color: if($variant == 'light', #ffffff, #242424); $base_color: if($variant == 'light', #ffffff, if($darker == 'true', #1f1f1f, #242424));
$text_color: if($variant == 'light', #363636, #dadada); $text_color: if($variant == 'light', #363636, #dadada);
$bg_color: if($variant == 'light', #f5f5f5, #333333); $bg_color: if($variant == 'light', #f5f5f5, if($darker == 'true', #282828, #333333));
$fg_color: if($variant == 'light', #242424, #dedede); $fg_color: if($variant == 'light', #242424, #dedede);
$alt_fg_color: if($variant == 'light', #424242, #afafaf); $alt_fg_color: if($variant == 'light', #424242, #afafaf);
$hint_fg_color: if($variant == 'light', #565656, #999999); $hint_fg_color: if($variant == 'light', #565656, #999999);
@@ -102,9 +102,9 @@ $alt_disabled_fg_color: if($variant == 'light', transparentize($alt_
$disabled_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%)); $disabled_bg_color: if($variant == 'light', mix($bg_color, $base_color, 40%), lighten($bg_color, 2%));
// Headerbar colors // Headerbar colors
$header_bg: if($variant == 'light', #ffffff, #373737); $header_bg: if($variant == 'light', #ffffff, if($darker == 'true', #1e1e1e, #373737));
$dark_header_bg: if($trans == 'true', rgba($base_color, 0.95), $base_color); $dark_header_bg: if($trans == 'true', rgba($base_color, 0.95), $base_color);
$header_highlight: if($variant == 'dark', #434343, #f5f5f5); // For metacity $header_highlight: if($variant == 'dark', if($darker == 'true', #242424, #434343), #f5f5f5); // For metacity
$header_bg_backdrop: if($variant == 'light', darken($header_bg, 0%), darken($header_bg, 0%)); $header_bg_backdrop: if($variant == 'light', darken($header_bg, 0%), darken($header_bg, 0%));
$header_border: if($variant == 'light', mix(black, $header_bg, 12%), mix(black, $header_bg, 75%)); $header_border: if($variant == 'light', mix(black, $header_bg, 12%), mix(black, $header_bg, 75%));
@@ -123,11 +123,11 @@ $dark_sidebar_bg: white;
} }
@if $trans=='true' and $variant=='dark' { @if $trans=='true' and $variant=='dark' {
$dark_sidebar_bg: transparentize(#333333, 0.05); $dark_sidebar_bg: transparentize(if($darker == 'true', #282828, #333333), 0.05);
} }
@if $trans=='false' and $variant=='dark' { @if $trans=='false' and $variant=='dark' {
$dark_sidebar_bg: #333333; $dark_sidebar_bg: if($darker == 'true', #282828, #333333);
} }
$dark_sidebar_fg: $text_color; $dark_sidebar_fg: $text_color;
@@ -136,7 +136,7 @@ $sidebar_theme_color: if($variant == 'light', rgba(black, 0.12), r
//OSD colors //OSD colors
$osd_fg_color: #dadada; $osd_fg_color: #dadada;
$osd_bg_color: if($trans=='true', rgba(#2a2a2a, 0.9), #2a2a2a); $osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #1a1a1a, #2a2a2a), 0.9), if($darker == 'true', #1a1a1a, #2a2a2a));
$osd_button_bg: rgba(lighten($osd_bg_color, 22%), 0.96); $osd_button_bg: rgba(lighten($osd_bg_color, 22%), 0.96);
$osd_button_border: $dark_borders_color; $osd_button_border: $dark_borders_color;
$osd_entry_bg: rgba(lighten($osd_bg_color, 22%), 0.96); $osd_entry_bg: rgba(lighten($osd_bg_color, 22%), 0.96);
@@ -158,7 +158,7 @@ $submenu_bg_color: if($variant == 'light', rgba(white, 1), rgba
@if $trans=='true' { $submenu_bg_color: if($variant == 'light', rgba(white, 0.75), rgba(white, 0.15)); } @if $trans=='true' { $submenu_bg_color: if($variant == 'light', rgba(white, 0.75), rgba(white, 0.15)); }
// Panel colors // Panel colors
$panel_bg: if($variant == 'light', #f1f1f1, #2a2a2a); $panel_bg: if($variant == 'light', #f1f1f1, if($darker == 'true', #1f1f1f, #2a2a2a));
@if $trans == 'true' { @if $trans == 'true' {
$panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity)); $panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity));
@@ -172,10 +172,10 @@ $panel_fg: if($trans == 'true' and $panel_font == 'whit
$panel_track: if(($trans == 'false' or $panel_font == 'black') and $variant == 'light', rgba(black, 0.15), rgba(white, 0.28)); $panel_track: if(($trans == 'false' or $panel_font == 'black') and $variant == 'light', rgba(black, 0.15), rgba(white, 0.28));
$panel_divider: if(($trans == 'false' or $panel_font == 'black') and $variant == 'light', rgba(black, 0.08), rgba(white, 0.15)); $panel_divider: if(($trans == 'false' or $panel_font == 'black') and $variant == 'light', rgba(black, 0.08), rgba(white, 0.15));
$dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity + 0.33), rgba(#222222, $panel_opacity/2 + 0.6)); $dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity + 0.33), rgba(if($darker == 'true', #1f1f1f, #222222), $panel_opacity/2 + 0.6));
@if $trans == 'true' and $panel_font == 'black' { @if $trans == 'true' and $panel_font == 'black' {
$dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity/2 + 0.08), rgba(#222222, $panel_opacity + 0.15)); $dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity/2 + 0.08), rgba(if($darker == 'true', #1f1f1f, #222222), $panel_opacity + 0.15));
} }
$dash_fg: if($variant == 'light', black, white); $dash_fg: if($variant == 'light', black, white);
+3
View File
@@ -29,5 +29,8 @@ $panel_size: 'default';
// Monterey style // Monterey style
$monterey: 'false'; $monterey: 'false';
// Color style
$darker: 'false';
// GDM login dialog scale // GDM login dialog scale
$scale: 'default'; $scale: 'default';
+6 -6
View File
@@ -277,15 +277,15 @@ $menu_border: if($variant=='light', darken($menu_bg, 18%), darken($menu_bg, 12%)
.menu, .menu,
.popup-menu, .popup-menu,
%menu { %menu {
padding: 0 6px 4px; padding: 0 $container_padding $container_padding / 2;
color: $fg_color; color: $fg_color;
@if $trans == 'true' { @if $trans == 'true' {
border-image: url("assets/menu.svg") 17 17 17 17; border-image: url("assets/menu.svg") 20 20 23 20;
} }
@else { @else {
border-image: url("assets/menu-solid.svg") 17 17 17 17; border-image: url("assets/menu-solid.svg") 20 20 23 20;
} }
&-arrow { icon-size: 16px; } &-arrow { icon-size: 16px; }
@@ -871,11 +871,11 @@ $menu_border: if($variant=='light', darken($menu_bg, 18%), darken($menu_bg, 12%)
padding: 20px; padding: 20px;
@if $trans == 'true' { @if $trans == 'true' {
border-image: url("assets/menu.svg") 17 17 17 17; border-image: url("assets/menu.svg") 20 20 23 20;
} }
@else { @else {
border-image: url("assets/menu-solid.svg") 17 17 17 17; border-image: url("assets/menu-solid.svg") 20 20 23 20;
} }
> StBoxLayout { > StBoxLayout {
@@ -1154,7 +1154,7 @@ $menu_border: if($variant=='light', darken($menu_bg, 18%), darken($menu_bg, 12%)
// //
.menu { .menu {
&-favorites-box { &-favorites-box {
margin: auto; margin: 0 0 8px 1px;
padding: 6px; padding: 6px;
transition-duration: 300; transition-duration: 300;
background-color: rgba($fg_color, 0.05); background-color: rgba($fg_color, 0.05);
@@ -19,7 +19,7 @@ $window_close_button_padding: 3px;
.window-close { .window-close {
background-color: rgba($destructive_color, 1); background-color: rgba($destructive_color, 1);
color: white; color: white;
border-radius: $window_close_button_size * 0.5 + $window_close_button_padding * 2; border-radius: $circular_radius;
padding: $window_close_button_padding; padding: $window_close_button_padding;
height: $window_close_button_size; height: $window_close_button_size;
width: $window_close_button_size; width: $window_close_button_size;
+5
View File
@@ -41,3 +41,8 @@ window.background.csd {
} }
} }
} }
window.nightthemeswitcher headerbar {
background: $header_bg;
color: $header_fg;
}
+18 -6
View File
@@ -1775,14 +1775,17 @@ headerbar {
} }
} }
&.default-decoration, &.default-decoration, // needed under wayland, since all gtk3 windows are csd windows
.csd &.default-decoration, // needed under wayland, since all gtk3 windows are csd windows &.default-decoration:backdrop {
&.default-decoration:backdrop,
.csd &.default-decoration:backdrop {
// box-shadow: none; // box-shadow: none;
border: none; border: none;
} }
.csd &.default-decoration,
.csd &.default-decoration:backdrop {
border-bottom: 1px solid $header_border;
}
separator.titlebutton { @extend %header_separator; } separator.titlebutton { @extend %header_separator; }
// Fixes split headerbars // Fixes split headerbars
@@ -3573,12 +3576,16 @@ messagedialog { // Message Dialog styling
border-radius: $bt_radius; border-radius: $bt_radius;
background-color: transparent; background-color: transparent;
&:hover { &:hover, &:focus:hover {
@include button(flat-hover); @include button(flat-hover);
transition: $button_transition; transition: $button_transition;
} }
&:active, &:checked { &:focus {
background-color: $fill_color;
}
&:active, &:active:hover {
@include button(active); @include button(active);
} }
} }
@@ -4238,6 +4245,11 @@ decoration {
&.maximized, &.tiled { border-radius: 0; } &.maximized, &.tiled { border-radius: 0; }
} }
.metacity & {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.csd.popup & { .csd.popup & {
border-radius: $mn_radius; border-radius: $mn_radius;
box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), $wm_outline; box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 0, 0, 0.08), $wm_outline;
+141 -141
View File
@@ -46,6 +46,8 @@ $list_shadow: if($variant == 'light',
} }
%circular_row { %circular_row {
border: none;
&:first-child { &:first-child {
border-top-left-radius: $wm_radius; border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius; border-top-right-radius: $wm_radius;
@@ -1574,17 +1576,19 @@ actionbar > revealer > box {
} }
headerbar { headerbar {
min-height: $headerbar_size; min-height: $headerbar_size + 4px;
padding: 0 $container_padding + 10px; padding: 0 $container_padding + 10px;
color: $header_fg; color: $header_fg;
background-color: $header_bg; background-color: $header_bg;
border-bottom: 1px solid $header_border; border-bottom: 1px solid $header_border;
box-shadow: none;
&:backdrop { &:backdrop {
transition: $backdrop_transition; transition: $backdrop_transition;
color: transparentize($header_fg, 0.3); color: transparentize($header_fg, 0.3);
background-color: $header_bg_backdrop; background-color: $header_bg_backdrop;
border-color: if($variant=='light', lighten($header_border, 5%), darken($header_border, 3%)); border-color: if($variant=='light', lighten($header_border, 5%), darken($header_border, 3%));
box-shadow: none;
} }
.title { .title {
@@ -1609,7 +1613,10 @@ headerbar {
margin-bottom: 8px; margin-bottom: 8px;
} }
// button.toggle.popup { margin-right: 3px; } // Nautilus 3.30 popup button menubutton.popup, {
margin-top: 0;
margin-bottom: 0;
}
// Reset linked buttons // Reset linked buttons
.linked.raised > & { .linked.raised > & {
@@ -1690,25 +1697,30 @@ headerbar {
box-shadow: none; box-shadow: none;
} }
&.windowhandle { windowhandle {
viewswitcher button:not(.titlebutton):not(.suggested-action):not(.destructive-action) { viewswitcher {
border-radius: 0; button {
margin-top: 0; margin-top: 2px;
margin-bottom: 0; margin-bottom: 1px;
min-height: 0;
> stack > box {
&.wide {
padding: 0 12px;
border-spacing: 0;
}
}
}
} }
> button.popup { box.linked > button {
&:hover { background-color: $fill_color;
@include button(header-hover);
}
&:active { &:hover { background-color: $divider_color; }
@include button(header-active);
}
&:checked { &:active { background-color: $track_color; }
@include button(header-checked);
} &:checked { background-color: $visit_color; }
} }
} }
@@ -1793,129 +1805,16 @@ headerbar {
} }
} }
&.default-decoration,
.csd &.default-decoration, // needed under wayland, since all gtk3 windows are csd windows
&.default-decoration:backdrop,
.csd &.default-decoration:backdrop {
// box-shadow: none;
border: none;
}
separator.titlebutton { @extend %header_separator; } separator.titlebutton { @extend %header_separator; }
// Fixes split headerbars
separator:first-child + &,
&:first-child {
&, &:backdrop {
border-top-left-radius: $wm_radius;
.maximized &,
.tiled & { border-top-left-radius: $maximized_radius; }
}
}
&:last-child {
&, &:backdrop {
border-top-right-radius: $wm_radius;
.maximized &,
.tiled & { border-top-right-radius: $maximized_radius; }
}
}
stack & { // tackles the stacked headerbars case
&:first-child, &:last-child {
border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius;
}
}
window separator:first-child + &,
window &:first-child { &:backdrop, & { border-top-left-radius: $wm_radius; }}
window &:last-child { &:backdrop, & { border-top-right-radius: $wm_radius; }}
window stack & { // tackles the stacked headerbars case
&:first-child, &:last-child {
&:backdrop, & {
border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius;
}
}
}
window.tiled &,
window.tiled-top &,
window.tiled-right &,
window.tiled-bottom &,
window.tiled-left &,
window.maximized & {
&,
&:first-child,
&:last-child,
&:only-child {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
}
window.fullscreen &,
.solid-csd & {
&,
&:first-child,
&:last-child,
&:only-child {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
} }
.titlebar { .titlebar {
&, &.background {
border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius;
}
&, & headerbar {
box-shadow: inset 0 1px $highlight_color;
.tiled &,
.maximized &,
.fullscreen & {
box-shadow: none;
&, &.background {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
}
}
> box.left.horizontal, > box.left.horizontal,
> box.right.horizontal { > box.right.horizontal {
padding: 0 $container_padding; padding: 0 $container_padding;
} }
} }
window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar style for not CSD window
border-radius: 0 0 0 0;
box-shadow: none;
// Fixes split headerbars
separator:first-child + &,
&:first-child {
&, &:backdrop {
border-top-left-radius: 0;
}
}
&:last-child {
&, &:backdrop {
border-top-right-radius: 0;
}
}
}
// Fixes split headerbars too // Fixes split headerbars too
.titlebar:not(headerbar) { .titlebar:not(headerbar) {
window > &, window > &,
@@ -2196,6 +2095,7 @@ popover.background {
> arrow, > arrow,
> contents { > contents {
padding: 0; padding: 0;
color: $fg_color;
background-clip: border-box; background-clip: border-box;
background-color: $menu_bg; background-color: $menu_bg;
box-shadow: 0 3px 6px 0 if($variant=='light', transparentize(black, 0.85), transparentize(black, 0.85)), box-shadow: 0 3px 6px 0 if($variant=='light', transparentize(black, 0.85), transparentize(black, 0.85)),
@@ -2329,6 +2229,7 @@ popover.menu {
&.background > contents { &.background > contents {
background-color: $menu_bg; background-color: $menu_bg;
padding: $container_padding; padding: $container_padding;
color: $fg_color;
} }
&.background separator { &.background separator {
@@ -2362,6 +2263,7 @@ popover.menu {
padding: $container_padding / 3 $container_padding; padding: $container_padding / 3 $container_padding;
border-radius: $mn_radius - $container_padding / 2; border-radius: $mn_radius - $container_padding / 2;
transition: none; transition: none;
color: $text_color;
&:focus { &:focus {
background-color: transparent; background-color: transparent;
@@ -2418,6 +2320,25 @@ popover.menu {
} }
} }
%monterey_tab {
color: $disabled_fg_color;
background-color: transparentize($base_color, 1);
border: none;
transition: all 150ms ease-out;
border-radius: $bt_radius;
padding: 0 $container_padding + 4px;
&:hover:not(:checked) {
color: mix($fg_color, $disabled_fg_color, 50%);
background-color: rgba($fg_color, 0.06);
}
&:checked {
color: $fg_color;
background-color: rgba($fg_color, 0.12);
}
}
notebook { notebook {
padding: 0; padding: 0;
// margin-top: -1px; // margin-top: -1px;
@@ -2598,6 +2519,62 @@ notebook {
} }
} }
tabbox {
@if $monterey == 'false' {
background-color: darken($header_bg, 10%);
box-shadow: inset 0 -1px $borders_color;
} @else {
background-color: $header_bg;
border-bottom: 1px solid $borders_color;
padding: 0 $container_padding / 2 $container_padding / 2;
}
> tab {
@if $monterey == 'false' {
@extend %tabs_tab;
border-top: none;
border-top: 1px solid $borders_color;
&:checked { border-top-color: $header_bg; }
} @else {
@extend %monterey_tab;
+ tab {
margin-left: $container_padding / 2;
}
}
button.tab-close-button {
border-radius: 3px;
border: none;
padding: 0;
@extend %flat_button;
@if $monterey == 'false' {
min-height: $small_size;
min-width: $small_size;
margin-top: 2px;
margin-bottom: 2px;
} @else {
min-height: 16px;
min-width: 16px;
margin-top: 4px;
margin-bottom: 4px;
margin-right: -$container_padding;
}
&:hover {
color: $fg_color;
background-color: rgba($borders_color, 0.1);
}
&:active, &:active:hover {
color: if($variant == 'light', darken($fg_color, 10%), lighten($fg_color, 10%));
background-color: rgba($borders_color, 0.2);
}
}
}
}
// //
// Scrollbars // Scrollbars
// //
@@ -3404,17 +3381,13 @@ separator {
// //
// Lists // Lists
// //
listview,
list { list {
background-color: $base_color; background-color: $base_color;
border-color: $borders_color; border-color: $borders_color;
// border-radius: $wm_radius; color: $fg_color;
> row { > row {
padding: 2px; padding: 2px;
// &:first-child { border-radius: $bt_radius $bt_radius 0 0; }
// &:last-child { border-radius: 0 0 $bt_radius $bt_radius; }
} }
&.content:not(.conversation-listbox) { &.content:not(.conversation-listbox) {
@@ -3425,10 +3398,37 @@ list {
} }
} }
&.boxed-list {
@extend %circular_list;
> row {
@extend %circular_row;
&.expander {
list {
background-color: transparent;
box-shadow: none;
border: none;
> row {
@extend %circular_row;
}
}
}
}
}
> row.expander { padding: 0px; } > row.expander { padding: 0px; }
> row.expander .row-header { padding: 2px; } > row.expander .row-header { padding: 2px; }
} }
listview.view {
color: $fg_color;
background-color: transparent;
popover.menu & { padding: 0; }
}
%row_activatable { %row_activatable {
&.has-open-popup, &.has-open-popup,
&:hover { background-color: if($variant == 'light', rgba(black, 0.05), rgba(white, 0.05)); } &:hover { background-color: if($variant == 'light', rgba(black, 0.05), rgba(white, 0.05)); }
@@ -4335,6 +4335,10 @@ stackswitcher {
window { window {
border-width: 0; border-width: 0;
outline-color: $highlight_color;
outline-offset: -1px;
outline-style: solid;
outline-width: 1px;
&.csd { &.csd {
transition: $shadow_transition; transition: $shadow_transition;
@@ -4374,12 +4378,8 @@ window {
&.maximized, &.maximized,
&.fullscreen, &.fullscreen,
&.tiled, &:backdrop {
&.tiled-top, outline-width: 0;
&.tiled-left,
&.tiled-right,
&.tiled-bottom {
border-radius: 0;
} }
&.popup { box-shadow: none; } &.popup { box-shadow: none; }
+45 -16
View File
@@ -92,7 +92,8 @@ XfdesktopIconView.view {
window#whiskermenu-window { window#whiskermenu-window {
border-radius: $wm_radius; border-radius: $wm_radius;
background-color: $bg_color; background-color: transparent;
border: none;
entry.search:focus { background-color: $base_color; } entry.search:focus { background-color: $base_color; }
@@ -100,26 +101,38 @@ window#whiskermenu-window {
> frame > border { > frame > border {
border-radius: $wm_radius; border-radius: $wm_radius;
padding: 6px; padding: 6px;
margin: 6px;
border: none;
background-color: if($trans == 'false', $bg_color, rgba($bg_color, 0.95));
box-shadow: 0 3px 3px 0 $wm_shadow,
inset 0 0 0 1px $header_highlight,
$wm_outline;
} }
scrolledwindow { box.categories > button.radio { // sidebar categories button
padding: $container_padding / 2 $container_padding;
margin: 1px 0;
&:hover { background-color: if($variant == 'light', rgba(black, 0.12), rgba(white, 0.12)); }
&:checked, &:active {
background-color: if($variant=='light', rgba(black, 0.2), rgba(white, 0.2));
color: $fg_color;
&:hover { background-image: none; }
}
}
scrolledwindow.frame { // App list (tree)
padding: $container_padding / 2;
background-color: $base_color;
border-radius: $bt_radius; border-radius: $bt_radius;
> viewport button.radio {
padding: 2px 6px;
margin: 2px;
&:hover { background-color: if($variant == 'light', rgba(black, 0.12), rgba(white, 0.12)); }
&:checked, &:active {
background-color: $selected_bg_color;
color: $selected_fg_color;
&:hover { background-image: none; }
}
}
treeview.view { treeview.view {
border-radius: $bt_radius;
&:not(:hover):not(:selected) { background: none; }
&:selected:hover { &:selected:hover {
background-color: if($variant == 'light', rgba(black, 0.1), rgba(white, 0.1)); background-color: if($variant == 'light', rgba(black, 0.1), rgba(white, 0.1));
color: $fg_color; color: $fg_color;
@@ -128,6 +141,13 @@ window#whiskermenu-window {
// iconview.view { border-radius: 0; } // iconview.view { border-radius: 0; }
} }
.title-area > .commands-area > button.flat.command-button { // Bottom command buttons
&:checked, &:active {
background-color: if($variant=='light', rgba(black, 0.25), rgba(white, 0.25));
color: $fg_color;
}
}
} }
// Thunar // Thunar
@@ -233,6 +253,15 @@ window.thunar {
} }
//
// Xfsm dialog
//
dialog.xfsm-logout-dialog {
border: 1px solid if($variant=='light', rgba(black, 0.15), rgba(black, 0.75));
box-shadow: none;
}
// //
// mousepad // mousepad
// //
+5 -5
View File
@@ -28,7 +28,7 @@ usage() {
helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" "" helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" ""
helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" "" helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" ""
helpify "-g, --gdm" "[default|x2]" "Install '${THEME_NAME}' theme for GDM (scaling: 100%/200%, default is 100%)" "Requires to run this shell as root" helpify "-g, --gdm" "[default|x2]" "Install '${THEME_NAME}' theme for GDM (scaling: 100%/200%, default is 100%)" "Requires to run this shell as root"
helpify "-d, --dash-to-dock" "" "Install '${THEME_NAME}' theme for Dash to Dock when Gnome < 40 or install fixed version on Gnome > 40" "" helpify "-d, --dash-to-dock" "" "Fixed Dash to Dock theme issue" ""
helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" "" helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" ""
helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" "" helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" ""
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper" helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper"
@@ -96,7 +96,7 @@ while [[ $# -gt 0 ]]; do
esac esac
done done
if ! has_command firefox && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then
prompt -e "'${1}' ERROR: There's no Firefox installed in your system" prompt -e "'${1}' ERROR: There's no Firefox installed in your system"
has_any_error="true" has_any_error="true"
elif [[ ! -d "${FIREFOX_DIR_HOME}" && ! -d "${FIREFOX_FLATPAK_DIR_HOME}" && ! -d "${FIREFOX_SNAP_DIR_HOME}" ]]; then elif [[ ! -d "${FIREFOX_DIR_HOME}" && ! -d "${FIREFOX_FLATPAK_DIR_HOME}" && ! -d "${FIREFOX_SNAP_DIR_HOME}" ]]; then
@@ -179,7 +179,7 @@ finalize_argument_parsing
#---------------------------START INSTALL THEMES-------------------------------# #---------------------------START INSTALL THEMES-------------------------------#
if [[ "${uninstall}" == 'true' ]]; then if [[ "${uninstall}" == 'true' ]]; then
prompt -w "REMOVAL: Non file-related parameters will be ignored." prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
if [[ "${snap}" == 'true' ]]; then if [[ "${snap}" == 'true' ]]; then
prompt -i "Disconnecting '${name}' theme from your installed snap apps... \n" prompt -i "Disconnecting '${name}' theme from your installed snap apps... \n"
@@ -234,8 +234,8 @@ else
if [[ "${dash_to_dock}" == 'true' ]]; then if [[ "${dash_to_dock}" == 'true' ]]; then
prompt -i "Installing '${name}' ${colors[0]} Dash to Dock theme... \n" prompt -i "Installing '${name}' ${colors[0]} Dash to Dock theme... \n"
install_dash_to_dock_theme install_dash_to_dock_theme
prompt -s "Done! '${name}' Dash to Dock theme has been installed." prompt -s "Done! '${name}' Dash to Dock theme has been installed. \n"
prompt -w "DASH TO DOCK: You may need to logout to take effect."; echo prompt -w "DASH TO DOCK: You may need to logout to take effect. \n"
fi fi
if [[ "${firefox}" == 'true' || "${edit_firefox}" == 'true' ]]; then if [[ "${firefox}" == 'true' || "${edit_firefox}" == 'true' ]]; then