Compare commits

..
21 Commits
Author SHA1 Message Date
vinceliuice 3dca2b10d0 Fixed gnome-tweaks issue 2022-02-21 16:45:22 +08:00
vinceliuice 5eeced77ff Fixed metacity issues 2022-02-20 14:48:48 +08:00
vinceliuice c4a89ed608 Update install.sh 2022-02-17 18:37:49 +08:00
vinceliuice 12ef7d17db update 2022-02-10 01:04:11 +08:00
vinceliuice 3ff3f21977 update 2022-02-08 23:06:58 +08:00
vinceliuice ede582dacb update 2022-02-08 23:02:24 +08:00
vinceliuice a1ccc136f3 Fixed issues 2022-02-06 11:03:52 +08:00
vinceliuice b9ac43c30c update 2022-01-31 22:20:25 +08:00
vinceliuice d239352d9c update 2022-01-31 00:29:38 +08:00
vinceliuice 380cafdae3 update 2022-01-30 14:39:22 +08:00
vinceliuice f48339bc56 update 2022-01-30 13:15:20 +08:00
vinceliuice aee637dea4 Fixed issues 2022-01-30 13:12:53 +08:00
Vince f4f1d0acde update 2022-01-29 18:36:27 +08:00
Vince 81bbd62a3d update 2022-01-25 22:42:24 +08:00
Vince 2d53303b97 Update README.md 2022-01-18 12:04:39 +08:00
Vince dcafe17667 update 2022-01-14 11:50:57 +08:00
Vince c2679813cc Fixed issues 2022-01-13 17:46:58 +08:00
Vince 05b968cf10 update #522 2021-12-31 11:08:07 +08:00
Vince 023bc95812 update 2021-12-31 10:28:32 +08:00
Vince b56ce631bd update 2021-12-29 09:41:51 +08:00
Vince 9b15add135 Fixed budgie issues 2021-12-28 16:51:59 +08:00
33 changed files with 418 additions and 323 deletions

No files matched your search

+57 -39
View File
@@ -192,59 +192,77 @@ Usage: `./tweaks.sh [OPTIONS...]`
<details> <summary> Options </summary>
```bash
-f, --firefox [default|monterey|alt]
Install 'WhiteSur|Monterey|Monterey-Alt' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur
-d, --dest DIR
Set destination directory. Default is '/home/vince/.themes'
-e, --edit-firefox
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.
-n, --name NAME
Set theme name. Default is 'WhiteSur'
-F, --flatpak
Connect 'WhiteSur' theme to Flatpak.
-o, --opacity [normal|solid]
Set theme opacity variants. Repeatable. Default is all variants
-s, --snap
Connect 'WhiteSur' theme the currently installed snap apps.
-c, --color [light|dark]
Set theme color variants. Repeatable. Default is all variants
-g, --gdm
Install 'WhiteSur' theme for GDM. Requires to run this shell as root
-a, --alt [normal|alt|all]
Set window control buttons variant. Repeatable. Default is 'normal'
-d, --dash-to-dock
Install 'WhiteSur' theme for Dash to Dock and connect it to the current Dash to Dock installation(s).
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey|all]
Set theme accent color. Repeatable. Default is BigSur-like theme
-N, --no-darken
Don't darken 'WhiteSur' GDM theme background image.
-p, --panel-opacity [default|30|45|60|75]
Set panel transparency. Default is 15%
-n, --no-blur
Don't blur 'WhiteSur' GDM theme background image.
-P, --panel-size [default|smaller|bigger]
Set Gnome shell panel height size. Default is 32px
-b, --background [default|blank|IMAGE_PATH]
Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper
-s, --size [default|180|220|240|260|280]
Set Nautilus sidebar minimum width. Default is 200px
-o, --opacity [normal|solid]
Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
-i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
Set 'Activities' icon. Default is 'standard'
-c, --color [light|dark]
Set 'WhiteSur' GDM and Dash to Dock theme color variants. Default is 'light'
-b, --background [default|blank|IMAGE_PATH]
Set gnome-shell background image. Default is BigSur-like wallpaper
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey]
Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme
-m, --monterey
Set to MacOS Monterey style.
-p, --panel-opacity [default|30|45|60|75]
Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15%
-N, --nautilus-style [stable|normal|mojave|glassy]
Set Nautilus style. Default is BigSur-like style (stabled sidebar)
-P, --panel-size [default|smaller|bigger]
Set 'WhiteSur' Gnome shell panel height size. Default is 32px
-HD, --highdefinition
Set to High Definition size. Default is laptop size
-i, --icon [standard|simple|gnome|ubuntu|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard'
--normal, --normalshowapps
Set gnome-shell show apps button style to normal. Default is bigsur
-r, --remove, --revert
Revert to the original themes, do the opposite things of install and connect.
--round, --roundedmaxwindow
Set maximized window to rounded. Default is square
--silent-mode
Meant for developers: ignore any confirm prompt and params become more strict.
--right, --rightplacement
Set Nautilus titlebutton placement to right. Default is left
-h, --help
Show this help.
--black, --blackfont
Set panel font color to black. Default is white
--darker, --darkercolor
Install darker 'WhiteSur' dark themes.
--nord, --nordcolor
Install 'WhiteSur' Nord ColorScheme themes.
--dialog, --interactive
Run this installer interactively, with dialogs.
--silent-mode
Meant for developers: ignore any confirm prompt and params become more strict.
-r, --remove, -u, --uninstall
Remove all installed WhiteSur themes.
-h, --help
Show this help.
```
</details>
@@ -382,15 +400,15 @@ Note:
<br>
## WhiteSur Wallpaper
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/wallpapers">
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
<img class="image" src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/wallpapers/1080p/WhiteSur-light.png"/>
</a> </p>
<br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/wallpapers">
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
<img class="image" src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/wallpapers/1080p/Monterey-light.png"/>
</a> </p>
<br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/wallpapers">
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.svg"/>
</a> </p>
<br>
+3 -2
View File
@@ -42,6 +42,7 @@ usage() {
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 "--darker, --darkercolor" "" "Install darker '${THEME_NAME}' dark themes" ""
helpify "--nord, --nordcolor" "" "Install '${THEME_NAME}' Nord ColorScheme themes" ""
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 "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" ""
@@ -166,8 +167,8 @@ else
msg="XFCE: you may need to run 'xfce4-panel -r' after changing your theme to fix your panel opacity."
elif (is_my_distro "solus") && (is_running "gnome-session"); then
msg="GNOME: you may need to disable 'User Themes' extension to fix your dock."
elif (is_running "gnome-session") && [[ "${GNOME_VERSION}" == "old" ]]; then
msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog."
# elif (is_running "gnome-session") && [[ "${GNOME_VERSION}" == "old" ]]; then
# msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog."
fi
if [[ "${msg}" ]]; then
+3 -7
View File
@@ -311,12 +311,8 @@ signal_error() {
prompt -e "GNOME : ${GNOME_VERSION}"
prompt -e "REPO : ${repo_ver}\n"
if has_command apt; then
prompt -i "HINT: Try install depends to fix this: sudo apt install sassc libglib2.0-dev-bin libxml2-utils\n"
fi
prompt -i "HINT: You can google or report to us the info above\n"
prompt -i "https://github.com/vinceliuice/WhiteSur-gtk-theme/issues\n\n"
prompt -i "HINT: You can google or report to us the info above \n"
prompt -i "https://github.com/vinceliuice/WhiteSur-gtk-theme/issues \n"
rm -rf "${WHITESUR_TMP_DIR}"; exit 1
}
@@ -666,7 +662,7 @@ sudo() {
prompt -w "Executing '$(echo "${@}" | cut -c -35 )...' as root"
if ! ${SUDO_BIN} -n true &> /dev/null; then
echo -e "${c_magenta} Authentication is required${c_default} ${c_green}(Please input your password):${c_default}"
echo -e "\n ${c_magenta} Authentication is required${c_default} ${c_green}(Please input your password):${c_default} \n"
fi
if [[ -p /dev/stdin ]]; then
+9 -10
View File
@@ -524,12 +524,11 @@ install_themes() {
for opacity in "${opacities[@]}"; do
for alt in "${alts[@]}"; do
for theme in "${themes[@]}"; do
install_xfwmy "${color}"
for color in "${colors[@]}"; do
gtk_base "${color}" "${opacity}" "${theme}" "${compact}"
install_theemy "${color}" "${opacity}" "${alt}" "${theme}" "${icon}"
install_shelly "${color}" "${opacity}" "${alt}" "${theme}" "${icon}"
install_xfwmy "${color}"
done
done
done
@@ -715,16 +714,16 @@ install_dash_to_dock_theme() {
backup_file "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css" "udo"
udoify_file "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css"
if [[ "${GNOME_VERSION}" == 'new' ]]; then
udo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet-40.scss" "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css"
else
udo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet$(destify ${colors[0]}).scss" "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css"
udo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet-4.scss" "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css"
else
udo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet-3.scss" "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css"
fi
elif [[ -d "${DASH_TO_DOCK_DIR_ROOT}" ]]; then
backup_file "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css" "sudo"
if [[ "${GNOME_VERSION}" == 'new' ]]; then
sudo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet-40.scss" "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css"
sudo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet-4.scss" "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css"
else
sudo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet$(destify ${colors[0]}).scss" "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css"
sudo sassc ${SASSC_OPT} "${DASH_TO_DOCK_SRC_DIR}/stylesheet-3.scss" "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css"
fi
fi
@@ -775,15 +774,15 @@ connect_snap() {
sudo snap install whitesur-gtk-theme
for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do
sudo snap connect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes"
sudo snap connect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes"
sudo snap connect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes"
sudo snap connect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes"
done
}
disconnect_snap() {
for i in $(snap connections | grep gtk-common-themes | awk '{print $2}' | cut -f1 -d: | sort -u); do
sudo snap disconnect "${i}:gtk-3-themes" "whitesur-gtk-theme:gtk-3-themes"
sudo snap disconnect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes"
sudo snap disconnect "${i}:icon-themes" "whitesur-gtk-theme:icon-themes"
done
}
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.
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="112" height="112" version="1.1" viewBox="0 0 112 112" xmlns="http://www.w3.org/2000/svg">
<path d="m85.29 24.976a6.0013 6.0016 0 0 0-8.2987 1.7348l-29.741 45.497-12.8-14.223a6.0013 6.0016 0 0 0-8.4706-0.43763 6.0013 6.0016 0 0 0-0.43761 8.4711l18.004 20.005a6.0019 6.0022 0 0 0 9.4708-0.73458l34.007-52.014a6.0013 6.0016 0 0 0-1.7348-8.2991z" stroke-width="8.002"/>
</svg>

After

Width:  |  Height:  |  Size: 425 B

+1
View File
@@ -190,6 +190,7 @@
<file>windows-assets/titlebutton-restore-active-dark.png</file>
<file>windows-assets/titlebutton-restore-active-dark@2.png</file>
<file>assets/scalable/checkbox-checked-symbolic.svg</file>
<file>assets/scalable/checkbox-checked-big-symbolic.svg</file>
<file>assets/scalable/checkbox-mixed-symbolic.svg</file>
<file>assets/scalable/radio-checked-symbolic.svg</file>
<file>assets/scalable/combobox-arrow-symbolic.svg</file>
+1
View File
@@ -33,6 +33,7 @@ do
done
echo " <file>assets/scalable/checkbox-checked-symbolic.svg</file>" >> gtk.gresource.xml
echo " <file>assets/scalable/checkbox-checked-big-symbolic.svg</file>" >> gtk.gresource.xml
echo " <file>assets/scalable/checkbox-mixed-symbolic.svg</file>" >> gtk.gresource.xml
echo " <file>assets/scalable/radio-checked-symbolic.svg</file>" >> gtk.gresource.xml
echo " <file>assets/scalable/combobox-arrow-symbolic.svg</file>" >> gtk.gresource.xml
+41 -37
View File
@@ -9,31 +9,31 @@
</info>
<!-- ::: CONSTANTS ::: -->
<constant name="C_titlebar_gradient_a" value="gtk:custom(titlebar_gradient_a,shade/gtk:bg[NORMAL]/1.07)" />
<constant name="C_titlebar_gradient_b" value="gtk:custom(titlebar_gradient_b,gtk:bg[NORMAL])" />
<constant name="C_border_focused" value="gtk:custom(wm_border_focused,shade/gtk:bg[NORMAL]/0.5)" />
<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,shade/gtk:bg[NORMAL]/0.6)" />
<constant name="C_title_focused" value="gtk:custom(wm_title_focused,blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.3)" />
<constant name="C_title_focused_shadow" value="gtk:custom(wm_title_focused_shadow,shade/gtk:bg[NORMAL]/1.1)" />
<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6)" />
<constant name="C_title_unfocused_shadow" value="gtk:custom(wm_title_unfocused_shadow,shade/gtk:bg[NORMAL]/1.05)" />
<constant name="C_titlebar_gradient_a" value="gtk:custom(titlebar_gradient_a,shade/gtk:bg[NORMAL]/1.07)"/>
<constant name="C_titlebar_gradient_b" value="gtk:custom(titlebar_gradient_b,gtk:bg[NORMAL])"/>
<constant name="C_border_focused" value="gtk:custom(wm_border_focused,shade/gtk:bg[NORMAL]/0.65)"/>
<constant name="C_border_unfocused" value="gtk:custom(wm_border_unfocused,shade/gtk:bg[NORMAL]/0.75)"/>
<constant name="C_title_focused" value="gtk:custom(wm_title_focused,blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.3)"/>
<constant name="C_title_focused_shadow" value="gtk:custom(wm_title_focused_shadow,shade/gtk:bg[NORMAL]/1.1)"/>
<constant name="C_title_unfocused" value="gtk:custom(wm_title_unfocused,blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6)"/>
<constant name="C_title_unfocused_shadow" value="gtk:custom(wm_title_unfocused_shadow,shade/gtk:bg[NORMAL]/1.05)"/>
<constant name="C_background" value="gtk:bg[NORMAL]"/>
<constant name="C_highlight" value="gtk:custom(wm_highlight,gtk:base[NORMAL])"/>
<!-- ::: GEOMETRY ::: -->
<frame_geometry name="normal" title_scale="medium" rounded_top_left="8" rounded_top_right="8">
<frame_geometry name="normal" title_scale="medium" rounded_top_left="10" rounded_top_right="10">
<distance name="left_width" value="1" />
<distance name="right_width" value="1" />
<distance name="bottom_height" value="1" />
<distance name="left_titlebar_edge" value="4" />
<distance name="right_titlebar_edge" value="4" />
<distance name="title_vertical_pad" value="2" />
<distance name="left_titlebar_edge" value="12" />
<distance name="right_titlebar_edge" value="6" />
<distance name="title_vertical_pad" value="0" />
<aspect_ratio name="button" value="1.0" />
<border name="title_border" left="16" right="16" top="8" bottom="8" />
<border name="button_border" left="2" right="2" top="8" bottom="8" />
<border name="title_border" left="10" right="10" top="6" bottom="6" />
<border name="button_border" left="2" right="2" top="6" bottom="6" />
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="8" rounded_top_right="8" parent="normal" />
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="10" rounded_top_right="10" parent="normal" />
<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
<distance name="left_width" value="0" />
@@ -50,9 +50,9 @@
</frame_geometry>
<frame_geometry name="small" title_scale="small" parent="normal" rounded_top_left="false" rounded_top_right="false">
<distance name="title_vertical_pad" value="2" />
<distance name="title_vertical_pad" value="0" />
<border name="title_border" left="16" right="16" top="0" bottom="0" />
<border name="button_border" left="2" right="2" top="40" bottom="0" />
<border name="button_border" left="2" right="2" top="0" bottom="0" />
</frame_geometry>
<frame_geometry name="small_unfocused" parent="small">
@@ -177,27 +177,33 @@
</draw_ops>
<draw_ops name="rounded_border_focused">
<line color="C_border_focused" x1="8" y1="0" x2="width-8" y2="0" />
<line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_focused" x1="0" y1="8" x2="0" y2="height-2" />
<line color="C_border_focused" x1="width-1" y1="8" x2="width-1" y2="height-2" />
<arc color="C_border_focused" x="0" y="0" width="8" height="8" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-8" y="0" width="8" height="8" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_focused" x="0" y="0" width="8" height="8" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-8" y="0" width="8" height="8" start_angle="0" extent_angle="90" />
<line color="C_border_focused" x1="12" y1="0" x2="width-13" y2="0" />
<line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_focused" x1="0" y1="12" x2="0" y2="height-2" />
<line color="C_border_focused" x1="width-1" y1="12" x2="width-1" y2="height-2" />
<arc color="C_border_focused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_focused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_focused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<line color="C_highlight" x1="13" y1="1" x2="width - 14" y2="1"/>
<arc color="C_highlight" x="0" y="1" width="25" height="25" start_angle="270" extent_angle="90"/>
<arc color="C_highlight" x="width - 26" y="1" width="25" height="25" start_angle="0" extent_angle="90"/>
</draw_ops>
<draw_ops name="rounded_border_unfocused">
<line color="C_border_unfocused" x1="4" y1="0" x2="width-5" y2="0" />
<line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_unfocused" x1="0" y1="4" x2="0" y2="height-2" />
<line color="C_border_unfocused" x1="width-1" y1="4" x2="width-1" y2="height-2" />
<arc color="C_border_unfocused" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_unfocused" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" />
<line color="C_border_unfocused" x1="12" y1="0" x2="width-13" y2="0" />
<line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
<line color="C_border_unfocused" x1="0" y1="12" x2="0" y2="height-2" />
<line color="C_border_unfocused" x1="width-1" y1="12" x2="width-1" y2="height-2" />
<arc color="C_border_unfocused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<!-- double arcs for darker borders -->
<arc color="C_border_unfocused" x="0" y="0" width="25" height="25" start_angle="270" extent_angle="90" />
<arc color="C_border_unfocused" x="width-26" y="0" width="25" height="25" start_angle="0" extent_angle="90" />
<line color="C_highlight" x1="13" y1="1" x2="width - 14" y2="1"/>
<arc color="C_highlight" x="0" y="1" width="25" height="25" start_angle="270" extent_angle="90"/>
<arc color="C_highlight" x="width - 26" y="1" width="25" height="25" start_angle="0" extent_angle="90"/>
</draw_ops>
<draw_ops name="dialog_fill_background">
@@ -543,7 +549,6 @@
<piece position="entire_background" draw_ops="entire_background_focused" />
<piece position="titlebar" draw_ops="titlebar_fill_focused" />
<piece position="title" draw_ops="title_focused" />
<piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece>
<button function="close" state="normal" draw_ops="close_focused" />
<button function="close" state="prelight" draw_ops="close_focused_prelight" />
<button function="close" state="pressed" draw_ops="close_focused_pressed" />
@@ -576,7 +581,6 @@
<piece position="entire_background" draw_ops="entire_background_unfocused" />
<piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
<piece position="title" draw_ops="title_unfocused" />
<piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece>
<button function="close" state="normal" draw_ops="close_unfocused" />
<button function="close" state="prelight" draw_ops="close_unfocused_prelight" />
<button function="close" state="pressed" draw_ops="close_unfocused_pressed" />
+31 -31
View File
@@ -45,14 +45,14 @@
}
@each $_dock, $_radius, $_shadow in (top, $dash_radius, 0 -1px),
(bottom, $dash_radius, 0 1px),
(left, $dash_radius, -1px 0),
(right, $dash_radius, 1px 0) {
(bottom, $dash_radius, 0 1px),
(left, $dash_radius, -1px 0),
(right, $dash_radius, 1px 0) {
&.#{$_dock}.dashtodock #dash,
&.#{$_dock}.dashtodock:overview #dash {
border-radius: #{$_radius};
margin-#{$_dock}: 6px;
padding: 3px;
padding: 6px;
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
}
@@ -89,35 +89,35 @@
}
}
&.dashtodock #dash { background: $dash_bg; }
// &.dashtodock #dash { background-color: $dash_bg; }
//
// &.opaque #dash { // solid-mode
// background-color: $dash_bg;
// }
//
// &.transparent #dash { // translucent-mode
// background-color: $dash_bg; // does not work
// }
&.opaque #dash { // solid-mode
background: $dash_bg;
}
// &:overview #dash { // overview-mode #1
// background-color: $light_divider_color;
// }
//
// &.opaque:overview,
// &.transparent:overview { // overview-mode #2
// #dash {
// background-color: transparent !important;
// box-shadow: none !important;
// }
// }
&.transparent #dash { // translucent-mode
background: $dash_bg; // does not work
}
&:overview #dash { // overview-mode #1
background: $light_divider_color;
}
&.opaque:overview,
&.transparent:overview { // overview-mode #2
#dash {
background-color: transparent !important;
box-shadow: none !important;
}
}
&.extended:overview, // overview-mode #3
&.opaque.extended:overview,
&.transparent.extended:overview {
#dash {
background-color: $dash_bg;
}
}
// &.extended:overview, // overview-mode #3
// &.opaque.extended:overview,
// &.transparent.extended:overview {
// #dash {
// background-color: $dash_bg;
// }
// }
&.running-dots,
&.dashtodock {
@@ -1,9 +0,0 @@
$variant: 'light';
$laptop: 'false';
$trans: 'true';
$black: 'false';
$theme: 'default';
@import '../../sass/colors';
@import '../../sass/variables';
@import '_dash-to-dock-3.scss';
@@ -10,6 +10,8 @@ menupopup {
--arrowpanel-border-radius: 12px !important;
--arrowpanel-background: var(--gnome-menu-background) !important;
--arrowpanel-border-color: var(--gnome-menu-border-color) !important;
--panel-border-radius: 8px !important;
--panel-padding: 8px 0 !important;
}
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
@@ -8,7 +8,7 @@
/* Fix tabs bar icon sizes */
#TabsToolbar {
--toolbarbutton-inner-padding: var(--toolbarbutton-inner-padding) !important;
padding: 0 0 6px 0 !important;
}
/* Tabs bar height */
@@ -31,7 +31,7 @@ tab > stack {
}
.tabbrowser-tab {
margin: 0 4px !important;
margin: 0 3px !important;
}
.tabbrowser-tab,
@@ -44,7 +44,6 @@ tab > stack {
max-height: 32px !important;
padding: 0 !important;
background-image: none !important;
margin-bottom: 6px !important;
}
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
@@ -56,7 +55,9 @@ tab > stack {
}
.tab-background {
transition: background 200ms !important;
margin: 0 !important;
transition: all 200ms;
margin-block: 0 !important;
}
.tab-background:not([selected=true]) {
@@ -91,10 +92,6 @@ tab > stack {
padding: 0 10px !important;
}
.tab-background {
transition: all 200ms;
}
/* Prevent tab icons size breaking */
.tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button {
min-width: 16px;
@@ -148,21 +145,14 @@ tab > stack {
margin-left: 0 !important
}
@media (-moz-proton) {
/* Firefox v89 beta tab fix */
.tab-background {
margin-block: 0 !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
padding-inline: 0px !important;
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
padding-inline: 0px !important;
}
.close-icon {
@@ -255,6 +255,7 @@ button.close,
min-height: 32px !important;
min-width: 32px !important;
border-radius: 100% !important;
outline: none !important;
}
/* Combined buttons */
@@ -111,6 +111,7 @@ toolbarspring {
min-height: 34px !important;
min-width: 34px !important;
margin: 0 !important;
border-radius: 0 !important;
}
.searchbar-engine-one-off-item:hover, .searchbar-engine-one-off-item[selected] {
background: var(--gnome-button-hover-background) !important;
@@ -10,6 +10,8 @@ menupopup {
--arrowpanel-border-radius: 12px !important;
--arrowpanel-background: var(--gnome-menu-background) !important;
--arrowpanel-border-color: var(--gnome-menu-border-color) !important;
--panel-border-radius: 8px !important;
--panel-padding: 8px 0 !important;
}
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
+29 -30
View File
@@ -10,11 +10,6 @@
margin-bottom: -1px !important;
}
/* Fix tabs bar icon sizes */
#TabsToolbar {
--toolbarbutton-inner-padding: var(--toolbarbutton-inner-padding) !important;
}
/* Tabs bar height */
#tabbrowser-tabs,
#tabbrowser-tabs arrowscrollbox {
@@ -157,34 +152,32 @@ tab[selected]:-moz-window-inactive {
margin-left: 0 !important
}
@media (-moz-proton) {
/* Firefox v89 beta tab fix */
.tab-background {
border-radius: 0 !important;
margin-block: 0 !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
.tab-background {
border-radius: 0 !important;
margin-block: 0 !important;
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
min-height: 28px !important;
padding-inline: 0px !important;
}
/*Align personal bookmarks v89 */
#personal-bookmarks {
-moz-box-align: center !important;
}
.tabbrowser-tab[selected="true"]>.tab-stack>.tab-background {
margin-left: 0px !important;
margin-right: 0px !important;
}
/* fix misc spacing between tabs */
.tabbrowser-tab {
min-height: 28px !important;
padding-inline: 0px !important;
}
/* centre text when audio is playing */
.tabbrowser-tab:is([soundplaying]) .tab-label-container {
margin-left: 0 !important;
margin-right: auto !important
}
.tabbrowser-tab[selected="true"]>.tab-stack>.tab-background {
margin-left: 0px !important;
margin-right: 0px !important;
}
/* centre text when audio is playing */
.tabbrowser-tab:is([soundplaying]) .tab-label-container {
margin-left: 0 !important;
margin-right: auto !important
}
/* Remove tab icons */
@@ -254,7 +247,7 @@ tab[selected]:-moz-window-inactive {
}
/* Remove alt colours references for multi tabs*/
.tabbrowser-tab[usercontextid]>.tab-stack>.tab-background>.tab-context-line {
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
display: none;
}
@@ -275,6 +268,7 @@ tab[selected]:-moz-window-inactive {
border-image: none !important;
margin-left: -1px !important;
margin-right: -1px !important;
border-radius: 0 !important;
box-shadow: 1px 0 var(--gnome-toolbar-border-color), 1px 0 3px rgba(0, 0, 0, 0.08),
-1px 0 var(--gnome-toolbar-border-color), -1px 0 3px rgba(0, 0, 0, 0.08),
inset 0 -1px var(--gnome-toolbar-border-color) !important;
@@ -313,6 +307,11 @@ tab[selected]:-moz-window-inactive {
display: none !important;
}
#TabsToolbar .toolbarbutton-1 {
margin: 0 !important;
border-radius: 0 !important;
}
/* Create new container tab indicator */
.tabbrowser-tab[class*="identity-color-"] .tab-content::before {
content: "";
+14 -15
View File
@@ -84,14 +84,15 @@ $solid_borders_color: if($variant == 'light', darken($bg_color, 12
$dark_solid_borders_color: if($variant == 'light', darken($bg_color, 12%), darken($bg_color, 5%));
$highlight_color: if($variant == 'light', rgba(white, 0.15), rgba(white, 0.1));
// Background colors
// Gnome-shell background colors
$dark_bg_color: rgba(black, 0.6);
$alt_dark_bg_color: rgba(black, 0.3);
// for gnome-shell keyboard
$solid_bg_color: if($variant == 'light', #eeeeee, #555555);
$alt_solid_bg_color: if($variant == 'light', #c0c0c0, #242424);
@if $colorscheme == 'nord' { // for gnome-shell keyboard
@if $colorscheme == 'nord' {
$solid_bg_color: if($variant == 'light', #eaecf0, #464f62);
$alt_solid_bg_color: if($variant == 'light', #b6bdca, #1e222a);
}
@@ -117,9 +118,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%));
// Headerbar colors
$header_bg: if($variant == 'light', #ffffff, if($darker == 'true', #1e1e1e, #373737));
$header_highlight: if($variant == 'dark', if($darker == 'true', #242424, #434343), #f5f5f5); // For metacity
$header_fg: if($variant == 'light', #575757, #FDFDFD);
$header_bg: if($variant == 'light', #ffffff, if($darker == 'true', #1e1e1e, #373737));
$header_highlight: if($variant == 'dark', if($darker == 'true', #242424, #434343), #f5f5f5); // For metacity
$header_fg: if($variant == 'light', #575757, #FDFDFD);
@if $colorscheme == 'nord' {
$header_bg: if($variant == 'light', #fbfcfd, if($darker == 'true', #191c23, #2e3440));
@@ -164,7 +165,7 @@ $sidebar_theme_color: if($variant == 'light', rgba(black, 0.12), r
//OSD colors
$osd_fg_color: if($colorscheme == 'nord', #dadada, #d3d7df);
$osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #1a1a1a, #2a2a2a), 0.9), if($darker == 'true', #1a1a1a, #2a2a2a));
$osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #1a1a1a, #2a2a2a), 0.9), if($darker == 'true', #1a1a1a, #2a2a2a));
@if $colorscheme == 'nord' {
$osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #16191e, #222730), 0.9), if($darker == 'true', #16191e, #222730));
}
@@ -217,6 +218,10 @@ $panel_bg: if($variant == 'light', #f1f1f1, if($darker
@if $panel_font == 'black' {
$panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity/2));
}
@if $colorscheme == 'nord' {
$panel_bg: if($variant == 'light', rgba(#9da8be, $panel_opacity/2 + 0.12), rgba(#1a1d23, $panel_opacity + 0.08));
}
}
$panel_text: if($variant == 'light', #363636, white);
@@ -229,6 +234,7 @@ $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_divider: if(($trans == 'false' or $panel_font == 'black') and $variant == 'light', rgba(black, 0.08), rgba(white, 0.15));
$dash_fg: if($variant == 'light', black, white);
$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' {
@@ -236,15 +242,13 @@ $dash_bg: if($variant == 'light', rgba(#d1d1d1, $panel
}
@if $colorscheme == 'nord' {
$dash_bg: if($variant == 'light', rgba(#cacfd8, $panel_opacity + 0.33), rgba(if($darker == 'true', #1a1d24, #1d2027), $panel_opacity/2 + 0.6));
$dash_bg: if($variant == 'light', rgba(#9da8be, $panel_opacity + 0.33), rgba(if($darker == 'true', #1a1d24, #1d2027), $panel_opacity/2 + 0.6));
@if $trans == 'true' and $panel_font == 'black' {
$dash_bg: if($variant == 'light', rgba(#cacfd8, $panel_opacity/2 + 0.08), rgba(if($darker == 'true', #1a1d24, #1d2027), $panel_opacity + 0.15));
$dash_bg: if($variant == 'light', rgba(#9da8be, $panel_opacity/2 + 0.28), rgba(if($darker == 'true', #1a1d24, #1d2027), $panel_opacity + 0.15));
}
}
$dash_fg: if($variant == 'light', black, white);
// Entry colors
$entry_bg: if($variant == 'light', rgba(black, 0.05), rgba(white, 0.05));
$entry_shell_bg: if($variant == 'light', rgba(black, 0.1), rgba(white, 0.1));
@@ -265,13 +269,8 @@ $header_button_checked_bg: if($variant == 'dark', lighten($header_bg, 4
// Button borders and highlights colors
$button_highlight: if($variant == 'light', white, rgba(white, 0.1));
$button_borders: if($variant == 'light', $button_border, $dark_borders_color);
$header_button_highlight: if($variant == 'light', white, #767676);
$header_button_hover_highlight: if($variant == 'light', white, #868686);
$header_button_checked_highlight: if($variant == 'light', $borders_color, #cecece);
// WM colors
$wm_outline_light: 0 0 0 2px rgba(black, 0.03), 0 0 0 1px rgba(black, 0.12);
$wm_outline_dark: 0 0 0 2px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.75);
@@ -191,7 +191,6 @@ $popop_menuitem_radius: $wm_radius - 4px;
.popup-separator-menu-item {
background: none;
border: none;
height: 1px !important;
.popup-separator-menu-item-separator {
height: 1px; //not really the whole box
@@ -28,7 +28,7 @@
color: $light_fg_color;
background-color: $primary_color;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.25);
border-radius: 1000px;
border-radius: $circular_radius;
margin: 2px;
padding: 0.2em 0.6em;
font-weight: bold;
@@ -56,7 +56,7 @@
&.#{$_dock}.dashtodock:overview #dash {
border-radius: #{$_radius};
margin-#{$_dock}: 6px;
padding: 3px;
padding: 6px;
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
}
+11 -7
View File
@@ -36,19 +36,23 @@ $theme_text: currentColor;
@define-color content_view_bg #{"" + $base_color};
/* Very contrasty background for text views (@theme_text_color foreground) */
@define-color text_view_bg #{"" + if($variant == 'light', $base_color, darken($base_color,6%))};
@define-color text_view_bg #{"" + if($variant == 'light', $base_color, darken($base_color, 6%))};
//WM
$wm_highlight: lighten(opacify($header_highlight, 1), 10%);
$wm_bg_unfocused: opacify($header_bg_backdrop, 1);
$wm_borders_focused: if($variant == 'light', darken($header_bg, 15%), darken($header_bg, 20%));
$wm_borders_unfocused: if($variant == 'light', darken($header_bg, 10%), darken($header_bg, 15%));
@define-color wm_title alpha(#{"" + opacify($header_fg, 1)}, 0.8);
@define-color wm_unfocused_title alpha(#{"" + opacify($header_fg, 1)}, 0.5);
@define-color wm_bg #{"" + opacify($header_bg, 1)};
@define-color wm_bg_unfocused #{"" + $wm_bg_unfocused};
@define-color wm_bg_unfocused #{"" + opacify($header_bg_backdrop, 1)};
@define-color wm_highlight #{"" + $wm_highlight};
@define-color wm_border_focused #{"" + $wm_borders_focused};
@define-color wm_border_unfocused #{"" + $wm_borders_unfocused};
@define-color wm_highlight alpha(#{white}, 0.12);
@define-color wm_shadow alpha(#{black}, 0.75);
//WM Buttons
@@ -80,11 +84,11 @@ $wm_bg_unfocused: opacify($header_bg_backdrop, 1);
//
// unfocused window 'dot(s)'
@define-color budgie_tasklist_indicator_color #{"" + $selected_fg_color};
@define-color budgie_tasklist_indicator_color #{"" + $fg_color};
// focused window 'line'
@define-color budgie_tasklist_indicator_color_active #{"" + $selected_bg_color};
// group-ed and unfocused window 'line(s)'
@define-color budgie_tasklist_indicator_color_active_window #{"" + mix($selected_fg_color, $panel_bg, 100%)};
@define-color budgie_tasklist_indicator_color_active_window #{"" + mix($selected_bg_color, opacify($header_bg, 1), 35%)};
// attention 'dot'
// FIXME: we can't fill whole widget backgrounds with our suggestion colour
// because of lacking specific style-class on 'needs_attention' state,
+70 -36
View File
@@ -65,6 +65,12 @@ $list_shadow: if($variant == 'light',
background-color: if($variant == 'light', rgba(black, 0.03), rgba(white, 0.05));
border: none;
@if $colorscheme == 'nord' {
background-color: if($variant == 'light', rgba(#2e3440, 0.06), rgba(#4c566a, 0.25));
} @else {
background-color: if($variant == 'light', rgba(black, 0.03), rgba(white, 0.05));
}
> separator { background: none; min-height: 0; }
}
@@ -652,8 +658,8 @@ $_dot_color: $selected_bg_color;
%flat_button {
@include button(flat-normal);
&:hover { @include button(flat-hover); }
&:active { @include button(flat-active); }
&:checked { @include button(flat-checked); }
&:active, &:active:hover { @include button(flat-active); }
&:checked, &:checked:hover { @include button(flat-checked); }
&:disabled { @include button(flat-insensitive); }
}
@@ -688,8 +694,6 @@ button {
&:active { transition: $button_transition; }
}
&:checked:hover { background-image: none; }
&.toggle.popup:not(.colored) {
min-width: $menuitem_size - 8px;
}
@@ -727,6 +731,18 @@ button {
}
}
.background &.flat { // reset
&:active, &:checked {
@include button(flat-active);
}
&:disabled {
&:active, &:checked {
@include button(flat-insensitive-active);
}
}
}
&.image-button:not(.circular), &.popup:not(.circular) {
min-height: $menuitem_size - 4px;
padding-left: $container_padding;
@@ -1395,9 +1411,9 @@ actionbar {
background-color: darken($bg_color, 3%);
}
// .background.csd revealer > & > revealer > box,
.background.csd > box.vertical > & > revealer > box,
.background.csd > box > box > box > & > revealer > box {
.background.csd > box > box > box > & > revealer > box,
.background.csd stack revealer > & > revealer > box {
border-radius: 0 0 $wm_radius $wm_radius;
}
}
@@ -1887,7 +1903,7 @@ headerbar {
.background:not(.unified) {
.titlebar {
&, & headerbar { box-shadow: inset 0 1px $highlight_color; }
box-shadow: inset 0 1px $highlight_color;
}
stack.titlebar { box-shadow: none; }
@@ -1940,6 +1956,13 @@ window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar
//
// Pathbars
//
$pathbar_button_checked_bg: if($variant == 'light', #808080, #b8b8b8);
@if $colorscheme == 'nord' {
$pathbar_button_checked_bg: if($variant == 'light', #6b7894, #adb4c3);
}
.background .path-bar button {
min-width: 12px;
min-height: if($variant == 'light', 24px, 26px);
@@ -1952,7 +1975,7 @@ window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar
&:hover { box-shadow: none; }
&:active, &:checked {
background-color: if($variant == 'light', rgba(black, 0.5), rgba(white, 0.65));
background-color: $pathbar_button_checked_bg;
color: if($variant == 'light', rgba(white, 1), rgba(black, 0.75));
border-color: $button_borders;
}
@@ -2808,13 +2831,6 @@ switch {
//
// Check and Radio items
//
.view.content-view.check:not(list),
.content-view .tile check:not(list) {
min-height: 40px;
min-width: 40px;
margin: 0;
padding: 0;
}
checkbutton, radiobutton {
// this is for a nice focus on check and radios text
@@ -2836,12 +2852,23 @@ $check_radio_border: if($variant == 'light', rgba(black, 0.2), rgba(black, 0.1))
$check_radio_image: if($colorscheme == 'nord', linear-gradient(0deg, #59647b 0%, #475061 100%), linear-gradient(0deg, #6a6a6a 0%, #545454 100%));
$check_radio_checked_image: linear-gradient(0deg, darken($selected_bg_color, 5%) 0%, lighten($selected_bg_color, 5%) 100%);
check,
%check,
check {
border-radius: 3px;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); }
&:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); }
}
%radio,
radio {
min-width: 14px;
min-height: 14px;
margin: 3px;
padding: 0;
border-radius: $circular_radius;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); }
&:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); }
}
%check_and_radio {
color: transparent;
background-color: $base_color;
transition: $button_transition;
@@ -2922,6 +2949,27 @@ radio {
} @else { box-shadow: none; }
}
}
}
.view.content-view.check:not(list),
.content-view .tile check:not(list) {
min-height: 40px;
min-width: 40px;
margin: 0;
padding: 0;
border-radius: $bt_radius;
@extend %check_and_radio;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-big-symbolic.svg")); }
}
check,
radio {
min-width: 14px;
min-height: 14px;
margin: 3px;
padding: 0;
@extend %check_and_radio;
menu menuitem & {
margin: 0;
@@ -2931,22 +2979,6 @@ radio {
}
}
%check,
check {
border-radius: 3px;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-checked-symbolic.svg")); }
&:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/checkbox-mixed-symbolic.svg")); }
}
%radio,
radio {
border-radius: $circular_radius;
&:checked { -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-checked-symbolic.svg")); }
&:indeterminate { -gtk-icon-source: -gtk-recolor(url("assets/scalable/radio-mixed-symbolic.svg")); }
}
//
// GtkScale
//
@@ -3380,6 +3412,8 @@ scrolledwindow {
viewport.frame { // avoid double borders when viewport inside scrolled window
border: none;
> list { background: none; }
.frame {
border: none;
+82 -33
View File
@@ -3,10 +3,10 @@
* Budgie Desktop *
******************/
$raven_base_color: if($variant =='light', #f5f5f5, #1b1b1b);
$raven_bg_color: if($variant =='light', #dedede, #1f1f1f);
$raven_base_color: $base_color;
$raven_bg_color: $menu_bg;
$raven_fg_color: $text_color;
$raven_header_bg_color: if($variant =='light', #efefef, #181818);
$raven_header_bg_color: darken($raven_base_color, 3%);
$raven_header_fg_color: $text_color;
$raven_button_bg_color: $button_bg;
$raven_border_color: if($variant =='light', $borders_color, rgba(black, 0.75));
@@ -74,6 +74,8 @@ $raven_padding: 8px;
.budgie-container { background-color: transparent; }
.budgie-settings-window {
&.background { background-color: rgba($base_color, if($trans == 'true', 0.95, 1)); }
buttonbox.inline-toolbar {
border-style: none none solid;
@@ -85,7 +87,7 @@ $raven_padding: 8px;
}
list.sidebar {
background-color: $base_color;
background-color: transparent;
border-radius: 0 0 0 $wm_radius;
border-color: if($variant =='light', $solid_borders_color, $header_border);
}
@@ -94,13 +96,12 @@ $raven_padding: 8px;
.budgie-popover {
margin: 0;
padding: 0;
border-color: if($variant=='light', $borders_color, lighten($menu_bg, 8%));
border: 1px solid if($variant=='light', rgba($borders_color, 0.2), lighten($menu_bg, 6%));
border-radius: $wm_radius;
background-color: if($trans == 'true', rgba($bg_color, 0.95), $bg_color);
box-shadow: 0 1px 2px 0 if($variant == 'light', opacify($wm_shadow, 0.15), opacify($wm_shadow, 0.1)),
0 2px 3px 0 if($variant == 'light', opacify($wm_shadow, 0.15), opacify($wm_shadow, 0.1)),
0 0 0 1px if($variant=='light', $borders_color, rgba($dark_borders_color, 0.55)),
inset 0 0 0 1px if($variant=='light', rgba(black, 0.0), rgba(white, 0.08));
background-color: $menu_bg;
background-clip: padding-box;
box-shadow: 0 0 3px 0 rgba(black, 0.15),
0 0 0 1px if($variant=='light', rgba(black, 0.03), rgba(black, 0.65));
.container {
padding: 0;
@@ -177,6 +178,8 @@ $raven_padding: 8px;
}
}
calendar { border-radius: $bt_radius; }
&.budgie-menu {
.container { padding: 0; }
@@ -204,6 +207,7 @@ $raven_padding: 8px;
scrolledwindow.sidebar.categories { //AppMenu (budgie)
border-bottom-left-radius: $wm_radius;
margin: 0 0 1px 1px;
button.flat.category-button {
min-height: 28px;
@@ -426,29 +430,30 @@ popover.background.places-menu {
}
}
$budgie_panel_radius: $wm_radius + $container_padding;
$budgie_panel_radius: $wm_radius + $container_padding / 2;
// Panel
.budgie-panel {
transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1);
background-color: $panel_bg;
color: $panel_fg;
background-color: opacify($header_bg, 1);
color: $header_fg;
font-weight: 500;
border-width: 0;
&.transparent {
background-color: rgba($panel_bg, 0.1);
background-color: $panel_bg;
color: $panel_fg;
border-width: 0;
}
.bottom & {
&.dock-mode {
padding: $container_padding $container_padding - 2px;
padding: $container_padding / 2 $container_padding / 2 - 1px;
margin-bottom: $container_padding;
.icon-tasklist {
.launcher {
margin: 0 2px;
margin: 0 1px;
}
}
}
@@ -457,11 +462,11 @@ $budgie_panel_radius: $wm_radius + $container_padding;
.left & {
&.dock-mode {
margin-left: $container_padding;
padding: $container_padding - 2px $container_padding;
padding: $container_padding / 2 - 1px $container_padding / 2;
.icon-tasklist {
.launcher {
margin: 2px 0;
margin: 1px 0;
}
}
}
@@ -470,11 +475,11 @@ $budgie_panel_radius: $wm_radius + $container_padding;
.right & {
&.dock-mode {
margin-right: $container_padding;
padding: $container_padding - 2px $container_padding;
padding: $container_padding / 2 - 1px $container_padding / 2;
.icon-tasklist {
.launcher {
margin: 2px 0;
margin: 1px 0;
}
}
}
@@ -510,19 +515,38 @@ $budgie_panel_radius: $wm_radius + $container_padding;
border-bottom-width: 0;
border: none;
box-shadow: none;
color: rgba($panel_fg, 0.85);
color: rgba($header_fg, 0.85);
background: none;
&:hover {
background-color: rgba($header_fg, 0.10);
color: rgba($header_fg, 0.95);
background-image: none;
}
&:active {
background-color: rgba($header_fg, 0.15);
color: $header_fg;
background-image: none;
}
&:checked {
background-color: rgba($header_fg, 0.12);
color: $header_fg;
}
}
&.transparent button {
color: rgba($panel_fg, 0.85);
&:hover {
background-color: rgba($panel_fg, 0.10);
color: rgba($panel_fg, 0.95);
background-image: none;
}
&:active {
background-color: rgba($panel_fg, 0.15);
color: $panel_fg;
background-image: none;
}
&:checked {
@@ -540,7 +564,6 @@ $budgie_panel_radius: $wm_radius + $container_padding;
menubar,
.menubar {
box-shadow: none;
color: $panel_fg;
background-image: none;
background-color: transparent;
@@ -548,13 +571,28 @@ $budgie_panel_radius: $wm_radius + $container_padding;
border: none;
background-image: none;
font-weight: normal;
color: $header_fg;
&:hover { background-color: if($trans == 'false' and $variant == 'light', $divider_color, $light_divider_color); }
&:disabled { color: transparentize($panel_fg, 0.6); }
&.budgie-menubar {
&:hover { background-color: rgba($panel_fg, 0.10); }
&:hover {
color: $header_fg;
background-color: rgba($header_fg, 0.1);
}
&:disabled { color: transparentize($header_fg, 0.6); }
}
}
&.transparent menubar,
&.transparent .menubar {
> menuitem {
color: $panel_fg;
&:hover {
color: $panel_fg;
background-color: rgba($panel_fg, 0.1);
}
&:disabled { color: transparentize($panel_fg, 0.6); }
}
}
@@ -710,7 +748,7 @@ $pos_list: ((top, bottom), (bottom, top), (left, right), (right, left));
}
}
$raven_opacity: if($variant =='light', 0.85, 0.95);
$raven_opacity: if($variant =='light', 0.95, 0.95);
$raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px 0 rgba(black, 0.1);
// Raven
@@ -910,7 +948,11 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
// notification list
.raven-notifications-view {
> .raven-header { background-color: $raven_header_bg_color; }
> .raven-header {
background-color: transparent;
border-bottom: 1px solid $raven_border_color;
}
> .raven-background > viewport.frame {
padding: 0; // reset padding for full-width list node
@@ -948,10 +990,17 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
border: none;
margin: $container_padding / 2;
border-radius: $bt_radius;
background-color: if($variant == 'light', rgba(white, 0.75), rgba(white, 0.06));
background-color: if($variant == 'light', lighten($raven_bg_color, 5%), darken($raven_bg_color, 5%));
box-shadow: 0 2px 3px rgba(black, 0.08);
&:hover, &:selected {
background-color: if($variant == 'light', rgba(white, 1), rgba(white, 0.12));
background-color: if($variant == 'light', $raven_bg_color, darken($raven_bg_color, 8%));
box-shadow: 0 2px 4px rgba(black, 0.15);
}
&:active {
background-color: if($variant == 'light', darken($raven_bg_color, 5%), darken($raven_bg_color, 10%));
box-shadow: none;
}
label { padding: 0 16px; }
+42 -42
View File
@@ -1425,32 +1425,6 @@ row#AutostartTitle.tweak {
}
}
// Themed left sidebar
.tweak-category:not(:selected):not(:hover) {
background: none;
}
// sidebar on gnome tweak
.tweak-categories {
background-image: none;
background-color: rgba($dark_sidebar_bg, 1);
border-radius: 0 0 0 $wm_radius;
.maximized &,
.fullscreen &,
.tiled &,
.tiled-top &,
.tiled-right &,
.tiled-bottom &,
.tiled-left & { border-radius: 0 0 0 $maximized_radius; }
> separator {
min-width: 0;
min-height: 0;
background: none;
}
}
// separator of sidebar on Gnome control center and Gnome tweaks
window.background.csd {
> hdyleaflet,
@@ -1473,6 +1447,24 @@ window.background.csd {
border-bottom-right-radius: $wm_radius;
}
// sidebar on gnome tweak
list.tweak-categories {
background-image: none;
background-color: rgba($dark_sidebar_bg, 1);
border-radius: 0 0 0 $wm_radius;
// Themed left sidebar
.tweak-category:not(:selected):not(:hover) {
background: none;
}
> separator {
min-width: 0;
min-height: 0;
background: none;
}
}
&.maximized, &.tiled, &.fullscreen {
> hdyleaflet > box.vertical > stack.main-container {
border-bottom-right-radius: $maximized_radius;
@@ -1576,7 +1568,9 @@ window.background.csd {
background: none;
min-height: 2px;
}
> list { border-radius: 4px; }
&:first-child:last-child > list { border-radius: $wm_radius; }
&:first-child > list { border-radius: $wm_radius $wm_radius 4px 4px; }
&:not(:first-child):last-child > list { border-radius: 4px 4px $wm_radius $wm_radius; }
@@ -1961,7 +1955,7 @@ window.background.csd {
}
}
tabbox {
.background tabbox {
@if $monterey == 'false' {
background-color: darken($header_bg, 10%);
box-shadow: inset 0 -1px $borders_color;
@@ -1985,24 +1979,13 @@ tabbox {
}
}
button.tab-close-button {
button {
@extend %flat_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;
}
min-height: $small_size;
min-width: $small_size;
&:hover {
color: $fg_color;
@@ -2013,6 +1996,21 @@ tabbox {
color: if($variant == 'light', darken($fg_color, 10%), lighten($fg_color, 10%));
background-color: rgba($borders_color, 0.2);
}
&.tab-close-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;
}
}
}
}
}
@@ -2970,6 +2968,8 @@ dialog.background.csd {
> box.vertical.dialog-vbox {
&.view { background: none; }
> leaflet.unfolded > box.vertical.view { background: none; } // Formats setting dialog gnome >= 41.0
> grid.horizontal {
> scrolledwindow.frame { //removed ugly boders for nautilus batch renaming dialog
border: none;