Compare commits

..
87 Commits
Author SHA1 Message Date
Vince c790fa2763 Update lib-core.sh 2021-07-27 21:07:55 +08:00
Vince 7f4bf72ce0 update 2021-07-27 20:58:55 +08:00
Vince d3436994ed update 2021-07-19 23:40:56 +08:00
Vince 50c1b9b2c6 update 2021-07-19 23:18:42 +08:00
Vince 426f8911d9 update 2021-07-19 22:36:26 +08:00
Vince 7bf095f837 Add monterey style 2021-07-19 22:24:56 +08:00
Vince b19f51e825 update 2021-07-19 15:36:21 +08:00
Vince 06fda13e93 Fixed #368 2021-07-19 15:34:20 +08:00
Vince e9e1d4ada0 Update _xfce.scss 2021-07-19 12:32:49 +08:00
Vince 5b793ddf65 Fixed #363 2021-07-19 12:28:57 +08:00
Vince 5b45d98526 Fixed #361 2021-07-19 10:08:07 +08:00
Vince 3f0490ab7a Update #361 2021-07-18 21:20:59 +08:00
Vince 5d32cc41df update 2021-07-17 12:18:53 +08:00
Vince 83b57fd473 Update 2021-07-16 10:59:25 +08:00
Vince 4aadb89a62 Merge branch 'master' of https://github.com/vinceliuice/WhiteSur-gtk-theme 2021-07-15 14:45:25 +08:00
Vince 9498060426 Update _gnome-3.22.scss 2021-07-15 14:45:14 +08:00
Vince d32b9e2190 update 2021-07-13 12:29:53 +08:00
Vince 275cec8576 Update #359 add 180px nautilus sidebar width version 2021-07-12 22:44:05 +08:00
Vince 8e27613e59 update 2021-07-11 23:12:44 +08:00
Vince 7326bd8081 Update lib-install.sh 2021-07-11 21:51:46 +08:00
Vince 44c321a2b2 update 2021-07-11 21:37:31 +08:00
Vince a3b0c1b470 update 2021-07-08 23:36:32 +08:00
Vince 13b4c883b7 Fixed contacts issue 2021-07-08 17:44:22 +08:00
Vince 7a5ee92230 Add release files back 2021-07-08 17:12:25 +08:00
Vince bfd2dc781e update 2021-07-06 23:08:38 +08:00
Vince 384a1de662 update 2021-07-06 22:09:03 +08:00
Vince 153529e341 Update geary style 2021-07-06 20:30:29 +08:00
Vince 119100211c Fixed #355 2021-07-06 20:01:30 +08:00
Vince bb790a02d6 update 2021-07-05 21:52:13 +08:00
Vince 07f7d6486c update 2021-07-05 08:42:50 +08:00
Vince c67f6e83ca update 2021-07-05 08:08:45 +08:00
Vince bb101fb24f update 2021-07-04 23:20:05 +08:00
Vince be0ceaf130 update 2021-07-04 23:14:42 +08:00
Vince 9e01be8cc5 update 2021-07-04 22:58:00 +08:00
Vince 7c7899484b update 2021-07-04 22:40:14 +08:00
Vince 202039f78b Fixed #353 2021-07-04 22:33:45 +08:00
Vince 2220a4e194 update 2021-07-04 18:31:50 +08:00
Vince 14c50bfd71 update 2021-07-04 18:30:40 +08:00
Vince 400345581c update 2021-07-04 12:40:34 +08:00
Vince 76202c0a03 Fixed #351 2021-07-03 19:10:21 +08:00
Vince d489aae7b2 Fixed #350 2021-07-03 18:27:53 +08:00
Vince 78b22d23f6 Fixed #348 2021-07-03 12:01:06 +08:00
Vince 20639289eb update 2021-07-02 23:44:07 +08:00
Vince f728c53724 Update README.md 2021-07-02 23:26:23 +08:00
Vince 5d67322dba Update README.md 2021-07-02 23:23:35 +08:00
Vince 950196d04d Fixed #343 2021-07-02 22:57:50 +08:00
Vince 09c13078b8 update 2021-07-02 22:37:02 +08:00
Vince 3d903c0906 update 2021-07-02 22:31:57 +08:00
Vince 643656bb58 update 2021-07-01 09:34:30 +08:00
Vince 74a0e9a6f3 update 2021-06-30 13:19:55 +08:00
Vince e4b41191eb update 2021-06-30 09:09:32 +08:00
Vince 6594aef210 update 2021-06-29 21:20:33 +08:00
Vince 25a7a6c068 update 2021-06-29 19:26:41 +08:00
Vince a5ecc62985 update 2021-06-29 18:12:41 +08:00
Vince d5534145ce Fixed #336 2021-06-29 17:57:14 +08:00
Vince 83d2bbfafd update 2021-06-29 15:51:44 +08:00
Vince bbc4f944db Fixed #333 2021-06-28 09:52:08 +08:00
Vince e7a0277111 Merge branch 'master' of https://github.com/vinceliuice/WhiteSur-gtk-theme 2021-06-26 18:30:30 +08:00
Vince c56f206791 Update _misc.scss 2021-06-26 18:30:28 +08:00
Vince 9065b2096d Merge pull request #330 from rivanfebrian123/master
Add Solus OS support
2021-06-25 21:07:27 +08:00
Muhammad Rivan f8467a05d9 Add Solus OS support 2021-06-25 15:16:50 +07:00
Muhammad Rivan 0fd58cd15c Add Solus OS support 2021-06-25 13:41:42 +07:00
Vince 0279026afb Update README.md 2021-06-25 13:23:01 +08:00
Vince 0ce0f79268 update 2021-06-25 13:12:26 +08:00
Vince b01351cf06 update 2021-06-25 12:17:37 +08:00
Vince 3f3e4bba1b update 2021-06-24 22:23:49 +08:00
Vince 0a7ba4d795 Merge pull request #324 from syndek/master
Correctly determine user's home directory rather than assuming /home
2021-06-24 11:07:39 +08:00
Vince ab6f09b45c update 2021-06-24 11:04:22 +08:00
Vince 364e8abced update 2021-06-24 10:56:14 +08:00
Vince b10c494d23 update 2021-06-24 10:55:17 +08:00
Louis Salkeld 3eba00b434 Correctly determine user's home directory rather than assuming /home 2021-06-24 03:30:06 +01:00
Vince b476e478a5 Fixed #323 2021-06-24 10:02:19 +08:00
Vince 897abb20e7 Merge branch 'master' of https://github.com/vinceliuice/WhiteSur-gtk-theme 2021-06-23 21:39:24 +08:00
Vince 3dec77acb1 Merge pull request #321 from rivanfebrian123/master
Critical update
2021-06-23 21:39:06 +08:00
Muhammad Rivan 4b69d5f2e9 Critical update 2021-06-23 13:31:48 +00:00
Vince b323f30f3c update 2021-06-23 20:55:41 +08:00
Vince 0375e92331 Merge branch 'master' of https://github.com/vinceliuice/WhiteSur-gtk-theme 2021-06-23 17:34:01 +08:00
Vince 59c5493cb3 Fixed #320 2021-06-23 17:22:01 +08:00
Vince 76a3283449 Merge pull request #319 from rivanfebrian123/master
Update template and Firefox theme config
2021-06-23 16:13:35 +08:00
Muhammad Rivan a1ae7970a1 Update template and Firefox theme config 2021-06-23 07:58:22 +00:00
Vince c5ed4f410c Update README.md 2021-06-23 13:35:16 +08:00
Vince 5d61538d1c update 2021-06-23 13:31:13 +08:00
Vince 744cadaec8 update 2021-06-23 13:26:17 +08:00
Vince b453d64a4d Update README.md 2021-06-23 13:18:04 +08:00
Vince bb43077d5c Update README.md 2021-06-23 13:11:32 +08:00
Vince 68a096c302 update 2021-06-23 13:08:21 +08:00
Vince 4b0b134d0f update 2021-06-23 12:56:10 +08:00
113 changed files with 2115 additions and 4047 deletions

No files matched your search

+4
View File
@@ -7,4 +7,8 @@ assignees: 'vinceliuice'
---
<!------------------------------------------------------------------------------
Please provide your system info (distro version, etc.) and of course, the screenshot
------------------------------------------------------------------------------->
+4
View File
@@ -7,4 +7,8 @@ assignees: 'vinceliuice'
---
<!------------------------------------------------------------------------------
What's your idea, or question?
------------------------------------------------------------------------------->
+4
View File
@@ -7,4 +7,8 @@ assignees: 'rivanfebrian123'
---
<!------------------------------------------------------------------------------
Please copy and paste your error info here
------------------------------------------------------------------------------->
+3 -3
View File
@@ -4,11 +4,11 @@
| Version | Supported |
| ------------ | ------------------ |
| 2021-06-23 | :white_check_mark: |
| 2021-05-05 | :white_check_mark: |
| 2021-04-20 | :white_check_mark: |
| < 2021-04-08 | :x: |
| < 2021-04-20 | :x: |
## Reporting a Vulnerability
Report a security vulnerability to https://github.com/vinceliuice/WhiteSur-gtk-theme/issues
with a blank template
with a blank template or contact one of the authors.
+7
View File
@@ -1 +1,8 @@
<!------------------------------------------------------------------------------
What's the changes?
------------------------------------------------------------------------------->
-
-
-
+90 -50
View File
@@ -37,9 +37,6 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
## Quick install
### Using a stable package
Choose a [stable package](stable-release) and unzip it to the user theme folder `~/.themes`.
### Installing from source
Run `./install.sh` to install the default WhiteSur GTK theme pack which includes
GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.
@@ -50,39 +47,68 @@ Usage: `./install.sh [OPTIONS...]`
<details> <summary> Options </summary>
```bash
-d, --dest [DIR] # Set destination directory. Default is '/home/vince/.themes'
-d, --dest DIR
Set destination directory. Default is '/home/vince/.themes'
-n, --name [NAME] # Set theme name. Default is 'WhiteSur'
-n, --name NAME
Set theme name. Default is 'WhiteSur'
-o, --opacity [normal|solid] # Set theme opacity variants. Repeatable. Default is all variants
-o, --opacity [normal|solid]
Set theme opacity variants. Repeatable. Default is all variants
-c, --color [light|dark] # Set theme color variants. Repeatable. Default is all variants
-c, --color [light|dark]
Set theme color variants. Repeatable. Default is all variants
-a, --alt [normal|alt|all] # Set window control buttons variant. Repeatable. Default is 'normal'
-a, --alt [normal|alt|all]
Set window control buttons variant. Repeatable. Default is 'normal'
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey|all] # Set theme accent color. Repeatable. Default is BigSur-like theme
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey|all]
Set theme accent color. Repeatable. Default is BigSur-like theme
-p, --panel [default|30|45|60|75] # Set panel transparency. Default is 15%
-p, --panel [default|30|45|60|75]
Set panel transparency. Default is 15%
-s, --size [default|220|240|260|280] # Set Nautilus sidebar minimum width. Default is 200px
-s, --size [default|180|220|240|260|280]
Set Nautilus sidebar minimum width. Default is 200px
-i, --icon [standard|simple|gnome|ubuntu|arch|manjaro|fedora|debian|void] # Set 'Activities' icon. Default is 'standard'
-i, --icon [standard|simple|gnome|ubuntu|arch|manjaro|fedora|debian|void]
Set 'Activities' icon. Default is 'standard'
-b, --background [default|blank|IMAGE_PATH] # Set gnome-shell background image. Default is BigSur-like wallpaper
-b, --background [default|blank|IMAGE_PATH]
Set gnome-shell background image. Default is BigSur-like wallpaper
-N, --nautilus-style [stable|normal|mojave|glassy] # Set Nautilus style. Default is stable (stabled sidebar)
-m, --monterey
Set to MacOS Monterey style.
--round, --roundedmaxwindow # Set maximized window to rounded. Default is square
-N, --nautilus-style [stable|normal|mojave|glassy]
Set Nautilus style. Default is BigSur-like style (stabled sidebar)
--right, --rightplacement # Set Nautilus titlebutton placement style to right. Default is left
-HD, --highdefinition
Set to High Definition size. Default is laptop size
--normal, --normalshowapps # Set gnome-shell show apps button style to normal. Default is bigsur
--normal, --normalshowapps
Set gnome-shell show apps button style to normal. Default is bigsur
--dialog, --interactive # Run this installer interactively, with dialogs.
--round, --roundedmaxwindow
Set maximized window to rounded. Default is square
-r, --remove, -u, --uninstall # Remove all installed WhiteSur themes.
--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
--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>
@@ -147,53 +173,56 @@ Usage: `./tweaks.sh [OPTIONS...]`
<details> <summary> Options </summary>
```bash
-f, --firefox
# Install 'WhiteSur' theme for Firefox and connect it to the current Firefox profiles.
-f, --firefox [default|monterey]
Install 'WhiteSur|Monterey' theme for Firefox and connect it to the current Firefox profiles. Default is WhiteSur
-e, --edit-firefox
# Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles.
-F, --flatpak
# Connect 'WhiteSur' theme to Flatpak.
Connect 'WhiteSur' theme to Flatpak.
-s, --snap
# Connect 'WhiteSur' theme the currently installed snap apps.
Connect 'WhiteSur' theme the currently installed snap apps.
-g, --gdm
# Install 'WhiteSur' theme for GDM. Requires to run this shell as root
Install 'WhiteSur' theme for GDM. Requires to run this shell as root
-d, --dash-to-dock
# Install 'WhiteSur' theme for Dash to Dock and connect it to the current Dash to Dock installation(s).
Install 'WhiteSur' theme for Dash to Dock and connect it to the current Dash to Dock installation(s).
-N, --no-darken
# Don't darken 'WhiteSur' GDM theme background image.
Don't darken 'WhiteSur' GDM theme background image.
-n, --no-blur
# Don't blur 'WhiteSur' GDM theme background image.
Don't blur 'WhiteSur' GDM theme background image.
-b, --background [default|blank|IMAGE_PATH]
# Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper
Set 'WhiteSur' GDM theme background image. Default is BigSur-like wallpaper
-o, --opacity [normal|solid]
# Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
-c, --color [light|dark]
# Set 'WhiteSur' GDM and Dash to Dock theme color variants. Default is 'light'
Set 'WhiteSur' GDM and Dash to Dock theme color variants. Default is 'light'
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey]
# Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme
Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme
-p, --panel [default|30|45|60|75]
# Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15%
Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15%
-i, --icon [standard|simple|gnome|ubuntu|arch|manjaro|fedora|debian|void]
# Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard'
Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard'
-r, --remove, --revert
# Revert to the original themes, do the opposite things of install and connect.
Revert to the original themes, do the opposite things of install and connect.
--silent-mode
Meant for developers: ignore any confirm prompt and params become more strict.
-h, --help
# Show this help.
Show this help.
```
</details>
@@ -201,7 +230,7 @@ Usage: `./tweaks.sh [OPTIONS...]`
## There's more themes you can try!
### <p align="center"> <b> Install and edit Firefox theme </b> </p>
<p align="center"> <a href="src/other/firefox">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox.png"/>
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-whitesur.png"/>
</a> </p>
#### Install Firefox theme
@@ -220,6 +249,17 @@ Example:
./tweaks.sh -e # edit the installed Firefox theme
```
#### Use Monterey style
<p align="center"> <a href="src/other/firefox">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-monterey.png"/>
</a> </p>
Run:
```bash
./tweaks.sh -f monterey # install Monterey Firefox theme
```
### <p align="center"> <b> Install and customize Dash to Dock theme </b> </p>
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/dash-to-dock.png"/> </p>
@@ -297,39 +337,39 @@ Note:
> Snap apps
# Other recommended stuffs
## Whitesur KDE Theme
## WhiteSur KDE Theme
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-kde-theme.png"/>
</a> </p>
<br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-kde">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.png"/>
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.svg"/>
</a> </p>
<br>
## Whitesur Icon Theme
## WhiteSur Icon Theme
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-icon-theme.png"/>
</a> </p>
<br>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.png"/>
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.svg"/>
</a> </p>
<br>
## Whitesur Wallpaper
<p align="center"> <a href="wallpapers">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/whitesur-wallpaper.png"/>
## WhiteSur Wallpaper
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/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-kde/tree/master/wallpaper">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/Monterey-wallpaper.png"/>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/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-kde/tree/master/wallpaper">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.png"/>
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-gtk-theme/tree/wallpapers">
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/download-button.svg"/>
</a> </p>
<br><br>
<br>
# Technical details and getting involved
Please go read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for more info
+17 -7
View File
@@ -32,17 +32,17 @@ usage() {
helpify "-p, --panel" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" "Set panel transparency" "Default is 15%"
helpify "-s, --size" "[$(IFS='|'; echo "${SIDEBAR_SIZE_VARIANTS[*]}")]" "Set Nautilus sidebar minimum width" "Default is 200px"
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'"
# Not sure if "background" is even needed here
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set gnome-shell background image" "Default is BigSur-like wallpaper"
helpify "-m, --monterey" "" "Set to MacOS Monterey style"
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style (stabled sidebar)"
helpify "-HD, --highdefinition" "" "Set to High Definition size" "Default is laptop size"
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur"
helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square"
helpify "--right, --rightplacement" "" "Set Nautilus titlebutton placement style to right" "Default is left"
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur"
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 "--dialog, --interactive" "" "Run this installer interactively, with dialogs" ""
helpify "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" ""
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 "-h, --help" "" "Show this help" ""
}
@@ -72,16 +72,18 @@ while [[ $# -gt 0 ]]; do
full_sudo "${1}"; silent_mode='true'; shift ;;
--dialog|--interactive)
interactive='true'; shift ;;
-h|--help)
need_help="true"; shift ;;
--normal|--normalshowapps)
showapps_normal="true"; shift ;;
--right|--rightplacement)
right_placement="true"; shift ;;
--round|--roundedmaxwindow)
max_round="true"; shift ;;
--black|--blackfont)
black_font="true"; shift ;;
-HD|--highdefinition)
compact="false"; shift ;;
-m|--monterey)
monterey="true"; shift ;;
# Parameters that require value, single use
-b|--background)
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;
@@ -106,6 +108,8 @@ while [[ $# -gt 0 ]]; do
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
-t|--theme)
check_param "${1}" "${1}" "${2}" "not-at-all" "must" "must" && shift 2 || shift ;;
-h|--help)
need_help="true"; shift ;;
*)
prompt -e "ERROR: Unrecognized installation option '${1}'."
has_any_error="true"; shift ;;
@@ -148,9 +152,15 @@ else
if (is_my_distro "arch" || is_my_distro "void") && has_command xfce4-session; then
msg="XFCE: you may need to logout after changing your theme to fix your panel opacity."
notif_msg="${msg}\n\n${final_msg}"
elif (is_my_distro "solus") && has_command gnome-shell; then
msg="GNOME: you may need to disable 'User Themes' extension to fix your dock."
elif (is_my_distro "debian") && [[ "${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
echo; prompt -w "${msg}"
notif_msg="${msg}\n\n${final_msg}"
else
notif_msg="${final_msg}"
fi
+34 -29
View File
@@ -21,7 +21,8 @@ WHITESUR_SOURCE=("lib-core.sh")
#--------------System--------------#
export WHITESUR_PID=$$
MY_USERNAME="$(logname 2> /dev/null || echo ${SUDO_USER:-${USER}})"
MY_USERNAME="${SUDO_USER:-$(logname 2> /dev/null || echo "${USER}")}"
MY_HOME=$(getent passwd "${MY_USERNAME}" | cut -d: -f6)
if command -v gnome-shell &> /dev/null; then
if (( $(gnome-shell --version | cut -d ' ' -f 3 | cut -d . -f 1) >= 4 )); then
@@ -48,14 +49,14 @@ SUDO_BIN="$(which sudo)"
THEME_SRC_DIR="${REPO_DIR}/src"
DASH_TO_DOCK_SRC_DIR="${REPO_DIR}/src/other/dash-to-dock"
DASH_TO_DOCK_DIR_ROOT="/usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com"
DASH_TO_DOCK_DIR_HOME="/home/${MY_USERNAME}/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com"
DASH_TO_DOCK_DIR_HOME="${MY_HOME}/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com"
FIREFOX_SRC_DIR="${REPO_DIR}/src/other/firefox"
FIREFOX_DIR_HOME="/home/${MY_USERNAME}/.mozilla/firefox"
FIREFOX_THEME_DIR="/home/${MY_USERNAME}/.mozilla/firefox/firefox-themes"
FIREFOX_FLATPAK_DIR_HOME="/home/${MY_USERNAME}/.var/app/org.mozilla.firefox/.mozilla/firefox"
FIREFOX_FLATPAK_THEME_DIR="/home/${MY_USERNAME}/.var/app/org.mozilla.firefox/.mozilla/firefox/firefox-themes"
FIREFOX_SNAP_DIR_HOME="/home/${MY_USERNAME}/snap/firefox/common/.mozilla/firefox"
FIREFOX_SNAP_THEME_DIR="/home/${MY_USERNAME}/snap/firefox/common/.mozilla/firefox/firefox-themes"
FIREFOX_DIR_HOME="${MY_HOME}/.mozilla/firefox"
FIREFOX_THEME_DIR="${MY_HOME}/.mozilla/firefox/firefox-themes"
FIREFOX_FLATPAK_DIR_HOME="${MY_HOME}/.var/app/org.mozilla.firefox/.mozilla/firefox"
FIREFOX_FLATPAK_THEME_DIR="${MY_HOME}/.var/app/org.mozilla.firefox/.mozilla/firefox/firefox-themes"
FIREFOX_SNAP_DIR_HOME="${MY_HOME}/snap/firefox/common/.mozilla/firefox"
FIREFOX_SNAP_THEME_DIR="${MY_HOME}/snap/firefox/common/.mozilla/firefox/firefox-themes"
export WHITESUR_TMP_DIR="/tmp/WhiteSur.lock"
if [[ -w "/root" ]]; then
@@ -83,7 +84,7 @@ OPACITY_VARIANTS=('normal' 'solid')
ALT_VARIANTS=('normal' 'alt')
THEME_VARIANTS=('default' 'blue' 'purple' 'pink' 'red' 'orange' 'yellow' 'green' 'grey')
ICON_VARIANTS=('standard' 'simple' 'gnome' 'ubuntu' 'arch' 'manjaro' 'fedora' 'debian' 'void')
SIDEBAR_SIZE_VARIANTS=('default' '220' '240' '260' '280')
SIDEBAR_SIZE_VARIANTS=('default' '180' '220' '240' '260' '280')
PANEL_OPACITY_VARIANTS=('default' '30' '45' '60' '75')
NAUTILUS_STYLE_VARIANTS=('stable' 'normal' 'mojave' 'glassy')
@@ -98,7 +99,7 @@ icon="${ICON_VARIANTS[0]}"
sidebar_size="${SIDEBAR_SIZE_VARIANTS[0]}"
panel_opacity="${PANEL_OPACITY_VARIANTS[0]}"
nautilus_style="${NAUTILUS_STYLE_VARIANTS[0]}"
background="default"
background="blank"
compact="true"
#--Ambigous arguments checking and overriding default values--#
@@ -128,7 +129,7 @@ msg=""
final_msg="Run '${0} --help' to explore more customization features!"
notif_msg=""
process_ids=()
# This is important for 'udu' because 'return "${result}"' is considered the
# This is important for 'udo' because 'return "${result}"' is considered the
# last command in 'BASH_COMMAND' variable
WHITESUR_COMMAND=""
export ANIM_PID="0"
@@ -157,6 +158,23 @@ anim=(
" ${c_blue}•${c_green}•${c_red}•${c_magenta}•"
)
# Check command availability
has_command() {
command -v "$1" &> /dev/null
}
has_flatpak_app() {
flatpak list --columns=application | grep "${1}" &> /dev/null || return 1
}
has_snap_app() {
snap list "${1}" &> /dev/null || return 1
}
is_my_distro() {
[[ "$(cat '/etc/os-release' | awk -F '=' '/ID/{print $2}')" =~ "${1}" ]]
}
###############################################################################
# CORE UTILITIES #
###############################################################################
@@ -285,6 +303,10 @@ 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"
@@ -350,23 +372,6 @@ helpify() {
printf " ${c_blue}%s ${c_green}%s\n ${c_magenta}%s. ${c_cyan}%s\n\n${c_default}" "${1}" "${2}" "${3}" "${4}"
}
# Check command availability
has_command() {
command -v "$1" &> /dev/null
}
has_flatpak_app() {
flatpak list --columns=application | grep "${1}" &> /dev/null || return 1
}
has_snap_app() {
snap list "${1}" &> /dev/null || return 1
}
is_my_distro() {
[[ "$(cat '/etc/os-release' | awk -F '=' '/ID/{print $2}')" =~ "${1}" ]]
}
###############################################################################
# PARAMETERS #
###############################################################################
@@ -499,7 +504,7 @@ check_param() {
-n)
name="${value}"; variant_found="skip" ;;
-s)
for i in {0..4}; do
for i in {0..5}; do
if [[ "${value}" == "${SIDEBAR_SIZE_VARIANTS[i]}" ]]; then
sidebar_size="${value}"; variant_found="true"; break
fi
+42 -15
View File
@@ -176,6 +176,9 @@ install_theme_deps() {
# 'libxml2' is already included here, and it's gonna broke the installation
# if you add it
prepare_xbps && sudo xbps-install -Sy sassc glib-devel
elif has_command eopkg; then
# Rolling release
sudo eopkg -y upgrade; sudo eopkg -y install sassc glib2 libxml2
else
installation_sorry
fi
@@ -204,6 +207,9 @@ install_beggy_deps() {
elif has_command xbps-install; then
# Rolling release
prepare_xbps && sudo xbps-install -Sy ImageMagick
elif has_command eopkg; then
# Rolling release
sudo eopkg -y upgrade; sudo eopkg -y install imagemagick
else
installation_sorry
fi
@@ -234,6 +240,9 @@ install_dialog_deps() {
elif has_command xbps-install; then
# Rolling release
prepare_xbps && sudo xbps-install -Sy dialog
elif has_command eopkg; then
# Rolling release
sudo eopkg -y upgrade; sudo eopkg -y install dialog
else
installation_sorry
fi
@@ -279,7 +288,6 @@ install_darky() {
local opacity="$(destify ${1})"
local theme="$(destify ${2})"
install_theme_deps
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-3.css"
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-4.css"
}
@@ -318,8 +326,6 @@ install_shelly() {
TARGET_DIR="${6}"
fi
install_theme_deps
mkdir -p "${TARGET_DIR}"
mkdir -p "${TARGET_DIR}/assets"
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/icons" "${TARGET_DIR}"
@@ -339,6 +345,7 @@ install_shelly() {
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/assets${color}/"*".svg" "${TARGET_DIR}/assets"
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg" "${TARGET_DIR}/assets/activities.svg"
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg" "${TARGET_DIR}/assets/activities-white.svg"
cp -r "${WHITESUR_TMP_DIR}/beggy.png" "${TARGET_DIR}/assets/background.png"
(
@@ -348,9 +355,8 @@ install_shelly() {
mv -f "assets/no-notifications.svg" "no-notifications.svg"
)
if [[ "${alt}" == '-alt' || "${opacity}" == '-solid' ]] && [[ "${color}" == '-light' ]]; then
if [[ "${black_font:-}" == 'true' || "${opacity}" == '-solid' ]] && [[ "${color}" == '-light' ]]; then
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/activities-black/activities${icon}.svg" "${TARGET_DIR}/assets/activities.svg"
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/activities/activities${icon}.svg" "${TARGET_DIR}/assets/activities-white.svg"
fi
}
@@ -388,8 +394,6 @@ install_theemy() {
echo -e "${desktop_entry}" > "${TARGET_DIR}/index.theme"
install_theme_deps
#--------------------GTK-3.0--------------------#
mkdir -p "${TMP_DIR_T}"
@@ -582,7 +586,17 @@ install_firefox_theme() {
remove_firefox_theme
udo mkdir -p "${TARGET_DIR}"
udo cp -rf "${FIREFOX_SRC_DIR}"/* "${TARGET_DIR}"
udo cp -rf "${FIREFOX_SRC_DIR}"/customChrome.css "${TARGET_DIR}"
if [[ "${monterey}" == 'true' ]]; then
udo cp -rf "${FIREFOX_SRC_DIR}"/Monterey "${TARGET_DIR}"
udo cp -rf "${FIREFOX_SRC_DIR}"/WhiteSur/{icons,titlebuttons} "${TARGET_DIR}"/Monterey
udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-Monterey.css "${TARGET_DIR}"/userChrome.css
else
udo cp -rf "${FIREFOX_SRC_DIR}"/WhiteSur "${TARGET_DIR}"
udo cp -rf "${FIREFOX_SRC_DIR}"/userChrome-WhiteSur.css "${TARGET_DIR}"/userChrome.css
fi
config_firefox
}
@@ -633,7 +647,6 @@ remove_firefox_theme() {
rm -rf "${FIREFOX_THEME_DIR}"
rm -rf "${FIREFOX_FLATPAK_DIR_HOME}/"*"default"*"/chrome"
rm -rf "${FIREFOX_FLATPAK_THEME_DIR}"
# Again, this too
rm -rf "${FIREFOX_SNAP_DIR_HOME}/"*"default"*"/chrome"
rm -rf "${FIREFOX_SNAP_THEME_DIR}"
}
@@ -663,6 +676,8 @@ revert_dash_to_dock_theme() {
elif [[ -d "${DASH_TO_DOCK_DIR_ROOT}" ]]; then
restore_file "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css" "sudo"
fi
udo dbus-launch dconf write /org/gnome/shell/extensions/dash-to-dock/apply-custom-theme false
}
###############################################################################
@@ -701,16 +716,14 @@ gtk_base() {
cp -rf "${THEME_SRC_DIR}/sass/_gtk-base"{".scss","-temp.scss"}
# Theme base options
sed $SED_OPT "/\$laptop/s/false/${compact}/" "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
if [[ "${compact}" == 'false' ]]; then
sed $SED_OPT "/\$laptop/s/true/false/" "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
fi
if [[ "${opacity}" == 'solid' ]]; then
sed $SED_OPT "/\$trans/s/true/false/" "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
fi
if [[ "${color}" == 'light' && ${opacity} == 'solid' ]]; then
sed $SED_OPT "/\$black/s/false/true/" "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
fi
if [[ "${theme}" != '' ]]; then
sed $SED_OPT "/\$theme/s/default/${theme}/" "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
fi
@@ -759,9 +772,23 @@ customize_theme() {
sed $SED_OPT "/\$max_window_style/s/square/round/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
# Change panel font color
if [[ "${monterey}" == 'true' ]]; then
black_font="true"
prompt -s "Changing to montery style ..."
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"
fi
# Change panel font color
if [[ "${black_font}" == 'true' ]]; then
prompt -s "Changing panel font color ..."
sed $SED_OPT "/\$panel_font/s/white/black/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
fi
if [[ "${compact}" == 'false' ]]; then
prompt -s "Changing Definition mode to HD (Bigger font, Bigger size) ..."
#FIXME: @vince is it not implemented yet?
#FIXME: @vince is it not implemented yet? (Only Gnome-shell and Gtk theme finished!)
fi
}
+46
View File
@@ -0,0 +1,46 @@
#! /usr/bin/env bash
readonly REPO_DIR="$(dirname "$(readlink -m "${0}")")"
readonly RELEASE_DIR="${REPO_DIR}/release"
source "${REPO_DIR}/lib-install.sh"
# Customization, default values
colors=("${COLOR_VARIANTS[@]}")
opacities=("${OPACITY_VARIANTS[@]}")
C_VARIANTS=('-light' '-dark')
S_VARIANTS=('' '-solid')
install() {
remove_themes; customize_theme; avoid_variant_duplicates
install_themes; echo; prompt -s "Install Gnome${RELEASE_VERSION} version finished!"; echo
}
compress() {
for color in "${C_VARIANTS[@]}"; do
for solid in "${S_VARIANTS[@]}"; do
rm -rf ${RELEASE_DIR}/${THEME_NAME}${color}${solid}${RELEASE_VERSION}.tar.xz
done
done
cd ${THEME_DIR}
for color in "${C_VARIANTS[@]}"; do
for solid in "${S_VARIANTS[@]}"; do
tar -Jcf ${RELEASE_DIR}/${THEME_NAME}${color}${solid}${RELEASE_VERSION}.tar.xz ${THEME_NAME}${color}${solid}
done
done
}
GNOME_VERSION="old"
RELEASE_VERSION="-3-38"
install && compress
prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo
GNOME_VERSION="new"
RELEASE_VERSION="-40-0"
install && compress
prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo
prompt -s "Done!"; echo
exit 0
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.
+795 -92
View File
@@ -1,123 +1,826 @@
<svg width="760" height="800" version="1.1" viewBox="0 0 201.08 211.67" xmlns="http://www.w3.org/2000/svg">
<g id="sidebar-view-hover-220px">
<rect x="15.875" y="50.271" width="58.208" height="7.4083" opacity="0" stroke-width=".79507"/>
<rect x="18.521" y="50.271" width="52.917" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".1"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="760"
height="800"
version="1.1"
viewBox="0 0 201.08 211.67"
id="svg154"
sodipodi:docname="sidebar-assets.svg"
inkscape:version="1.1 (c68e22c387, 2021-05-23)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs158" />
<sodipodi:namedview
id="namedview156"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="0.28625"
inkscape:cx="-150.21834"
inkscape:cy="-55.895196"
inkscape:window-width="1536"
inkscape:window-height="804"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg154">
<inkscape:grid
type="xygrid"
id="grid178" />
</sodipodi:namedview>
<g
id="sidebar-view-hover-220px">
<rect
x="15.875"
y="50.271"
width="58.208"
height="7.4083"
opacity="0"
stroke-width=".79507"
id="rect2" />
<rect
x="18.521"
y="50.271"
width="52.917"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".1"
id="rect4" />
</g>
<rect x="93.927" y="7.9375" width="85.99" height="198.44" rx="0" ry="0" fill="#333333" stroke-linecap="square" stroke-width=".61172"/>
<g id="sidebar-view-hover-200px" transform="matrix(.29398 0 0 .26458 -202.26 9.7896)">
<rect x="742" y="8" width="180" height="28" opacity="0" stroke-width="2.7181"/>
<rect x="751" y="8" width="162" height="28" ry="5" fill="#00000c" opacity=".1"/>
<rect
x="93.927"
y="7.9375"
width="85.99"
height="198.44"
rx="0"
ry="0"
fill="#333333"
stroke-linecap="square"
stroke-width=".61172"
id="rect7" />
<g
id="sidebar-view-hover-200px"
transform="matrix(.29398 0 0 .26458 -202.26 9.7896)">
<rect
x="742"
y="8"
width="180"
height="28"
opacity="0"
stroke-width="2.7181"
id="rect9" />
<rect
x="751"
y="8"
width="162"
height="28"
ry="5"
fill="#00000c"
opacity=".1"
id="rect11" />
</g>
<g id="sidebar-view-active-200px" transform="matrix(.29398 0 0 .26458 -202.26 19.844)">
<rect x="742" y="8" width="180" height="28" opacity="0" stroke-width="2.7181"/>
<rect x="751" y="8" width="162" height="28" ry="5" fill="#00000c" opacity=".2"/>
<g
id="sidebar-view-active-200px"
transform="matrix(.29398 0 0 .26458 -202.26 19.844)">
<rect
x="742"
y="8"
width="180"
height="28"
opacity="0"
stroke-width="2.7181"
id="rect14" />
<rect
x="751"
y="8"
width="162"
height="28"
ry="5"
fill="#00000c"
opacity=".2"
id="rect16" />
</g>
<g id="sidebar-view-checked-200px" transform="matrix(.29398 0 0 .26458 -202.26 30.427)">
<rect x="742" y="8" width="180" height="28" opacity="0" stroke-width="2.7181"/>
<rect x="751" y="8" width="162" height="28" ry="5" fill="#00000c" opacity=".15"/>
<g
id="sidebar-view-checked-200px"
transform="matrix(.29398 0 0 .26458 -202.26 30.427)">
<rect
x="742"
y="8"
width="180"
height="28"
opacity="0"
stroke-width="2.7181"
id="rect19" />
<rect
x="751"
y="8"
width="162"
height="28"
ry="5"
fill="#00000c"
opacity=".15"
id="rect21" />
</g>
<g id="sidebar-view-hover-200px-dark" transform="matrix(.29398 0 0 .26458 -120.24 9.7896)">
<rect x="742" y="8" width="180" height="28" opacity="0" stroke-width="2.7181"/>
<rect x="751" y="8" width="162" height="28" ry="5" fill="#ffffff" opacity=".1"/>
<g
id="sidebar-view-hover-200px-dark"
transform="matrix(.29398 0 0 .26458 -120.24 9.7896)">
<rect
x="742"
y="8"
width="180"
height="28"
opacity="0"
stroke-width="2.7181"
id="rect24" />
<rect
x="751"
y="8"
width="162"
height="28"
ry="5"
fill="#ffffff"
opacity=".1"
id="rect26" />
</g>
<g id="sidebar-view-active-200px-dark" transform="matrix(.29398 0 0 .26458 -120.24 19.844)">
<rect x="742" y="8" width="180" height="28" opacity="0" stroke-width="2.7181"/>
<rect x="751" y="8" width="162" height="28" ry="5" fill="#ffffff" opacity=".2"/>
<g
id="sidebar-view-active-200px-dark"
transform="matrix(.29398 0 0 .26458 -120.24 19.844)">
<rect
x="742"
y="8"
width="180"
height="28"
opacity="0"
stroke-width="2.7181"
id="rect29" />
<rect
x="751"
y="8"
width="162"
height="28"
ry="5"
fill="#ffffff"
opacity=".2"
id="rect31" />
</g>
<g id="sidebar-view-checked-200px-dark" transform="matrix(.29398 0 0 .26458 -120.24 30.427)">
<rect x="742" y="8" width="180" height="28" opacity="0" stroke-width="2.7181"/>
<rect x="751" y="8" width="162" height="28" ry="5" fill="#ffffff" opacity=".15"/>
<g
id="sidebar-view-checked-200px-dark"
transform="matrix(.29398 0 0 .26458 -120.24 30.427)">
<rect
x="742"
y="8"
width="180"
height="28"
opacity="0"
stroke-width="2.7181"
id="rect34" />
<rect
x="751"
y="8"
width="162"
height="28"
ry="5"
fill="#ffffff"
opacity=".15"
id="rect36" />
</g>
<g id="sidebar-view-active-220px">
<rect x="15.875" y="60.325" width="58.208" height="7.4083" opacity="0" stroke-width=".79507"/>
<rect x="18.521" y="60.325" width="52.917" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".2"/>
<g
id="sidebar-view-active-220px">
<rect
x="15.875"
y="60.325"
width="58.208"
height="7.4083"
opacity="0"
stroke-width=".79507"
id="rect39" />
<rect
x="18.521"
y="60.325"
width="52.917"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".2"
id="rect41" />
</g>
<g id="sidebar-view-checked-220px">
<rect x="15.875" y="70.908" width="58.208" height="7.4083" opacity="0" stroke-width=".79507"/>
<rect x="18.521" y="70.908" width="52.917" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".15"/>
<g
id="sidebar-view-checked-220px">
<rect
x="15.875"
y="70.908"
width="58.208"
height="7.4083"
opacity="0"
stroke-width=".79507"
id="rect44" />
<rect
x="18.521"
y="70.908"
width="52.917"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".15"
id="rect46" />
</g>
<g id="sidebar-view-hover-240px">
<rect x="15.875" y="91.81" width="63.5" height="7.4083" opacity="0" stroke-width=".83043"/>
<rect x="18.521" y="91.81" width="58.208" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".1"/>
<g
id="sidebar-view-hover-240px">
<rect
x="15.875"
y="91.81"
width="63.5"
height="7.4083"
opacity="0"
stroke-width=".83043"
id="rect49" />
<rect
x="18.521"
y="91.81"
width="58.208"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".1"
id="rect51" />
</g>
<g id="sidebar-view-active-240px">
<rect x="15.875" y="101.86" width="63.5" height="7.4083" opacity="0" stroke-width=".83043"/>
<rect x="18.521" y="101.86" width="58.208" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".2"/>
<g
id="sidebar-view-active-240px">
<rect
x="15.875"
y="101.86"
width="63.5"
height="7.4083"
opacity="0"
stroke-width=".83043"
id="rect54" />
<rect
x="18.521"
y="101.86"
width="58.208"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".2"
id="rect56" />
</g>
<g id="sidebar-view-checked-240px">
<rect x="15.875" y="112.45" width="63.5" height="7.4083" opacity="0" stroke-width=".83043"/>
<rect x="18.521" y="112.45" width="58.208" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".15"/>
<g
id="sidebar-view-checked-240px">
<rect
x="15.875"
y="112.45"
width="63.5"
height="7.4083"
opacity="0"
stroke-width=".83043"
id="rect59" />
<rect
x="18.521"
y="112.45"
width="58.208"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".15"
id="rect61" />
</g>
<g id="sidebar-view-hover-260px">
<rect x="15.875" y="131.23" width="68.792" height="7.4083" opacity="0" stroke-width=".86434"/>
<rect x="18.521" y="131.23" width="63.5" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".1"/>
<g
id="sidebar-view-hover-260px">
<rect
x="15.875"
y="131.23"
width="68.792"
height="7.4083"
opacity="0"
stroke-width=".86434"
id="rect64" />
<rect
x="18.521"
y="131.23"
width="63.5"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".1"
id="rect66" />
</g>
<g id="sidebar-view-active-260px">
<rect x="15.875" y="141.29" width="68.792" height="7.4083" opacity="0" stroke-width=".86434"/>
<rect x="18.521" y="141.29" width="63.5" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".2"/>
<g
id="sidebar-view-active-260px">
<rect
x="15.875"
y="141.29"
width="68.792"
height="7.4083"
opacity="0"
stroke-width=".86434"
id="rect69" />
<rect
x="18.521"
y="141.29"
width="63.5"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".2"
id="rect71" />
</g>
<g id="sidebar-view-checked-260px">
<rect x="15.875" y="151.87" width="68.792" height="7.4083" opacity="0" stroke-width=".86434"/>
<rect x="18.521" y="151.87" width="63.5" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".15"/>
<g
id="sidebar-view-checked-260px">
<rect
x="15.875"
y="151.87"
width="68.792"
height="7.4083"
opacity="0"
stroke-width=".86434"
id="rect74" />
<rect
x="18.521"
y="151.87"
width="63.5"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".15"
id="rect76" />
</g>
<g id="sidebar-view-hover-280px">
<rect x="15.875" y="171.98" width="74.083" height="7.4083" opacity="0" stroke-width=".89696"/>
<rect x="18.521" y="171.98" width="68.792" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".1"/>
<g
id="sidebar-view-hover-280px">
<rect
x="15.875"
y="171.98"
width="74.083"
height="7.4083"
opacity="0"
stroke-width=".89696"
id="rect79" />
<rect
x="18.521"
y="171.98"
width="68.792"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".1"
id="rect81" />
</g>
<g id="sidebar-view-active-280px">
<rect x="15.875" y="182.03" width="74.083" height="7.4083" opacity="0" stroke-width=".89696"/>
<rect x="18.521" y="182.03" width="68.792" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".2"/>
<g
id="sidebar-view-active-280px">
<rect
x="15.875"
y="182.03"
width="74.083"
height="7.4083"
opacity="0"
stroke-width=".89696"
id="rect84" />
<rect
x="18.521"
y="182.03"
width="68.792"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".2"
id="rect86" />
</g>
<g id="sidebar-view-checked-280px">
<rect x="15.875" y="192.62" width="74.083" height="7.4083" opacity="0" stroke-width=".89696"/>
<rect x="18.521" y="192.62" width="68.792" height="7.4083" rx="1.3229" ry="1.3229" fill="#00000c" opacity=".15"/>
<g
id="sidebar-view-checked-280px">
<rect
x="15.875"
y="192.62"
width="74.083"
height="7.4083"
opacity="0"
stroke-width=".89696"
id="rect89" />
<rect
x="18.521"
y="192.62"
width="68.792"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#00000c"
opacity=".15"
id="rect91" />
</g>
<g id="sidebar-view-hover-220px-dark" transform="translate(82.021)">
<rect x="15.875" y="50.271" width="58.208" height="7.4083" opacity="0" stroke-width=".79507"/>
<rect x="18.521" y="50.271" width="52.917" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".1"/>
<g
id="sidebar-view-hover-220px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="50.271"
width="58.208"
height="7.4083"
opacity="0"
stroke-width=".79507"
id="rect94" />
<rect
x="18.521"
y="50.271"
width="52.917"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".1"
id="rect96" />
</g>
<g id="sidebar-view-active-220px-dark" transform="translate(82.021)">
<rect x="15.875" y="60.325" width="58.208" height="7.4083" opacity="0" stroke-width=".79507"/>
<rect x="18.521" y="60.325" width="52.917" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".2"/>
<g
id="sidebar-view-active-220px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="60.325"
width="58.208"
height="7.4083"
opacity="0"
stroke-width=".79507"
id="rect99" />
<rect
x="18.521"
y="60.325"
width="52.917"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".2"
id="rect101" />
</g>
<g id="sidebar-view-checked-220px-dark" transform="translate(82.021)">
<rect x="15.875" y="70.908" width="58.208" height="7.4083" opacity="0" stroke-width=".79507"/>
<rect x="18.521" y="70.908" width="52.917" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".15"/>
<g
id="sidebar-view-checked-220px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="70.908"
width="58.208"
height="7.4083"
opacity="0"
stroke-width=".79507"
id="rect104" />
<rect
x="18.521"
y="70.908"
width="52.917"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".15"
id="rect106" />
</g>
<g id="sidebar-view-hover-240px-dark" transform="translate(82.021)">
<rect x="15.875" y="91.81" width="63.5" height="7.4083" opacity="0" stroke-width=".83043"/>
<rect x="18.521" y="91.81" width="58.208" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".1"/>
<g
id="sidebar-view-hover-240px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="91.81"
width="63.5"
height="7.4083"
opacity="0"
stroke-width=".83043"
id="rect109" />
<rect
x="18.521"
y="91.81"
width="58.208"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".1"
id="rect111" />
</g>
<g id="sidebar-view-active-240px-dark" transform="translate(82.021)">
<rect x="15.875" y="101.86" width="63.5" height="7.4083" opacity="0" stroke-width=".83043"/>
<rect x="18.521" y="101.86" width="58.208" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".2"/>
<g
id="sidebar-view-active-240px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="101.86"
width="63.5"
height="7.4083"
opacity="0"
stroke-width=".83043"
id="rect114" />
<rect
x="18.521"
y="101.86"
width="58.208"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".2"
id="rect116" />
</g>
<g id="sidebar-view-checked-240px-dark" transform="translate(82.021)">
<rect x="15.875" y="112.45" width="63.5" height="7.4083" opacity="0" stroke-width=".83043"/>
<rect x="18.521" y="112.45" width="58.208" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".15"/>
<g
id="sidebar-view-checked-240px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="112.45"
width="63.5"
height="7.4083"
opacity="0"
stroke-width=".83043"
id="rect119" />
<rect
x="18.521"
y="112.45"
width="58.208"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".15"
id="rect121" />
</g>
<g id="sidebar-view-hover-260px-dark" transform="translate(82.021)">
<rect x="15.875" y="131.23" width="68.792" height="7.4083" opacity="0" stroke-width=".86434"/>
<rect x="18.521" y="131.23" width="63.5" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".1"/>
<g
id="sidebar-view-hover-260px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="131.23"
width="68.792"
height="7.4083"
opacity="0"
stroke-width=".86434"
id="rect124" />
<rect
x="18.521"
y="131.23"
width="63.5"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".1"
id="rect126" />
</g>
<g id="sidebar-view-active-260px-dark" transform="translate(82.021)">
<rect x="15.875" y="141.29" width="68.792" height="7.4083" opacity="0" stroke-width=".86434"/>
<rect x="18.521" y="141.29" width="63.5" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".2"/>
<g
id="sidebar-view-active-260px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="141.29"
width="68.792"
height="7.4083"
opacity="0"
stroke-width=".86434"
id="rect129" />
<rect
x="18.521"
y="141.29"
width="63.5"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".2"
id="rect131" />
</g>
<g id="sidebar-view-checked-260px-dark" transform="translate(82.021)">
<rect x="15.875" y="151.87" width="68.792" height="7.4083" opacity="0" stroke-width=".86434"/>
<rect x="18.521" y="151.87" width="63.5" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".15"/>
<g
id="sidebar-view-checked-260px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="151.87"
width="68.792"
height="7.4083"
opacity="0"
stroke-width=".86434"
id="rect134" />
<rect
x="18.521"
y="151.87"
width="63.5"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".15"
id="rect136" />
</g>
<g id="sidebar-view-hover-280px-dark" transform="translate(82.021)">
<rect x="15.875" y="171.98" width="74.083" height="7.4083" opacity="0" stroke-width=".89696"/>
<rect x="18.521" y="171.98" width="68.792" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".1"/>
<g
id="sidebar-view-hover-280px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="171.98"
width="74.083"
height="7.4083"
opacity="0"
stroke-width=".89696"
id="rect139" />
<rect
x="18.521"
y="171.98"
width="68.792"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".1"
id="rect141" />
</g>
<g id="sidebar-view-active-280px-dark" transform="translate(82.021)">
<rect x="15.875" y="182.03" width="74.083" height="7.4083" opacity="0" stroke-width=".89696"/>
<rect x="18.521" y="182.03" width="68.792" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".2"/>
<g
id="sidebar-view-active-280px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="182.03"
width="74.083"
height="7.4083"
opacity="0"
stroke-width=".89696"
id="rect144" />
<rect
x="18.521"
y="182.03"
width="68.792"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".2"
id="rect146" />
</g>
<g id="sidebar-view-checked-280px-dark" transform="translate(82.021)">
<rect x="15.875" y="192.62" width="74.083" height="7.4083" opacity="0" stroke-width=".89696"/>
<rect x="18.521" y="192.62" width="68.792" height="7.4083" rx="1.3229" ry="1.3229" fill="#ffffff" opacity=".15"/>
<g
id="sidebar-view-checked-280px-dark"
transform="translate(82.021)">
<rect
x="15.875"
y="192.62"
width="74.083"
height="7.4083"
opacity="0"
stroke-width=".89696"
id="rect149" />
<rect
x="18.521"
y="192.62"
width="68.792"
height="7.4083"
rx="1.3229"
ry="1.3229"
fill="#ffffff"
opacity=".15"
id="rect151" />
</g>
<g
id="sidebar-view-hover-180px">
<rect
x="15.87316"
y="-40.746475"
width="47.625751"
height="7.4082398"
opacity="0"
stroke-width="0.719165"
id="rect160" />
<rect
x="18.517876"
y="-40.746475"
width="42.334"
height="7.4082398"
ry="1.3229377"
fill="#00000c"
opacity="0.1"
id="rect162"
style="stroke-width:0.262946"
rx="1.3229377" />
</g>
<g
id="sidebar-view-active-180px">
<rect
x="15.87316"
y="-30.692076"
width="47.625751"
height="7.4082398"
opacity="0"
stroke-width="0.719165"
id="rect166" />
<rect
x="18.519035"
y="-30.692076"
width="42.334"
height="7.4082398"
ry="1.3228632"
fill="#00000c"
opacity="0.2"
id="rect168"
style="stroke-width:0.262946"
rx="1.3228632" />
</g>
<g
id="sidebar-view-checked-180px">
<rect
x="15.87316"
y="-20.109076"
width="47.625751"
height="7.4082398"
opacity="0"
stroke-width="0.719165"
id="rect172" />
<rect
x="18.519035"
y="-20.109076"
width="42.334"
height="7.4082398"
ry="1.3233631"
fill="#00000c"
opacity="0.15"
id="rect174"
style="stroke-width:0.262946"
rx="1.3233631" />
</g>
<g
id="sidebar-view-hover-180px-dark"
transform="translate(84.66684)">
<rect
x="15.87316"
y="-40.746475"
width="47.625751"
height="7.4082398"
opacity="0"
stroke-width="0.719165"
id="rect297" />
<rect
x="18.517876"
y="-40.746475"
width="42.334"
height="7.4082398"
ry="1.3229377"
fill="#00000c"
opacity="0.1"
id="rect299"
style="stroke-width:0.262946;fill:#ffffff"
rx="1.3229377" />
</g>
<g
id="sidebar-view-active-180px-dark"
transform="translate(84.66684)">
<rect
x="15.87316"
y="-30.692076"
width="47.625751"
height="7.4082398"
opacity="0"
stroke-width="0.719165"
id="rect303" />
<rect
x="18.519035"
y="-30.692076"
width="42.334"
height="7.4082398"
ry="1.3228632"
fill="#00000c"
opacity="0.2"
id="rect305"
style="stroke-width:0.262946;fill:#ffffff"
rx="1.3228632" />
</g>
<g
id="sidebar-view-checked-180px-dark"
transform="translate(84.66684)">
<rect
x="15.87316"
y="-20.109076"
width="47.625751"
height="7.4082398"
opacity="0"
stroke-width="0.719165"
id="rect309" />
<rect
x="18.519035"
y="-20.109076"
width="42.334"
height="7.4082398"
ry="1.3233631"
fill="#00000c"
opacity="0.15"
id="rect311"
style="stroke-width:0.262946;fill:#ffffff"
rx="1.3233631" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 17 KiB

@@ -1,3 +1,9 @@
sidebar-view-hover-180px
sidebar-view-active-180px
sidebar-view-checked-180px
sidebar-view-hover-180px-dark
sidebar-view-active-180px-dark
sidebar-view-checked-180px-dark
sidebar-view-hover-200px
sidebar-view-active-200px
sidebar-view-checked-200px
Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

@@ -16,6 +16,7 @@
<file>assets/window-close-active.svg</file>
<file>assets/window-close-symbolic.svg</file>
<file>assets/activities.svg</file>
<file>assets/activities-white.svg</file>
<file>assets/view-app-grid.svg</file>
<file>assets/background.png</file>
<file>icons/scalable/actions/color-pick.svg</file>
+12
View File
@@ -121,6 +121,18 @@
<file>assets/paned-separator@2.png</file>
<file>assets/paned-separator-dark.png</file>
<file>assets/paned-separator-dark@2.png</file>
<file>assets/sidebar-view-hover-180px.png</file>
<file>assets/sidebar-view-hover-180px@2.png</file>
<file>assets/sidebar-view-active-180px.png</file>
<file>assets/sidebar-view-active-180px@2.png</file>
<file>assets/sidebar-view-checked-180px.png</file>
<file>assets/sidebar-view-checked-180px@2.png</file>
<file>assets/sidebar-view-hover-180px-dark.png</file>
<file>assets/sidebar-view-hover-180px-dark@2.png</file>
<file>assets/sidebar-view-active-180px-dark.png</file>
<file>assets/sidebar-view-active-180px-dark@2.png</file>
<file>assets/sidebar-view-checked-180px-dark.png</file>
<file>assets/sidebar-view-checked-180px-dark@2.png</file>
<file>assets/sidebar-view-hover-200px.png</file>
<file>assets/sidebar-view-hover-200px@2.png</file>
<file>assets/sidebar-view-active-200px.png</file>
+3 -3
View File
@@ -1,8 +1,8 @@
#! /bin/bash
INDEX="../../assets/gtk-3.0/common-assets/assets.txt"
SINDEX="../../assets/gtk-3.0/common-assets/sidebar-assets.txt"
WINDEX="../../assets/gtk-3.0/windows-assets/assets.txt"
INDEX="../../assets/gtk/common-assets/assets.txt"
SINDEX="../../assets/gtk/common-assets/sidebar-assets.txt"
WINDEX="../../assets/gtk/windows-assets/assets.txt"
if [ -f gtk.gresource.xml ]; then
rm -rf gtk.gresource.xml
+12
View File
@@ -121,6 +121,18 @@
<file>assets/paned-separator@2.png</file>
<file>assets/paned-separator-dark.png</file>
<file>assets/paned-separator-dark@2.png</file>
<file>assets/sidebar-view-hover-180px.png</file>
<file>assets/sidebar-view-hover-180px@2.png</file>
<file>assets/sidebar-view-active-180px.png</file>
<file>assets/sidebar-view-active-180px@2.png</file>
<file>assets/sidebar-view-checked-180px.png</file>
<file>assets/sidebar-view-checked-180px@2.png</file>
<file>assets/sidebar-view-hover-180px-dark.png</file>
<file>assets/sidebar-view-hover-180px-dark@2.png</file>
<file>assets/sidebar-view-active-180px-dark.png</file>
<file>assets/sidebar-view-active-180px-dark@2.png</file>
<file>assets/sidebar-view-checked-180px-dark.png</file>
<file>assets/sidebar-view-checked-180px-dark@2.png</file>
<file>assets/sidebar-view-hover-200px.png</file>
<file>assets/sidebar-view-hover-200px@2.png</file>
<file>assets/sidebar-view-active-200px.png</file>
+3 -3
View File
@@ -1,8 +1,8 @@
#! /bin/bash
INDEX="../../assets/gtk-3.0/common-assets/assets.txt"
SINDEX="../../assets/gtk-3.0/common-assets/sidebar-assets.txt"
WINDEX="../../assets/gtk-3.0/windows-assets/assets.txt"
INDEX="../../assets/gtk/common-assets/assets.txt"
SINDEX="../../assets/gtk/common-assets/sidebar-assets.txt"
WINDEX="../../assets/gtk/windows-assets/assets.txt"
if [ -f gtk.gresource.xml ]; then
rm -rf gtk.gresource.xml
@@ -0,0 +1,16 @@
/* Allow drag window from headerbar buttons */
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
:root[tabsintitlebar] #nav-bar *,
:root[tabsintitlebar] #titlebar .titlebar-button,
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
-moz-window-dragging: drag;
}
/* Avoid window dragging from urlbar */
:root[tabsintitlebar] #nav-bar .urlbar-input-box,
:root[tabsintitlebar] #nav-bar .urlbar-input-box * {
-moz-window-dragging: no-drag !important;
}
@@ -0,0 +1,7 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#tabbrowser-tabs tab:only-of-type {
display: none !important;
}
/* TODO: Hidde tabbar bottom border */
@@ -0,0 +1,9 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
:root[tabsintitlebar][sizemode="maximized"] #titlebar .titlebar-buttonbox-container {
display: none !important;
}
:root[tabsintitlebar][sizemode="maximized"] #nav-bar {
padding-left: 3px !important;
}
-1
View File
@@ -1 +0,0 @@
../WhiteSur/icons
@@ -0,0 +1,177 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*
This feature is included by default for Firefox 70+
*/
/**************************************************************************************
*********************************** FIREFOX 68 ****************************************
**************************************************************************************/
/* Set popover size and position */
panel#urlbar-results {
--box-width: calc(100vw - var(--item-padding-start) - var(--item-padding-end) + 8px);
--fixed-widths: calc((6px + 16px + 6px) + (16px + 9px) + 11px);
box-sizing: border-box;
border-radius: 9px;
margin-left: 0 !important;
margin-top: 0 !important;
max-width: var(--box-width) !important;
}
/* Style as regular popover */
panel#urlbar-results {
background: var(--gnome-popover-background) !important;
border: 1px solid !important;
border-color: var(--gnome-popover-border-color) !important;
border-radius: 9px;
color: var(--gnome-toolbar-color) !important;
padding: 8px;
}
/* Results box */
#urlbarView-results {
--item-padding-start: 0 !important;
--item-padding-end: 0 !important;
max-height: 35vh !important;
overflow-x: auto;
max-width: calc(var(--box-width) - 18px) !important;
}
/* Search panel */
.search-one-offs {
width: 100%;
--item-padding-start: 0 !important;
--item-padding-end: 0 !important;
}
.search-panel-one-offs-header, .search-panel-one-offs {
background: transparent !important;
border: 0 !important;
}
panel#urlbar-results.search-panel-one-offs-header {
border-top: 1px solid var(--gnome-popover-separator-color) !important;
}
/* Search engines buttons */
.searchbar-engine-one-off-item:not(.dummy) {
--toolbarbutton-active-background: transparent !important;
--toolbarbutton-hover-background: transparent !important;
}
.searchbar-engine-one-off-item:not(.dummy) {
-moz-appearance: none !important;
--toolbarbutton-active-background: transparent !important;
--toolbarbutton-hover-background: transparent !important;
-moz-appearance: none !important;
background: var(--gnome-button-background) !important;
box-shadow: var(--gnome-button-box-shadow) !important;
border: 1px solid var(--gnome-button-border-color) !important;
border-left-width: 0 !important;
border-bottom-color: var(--gnome-button-border-accent-color) !important;
padding: 0 2px !important;
min-height: 34px !important;
min-width: 34px !important;
margin: 0 !important;
}
.searchbar-engine-one-off-item:hover, .searchbar-engine-one-off-item[selected] {
background: var(--gnome-button-hover-background) !important;
color: unset !important;
}
.searchbar-engine-one-off-item:first-child {
border-radius: 5px 0 0 5px;
border-left-width: 1px !important;
}
.searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:last-child {
border-radius: 0 5px 5px 0;
}
.searchbar-engine-one-off-item.dummy {
display: none !important;
}
.searchbar-engine-one-off-item:not(.last-row) {
box-sizing: border-box !important;
}
#urlbar-anon-search-settings-compact {
border-left-width: 1px !important;
border-bottom: 1px solid var(--gnome-button-border-accent-color) !important;
border-radius: 5px;
margin-left: 6px !important;
}
/* Convert search engines icons to symbolic */
#urlbar-results .searchbar-engine-one-off-item:not(.search-setting-button-compact) .button-icon {
filter: var(--gnome-convert-icon-to-symbolic-hack-filter);
}
/**************************************************************************************
********************************** FIREFOX 60-67 **************************************
**************************************************************************************/
/* TODO: Remove when FF =< 67 is deprecated */
#PopupAutoCompleteRichResult {
margin-left: 0 !important;
margin-top: -7px;
}
#PopupAutoCompleteRichResult {
background: var(--gnome-popover-background) !important;
border: 1px solid !important;
border-color: var(--gnome-popover-border-color) !important;
border-radius: 9px;
box-shadow: var(--gnome-popover-shadow) !important; /* BUG: Not showing any shadow at all */
color: var(--gnome-toolbar-color) !important;
padding: 8px !important;
}
#PopupAutoCompleteRichResult .autocomplete-richlistbox {
--box-width: calc(100vw - var(--item-padding-start) - var(--item-padding-end) - 42px);
max-width: var(--box-width);
}
#PopupAutoCompleteRichResult .autocomplete-richlistitem {
padding-left: 0 !important;
padding-right: 5px !important;
border-inline-end-width: 0 !important;
max-width: calc(var(--box-width) - 5px);
display: flex;
align-items: center;
}
/* Search panel */
#PopupAutoCompleteRichResult .search-panel-one-offs-header, #PopupAutoCompleteRichResult .search-panel-one-offs {
background: transparent !important;
border: 0 !important;
}
#PopupAutoCompleteRichResult .search-panel-one-offs-header {
border-top: 1px solid var(--gnome-popover-separator-color) !important;
}
#PopupAutoCompleteRichResult .search-panel-one-offs {
--item-padding-start: 0 !important;
--item-padding-end: 0 !important;
}
/* Search engines buttons */
#PopupAutoCompleteRichResult .searchbar-engine-one-off-item:not(.dummy) {
-moz-appearance: none !important;
--toolbarbutton-active-background: transparent !important;
--toolbarbutton-hover-background: transparent !important;
background: var(--gnome-button-background) !important;
box-shadow: var(--gnome-button-box-shadow);
border-width: 1px 1px 1px 0;
border-style: solid;
border-color: var(--gnome-button-border-color) !important;
border-bottom-color: var(--gnome-button-border-accent-color) !important;
padding: 0 2px !important;
height: 34px !important;
color: var(--gnome-toolbar-color) !important;
box-sizing: border-box !important;
}
#PopupAutoCompleteRichResult .searchbar-engine-one-off-item:hover, #PopupAutoCompleteRichResult .searchbar-engine-one-off-item[selected] {
background: var(--gnome-button-hover-background) !important;
color: unset !important;
}
#PopupAutoCompleteRichResult .searchbar-engine-one-off-item:first-child {
border-radius: 5px 0 0 5px;
border-left-width: 1px !important;
}
#PopupAutoCompleteRichResult .searchbar-engine-one-off-item.last-engine {
border-radius: 0 5px 5px 0;
}
#PopupAutoCompleteRichResult .searchbar-engine-one-off-item.dummy {
display: none !important;
}
#PopupAutoCompleteRichResult .searchbar-engine-one-off-item:not(.last-row) {
box-sizing: border-box !important;
}
+9 -3
View File
@@ -297,6 +297,10 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon {
list-style-image: url("../icons/security-broken-symbolic.svg") !important;
}
#identity-box[pageproxystate="valid"].localResource #identity-icon {
list-style-image: url("../icons/page-symbolic.svg") !important;
}
#pageActionButton, .share-more-button {
list-style-image: url("../icons/page-action.svg") !important;
}
@@ -343,7 +347,7 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon {
list-style-image: url("../icons/drm-symbolic.svg") !important;
}
#reader-mode-button {
#reader-mode-button > .urlbar-icon {
list-style-image: url("../icons/reader-mode.svg") !important;
}
@@ -520,7 +524,7 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon {
#pageActionButton,
#permissions-granted-icon,
#tracking-protection-icon-animatable-image,
#reader-mode-button,
#reader-mode-button > .urlbar-icon,
#star-button:not([starred]),
#geo-sharing-icon[sharing], .geo-icon,
.blocked-permission-icon.popup-icon,
@@ -541,7 +545,9 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon {
#identity-box[pageproxystate="valid"].notSecure #identity-icon,
#identity-box[pageproxystate="valid"].mixedActiveContent #identity-icon,
#identity-box[pageproxystate="valid"].httpsOnlyErrorPage #identity-icon,
.bookmark-item[container] .toolbarbutton-icon {
#identity-box[pageproxystate="valid"].localResource #identity-icon,
.bookmark-item[container] .toolbarbutton-icon,
.menu-iconic.bookmark-item[container] .menu-iconic-icon {
filter: invert(60%) brightness(150%);
}
@@ -19,6 +19,14 @@
background-image: none !important;
}
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
color: var(--gnome-tabbar-tab-color) !important;
}
.tabbrowser-tab .tab-background:not([selected=true]) {
color: var(--gnome-tabbar-tab-active-color) !important;
}
.tab-background {
transition: background 200ms !important;
}
+5 -10
View File
@@ -5,16 +5,6 @@
* - bookmark bar (toolbar#PersonalToolbar)
* - add-ons can add their own toolbars (toolbar) */
/* buttons on left headerbar */
@import "left_header_button_3.css";
/*@import "left_header_button_4.css";*/
/*@import "left_header_button_5.css";*/
/* buttons on right headerbar */
@import "right_header_button_3.css";
/*@import "right_header_button_4.css";*/
/*@import "right_header_button_5.css";*/
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
#nav-bar, #PersonalToolbar, #toolbar-menubar {
@@ -68,6 +58,11 @@ findbar:-moz-window-inactive {
border-bottom-width: 0px !important;
}
/* allow to drag headerbar empty space */
:root[tabsintitlebar] #nav-bar .chromeclass-location {
-moz-window-dragging: drag !important;
}
#toolbar-menubar:not([inactive=true]) {
margin-bottom: 0 !important;
}
@@ -0,0 +1,6 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
:root[tabsintitlebar]:not([inFullscreen])[sizemode="maximized"] #nav-bar {
border-radius: 16px 16px 0 0 !important;
}
@@ -0,0 +1,17 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Icons light/dark fix coloring hack filters */
:root {
--gnome-convert-icon-to-symbolic-hack-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(85%) invert(100%);
}
@media (prefers-color-scheme: dark) {
:root {
--gnome-convert-icon-to-symbolic-hack-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(85%);
}
}
/* Make tab icons look kinda like symbolic icons */
tab .tab-icon-image {
filter: var(--gnome-convert-icon-to-symbolic-hack-filter);
}
+203
View File
@@ -0,0 +1,203 @@
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Icons light/dark fix coloring hack filters */
:root {
--gnome-icons-hack-filter: none;
--gnome-window-icons-hack-filter: none;
}
@media (prefers-color-scheme: dark) {
:root {
--gnome-icons-hack-filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%) brightness(200%);
--gnome-window-icons-hack-filter: invert(90%);
}
}
/* OPTIONAL: Use system theme icons instead of Adwaita icons included by theme */
@supports -moz-bool-pref("gnomeTheme.systemIcons") {
/* Window buttons */
:root[tabsintitlebar] #titlebar .titlebar-button .toolbarbutton-icon,
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton .toolbarbutton-icon {
filter: var(--gnome-window-icons-hack-filter) !important;
width: 16px;
}
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-close .toolbarbutton-icon,
:root[tabsintitlebar] #titlebar #titlebar-close .toolbarbutton-icon {
list-style-image: url("moz-icon://stock/window-close-symbolic?size=dialog") !important;
}
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-max .toolbarbutton-icon,
:root[tabsintitlebar] #titlebar #titlebar-max .toolbarbutton-icon {
list-style-image: url("moz-icon://stock/window-maximize-symbolic?size=dialog") !important;
}
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-restore .toolbarbutton-icon {
list-style-image: url("moz-icon://stock/window-restore-symbolic?size=dialog") !important;
}
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-min .toolbarbutton-icon,
:root[tabsintitlebar] #titlebar #titlebar-min .toolbarbutton-icon {
list-style-image: url("moz-icon://stock/window-minimize-symbolic?size=dialog") !important;
}
:root[tabsintitlebar][inFullscreen] #window-controls #restore-button .toolbarbutton-icon {
list-style-image: url("moz-icon://stock/view-restore-symbolic?size=dialog") !important;
}
/* Toolbars close button */
.close-icon:not(.tab-close-button) {
list-style-image: url("moz-icon://stock/window-close-symbolic?size=dialog") !important;
}
.close-icon:not(.tab-close-button) image {
filter: var(--gnome-window-icons-hack-filter) !important;
}
/* Navbar icons */
/* Back button */
#nav-bar #back-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/go-previous-symbolic?size=dialog") !important;
}
/* Forward button */
#nav-bar #forward-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/go-next-symbolic?size=dialog") !important;
}
/* Menu button */
#PanelUI-menu-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/open-menu-symbolic?size=dialog") !important;
}
/* New tab button */
#new-tab-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/tab-new-symbolic?size=dialog") !important;
}
/* Home button */
#home-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/user-home-symbolic?size=dialog") !important;
}
/* Preferences button */
#preferences-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/preferences-system-symbolic?size=dialog") !important;
}
/* Fullscreen button */
#fullscreen-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/view-fullscreen-symbolic?size=dialog") !important;
}
/* Zoom out button */
#zoom-out-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/zoom-out-symbolic?size=dialog") !important;
}
/* Zoom in button */
#zoom-in-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/zoom-in-symbolic?size=dialog") !important;
}
/* Developer button */
#developer-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/applications-engineering-symbolic?size=dialog") !important;
}
/* Email link button */
#email-link-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/mail-unread-symbolic?size=dialog") !important;
}
/* Print button */
#print-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/printer-symbolic?size=dialog") !important;
}
/* Addons button */
#add-ons-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/application-x-addon-symbolic?size=dialog") !important;
}
/* Find button */
#find-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-find-symbolic?size=dialog") !important;
}
/* New window button */
#new-window-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/window-new-symbolic?size=dialog") !important;
}
/* Bookmarks menu button */
#bookmarks-menu-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/starred-symbolic?size=dialog") !important;
}
/* History button */
#history-panelmenu .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/preferences-system-time-symbolic?size=dialog") !important;
}
/* All tabs button */
#alltabs-button {
list-style-image: url("moz-icon://stock/pan-down-symbolic?size=dialog") !important;
}
#alltabs-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
}
/* Cut button */
#cut-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-cut-symbolic?size=dialog") !important;
}
/* Copy button */
#copy-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-copy-symbolic?size=dialog") !important;
}
/* Paste button */
#paste-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-paste-symbolic?size=dialog") !important;
}
/* Navbar overflow button */
#nav-bar-overflow-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/pan-down-symbolic?size=dialog") !important;
}
/* Context back button */
#context-back .menu-iconic-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/go-previous-symbolic?size=dialog") !important;
}
/* Context forward button */
#context-forward .menu-iconic-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/go-next-symbolic?size=dialog") !important;
}
/* Main menu buttons icons */
#appMenu-zoomReduce-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/zoom-out-symbolic?size=dialog") !important;
}
#appMenu-zoomEnlarge-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/zoom-in-symbolic?size=dialog") !important;
}
#appMenu-fullscreen-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/view-fullscreen-symbolic?size=dialog") !important;
}
#appMenu-cut-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-cut-symbolic?size=dialog") !important;
}
#appMenu-copy-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-copy-symbolic?size=dialog") !important;
}
#appMenu-paste-button .toolbarbutton-icon {
filter: var(--gnome-icons-hack-filter);
list-style-image: url("moz-icon://stock/edit-paste-symbolic?size=dialog") !important;
}
}
-1
View File
@@ -1 +0,0 @@
../WhiteSur/titlebuttons
+4 -20
View File
@@ -4,7 +4,7 @@
<p align="center">A MacOSX Safari theme for Firefox 80+</p>
#### Preview
![01](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox.png?raw=true)
![01](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-whitesur.png?raw=true)
## Description
@@ -17,17 +17,9 @@ Run `./tweaks.sh -f`
if you want to use `Monterey` style then:
1. run `./tweaks.sh -f -e`
2. Modify :
```
@import "WhiteSur/theme.css"; /**/
/*@import "Monterey/theme.css"; /**/
```
To:
```
/*@import "WhiteSur/theme.css"; /**/
@import "Monterey/theme.css"; /**/
```
Run `./tweaks.sh -f monterey`
![01](https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox-monterey.png?raw=true)
### Manual installation
@@ -76,11 +68,3 @@ page, go to options, check both of those:
Now you can close those tools and press Ctrl+Alt+Shift+I to Inspect the browser
UI.
Also you can inspect any GTK3 application, for example type this into a terminal
and it will run Epiphany with the GTK Inspector, so you can check the CSS styles
of its elements too.
```sh
GTK_DEBUG=interactive epiphany
``
@@ -0,0 +1,3 @@
<svg width="4.2333mm" height="4.2333mm" version="1.1" viewBox="0 0 4.2333 4.2333" xmlns="http://www.w3.org/2000/svg">
<path d="m1.0563 0c-0.28858 0-0.52917 0.24059-0.52917 0.52917v3.176c0 0.28858 0.24059 0.5271 0.52917 0.5271h2.3833c0.28858 0 0.52917-0.23852 0.52917-0.5271v-1.9632l-1.7441-1.742zm0.00103 0.26458h1.0583v1.0583c0 0.29316 0.23601 0.52917 0.52917 0.52917h1.0583v1.8521c0 0.14658-0.118 0.26458-0.26458 0.26458h-2.3812c-0.14658 0-0.26458-0.118-0.26458-0.26458v-3.175c0-0.14658 0.118-0.26458 0.26458-0.26458zm1.3229 0.26458 1.0583 1.0583h-0.79375c-0.14658 0-0.26458-0.118-0.26458-0.26458z" fill="#363636" stroke-linecap="square" stroke-width=".52917" style="paint-order:fill markers stroke"/>
</svg>

After

Width:  |  Height:  |  Size: 712 B

+7 -1
View File
@@ -297,6 +297,10 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon {
list-style-image: url("../icons/security-broken-symbolic.svg") !important;
}
#identity-box[pageproxystate="valid"].localResource #identity-icon {
list-style-image: url("../icons/page-symbolic.svg") !important;
}
#pageActionButton, .share-more-button {
list-style-image: url("../icons/page-action.svg") !important;
}
@@ -541,7 +545,9 @@ menuitem[type="radio"]:not([disabled="true"]):hover .menu-iconic-icon {
#identity-box[pageproxystate="valid"].notSecure #identity-icon,
#identity-box[pageproxystate="valid"].mixedActiveContent #identity-icon,
#identity-box[pageproxystate="valid"].httpsOnlyErrorPage #identity-icon,
.bookmark-item[container] .toolbarbutton-icon {
#identity-box[pageproxystate="valid"].localResource #identity-icon,
.bookmark-item[container] .toolbarbutton-icon,
.menu-iconic.bookmark-item[container] .menu-iconic-icon {
filter: invert(60%) brightness(150%);
}
+55
View File
@@ -0,0 +1,55 @@
/*------------------------USAGE----------------------------
* Remove "/*" at the begining of "@import" line to ENABLE.
* Add "/*" at the begining of "@import" line to DISABLE.
*/
@import "Monterey/theme.css"; /**/
/*--------------Configure your Monterey theme--------------
* ONLY for Monterey theme
* Enable one of these options and disable the other ones.
*/
/* How many buttons on left headerbar */
@import "Monterey/left_header_button_3.css"; /**/
/*@import "Monterey/left_header_button_4.css"; /**/
/*@import "Monterey/left_header_button_5.css"; /**/
/* How many buttons on right headerbar */
@import "Monterey/right_header_button_3.css"; /**/
/*@import "Monterey/right_header_button_4.css"; /**/
/*@import "Monterey/right_header_button_5.css"; /**/
/*--------------Configure common theme features--------------*/
/* Hide the tab bar when only one tab is open (GNOMISH)
* You should move the new tab button somewhere else for this to work, because by
* default it is on the tab bar too. */
/*@import "Monterey/hide-single-tab.css"; /**/
/* Limit the URL bar's autocompletion popup's width to the URL bar's width (GNOMISH)
* This feature is included by default for Firefox 70+ */
/*@import "Monterey/matching-autocomplete-width.css"; /**/
/* Rounded window even when it gets maximized */
/*@import "Monterey/rounded-window-maximized.css"; /**/
/* Active tab high contrast */
/*@import "Monterey/active-tab-contrast.css"; /**/
/* Use system theme icons instead of Adwaita icons included by theme [BUGGED] */
/*@import "Monterey/system-icons.css"; /**/
/* Allow drag window from headerbar buttons (GNOMISH) [BUGGED] */
/* It can activate button action, with unpleasant behavior. */
/*@import "Monterey/drag-window-headerbar-buttons.css"; /**/
/* Make all tab icons look kinda like symbolic icons */
/*@import "Monterey/symbolic-tab-icons.css"; /**/
/* Hide window buttons (close/min/max) in maximized windows */
/*@import "Monterey/hide-window-buttons.css"; /**/
/* Import your custom stylesheet */
@import "customChrome.css"; /**/
@@ -1,14 +1,11 @@
/* Import theme */
/*------------------------USAGE----------------------------
* Remove "/*" at the begining of "@import" line to ENABLE.
* Add "/*" at the begining of "@import" line to DISABLE.
*/
@import "WhiteSur/theme.css"; /**/
/*@import "Monterey/theme.css"; /**/
/*
* Here you can enable other theme features not included by default.
* To enable a specific feature, uncomment its @import line by removing "/*" at
* the beginning of the line. To disable it, put the "/*" back.
*/
/*--------------Configure common theme features--------------*/
/* Hide the tab bar when only one tab is open (GNOMISH)
* You should move the new tab button somewhere else for this to work, because by
@@ -28,8 +25,8 @@
/* Use system theme icons instead of Adwaita icons included by theme [BUGGED] */
/*@import "WhiteSur/system-icons.css"; /**/
/* Allow drag window from headerbar buttons (GNOMISH) [BUGGED]
* It can activate button action, with unpleasant behavior. */
/* Allow drag window from headerbar buttons (GNOMISH) [BUGGED] */
/* It can activate button action, with unpleasant behavior. */
/*@import "WhiteSur/drag-window-headerbar-buttons.css"; /**/
/* Make all tab icons look kinda like symbolic icons */
@@ -38,9 +35,5 @@
/* Hide window buttons (close/min/max) in maximized windows */
/*@import "WhiteSur/hide-window-buttons.css"; /**/
/* Import a custom stylesheet
* Everything you add in your customChrome.css file (it doesn't exist by
* default) will be included here and preserved between updates, so you can move
* your configuration to that file if you don't like setting it up after every
* update. You can also apply your own custom styles in that file. */
/* Import your custom stylesheet */
@import "customChrome.css"; /**/
+18 -5
View File
@@ -72,7 +72,7 @@ $light_borders_color: if($variant == 'light', rgba(black, 0.08), r
$dark_borders_color: if($variant == 'light', rgba(black, 0.08), rgba(black, 0.15));
$solid_borders_color: if($variant == 'light', darken($bg_color, 12%), lighten($bg_color, 8%));
$dark_solid_borders_color: if($variant == 'light', darken($bg_color, 12%), darken($bg_color, 5%));
$highlight_color: if($variant == 'light', rgba(white, 0.65), rgba(white, 0.1));
$highlight_color: if($variant == 'light', rgba(white, 0.15), rgba(white, 0.1));
// Background colors
$dark_bg_color: rgba(black, 0.6);
@@ -103,7 +103,7 @@ $disabled_bg_color: if($variant == 'light', mix($bg_color, $base
// Headerbar colors
$header_bg: if($variant == 'light', #ffffff, #373737);
$dark_header_bg: if($trans == 'true', rgba($base_color, 0.95), $base_color);
$header_highlight: if($variant == 'dark', #434343, #f5f5f5);
$header_highlight: if($variant == 'dark', #434343, #f5f5f5); // For metacity
$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%));
@@ -158,12 +158,25 @@ $submenu_bg_color: if($variant == 'light', rgba(white, 1), rgba
// Panel colors
$panel_bg: if($variant == 'light', #f1f1f1, #2a2a2a);
$panel_fg: if($trans == 'true', white, $text_color);
@if $trans == 'true' { $panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity)); }
@if $black == 'true' { $panel_fg: $text_color; }
@if $trans == 'true' {
$panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity));
@if $panel_font == 'black' {
$panel_bg: if($variant == 'light', rgba(white, $panel_opacity/2 + 0.08), rgba(black, $panel_opacity/2));
}
}
$panel_fg: if($trans == 'true' and $panel_font == 'white', $light_fg_color, $text_color);
$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_bg: if($variant == 'light', rgba(#d1d1d1, $panel_opacity + 0.33), rgba(#222222, $panel_opacity/2 + 0.6));
@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_fg: if($variant == 'light', black, white);
// Entry colors
+1 -2
View File
@@ -1,5 +1,4 @@
// Theme base options
$laptop: 'false';
$laptop: 'true';
$trans: 'true';
$black: 'false'; // panel font color
$theme: 'default';
+7 -1
View File
@@ -17,5 +17,11 @@ $panel_opacity: 0.15;
// Gnome-shell show apps button style
$showapps_button: 'bigsur';
// maximized window radius
// Maximized window radius
$max_window_style: 'square';
// Panel font color
$panel_font: 'white';
// Monterey style
$monterey: 'false';
+2 -5
View File
@@ -77,8 +77,6 @@ $button_transition: all $shorter_duration $ease-out-quad;
$backdrop_transition: $longer_duration ease-out;
// Shadow
$panel_shadow: 0 0 10px rgba(black, 0.35), 0 0 24px rgba(black, 0.30);
$panel_asset_shadow: 0 1px 3px 3px rgba(black, 0.15);
$shadow_0: 0 1px 2px 0 rgba(black, 0.1), 0 2px 2px 0 rgba(black, 0.05); // Slider hover shadow
$shadow_1: 0 1px 1px 0 rgba(black, 0.12), 0 1px 2px 0 rgba(black, 0.06); // Header-button shadow
$shadow_2: 0 1px 1px 0 rgba(black, 0.1), 0 1px 2px 0 rgba(black, 0.05); // Slider normal shadow
@@ -86,6 +84,5 @@ $shadow_3: 0 1px 1px 0 rgba(black, 0.03), 0 1px 2px 0 rgba(black, 0.01); // N
$shadow_4: 0 2px 3px 0 rgba(black, 0.2), 0 3px 5px 0 rgba(black, 0.15); // Switch-slider hover shadow
$shadow_5: 0 1px 2px 0 rgba(black, 0.15), 0 2px 3px 0 rgba(black, 0.1); // Switch-slider normal shadow
$shadow_6: 0 0 8px rgba(black, 0.2), 0 0 4px rgba(black, 0.3); // Switch-slider normal shadow
$text_shadow: 0 -1px rgba(white, 0.04), -1px 0 rgba(black, 0.05),
1px 0 rgba(black, 0.05), 0 1px rgba(black, 0.3),
0 2px rgba(black, 0.05); // text and icon shadow
$panel_asset_shadow: if($monterey == 'true' or $trans == 'false', none, 0 1px 3px 3px rgba(black, 0.15));
+2 -2
View File
@@ -601,8 +601,8 @@ $menu_border: if($variant=='light', darken($menu_bg, 18%), darken($menu_bg, 12%)
}
.workspace-thumbnail-indicator {
outline: 2px solid red;
border: 1px solid green;
outline: 2px solid $borders_color;
border: 1px solid $highlight_color;
}
.window-close:rtl {
@@ -6,6 +6,14 @@
%app-well-app {
@include font(body-1);
.overview-icon.overview-icon-with-label {
padding: 10px 8px 5px 8px;
> StBoxLayout {
spacing: $base_spacing;
}
}
& .overview-icon {
color: $light_fg_color;
border-radius: $wm_radius;
+4 -5
View File
@@ -12,7 +12,7 @@ $popover_bubble_bg: if($variant == 'light', rgba(white, 0.95), rgba(lighten($bas
&:hover, &:focus {
color: $fg_color;
background-color: if($variant == 'light', rgba($popover_bubble_bg, 1), rgba(lighten($popover_bubble_bg, 5%), 1));
box-shadow: 0 3px 5px rgba(black, 0.1);
box-shadow: 0 2px 3px rgba(black, 0.1) !important;
}
&:active {
@@ -24,18 +24,17 @@ $popover_bubble_bg: if($variant == 'light', rgba(white, 0.95), rgba(lighten($bas
%show_apps_bigsur {
.show-apps-icon {
color: transparent;
color: transparent !important;
background-image: url("assets/view-app-grid.svg");
background-size: contain;
}
.overview-icon { color: transparent; }
&,
&:hover,
&:active,
&:checked,
&:focus {
.show-apps-icon { color: transparent; }
.overview-icon, .show-apps-icon { color: transparent !important; }
}
}
+6 -6
View File
@@ -5,27 +5,27 @@
border-radius: $wm_radius;
border: solid rgba(black, 0.75);
border-width: if($variant=='light', 0, 1px);
box-shadow: 3px 3px 8px -3px rgba(black, 0.65);
box-shadow: 3px 3px 8px -3px rgba(black, if($variant=='light', 0.35, 0.5));
}
%last_dialog_button {
color: white;
color: white !important;
background-color: $primary_color;
box-shadow: inset 0 1px 0 0 rgba(white,0.1);
&:hover {
color: white;
color: white !important;
background-color: lighten($primary_color, 9%);
}
&:active {
color: white;
color: white !important;
background-color: darken($primary_color, 5%);
}
&:insensitive {
background-color: rgba($primary_color, 0.05);
color: rgba($primary_color, 0.35);
color: rgba($primary_color, 0.35) !important;
}
}
@@ -61,7 +61,7 @@
}
&-linked-button:last-child {
@extend %last_dialog_button !optional;
@extend %last_dialog_button;
}
.modal-dialog-content-box {
-1
View File
@@ -44,7 +44,6 @@
.lightbox { background-color: black; }
.flashspot { background-color: white; }
// Hidden
.hidden { color: rgba(0,0,0,0);}
+20 -7
View File
@@ -3,9 +3,9 @@
#panel {
background-color: $panel_bg;
font-weight: if($laptop == 'true', normal, bold);
height: $menuitem_size;
box-shadow: 0 5px 16px rgba(black, 0.35);
font-weight: normal;
height: $menuitem_size - 4px !important;
box-shadow: 0 5px 16px rgba(black, 0.05);
color: $panel_fg;
font-feature-settings: "tnum";
transition-duration: 250ms;
@@ -17,6 +17,7 @@
&.login-screen,
&.lock-screen {
background-color: if($trans == 'false' and $variant == 'light', transparent, transparent);
box-shadow: none;
StLabel, StIcon { color: $light_alt_fg_color; }
@@ -55,7 +56,7 @@
.panel-button {
-natural-hpadding: 8px;
-minimum-hpadding: 8px;
font-weight: if($laptop == 'true', normal, bold);
font-weight: normal;
color: $panel_fg;
transition-duration: 150ms;
border-radius: $bt_radius;
@@ -79,12 +80,12 @@
&:hover {
color: $panel_fg;
background-color: if($trans == 'false' and $variant == 'light', $divider_color, $light_divider_color);
background-color: $panel_divider;
}
&:active, &:overview, &:focus, &:checked {
&, &:hover {
background-color: if($trans == 'false' and $variant == 'light', $track_color, $light_track_color);
background-color: $panel_track;
color: $panel_fg;
box-shadow: none;
}
@@ -134,6 +135,10 @@
.panel-status-menu-box .system-status-icon { margin: 0 0; }
.panel-status-menu-box StLabel { padding: 0 0 0 $base_padding / 2; }
.appindicator-trayicons-box { margin: 0 $base_padding; }
// .appindicator-box { margin: 0 0; }
// app menu icon
.app-menu-icon {
-st-icon-style: symbolic;
@@ -152,6 +157,12 @@
}
}
Gjs_ui_panel_AppMenuButton.panel-button,
// .menubar-button, // For Fildem global menu
.desktop-name-label { // For Unite
font-weight: bold !important;
}
&.unlock-screen,
&.login-screen,
&:overview {
@@ -206,9 +217,11 @@
// > * { background-image: url("assets/activities-active.svg"); }
}
@if $variant == 'light' and $black == 'true' {
@if $variant == 'light' {
@if $panel_font == 'black' or $trans == 'false' {
&:overview {
> * { background-image: url("assets/activities-white.svg"); }
}
}
}
}
+3 -2
View File
@@ -24,9 +24,9 @@ $popop_menuitem_radius: $wm_radius - 4px;
.popup-menu-content {
padding: 6px 0 !important;
@extend %theme_dialogs;
box-shadow: 0 8px 16px 0 rgba(black, 0.25);
box-shadow: 0 5px 10px 0 rgba(black, 0.18);
border: 1px solid if($variant=='light', rgba(black, 0), rgba(black, 0.75));
margin: 4px 8px 4px 12px !important;
margin: 4px 10px 17px 12px !important;
@include font(body-1);
}
@@ -140,6 +140,7 @@ $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
@@ -9,15 +9,18 @@
selection-background-color: $light_track_color;
selected-color: $light_alt_fg_color;
@include search_entry(normal, $fc:$light_track_color);
box-shadow: none;
&:hover {
@include search_entry(hover, $fc:$light_alt_fg_color);
color: $light_alt_fg_color;
box-shadow: none;
}
&:focus {
@include search_entry(focus, $fc:$light_alt_fg_color);
color: $light_alt_fg_color;
box-shadow: none;
}
.search-entry-icon {
+38 -14
View File
@@ -62,23 +62,47 @@
&-build-icon { color: $alt_fg_color; }
}
// GPaste
.popup-menu {
.search-entry {
color: $fg_color;
selection-background-color: $primary_color;
selected-color: $light_fg_color;
@include entry(normal);
//
// Gsconnect
//
.gsconnect-device-menu {
background-color: if($variant == 'light', white, rgba(white, 0.06));
border-radius: $bt_radius;
margin: $container_padding / 2;
padding: $bt_radius 0;
box-shadow: 1px 2px 3px rgba(black, if($variant == 'light', 0.08, 0.35));
&:focus {
@include entry(focus);
color: $fg_color;
.popup-menu-item {
height: 16px !important;
border-radius: 0 !important;
&:hover {
color: $fg_color !important;
background-color: rgba($fg_color, 0.1) !important;
}
.search-entry-icon { color: $hint_fg_color; }
&:hover, &:focus {
.search-entry-icon { color: $fg_color; }
> :first-child {
&:ltr { padding-left: 0 !important; margin-left: 0 !important; }
&:rtl { padding-right: 0 !important; margin-right: 0 !important; }
}
}
}
//
// Pop_OS cosmic widget styling
//
.cosmic-dock {
#dock {
background-color: $dash_bg;
border-radius: $dash_radius;
border: 1px solid if($variant == 'light', rgba(black, 0.03), rgba(black, 0.35));
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
padding: $container_padding;
margin: 6px !important;
}
&.extended #dock {
border-radius: 0 !important;
margin: 0 !important;
}
}
@@ -1,5 +1,19 @@
//
// Dash to panel
//
#preview-menu {
margin: 0 6px 6px !important;
padding-bottom: 8px !important;
&, &:hover, &:selected {
border-radius: $wm_radius !important;
}
}
//
// OpenWeather Extension
//
.openweather {
&-button,
&-button-action,
@@ -58,19 +72,20 @@
&-build-icon { color: $alt_fg_color; }
}
//
// Gsconnect
//
.gsconnect-device-menu {
background-color: if($variant == 'light', white, rgba(white, 0.06));
background-color: if($variant == 'light', rgba(black, 0.05), rgba(white, 0.05));
border-radius: $bt_radius;
margin: $container_padding / 2;
margin: 0 $container_padding / 2;
padding: $bt_radius 0;
box-shadow: 1px 2px 3px rgba(black, if($variant == 'light', 0.08, 0.35));
box-shadow: none;
.popup-menu-item {
border-radius: 0 !important;
margin: 0 $container_padding / 2 !important;
height: 16px !important;
border-radius: $bt_radius !important;
&:hover {
color: $fg_color !important;
@@ -83,3 +98,41 @@
}
}
}
//
// Pop_OS cosmic widget styling
//
.cosmic-solid-bg {
background-color: #222222;
}
.cosmic-dock {
#dock {
background-color: transparent;
.dash-background {
background-color: $dash_bg;
border: 1px solid if($variant == 'light', rgba(black, 0.08), rgba(black, 0.75));
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
}
}
&.extended {
#dash {
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
padding: 0 0;
.dash-background {
border-radius: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
+59 -57
View File
@@ -676,6 +676,14 @@ $_dot_color: $selected_bg_color;
&:disabled { @include button(flat-insensitive); }
}
%circular_button {
border-radius: $circular_radius;
-gtk-outline-radius: $circular_radius;
padding: 0 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
}
button {
min-height: $menuitem_size - 4px;
min-width: $menuitem_size - 10px;
@@ -712,7 +720,6 @@ button {
}
&:active, &:checked {
background-color: if($variant=='light', darken($button_bg, 8%), lighten($button_bg, 8%));
background-clip: if($variant=='light', border-box, padding-box);
transition-duration: 200ms;
@@ -723,7 +730,7 @@ button {
@include button(insensitive);
}
.background &:not(.flat) {
.background & {
&:active, &:checked {
@include button(active);
}
@@ -735,7 +742,7 @@ button {
}
}
&.image-button, &.popup {
&.image-button:not(.circular), &.popup:not(.circular) {
min-height: $menuitem_size - 4px;
padding-left: $container_padding;
padding-right: $container_padding;
@@ -772,12 +779,8 @@ button {
&.popup { padding-right: $container_padding; padding-left: $container_padding; }
}
@at-root %circular_button, &.close { // The Bloody Circul Button
border-radius: $circular_radius;
-gtk-outline-radius: $circular_radius;
padding: 0 0;
min-height: $menuitem_size;
min-width: $menuitem_size;
&.close, &.circular { // The Bloody Circul Button
@extend %circular_button;
&:active, &:checked {
@if $variant=='light' {
@@ -1102,7 +1105,7 @@ spinbutton {
entry {
@extend %Linked_entrys;
border: 1px solid $borders_color;
border: 1px solid $dark_borders_color;
&:focus {
border-color: $entry_highlight;
@@ -1467,7 +1470,7 @@ actionbar {
}
}
.background headerbar {
headerbar {
min-height: $headerbar_size;
padding: 0 $container_padding + 10px;
color: $header_fg;
@@ -1495,6 +1498,7 @@ actionbar {
}
entry {
min-height: 20px;
@include entry(header-normal);
&:backdrop { opacity: 0.65; background-image: none; }
@@ -1542,7 +1546,7 @@ actionbar {
}
}
button {
button:not(.combo) {
@include button(header-normal);
&:backdrop { opacity: 0.65; background-image: none; }
@@ -1556,7 +1560,7 @@ actionbar {
}
}
button:not(.flat):not(.suggested-action):not(.destructive-action):not(.titlebutton) {
button:not(.flat):not(.combo):not(.suggested-action):not(.destructive-action):not(.titlebutton) {
&:hover {
@include button(header-hover);
transition: $button_transition;
@@ -1598,7 +1602,6 @@ actionbar {
}
stackswitcher.linked.stack-switcher:not(.vertical) > button {
// min-height: 26px;
min-width: $menuitem_size - 4px;
border-radius: $bt_radius;
}
@@ -1631,7 +1634,6 @@ actionbar {
padding: 0;
button {
// min-height: 26px;
margin: 0;
font-weight: 500;
@@ -1656,8 +1658,8 @@ actionbar {
// Headerbar Switches
switch {
margin-top: 10px;
margin-bottom: 10px;
margin-top: $container_padding;
margin-bottom: $container_padding;
&:backdrop { opacity: 0.75; }
}
@@ -1673,6 +1675,11 @@ actionbar {
margin-top: 0;
margin-bottom: 0;
min-height: 0;
min-width: 120px;
padding: 0 0;
label { padding-right: $container_padding; }
image { padding-left: $container_padding; }
}
> box > separator.titlebutton { @extend %header_separator; }
@@ -1709,7 +1716,7 @@ actionbar {
}
button:not(.flat):not(.suggested-action):not(.destructive-action):not(.titlebutton) {
// @include button(undecorated);
@include button(undecorated);
@extend %selected-button;
}
@@ -1739,6 +1746,7 @@ actionbar {
background-color: $header_bg;
border-color: opacify($header_border, 1);
box-shadow: none;
padding: 0 $container_padding + 10px;
&:backdrop {
background-color: $header_bg_backdrop;
@@ -1848,14 +1856,12 @@ actionbar {
}
&, & headerbar {
box-shadow: inset 0 1px $highlight_color;
.tiled &,
.maximized &,
.fullscreen & {
box-shadow: none;
&, &.background {
&, &.background, &:backdrop {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
@@ -1868,18 +1874,19 @@ actionbar {
}
}
.background:not(.unified) {
.titlebar {
&, & headerbar { box-shadow: inset 0 1px $highlight_color; }
}
stack.titlebar { box-shadow: none; }
}
window.background.csd.unified {
> deck > box.vertical > stack > headerbar.titlebar.windowhandle {
> box > separator { background: none; }
> button:disabled { @include button(header-insensitive); }
}
&.maximized {
> deck > box > headerbar.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
}
}
}
window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar style for not CSD window
@@ -1919,20 +1926,6 @@ window.background > box.vertical > headerbar:not(.titlebar) { // reset headerbar
}
}
headerbar, .titlebar {
button {
min-height: 26px;
min-width: 22px;
}
entry { // Reset entrys
min-height: 22px;
margin-left: 0;
margin-right: 0;
padding: 2px $container_padding * 2;
}
}
//
// Pathbars
//
@@ -2129,6 +2122,15 @@ headerbar, .titlebar {
border-style: none;
}
}
entry, &:selected entry {
background-color: $base_color;
&:focus {
color: $fg_color;
background-color: mix(white, $base_color, 8%);
}
}
}
//
@@ -2545,7 +2547,7 @@ notebook {
@extend %tabs_tab;
// close button
button.flat {
button.flat, button.close-button {
min-height: $small_size;
min-width: $small_size;
border-radius: 3px;
@@ -3148,8 +3150,8 @@ progressbar {
}
// Moving bit
progress {
min-height: $container_padding - 2px;
min-width: $container_padding - 2px;
// min-height: $container_padding - 2px;
// min-width: $container_padding - 2px;
background-color: $progress_color;
border: none;
border-radius: $bt_radius;
@@ -3381,7 +3383,7 @@ list {
row {
&:not(:hover) { transition: all 300ms $ease-out-quad; }
button.circular { @extend %circular_button; }
// button.circular { @extend %circular_button; }
&:selected {
color: $fg_color;
@@ -3844,7 +3846,7 @@ paned {
// GtkInfoBar
//
infobar {
.background infobar {
border: none;
&.info {
@@ -3889,11 +3891,18 @@ infobar {
color: $selected_fg_color;
caret-color: currentColor;
button:not(.flat) {
min-height: 28px;
button, button.flat.close, button.circular {
@extend %selected-button;
}
button.flat.close {
@extend %circular_button;
}
button.circular {
min-width: 20px;
}
selection {
background-color: $selected_fg_color;
}
@@ -4057,11 +4066,6 @@ colorchooser .popover.osd { border-radius: $bt_radius; }
// Shortcuts Help
//
button.circular {
@extend %circular_button;
// label { padding: 0; }
}
.keycap {
min-width: $small_size - 4px;
min-height: $small_size;
@@ -4077,9 +4081,7 @@ button.circular {
stackswitcher {
button.text-button { min-width: 80px; }
button.circular {
@extend %circular_button;
}
// button.circular { @extend %circular_button; }
}
//
+3 -5
View File
@@ -3217,8 +3217,8 @@ progressbar {
// Moving bit
> trough > progress {
min-height: $container_padding - 2px;
min-width: $container_padding - 2px;
// min-height: $container_padding - 2px;
// min-width: $container_padding - 2px;
background-color: $progress_color;
border: none;
border-radius: $bt_radius;
@@ -4362,9 +4362,7 @@ window {
0 8px 8px 0 $wm_shadow,
0 16px 16px 0 $wm_shadow,
$wm_outline;
// this is used for the resize cursor area
margin: 6px;
margin: 0;
&:backdrop {
// the transparent shadow here is to enforce that the shadow extents don't
+1 -1
View File
@@ -120,7 +120,7 @@
// Buttons
@mixin button($t, $actionb_bg:red, $actionb_fg: green) {
@mixin button($t, $actionb_bg: red, $actionb_fg: green) {
//
// Button drawing function
//
+190 -30
View File
@@ -111,7 +111,6 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
> headerbar.titlebar,
> deck > box.vertical > headerbar.titlebar {
background-color: transparent;
box-shadow: inset 0 1px rgba(white, 0.1);
background-image: $nautilus_header_image;
border: none;
background-clip: padding-box;
@@ -417,9 +416,6 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
&.background.csd {
border-radius: $maximized_radius_style;
&.unified { border-radius: $maximized_radius; }
&, &.unified {
notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } }
> headerbar.titlebar,
@@ -433,7 +429,6 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
placessidebar { border-bottom-left-radius: $maximized_radius; }
}
}
}
> grid.horizontal > paned.horizontal > separator,
> deck > box.vertical > paned.horizontal > separator { // Use paned separator to hide stack border-bottom-left-radius
@@ -1335,8 +1330,10 @@ button.documents-favorite:active:hover {
//
// Gnome Tweak Tool ( Gnome tweaks )
//
hdyleaflet, leaflet, box.horizontal > stack.background {
window.background.csd {
> hdyleaflet,
> leaflet,
> box.horizontal > stack.background {
frame > border { border: none; }
frame:not(.view) list:not(.contacts-contact-list) { // Don't set this to Gnome-Contacts
@@ -1382,6 +1379,7 @@ hdyleaflet, leaflet, box.horizontal > stack.background {
> list > row.activatable { @extend %sidebar_row; }
}
}
}
}
list {
@@ -1553,6 +1551,31 @@ window.background.csd {
}
}
}
scrolledwindow.frame {
border: none;
> viewport.frame {
> list {
@extend %circular_list;
> row.activatable { @extend %circular_row; }
}
}
}
> scrolledwindow > viewport > clamp.medium {
> box > box > box > frame > box > box.vertical {
> separator {
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; }
}
}
}
}
@@ -1640,7 +1663,7 @@ window#gnome-system-monitor.background.csd {
// Gnome-sound-recorder
//
stack {
window.background.csd > stack {
> grid.vertical {
> scrolledwindow {
border: none;
@@ -1681,12 +1704,36 @@ window.background.csd {
//
window.background.csd {
> deck > box > leaflet { // >= 40.0
> headerbar:first-child {
@extend %side_headerbar_left;
&.selection-mode { color: $header_fg; }
}
> headerbar:last-child {
@extend %side_headerbar_right;
&.selection-mode {
color: $header_fg;
border-color: $header_border;
> button:not(.flat):not(.suggested-action):not(.destructive-action):not(.titlebutton) { @extend %headerbar_buttons; }
}
}
}
> deck > box > overlay > leaflet > overlay > widget > stack {
background-color: $base_color;
}
> headerbar.titlebar.selection-mode {
> hdyleaflet > headerbar,
> leaflet > headerbar {
color: $header_fg;
border-color: $header_border;
> button { @extend %headerbar_buttons; }
> button:not(.flat):not(.suggested-action):not(.destructive-action):not(.titlebutton) { @extend %headerbar_buttons; }
}
}
@@ -1705,12 +1752,11 @@ window.background.csd {
}
> overlay > hdyleaflet,
> overlay > leaflet {
> stack > frame > grid.vertical {
> overlay > leaflet,
> deck > box > overlay > leaflet { // >= 40.0
> stack {
background-color: rgba($dark_sidebar_bg, 1);
border-bottom-left-radius: $wm_radius;
// list.contacts-contact-list {}
}
> separator.sidebar {
@@ -1832,7 +1878,6 @@ popover.background:not(.emoji-picker) > box.vertical > scrolledwindow {
// popover for bookmarks
popover.background:not(.emoji-picker) > box.vertical > stack > box.vertical {
scrolledwindow > viewport.frame {
border: 1px solid $borders_color;
@@ -1988,11 +2033,6 @@ window.background.csd {
// Gnome Clocks
//
window.background.csd.unified {
border-top-left-radius: $wm_radius;
border-top-right-radius: $wm_radius;
border-bottom-left-radius: $wm_radius;
border-bottom-right-radius: $wm_radius;
> deck > deck > deck {
> box.vertical > headerbar.titlebar.windowhandle {
> viewswitchertitle > squeezer {
@@ -2007,11 +2047,6 @@ window.background.csd.unified {
}
&.maximized, &.tiled, &.fullscreen {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
border-bottom-left-radius: $maximized_radius;
border-bottom-right-radius: $maximized_radius;
> deck > box.vertical > headerbar.titlebar.windowhandle {
border-top-left-radius: $maximized_radius;
border-top-right-radius: $maximized_radius;
@@ -2657,7 +2692,20 @@ window#GearyMainWindow.background.csd { // <= 3.32
// >= 40.0
.geary-main-window {
&.background.csd.unified { background: none; }
&.background.csd.unified {
background: none;
.geary-main-layout { // >= 40.0 reset
> leaflet > leaflet > headerbar { // left and center headerbar
&:first-child { box-shadow: none; }
&:last-child { box-shadow: none; }
}
> leaflet > headerbar { // right headerbar
box-shadow: none;
}
}
}
.geary-main-layout { // >= 40.0
background-color: $dark_sidebar_bg;
@@ -2705,19 +2753,24 @@ window#GearyMainWindow.background.csd { // <= 3.32
scrolledwindow {
// margin: -1px 0;
padding: 0 6px;
padding: 0 4px;
background-color: $base_color;
treeview.view {
background-image: none;
border-color: $base_color;
border: 2px solid transparent;
border-radius: $mn_radius;
outline: none;
padding: 6px 0;
margin: 0 4px;
&:hover { background-color: rgba($fg_color, 0.1); }
&:hover {
background-color: rgba($fg_color, 0.1);
border-color: transparent;
}
&:selected, &:active {
border-color: $base_color;
border-color: transparent;
border-radius: $mn_radius;
background-color: rgba($fg_color, 0.15);
color: if($variant == 'light', $fg_color, $selected_fg_color);
@@ -2760,7 +2813,19 @@ window#GearyMainWindow.background.csd { // <= 3.32
geary-conversation-viewer#conversation_viewer { // right side
background-color: $base_color;
list.background.conversation-listbox.content { background-color: $base_color; }
list.background.conversation-listbox.content {
background-color: $base_color;
> row.activatable {
border: 1px solid $borders_color;
border-bottom-width: 0;
&:first-child {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
}
}
searchbar {
> revealer > box {
@@ -2771,6 +2836,58 @@ window#GearyMainWindow.background.csd { // <= 3.32
}
}
// Accounts setting dialog
.geary-accounts-editor-pane-content {
frame:not(.geary-signature) {
> border { border: none; }
> list {
@extend %circular_list;
> row.activatable {
@extend %circular_row;
> grid > entry { background-color: $divider_color; }
}
}
}
}
//
// Gnome-Box
//
window.background.csd {
> overlay > stack.content-bg {
background-color: transparent;
border-radius: 0 0 $wm_radius $wm_radius;
> notebook.frame {
border: none;
> stack {
border-radius: 0 0 $wm_radius $wm_radius;
> box.transparent-bg > scrolledwindow > viewport.frame > grid > stack > box {
> frame {
> border {
border: 1px solid $borders_color;
border-bottom: none;
border-radius: $bt_radius $bt_radius 0 0;
}
> stack > list {
border-radius: $bt_radius $bt_radius 0 0;
}
}
> toolbar.inline-toolbar { border-top: 1px solid $borders_color; }
}
}
}
}
}
//
// Dialogs
@@ -2951,3 +3068,46 @@ window.background.csd {
}
}
}
//
// Unified window (> = Gnome 40)
//
window.background.csd.unified {
headerbar {
box-shadow: none;
&.selection-mode {
box-shadow: none;
}
}
// ...and add it on the window itself
> decoration-overlay {
box-shadow: inset 0 0 0 1px $highlight_color;
}
&,
> decoration,
> decoration-overlay {
border-radius: $wm_radius;
}
&.tiled,
&.tiled-top,
&.tiled-right,
&.tiled-bottom,
&.tiled-left,
&.maximized,
&.fullscreen {
> decoration-overlay {
box-shadow: none;
}
&,
> decoration,
> decoration-overlay {
border-radius: $maximized_radius;
}
}
}
+51 -4
View File
@@ -210,8 +210,9 @@ window.background.chromium {
min-height: 16px;
margin: 0; // unset margins
padding: 0 0;
background-size: auto;
background-size: 16px 16px;
color: transparent; // hide stock icons
border: none;
}
}
@@ -228,15 +229,15 @@ window.background.chromium {
entry.chromium {
&, &:focus { // overrides standard borders
border-image: none;
border: 1px solid $solid_borders_color;
background-color: $chrome_bg_color;
color: $chrome_fg_color;
}
background-color: rgba($chrome_fg_color, 0.06);
}
// internal region of toolbar's entry widget
> textview.view, textview {
background-color: $chrome_bg_color;
background-color: rgba($chrome_fg_color, 0.06);
color: $chrome_fg_color;
}
@@ -438,7 +439,13 @@ toolbar#SubToolBox {
}
}
box#SubToolbox {
background-color: $base_color;
}
widget#ToolboxCommon {
background-color: $base_color;
button.flat {
&:active {
background-color: rgba($fg_color, 0.25);
@@ -463,6 +470,46 @@ box#DesktopStatusBar {
}
}
scrolledwindow#DialogNotebook {
> viewport.frame > notebook.frame {
border: 1px solid $borders_color;
button.close-button {
margin-top: 4px;
margin-bottom: 4px;
border-radius: $circular_radius;
&, &:hover, &:active { background-color: transparent; }
}
notebook.frame { margin-top: -1px; }
}
}
grid#CanvasGrid {
.background & > button:not(.flat) {
@extend %flat_button;
border-radius: 3px;
&:active {
background-color: rgba($fg_color, 0.25);
}
&:checked {
background-color: rgba($fg_color, 0.15);
}
}
}
dialog.background {
> box.dialog-vbox > filechooser {
> actionbar > revealer > box > box > box > combobox {
margin-top: 24px;
margin-bottom: 24px;
}
}
}
//
// Synaptic
//
+4 -1
View File
@@ -84,7 +84,10 @@ XfdesktopIconView.view {
text-shadow: none;
}
.rubberband { @extend %rubberband; }
.rubberband {
@extend %rubberband;
border-radius: 0;
}
}
window#whiskermenu-window {
+20 -1
View File
@@ -19,7 +19,7 @@ usage() {
# Please specify their default value manually, some of them are come from _variables.scss
# You also have to check and update them regurally
helpify_title
helpify "-f, --firefox" "" "Install '${THEME_NAME}' theme for Firefox and connect it to the current Firefox profiles" ""
helpify "-f, --firefox" "[default|monterey]" "Install '${THEME_NAME}|Monterey' theme for Firefox and connect it to the current Firefox profiles" "Default is ${THEME_NAME}"
helpify "-e, --edit-firefox" "" "Edit '${THEME_NAME}' theme for Firefox settings and also connect the theme to the current Firefox profiles" ""
helpify "-F, --flatpak" "" "Connect '${THEME_NAME}' theme to Flatpak" ""
helpify "-s, --snap" "" "Connect '${THEME_NAME}' theme the currently installed snap apps" ""
@@ -72,6 +72,19 @@ while [[ $# -gt 0 ]]; do
edit_firefox="true" ;;
esac
for variant in "${@}"; do
case "${variant}" in
default)
shift 1
;;
monterey)
monterey="true"
name="Monterey"
shift 1
;;
esac
done
if ! has_command firefox && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then
prompt -e "'${1}' ERROR: There's no Firefox installed in your system"
has_any_error="true"
@@ -99,6 +112,8 @@ while [[ $# -gt 0 ]]; do
fi; shift ;;
-g|--gdm)
gdm="true"; full_sudo "${1}"
showapps_normal="true" # use normal showapps icon
background="default"
if ! has_command gdm && ! has_command gdm3 && [[ ! -e /usr/sbin/gdm3 ]]; then
prompt -e "'${1}' ERROR: There's no GDM installed in your system"
@@ -220,6 +235,10 @@ else
fi
fi
if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${monterey}" == 'true' ]]; then
prompt -w "WARNING: Please run '--monterey' option with '-f' !..."; echo
fi
if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" ]]; then
prompt -e "Oops... there's nothing to tweak..."
prompt -i "HINT: Don't forget to define which component to tweak, e.g. '--gdm'"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 809 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 993 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Loaded 100 of 113 files, more files were not shown because too many files have changed in this diff. Show more