Compare commits
58
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
578515e671 | ||
|
|
5ada212440 | ||
|
|
73600364e6 | ||
|
|
05a604d79f | ||
|
|
7d1874ece5 | ||
|
|
bc7f2560d8 | ||
|
|
ef951b9729 | ||
|
|
9fa09178d4 | ||
|
|
d22bca3f34 | ||
|
|
dadd905522 | ||
|
|
df3ed412a6 | ||
|
|
3194de2dce | ||
|
|
23c2921071 | ||
|
|
414ff10c97 | ||
|
|
815ac73d8d | ||
|
|
89f4066a90 | ||
|
|
879280876a | ||
|
|
53e7d7119b | ||
|
|
6bf9edf5b7 | ||
|
|
70ac1563d3 | ||
|
|
03af693b49 | ||
|
|
0342f3b0ac | ||
|
|
bbc43e0f80 | ||
|
|
bd0a83a1ae | ||
|
|
9b3625a339 | ||
|
|
b30c08366c | ||
|
|
5dd4b101d5 | ||
|
|
326a1b1e6e | ||
|
|
163cf67f08 | ||
|
|
32a8006f2e | ||
|
|
0ec8457eac | ||
|
|
47eeb58b0b | ||
|
|
93deb6300f | ||
|
|
354113f47e | ||
|
|
7ff29e3590 | ||
|
|
5e3f7ac7dd | ||
|
|
5563ffe27c | ||
|
|
730443bb31 | ||
|
|
182bce9bba | ||
|
|
72feeeeddf | ||
|
|
2f79cc92eb | ||
|
|
f2ff437d5e | ||
|
|
a89a7a8e2a | ||
|
|
c8ed1716f3 | ||
|
|
29500dfa91 | ||
|
|
a69ecbc49d | ||
|
|
b904f9510e | ||
|
|
f6f050f67e | ||
|
|
fd6a20cfac | ||
|
|
d3040b2126 | ||
|
|
066dfe03cd | ||
|
|
950aed042e | ||
|
|
14cc12eb78 | ||
|
|
07d3561a64 | ||
|
|
0f4e0c89ec | ||
|
|
ac7da6e37a | ||
|
|
5b10cf31b7 | ||
|
|
ee2ea4c791 |
No files matched your search
@@ -6,7 +6,7 @@
|
||||
<br>
|
||||
|
||||
# Installation is easy!
|
||||
<details> <summary> Required dependencies info for nerds </summary>
|
||||
<details> <summary> Required dependencies <b>(click to open)</b> </summary>
|
||||
|
||||
### "Install from source" deps
|
||||
- sassc
|
||||
@@ -24,14 +24,10 @@
|
||||
Don't worry, WhiteSur installer already provides all of those dependencies.
|
||||
</details>
|
||||
|
||||
<details> <summary> Recommended GNOME Shell extensions </summary>
|
||||
<details> <summary> Recommended GNOME Shell extensions <b>(click to open)</b> </summary>
|
||||
|
||||
- [user-themes](https://extensions.gnome.org/extension/19/user-themes/) to enable gnome-shell theme (and not just the application theme)
|
||||
- [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock) `gnome-shell <= 3.38`
|
||||
- [dash-to-dock](https://github.com/ewlsh/dash-to-dock/tree/ewlsh/gnome-40)
|
||||
(GNOME Shell 40 patch) `gnome-shell >= 40.0`
|
||||
- [floating-dock](https://extensions.gnome.org/extension/3730/floating-dock)
|
||||
(Dash to Dock alternative) `gnome-shell <= 3.38`
|
||||
- [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock)
|
||||
- [blur-my-shell](https://extensions.gnome.org/extension/3193/blur-my-shell)
|
||||
|
||||
</details>
|
||||
@@ -39,10 +35,12 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
|
||||
## Quick install
|
||||
|
||||
### 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.
|
||||
|
||||
## Quick uninstall
|
||||
Run `./install.sh` to install the default WhiteSur GTK theme pack.
|
||||
|
||||
### Uninstall
|
||||
|
||||
<details> <summary> For example: <b>(click to open)</b> </summary>
|
||||
|
||||
- uninstall Gtk themes: `./install.sh -r`
|
||||
- uninstall GDM theme: `sudo ./tweaks.sh -g -r`
|
||||
@@ -52,12 +50,15 @@ GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.
|
||||
- uninstall Flatpak Gtk themes: `./tweaks.sh -F -r`
|
||||
- uninstall Snap Gtk themes: `./tweaks.sh -s -r`
|
||||
|
||||
</details>
|
||||
|
||||
## There's so many customizations you can do!
|
||||
Usage: `./install.sh [OPTIONS...]`
|
||||
|
||||
<details> <summary> Options </summary>
|
||||
<details> <summary> Options <b>(click to open)</b> </summary>
|
||||
|
||||
```bash
|
||||
|
||||
-d, --dest DIR
|
||||
Set destination directory. Default is '/home/vince/.themes'
|
||||
|
||||
@@ -94,12 +95,12 @@ Usage: `./install.sh [OPTIONS...]`
|
||||
-m, --monterey
|
||||
Set to MacOS Monterey style.
|
||||
|
||||
-l, --libadwaita
|
||||
Install gtk-4.0 theme into config for libadwaita.
|
||||
|
||||
-N, --nautilus-style [stable|normal|mojave|glassy]
|
||||
Set Nautilus style. Default is BigSur-like style (stabled sidebar)
|
||||
|
||||
-l, --libadwaita
|
||||
Install theme into gtk4.0 config for libadwaita. Default is dark version
|
||||
|
||||
-HD, --highdefinition
|
||||
Set to High Definition size. Default is laptop size
|
||||
|
||||
@@ -132,10 +133,30 @@ Usage: `./install.sh [OPTIONS...]`
|
||||
|
||||
-h, --help
|
||||
Show this help.
|
||||
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Fix for libadwaita (not perfect)
|
||||
|
||||
<details> <summary> Details <b>(click to open)</b> </summary>
|
||||
|
||||
Since the release of `Gnome 43.0`, more and more built-in apps use `libadwaita` now, and libadwaita does not support custom themes, which means we cannot change the appearance of app using libadwaita through `gnome-tweaks` or `dconf-editor`. For users who love custom themes, it’s really sucks!
|
||||
|
||||
Anyway if anybody who still want to custom themes we can only do this way:
|
||||
|
||||
that is to use the `theme file` to overwrite the `gtk-4.0 configuration file`. The result is that only Fixed making all gtk4 apps use one theme and cannot be switched (even can not switch to dark mode) If you want to change a theme, you can only re-overwrite the `gtk-4.0 configuration file` with a new theme, I know this method is not perfect, But at the moment it is only possible to continue using themes for libadwaita's apps ...
|
||||
|
||||
</details>
|
||||
|
||||
Run this command to install `WhiteSur` into `gtk-4.0 configuration folder` ($HOME/.config/gtk-4.0)
|
||||
|
||||
```bash
|
||||
./install.sh -l # Default is the normal dark theme
|
||||
./install.sh -l -c Light # install light theme for libadwaita
|
||||
```
|
||||
|
||||
### <p align="center"> <b> Change theme color and accent </b> </p>
|
||||
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/colors-themes.png"/> </p>
|
||||
|
||||
@@ -160,24 +181,6 @@ Example:
|
||||
./install.sh -t all # install all available theme accents
|
||||
```
|
||||
|
||||
### <p align="center"> <b> Change Nautilus sidebar minimum width </b> </p>
|
||||
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/sidebars.png"/> </p>
|
||||
|
||||
Parameter: `--sidebar` `-s`
|
||||
|
||||
Example: `./install.sh -s 220`
|
||||
|
||||
|
||||
### <p align="center"> <b> Change GNOME Shell 'Activities' icon </b> </p>
|
||||
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/icons.png"/> </p>
|
||||
|
||||
Parameter: `--icon` `-i`
|
||||
|
||||
Example: `./install.sh -i fedora`
|
||||
|
||||
Note that you will need to enable the GNOME user-themes extension to change the shell theme (not to confuse with the application theme).
|
||||
|
||||
|
||||
### <p align="center"> <b> Change Nautilus style </b> </p>
|
||||
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/nautilus.png"/> </p>
|
||||
|
||||
@@ -195,36 +198,13 @@ control button variant, etc.
|
||||
# Let's tweak!
|
||||
Usage: `./tweaks.sh [OPTIONS...]`
|
||||
|
||||
<details> <summary> Options </summary>
|
||||
<details> <summary> Options <b>(click to open)</b> </summary>
|
||||
|
||||
```bash
|
||||
-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.
|
||||
|
||||
-F, --flatpak
|
||||
Connect 'WhiteSur' theme to Flatpak.
|
||||
|
||||
-s, --snap
|
||||
Connect 'WhiteSur' theme the currently installed snap apps.
|
||||
|
||||
-g, --gdm [default|x2]
|
||||
Install 'WhiteSur' theme for GDM (scaling: 100%/200%, default is 100%). Requires to run this shell as root
|
||||
|
||||
-d, --dash-to-dock
|
||||
Fixed Dash to Dock theme issue.
|
||||
|
||||
-N, --no-darken
|
||||
Don't darken 'WhiteSur' GDM theme background image.
|
||||
|
||||
-n, --no-blur
|
||||
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
|
||||
|
||||
-o, --opacity [normal|solid]
|
||||
Set 'WhiteSur' GDM theme opacity variants. Default is 'normal'
|
||||
|
||||
@@ -234,6 +214,15 @@ Usage: `./tweaks.sh [OPTIONS...]`
|
||||
-t, --theme [default|blue|purple|pink|red|orange|yellow|green|grey]
|
||||
Set 'WhiteSur' GDM theme accent color. Default is BigSur-like theme
|
||||
|
||||
-N, --no-darken
|
||||
Don't darken 'WhiteSur' GDM theme background image.
|
||||
|
||||
-n, --no-blur
|
||||
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
|
||||
|
||||
-p, --panel-opacity [default|30|45|60|75]
|
||||
Set 'WhiteSur' GDM (GNOME Shell) theme panel transparency. Default is 15%
|
||||
|
||||
@@ -243,6 +232,24 @@ Usage: `./tweaks.sh [OPTIONS...]`
|
||||
-i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
|
||||
Set 'WhiteSur' GDM (GNOME Shell) 'Activities' icon. Default is 'standard'
|
||||
|
||||
--nord, --nordcolor
|
||||
Install 'WhiteSur' Nord ColorScheme themes.
|
||||
|
||||
-f, --firefox [default|monterey|alt]
|
||||
Install 'WhiteSur|Monterey|Alt' 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.
|
||||
|
||||
-F, --flatpak
|
||||
Connect 'WhiteSur' theme to Flatpak.
|
||||
|
||||
-s, --snap
|
||||
Connect 'WhiteSur' theme the currently installed snap apps.
|
||||
|
||||
-d, --dash-to-dock
|
||||
Fixed Dash to Dock theme issue.
|
||||
|
||||
-r, --remove, --revert
|
||||
Revert to the original themes, do the opposite things of install and connect.
|
||||
|
||||
@@ -251,6 +258,7 @@ Usage: `./tweaks.sh [OPTIONS...]`
|
||||
|
||||
-h, --help
|
||||
Show this help.
|
||||
|
||||
```
|
||||
|
||||
</details>
|
||||
@@ -259,7 +267,7 @@ Usage: `./tweaks.sh [OPTIONS...]`
|
||||
### <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-whitesur.png"/>
|
||||
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/firefox.png"/>
|
||||
</a> </p>
|
||||
|
||||
#### [Install Firefox theme](src/other/firefox)
|
||||
@@ -273,36 +281,11 @@ Parameter: `--edit-firefox` `-e`
|
||||
Example:
|
||||
|
||||
```bash
|
||||
./tweaks.sh -f -e # install and edit Firefox theme
|
||||
./tweaks.sh -e -f # it's reversible!
|
||||
./tweaks.sh -e # edit the installed Firefox theme
|
||||
./tweaks.sh -f -r # remove 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>
|
||||
|
||||
#### Install Dash to Dock theme
|
||||
Parameter: `--dash-to-dock` `-d`
|
||||
|
||||
Example: `./tweaks.sh -d`
|
||||
|
||||
#### Change its color
|
||||
Parameter: `--color` `-c`
|
||||
|
||||
Example: `./tweaks.sh -d -c dark`
|
||||
|
||||
### <p align="center"> <b> Install and customize GDM theme </b> </p>
|
||||
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/gdm.png"/> </p>
|
||||
|
||||
@@ -347,39 +330,15 @@ You can do [the similar customization features in `./install.sh`](#theres-so-man
|
||||
like changing theme color (dark and light variant) and accent, GNOME Shell
|
||||
'Activities' icon, etc. related to GDM. Run `./tweaks.sh -h` to explore!
|
||||
|
||||
## Using WhiteSur theme on app sandboxing platforms
|
||||
<p align="center"> <img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/sandboxes.png"/> </p>
|
||||
|
||||
### <p align="center"> <b> Connect WhiteSur theme to Flatpak </b> </p>
|
||||
#### <p align="center"> <b> Connect WhiteSur theme to Flatpak </b> </p>
|
||||
Parameter: `--flatpak` `-F`
|
||||
|
||||
Example: `./tweaks.sh -F`
|
||||
|
||||
### <p align="center"> <b> Connect WhiteSur theme to your Snap apps </b> </p>
|
||||
Parameter: `--snap` `-s`
|
||||
|
||||
Example: `./tweaks.sh -s`
|
||||
|
||||
Note:
|
||||
|
||||
> This can only connect WhiteSur theme to your currently installed Snap
|
||||
> apps. You may need to run this command again to connect to your newly installed
|
||||
> Snap apps
|
||||
|
||||
# Other recommended stuffs
|
||||
## 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.svg"/>
|
||||
</a> </p>
|
||||
<br>
|
||||
|
||||
## WhiteSur Icon Theme
|
||||
## Other recommended stuff
|
||||
### 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"/>
|
||||
<img src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/icon-theme.png"/>
|
||||
</a> </p>
|
||||
<br>
|
||||
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-icon-theme">
|
||||
@@ -387,13 +346,9 @@ Note:
|
||||
</a> </p>
|
||||
<br>
|
||||
|
||||
## WhiteSur Wallpapers
|
||||
### WhiteSur Wallpapers
|
||||
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
|
||||
<img class="image" src="https://github.com/vinceliuice/WhiteSur-wallpapers/blob/main/1080p/WhiteSur-light.png"/>
|
||||
</a> </p>
|
||||
<br>
|
||||
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
|
||||
<img class="image" src="https://github.com/vinceliuice/WhiteSur-wallpapers/blob/main/1080p/Monterey-light.png"/>
|
||||
<img class="image" src="https://github.com/vinceliuice/WhiteSur-gtk-theme/blob/pictures/pictures/wallpaper.gif"/>
|
||||
</a> </p>
|
||||
<br>
|
||||
<p align="center"> <a href="https://github.com/vinceliuice/WhiteSur-wallpapers">
|
||||
@@ -401,5 +356,5 @@ Note:
|
||||
</a> </p>
|
||||
<br>
|
||||
|
||||
# Technical details and getting involved
|
||||
## Technical details and getting involved
|
||||
Please go read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for more info
|
||||
+15
-2
@@ -35,8 +35,8 @@ usage() {
|
||||
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'"
|
||||
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 "-l, --libadwaita" "" "Install gtk-4.0 theme into config for libadwaita" ""
|
||||
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style (stabled sidebar)"
|
||||
helpify "-l, --libadwaita" "" "Install theme into gtk4.0 config for libadwaita" "Default is dark version"
|
||||
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"
|
||||
@@ -133,10 +133,19 @@ finalize_argument_parsing
|
||||
#---------------------------START INSTALL THEMES-------------------------------#
|
||||
|
||||
if [[ "${uninstall}" == 'true' ]]; then
|
||||
if [[ "${libadwaita}" == 'true' ]]; then
|
||||
if [[ "$UID" != '0' ]]; then
|
||||
remove_libadwaita
|
||||
prompt -s "Removed gtk-4.0 theme files in '${HOME}/.config/gtk-4.0/' !"; echo
|
||||
else
|
||||
prompt -e "Do not run '--libadwaita' option with sudo!"; echo
|
||||
fi
|
||||
else
|
||||
prompt -i "Removing '${name}' gtk themes in '${dest}'... \n"
|
||||
prompt -w "REMOVAL: Non file-related parameters will be ignored. \n"
|
||||
remove_themes
|
||||
prompt -s "Done! All '${name}' gtk themes in has been removed."
|
||||
fi
|
||||
|
||||
if [[ -f "${MISC_GR_FILE}.bak" ]]; then
|
||||
prompt -e "Find installed GDM theme, you need to run: 'sudo ./tweaks.sh -g -r' to remove it!"
|
||||
@@ -166,8 +175,12 @@ else
|
||||
echo; install_themes; echo; prompt -s "Done!"
|
||||
|
||||
if [[ "${libadwaita}" == 'true' ]]; then
|
||||
if [[ "$UID" != '0' ]]; then
|
||||
install_libadwaita
|
||||
echo; prompt -w "Installed gtk-4.0 into config for libadwaita!"
|
||||
echo; prompt -w "Installed ${name} ${opacities} ${colors} gtk-4.0 theme in '${HOME}/.config/gtk-4.0' for libadwaita!"
|
||||
else
|
||||
echo; prompt -e "Do not run '--libadwaita' option with sudo!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if (is_running "xfce4-session"); then
|
||||
|
||||
+1
-1
@@ -318,7 +318,7 @@ signal_error() {
|
||||
prompt -e "REPO : ${repo_ver}\n"
|
||||
|
||||
if [[ "$(grep -ril "Release" "${WHITESUR_TMP_DIR}/error_log.txt")" == "${WHITESUR_TMP_DIR}/error_log.txt" ]]; then
|
||||
prompt -i "HINT: You can run: 'sudo apt install sassc libglib2.0-dev libxml2-utils' on ubuntu 18.04 or 'sudo apt install sassc libglib2.0-dev-bin' on ubuntu >= 20.04 \n"
|
||||
prompt -w "HINT: You can run: 'sudo apt install sassc libglib2.0-dev libxml2-utils' on ubuntu 18.04 or 'sudo apt install sassc libglib2.0-dev-bin' on ubuntu >= 20.04 \n"
|
||||
fi
|
||||
|
||||
prompt -i "HINT: You can google or report to us the info above \n"
|
||||
|
||||
+5
-10
@@ -2,18 +2,13 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
die() {
|
||||
echo "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
pakitheme_gtk3() {
|
||||
local color="$(destify ${1})"
|
||||
local opacity="$(destify ${2})"
|
||||
local alt="$(destify ${3})"
|
||||
local theme="$(destify ${4})"
|
||||
|
||||
local FLATPAK_THEME="${name}${color}${opacity}${alt}${theme}"
|
||||
local FLATPAK_THEME="${name}${color}${opacity}${alt}${theme}${colorscheme}"
|
||||
|
||||
local GTK_3_THEME_VER=3.22
|
||||
local cache_home="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||
@@ -57,7 +52,7 @@ pakitheme_gtk3() {
|
||||
<id>$gtk3_app_id</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>$FLATPAK_THEME Gtk theme</name>
|
||||
<summary>$FLATPAK_THEME Gtk theme (generated via pakitheme)</summary>
|
||||
<summary>$FLATPAK_THEME Gtk theme for flatpak</summary>
|
||||
</component>
|
||||
EOF
|
||||
|
||||
@@ -97,7 +92,7 @@ EOF
|
||||
if [[ -w "/root" ]]; then
|
||||
sudo flatpak install -y --system "${bundle}"
|
||||
else
|
||||
udo flatpak install -y --user "${bundle}"
|
||||
flatpak install -y --user "${bundle}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
@@ -109,8 +104,8 @@ flatpak_remove() {
|
||||
local theme="$(destify ${4})"
|
||||
|
||||
if [[ -w "/root" ]]; then
|
||||
sudo flatpak remove -y --system org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme}
|
||||
sudo flatpak remove -y --system org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme}${colorscheme}
|
||||
else
|
||||
udo flatpak remove -y --user org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme}
|
||||
flatpak remove -y --user org.gtk.Gtk3theme.${name}${color}${opacity}${alt}${theme}${colorscheme}
|
||||
fi
|
||||
}
|
||||
+17
-10
@@ -477,12 +477,8 @@ install_theemy() {
|
||||
|
||||
remove_packy() {
|
||||
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})${colorscheme}"
|
||||
rm -rf "${HOME}/.config/gtk-4.0/"{gtk.css,gtk-dark.css,assets,windows-assets}
|
||||
rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-hdpi"
|
||||
rm -rf "${dest}/${name}$(destify ${1})${colorscheme}-xhdpi"
|
||||
|
||||
# Backward compatibility
|
||||
# rm -rf "${dest}/${name}$(destify ${1})-mdpi"
|
||||
}
|
||||
|
||||
remove_old_packy() {
|
||||
@@ -491,6 +487,10 @@ remove_old_packy() {
|
||||
rm -rf "${dest}/${name}${1}${5}-xhdpi"
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# LIBADWAITA #
|
||||
###############################################################################
|
||||
|
||||
config_gtk4() {
|
||||
local color="$(destify ${1})"
|
||||
local alt="$(destify ${2})"
|
||||
@@ -508,6 +508,18 @@ config_gtk4() {
|
||||
cp -r "${THEME_SRC_DIR}/assets/gtk/windows-assets/titlebutton${alt}${colorscheme}" "${TARGET_DIR}/windows-assets"
|
||||
}
|
||||
|
||||
install_libadwaita() {
|
||||
opacity="${opacities[0]}"
|
||||
color="${colors[1]}"
|
||||
|
||||
gtk_base "${opacities[0]}" "${themes[0]}"
|
||||
config_gtk4 "${colors}" "${alts}"
|
||||
}
|
||||
|
||||
remove_libadwaita() {
|
||||
rm -rf "${HOME}/.config/gtk-4.0/"{gtk.css,gtk-dark.css,assets,windows-assets}
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# THEMES #
|
||||
###############################################################################
|
||||
@@ -522,7 +534,7 @@ install_themes() {
|
||||
for alt in "${alts[@]}"; do
|
||||
for theme in "${themes[@]}"; do
|
||||
for color in "${colors[@]}"; do
|
||||
gtk_base "${color}" "${opacity}" "${theme}" "${compact}"
|
||||
gtk_base "${opacity}" "${theme}" "${compact}"
|
||||
install_theemy "${color}" "${opacity}" "${alt}" "${theme}"
|
||||
install_shelly "${color}" "${opacity}" "${alt}" "${theme}" "${icon}"
|
||||
install_xfwmy "${color}"
|
||||
@@ -534,11 +546,6 @@ install_themes() {
|
||||
stop_animation
|
||||
}
|
||||
|
||||
install_libadwaita() {
|
||||
gtk_base "${colors[0]}" "${opacities[0]}" "${themes[0]}" "${compact[0]}"
|
||||
config_gtk4 "${colors[0]}" "${alt[0]}"
|
||||
}
|
||||
|
||||
remove_themes() {
|
||||
process_ids=()
|
||||
|
||||
|
||||
+4
-4
@@ -8,7 +8,7 @@ source "${REPO_DIR}/lib-install.sh"
|
||||
colors=("${COLOR_VARIANTS[@]}")
|
||||
opacities=("${OPACITY_VARIANTS[@]}")
|
||||
|
||||
C_VARIANTS=('-light' '-dark')
|
||||
C_VARIANTS=('-Light' '-Dark')
|
||||
S_VARIANTS=('' '-solid')
|
||||
|
||||
install() {
|
||||
@@ -32,13 +32,13 @@ compress() {
|
||||
done
|
||||
}
|
||||
|
||||
GNOME_VERSION="old"
|
||||
GNOME_VERSION="3-28"
|
||||
RELEASE_VERSION="-3-38"
|
||||
install && compress
|
||||
prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo
|
||||
|
||||
GNOME_VERSION="new"
|
||||
RELEASE_VERSION="-40-0"
|
||||
GNOME_VERSION="42-0"
|
||||
RELEASE_VERSION="-42-0"
|
||||
install && compress
|
||||
prompt -s "Compress Gnome${RELEASE_VERSION} version finished!"; echo
|
||||
|
||||
|
||||
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.
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.
@@ -12,6 +12,12 @@ menupopup {
|
||||
--arrowpanel-border-color: var(--gnome-menu-border-color) !important;
|
||||
--panel-border-radius: 8px !important;
|
||||
--panel-padding: 8px 0 !important;
|
||||
-moz-appearance: none !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
}
|
||||
|
||||
menupopup label {
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
}
|
||||
|
||||
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
|
||||
@@ -141,10 +147,11 @@ panel:not([remote]), #BMB_bookmarksPopup {
|
||||
.subviewbutton:not(.subviewbutton-back),
|
||||
.toolbarbutton-1, .protections-popup-category,
|
||||
.identity-popup-content-blocking-category {
|
||||
border-radius: 8px !important;
|
||||
border-radius: 6px !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
font: menu !important;
|
||||
}
|
||||
|
||||
.subviewbutton:not(.subviewbutton-back),
|
||||
.protections-popup-category,
|
||||
.identity-popup-content-blocking-category {
|
||||
@@ -152,11 +159,13 @@ panel:not([remote]), #BMB_bookmarksPopup {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.subviewbutton[disabled], .toolbarbutton-1[disabled],
|
||||
.protections-popup-category[disabled],
|
||||
.identity-popup-content-blocking-category[disabled] {
|
||||
/* Menu buttons disabled */
|
||||
menuitem[disabled="true"], menupopup menu[disabled="true"],
|
||||
.subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
|
||||
.protections-popup-category[disabled="true"],
|
||||
.identity-popup-content-blocking-category[disabled="true"] {
|
||||
opacity: 0.5 !important;
|
||||
color: var(--gnome-inactive-toolbar-color) !important;
|
||||
/* color: var(--gnome-inactive-toolbar-color) !important;*/
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
@@ -164,9 +173,18 @@ panel:not([remote]), #BMB_bookmarksPopup {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover,
|
||||
.identity-popup-content-blocking-category:not([disabled]):hover {
|
||||
background-color: var(--gnome-popover-button-hover-background) !important;
|
||||
/* Menu buttons hover */
|
||||
.toolbarbutton-1:not([disabled]):hover,
|
||||
menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
|
||||
menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
|
||||
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover,
|
||||
.protections-popup-footer-button:not([disabled="true"]):hover,
|
||||
#protections-popup-show-report-stack:hover .protections-popup-footer-button,
|
||||
.protections-popup-category:not([disabled="true"]):hover,
|
||||
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
|
||||
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
|
||||
#downloadsPanel-mainView .download-state:hover {
|
||||
background: var(--gnome-popover-button-hover-background) !important;
|
||||
}
|
||||
|
||||
/* Style popover separators */
|
||||
|
||||
@@ -18,10 +18,15 @@ tab > stack {
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab {
|
||||
.tabbrowser-tab:not([pinned]) {
|
||||
margin: 2px 0 0 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab[pinned] {
|
||||
margin-top: 2px !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.tabbrowser-tab:not([visuallyselected="true"], [multiselected]), .tabbrowser-tab:-moz-lwtheme {
|
||||
color: var(--gnome-tabbar-tab-color) !important;
|
||||
}
|
||||
|
||||
@@ -84,14 +84,16 @@ findbar:-moz-window-inactive {
|
||||
}
|
||||
|
||||
#PersonalToolbar {
|
||||
padding: 2px 4px 0 4px !important;
|
||||
padding: 3px !important;
|
||||
height: 32px !important;
|
||||
max-height: 32px !important;
|
||||
padding-inline: 3px !important;
|
||||
}
|
||||
|
||||
/* bookmark-item */
|
||||
toolbarbutton.bookmark-item {
|
||||
padding: 0 4px !important;
|
||||
padding: 2px 6px !important;
|
||||
margin: 0 2px !important;
|
||||
border-radius: 3px !important;
|
||||
max-height: 20px !important;
|
||||
max-height: 24px !important;
|
||||
}
|
||||
@@ -1,11 +1,8 @@
|
||||
|
||||
## Firefox Safari theme
|
||||
|
||||
## <p align="center"> <b> Firefox Safari theme </b> </p>
|
||||

|
||||
<p align="center">A MacOSX Safari theme for Firefox 80+</p>
|
||||
|
||||
#### Preview
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
This is a bunch of CSS code to make Firefox look closer to MacOSX Safari theme.
|
||||
@@ -19,8 +16,6 @@ if you want to use `Monterey` style then:
|
||||
|
||||
Run `./tweaks.sh -f monterey`
|
||||
|
||||

|
||||
|
||||
### Tips about monterey options (Fix the urlbar attached tabs issue)
|
||||
|
||||
1. Remove all space separators on left of urlbar
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
--gnome-findbar-background: #333333;
|
||||
--gnome-toolbar-color: #ffffff;
|
||||
--gnome-toolbar-border-color: #070707;
|
||||
--gnome-inactive-toolbar-color: rgba(255, 255, 255, 0.45);
|
||||
--gnome-inactive-toolbar-background: #313131;
|
||||
--gnome-inactive-toolbar-border-color: #121212;
|
||||
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
--gnome-toolbar-background: #ffffff;
|
||||
--gnome-tabstoolbar-background: #E5E5E5;
|
||||
--gnome-findbar-background: #f5f5f5;
|
||||
--gnome-toolbar-color: rgb(46, 52, 54);
|
||||
--gnome-toolbar-color: rgb(46, 46, 46);
|
||||
--gnome-toolbar-border-color: #cfcfcf;
|
||||
--gnome-inactive-toolbar-color: rgba(46, 52, 54, 0.35);
|
||||
--gnome-inactive-toolbar-color: rgba(46, 46, 46, 0.65);
|
||||
--gnome-inactive-toolbar-background: #f6f5f4;
|
||||
--gnome-inactive-toolbar-border-color: #dadada;
|
||||
|
||||
|
||||
@@ -12,6 +12,12 @@ menupopup {
|
||||
--arrowpanel-border-color: var(--gnome-menu-border-color) !important;
|
||||
--panel-border-radius: 8px !important;
|
||||
--panel-padding: 8px 0 !important;
|
||||
-moz-appearance: none !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
}
|
||||
|
||||
menupopup label {
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
}
|
||||
|
||||
#PlacesToolbar menupopup[placespopup="true"]::part(content), #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox), #PlacesToolbar menupopup {
|
||||
@@ -141,10 +147,11 @@ panel:not([remote]), #BMB_bookmarksPopup {
|
||||
.subviewbutton:not(.subviewbutton-back),
|
||||
.toolbarbutton-1, .protections-popup-category,
|
||||
.identity-popup-content-blocking-category {
|
||||
border-radius: 8px !important;
|
||||
border-radius: 6px !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
font: menu !important;
|
||||
}
|
||||
|
||||
.subviewbutton:not(.subviewbutton-back),
|
||||
.protections-popup-category,
|
||||
.identity-popup-content-blocking-category {
|
||||
@@ -152,11 +159,13 @@ panel:not([remote]), #BMB_bookmarksPopup {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.subviewbutton[disabled], .toolbarbutton-1[disabled],
|
||||
.protections-popup-category[disabled],
|
||||
.identity-popup-content-blocking-category[disabled] {
|
||||
/* Menu buttons disabled */
|
||||
menuitem[disabled="true"], menupopup menu[disabled="true"],
|
||||
.subviewbutton[disabled="true"], .toolbarbutton-1[disabled="true"],
|
||||
.protections-popup-category[disabled="true"],
|
||||
.identity-popup-content-blocking-category[disabled="true"] {
|
||||
opacity: 0.5 !important;
|
||||
color: var(--gnome-inactive-toolbar-color) !important;
|
||||
/* color: var(--gnome-inactive-toolbar-color) !important;*/
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
@@ -164,9 +173,18 @@ panel:not([remote]), #BMB_bookmarksPopup {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
.subviewbutton:not([disabled]):hover, .toolbarbutton-1:not([disabled]):hover, .protections-popup-category:not([disabled]):hover,
|
||||
.identity-popup-content-blocking-category:not([disabled]):hover {
|
||||
background-color: var(--gnome-popover-button-hover-background) !important;
|
||||
/* Menu buttons hover */
|
||||
.toolbarbutton-1:not([disabled]):hover,
|
||||
menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
|
||||
menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
|
||||
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover,
|
||||
.protections-popup-footer-button:not([disabled="true"]):hover,
|
||||
#protections-popup-show-report-stack:hover .protections-popup-footer-button,
|
||||
.protections-popup-category:not([disabled="true"]):hover,
|
||||
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
|
||||
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
|
||||
#downloadsPanel-mainView .download-state:hover {
|
||||
background: var(--gnome-popover-button-hover-background) !important;
|
||||
}
|
||||
|
||||
/* Style popover separators */
|
||||
|
||||
@@ -36,8 +36,9 @@ $light_alt_fg_color: rgba(white, 0.85);
|
||||
$light_hint_fg_color: rgba(white, 0.50);
|
||||
$light_disabled_fg_color: rgba(white, 0.45);
|
||||
$light_alt_disabled_fg_color: rgba(white, 0.35);
|
||||
$light_track_color: rgba(white, 0.28);
|
||||
$light_divider_color: rgba(white, 0.15);
|
||||
$light_track_color: rgba(white, 0.2);
|
||||
$light_divider_color: rgba(white, 0.12);
|
||||
$light_fill_color: rgba(white, 0.06);
|
||||
|
||||
$selected_fg_color: $light_fg_color;
|
||||
$selected_bg_color: if($colorscheme == 'nord', $nord_color_default, $theme_color_default);
|
||||
|
||||
@@ -79,7 +79,7 @@ $backdrop_transition: $longer_duration ease-out;
|
||||
// Shadow
|
||||
$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
|
||||
$shadow_2: 0 1px 1px 0 rgba(black, 0.03), 0 1px 2px 0 rgba(black, 0.08); // Slider normal shadow
|
||||
$shadow_3: 0 1px 1px 0 rgba(black, 0.03), 0 1px 2px 0 rgba(black, 0.01); // Normal button shadow
|
||||
$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
|
||||
|
||||
@@ -24,7 +24,7 @@ $cakeisalie: "This stylesheet is generated, DO NOT EDIT";
|
||||
*/
|
||||
|
||||
// Stage
|
||||
stage {
|
||||
@include font(body-1);
|
||||
color: $fg_color;
|
||||
}
|
||||
//stage {
|
||||
//@include font(body-1);
|
||||
//color: $fg_color;
|
||||
//}
|
||||
@@ -252,8 +252,10 @@
|
||||
color: $tc;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
box-shadow: none;
|
||||
// box-shadow: inset 0px 0px 0px 2px $divider_color;
|
||||
|
||||
&, &:hover, &:active {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@if $t == flat-hover {
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
@import 'common/overview';
|
||||
@import 'common/panel';
|
||||
@import 'common/popovers';
|
||||
@import 'common/quick-settings';
|
||||
@import 'common/screen-shield';
|
||||
@import 'common/scrollbars';
|
||||
@import 'common/search-entry';
|
||||
@@ -30,7 +31,7 @@
|
||||
@import 'common/switches';
|
||||
@import 'common/tiled-previews';
|
||||
@import 'common/workspace-switcher';
|
||||
@import 'widgets-40-0/app-grid';
|
||||
@import 'widgets-42-0/app-grid';
|
||||
@import 'widgets-40-0/dash';
|
||||
@import 'widgets-40-0/misc';
|
||||
@import 'widgets-40-0/overview';
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
@include font(body-1);
|
||||
|
||||
.overview-icon.overview-icon-with-label {
|
||||
padding: 10px 8px 5px 8px;
|
||||
padding: 10px 12px 14px;
|
||||
|
||||
> StBoxLayout {
|
||||
spacing: $base_spacing;
|
||||
spacing: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
& .overview-icon {
|
||||
.overview-icon {
|
||||
color: $light_fg_color;
|
||||
border-radius: $wm_radius;
|
||||
padding: $container_padding;
|
||||
border-radius: $wm_radius * 1.5;
|
||||
padding: 12px;
|
||||
border: none;
|
||||
transition-duration: 100ms;
|
||||
text-align: center;
|
||||
@@ -42,11 +42,11 @@
|
||||
// App Folders
|
||||
.app-folder {
|
||||
background: none;
|
||||
border-radius: $bt_radius * 2;
|
||||
border-radius: $wm_radius * 1.5;
|
||||
|
||||
.overview-icon {
|
||||
background-color: $light_divider_color;
|
||||
border-radius: $bt_radius * 2;
|
||||
border-radius: $wm_radius * 1.5;
|
||||
}
|
||||
|
||||
&:hover .overview-icon {
|
||||
@@ -62,12 +62,12 @@
|
||||
.app-folder-dialog {
|
||||
border-radius: $bd_radius * 4;
|
||||
border: 0 solid rgba(white, 0.15);
|
||||
padding: $container_padding * 2;
|
||||
// padding: 0;
|
||||
background-color: rgba(if($colorscheme == 'nord', #20242c, #262626), 0.9);
|
||||
|
||||
& .folder-name-container {
|
||||
padding: $container_padding * 3 $container_padding * 4 0;
|
||||
spacing: $base_spacing * 2;
|
||||
padding: 24px 36px 0;
|
||||
spacing: 12px;
|
||||
|
||||
& .folder-name-label,
|
||||
& .folder-name-entry {
|
||||
@@ -90,7 +90,7 @@
|
||||
padding: 0;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 18px;
|
||||
border-radius: $circular_radius;
|
||||
|
||||
& > StIcon { icon-size: 16px; }
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
& .icon-grid {
|
||||
row-spacing: 12px;
|
||||
column-spacing: 30px;
|
||||
column-spacing: if($laptop == 'true', 12px, 18px);
|
||||
page-padding-top: 0;
|
||||
page-padding-bottom: 0;
|
||||
page-padding-left: 0;
|
||||
@@ -114,17 +114,18 @@
|
||||
}
|
||||
|
||||
.app-folder-dialog-container {
|
||||
padding: $container_padding;
|
||||
width: if($laptop == 'true', 500px, 620px);
|
||||
height: if($laptop == 'true', 500px, 620px);
|
||||
padding: 6px !important;
|
||||
|
||||
width: if($laptop == 'true', 580px, 680px);
|
||||
height: if($laptop == 'true', 580px, 680px);
|
||||
}
|
||||
|
||||
// Running app indicator (also shown in dash)
|
||||
.app-well-app-running-dot {
|
||||
width: 5px; height: 5px;
|
||||
border-radius: 3px;
|
||||
border-radius: 5px;
|
||||
background-color: $light_alt_fg_color;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 6px;
|
||||
|
||||
StWidget.focused & {
|
||||
background-color: $primary_color;
|
||||
@@ -166,20 +167,6 @@
|
||||
&:checked:active { background-image: none; }
|
||||
}
|
||||
|
||||
// right-click app menu
|
||||
.app-menu,
|
||||
.app-well-menu {
|
||||
max-width: 27.25em;
|
||||
}
|
||||
|
||||
// Rename popup for app folders
|
||||
.rename-folder-popup {
|
||||
.rename-folder-popup-item {
|
||||
spacing: $container_padding;
|
||||
&:ltr, &:rtl { padding: 0 $container_padding * 2; }
|
||||
}
|
||||
}
|
||||
|
||||
// shutdown and other actions in the grid
|
||||
.system-action-icon {
|
||||
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); // FIXME: this should really have a highlight
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
|
||||
// overall menu
|
||||
#calendarArea {
|
||||
padding: $base_padding * 2 0;
|
||||
padding: $base_padding * 1.5 0;
|
||||
}
|
||||
|
||||
// Calendar menu side column
|
||||
.datemenu-calendar-column {
|
||||
spacing: $base_spacing;
|
||||
border: 0 solid $borders_color;
|
||||
padding: 0 $base_padding * 2;
|
||||
padding: 0 0 0 $base_padding * 2;
|
||||
|
||||
&:ltr {margin-right: $base_margin * 2; border-left-width: 0; }
|
||||
&:rtl {margin-left: $base_margin * 2; border-right-width: 0; }
|
||||
&:ltr { margin-right: $base_margin * 2; border-left-width: 0; }
|
||||
&:rtl { margin-left: $base_margin * 2; border-right-width: 0; }
|
||||
|
||||
.datemenu-displays-section { padding-bottom: 0; }
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
.message-list {
|
||||
width: 31.5em;
|
||||
padding: $base_padding;
|
||||
padding: $base_padding * 1.5 0;
|
||||
text-shadow: none;
|
||||
border: none;
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
// icon size and color
|
||||
> StIcon {
|
||||
icon-size: 32px; // 32px
|
||||
icon-size: 32px;
|
||||
-st-icon-style: symbolic;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
color: $light_alt_fg_color;
|
||||
border-radius: $circular_radius;
|
||||
border: none;
|
||||
box-shadow: 0 3px 8px rgba(black, 0.25);
|
||||
// box-shadow: 0 3px 8px rgba(black, 0.25);
|
||||
icon-size: $base_icon_size * 4; // 64px
|
||||
|
||||
&:hover {
|
||||
@@ -19,7 +19,7 @@
|
||||
}
|
||||
|
||||
& StIcon {
|
||||
background-color: transparentize($light_alt_fg_color, 0.95);
|
||||
background-color: $light_track_color;
|
||||
border-radius: $circular_radius;
|
||||
padding: $base_padding * 2; // 12px
|
||||
width: $base_icon_size * 2.5; height: $base_icon_size * 2.5; // 40px;
|
||||
|
||||
@@ -220,3 +220,17 @@ $popop_menuitem_radius: $wm_radius - 4px;
|
||||
&:rtl { margin-left: $base_margin * 2 !important; }
|
||||
}
|
||||
}
|
||||
|
||||
// right-click app menu
|
||||
.app-menu,
|
||||
.app-well-menu {
|
||||
max-width: 27.25em;
|
||||
}
|
||||
|
||||
// Rename popup for app folders
|
||||
.rename-folder-popup {
|
||||
.rename-folder-popup-item {
|
||||
spacing: $base_spacing;
|
||||
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
.quick-settings {
|
||||
padding: $base_padding * 3;
|
||||
border-radius: $modal_radius * 2;
|
||||
|
||||
.icon-button, .button {
|
||||
padding: $container_padding;
|
||||
}
|
||||
}
|
||||
|
||||
.quick-settings-grid {
|
||||
spacing-rows: $base_padding * 2;
|
||||
spacing-columns: $base_padding * 2;
|
||||
}
|
||||
|
||||
.quick-toggle {
|
||||
border-radius: $circular_radius;
|
||||
min-width: 12em;
|
||||
max-width: 12em;
|
||||
min-height: 40px;
|
||||
border: none;
|
||||
background-color: $fill_color !important;
|
||||
|
||||
&:hover {
|
||||
background-color: $divider_color !important;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $visit_color !important;
|
||||
}
|
||||
|
||||
&:checked {
|
||||
background-color: $primary_color !important;
|
||||
color: $light_fg_color;
|
||||
|
||||
&:hover {
|
||||
background-color: mix($text_color, $primary_color, 6%) !important;
|
||||
color: $light_fg_color;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: mix($text_color, $primary_color, 15%) !important;
|
||||
color: $light_fg_color;
|
||||
}
|
||||
}
|
||||
|
||||
& > StBoxLayout { spacing: $base_padding; }
|
||||
|
||||
/* Move padding into the box; this is to allow menu arrows
|
||||
to extend to the border */
|
||||
&.button { padding: 0; }
|
||||
& > StBoxLayout { padding: 0 $base_padding * 2; }
|
||||
&:ltr > StBoxLayout { padding-left: $base_padding * 2.5; }
|
||||
&:rtl > StBoxLayout { padding-right: $base_padding * 2.5; }
|
||||
|
||||
.quick-toggle-label { font-weight: bold; }
|
||||
.quick-toggle-icon, .quick-toggle-arrow { icon-size: $base_icon_size; }
|
||||
}
|
||||
|
||||
.quick-menu-toggle {
|
||||
&:ltr > StBoxLayout { padding-right: 0; }
|
||||
&:rtl > StBoxLayout { padding-left: 0; }
|
||||
|
||||
.quick-toggle-arrow {
|
||||
background-color: $fill_color !important;
|
||||
padding: $base_padding $base_padding * 1.75;
|
||||
|
||||
&:active {
|
||||
background-color: $divider_color !important;
|
||||
}
|
||||
|
||||
&:ltr { border-radius: 0 $circular_radius $circular_radius 0; }
|
||||
&:rtl { border-radius: $circular_radius 0 0 $circular_radius; }
|
||||
}
|
||||
}
|
||||
|
||||
.quick-slider {
|
||||
padding: 0 $base_padding;
|
||||
|
||||
& > StBoxLayout { spacing: $base_padding; }
|
||||
|
||||
.slider-bin {
|
||||
&:focus { @include button(focus); }
|
||||
min-height: 16px; // slider size
|
||||
padding: $base_padding;
|
||||
border-radius: $circular_radius;
|
||||
}
|
||||
|
||||
.quick-toggle-icon {
|
||||
icon-size: $base_icon_size;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
background-color: transparent;
|
||||
color: $text_color !important;
|
||||
|
||||
&:hover {
|
||||
background-color: $fill_color;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $divider_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quick-toggle-menu {
|
||||
background-color: $menu_bg !important;
|
||||
color: $text_color !important;
|
||||
border-radius: $base_border_radius * 3;
|
||||
padding: $base_padding * 2;
|
||||
margin: $base_padding * 2 $base_padding * 6 0;
|
||||
|
||||
.popup-menu-item {
|
||||
border-radius: $circular_radius !important;
|
||||
min-height: 20px;
|
||||
|
||||
&:focus, &:hover, &.selected {
|
||||
color: $text_color !important;
|
||||
background-color: $divider_color !important;
|
||||
}
|
||||
|
||||
> StIcon { -st-icon-style: symbolic; }
|
||||
}
|
||||
|
||||
& .header {
|
||||
spacing-rows: 0.5 * $base_padding;
|
||||
spacing-columns: $base_padding * 2;
|
||||
padding-bottom: 2 * $base_padding;
|
||||
|
||||
& .icon {
|
||||
icon-size: $base_icon_size * 1.5; // a non-standard symbolic size but ok
|
||||
border-radius: $circular_radius;
|
||||
padding: 1.5 * $base_padding;
|
||||
background-color: $divider_color !important;
|
||||
|
||||
&.active {
|
||||
background-color: $primary_color !important;
|
||||
color: $light_fg_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quick-settings-system-item {
|
||||
& > StBoxLayout { spacing: 2 * $base_padding; }
|
||||
|
||||
.icon-button {
|
||||
background-color: $fill_color;
|
||||
color: $text_color;
|
||||
border-radius: $circular_radius;
|
||||
min-height: 24px !important;
|
||||
min-width: 24px !important;
|
||||
// padding: $container_padding;
|
||||
|
||||
&:hover { @include button(flat-hover); }
|
||||
&:active { @include button(flat-active); }
|
||||
|
||||
> StIcon {
|
||||
-st-icon-style: symbolic;
|
||||
icon-size: $base_icon_size;
|
||||
}
|
||||
}
|
||||
|
||||
.power-item {
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
|
||||
&:insensitive {
|
||||
@include button(normal);
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nm-network-item {
|
||||
.wireless-secure-icon { icon-size: 0.5 * $base_icon_size; }
|
||||
}
|
||||
@@ -151,13 +151,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.shrink,
|
||||
&.dashtodock {
|
||||
.dash-item-container > StButton {
|
||||
padding: 1px 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.app-well-app,
|
||||
.show-apps {
|
||||
.overview-icon {
|
||||
|
||||
@@ -73,6 +73,10 @@
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
|
||||
.app-well-app-running-dot {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
StWidget.focused .app-well-app-running-dot {
|
||||
background-color: $primary_color;
|
||||
}
|
||||
@@ -164,13 +168,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.shrink,
|
||||
&.dashtodock {
|
||||
.dash-item-container > StButton {
|
||||
padding: 1px 2px;
|
||||
}
|
||||
}
|
||||
|
||||
&.extended,
|
||||
&.extended:overview {
|
||||
.app-well-app,
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
|
||||
// app icons
|
||||
.icon-grid {
|
||||
row-spacing: 12px;
|
||||
column-spacing: 12px;
|
||||
max-row-spacing: 42px;
|
||||
max-column-spacing: 42px;
|
||||
page-padding-top: 24px;
|
||||
page-padding-bottom: 24px;
|
||||
page-padding-left: 18px;
|
||||
page-padding-right: 18px;
|
||||
}
|
||||
|
||||
.app-folder-dialog {
|
||||
.page-navigation-hint {
|
||||
width: if($laptop == 'true', 60px, 80px);
|
||||
}
|
||||
|
||||
.page-navigation-arrow {
|
||||
margin: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.apps-scroll-view {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-navigation-hint {
|
||||
width: if($laptop == 'true', 220px, 300px);
|
||||
|
||||
&.dnd {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
&.next:ltr,
|
||||
&.previous:rtl {
|
||||
background-gradient-start: $light_divider_color;
|
||||
background-gradient-end: transparent;
|
||||
background-gradient-direction: horizontal;
|
||||
border-radius: $modal_radius 0px 0px $modal_radius;
|
||||
}
|
||||
|
||||
&.previous:ltr,
|
||||
&.next:rtl {
|
||||
background-gradient-start: transparent;
|
||||
background-gradient-end: $light_divider_color;
|
||||
background-gradient-direction: horizontal;
|
||||
border-radius: 0px $modal_radius $modal_radius 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.page-navigation-arrow {
|
||||
& > StIcon {
|
||||
margin: $base_padding;
|
||||
padding: $base_padding * 3;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: $circular_radius;
|
||||
}
|
||||
|
||||
&:insensitive > StIcon {
|
||||
backround-color: $light_fill_color;
|
||||
color: $light_fg_color;
|
||||
}
|
||||
|
||||
&:hover > StIcon {
|
||||
backround-color: $light_divider_color;
|
||||
color: $light_fg_color;
|
||||
}
|
||||
|
||||
&:active > StIcon {
|
||||
backround-color: $light_track_color;
|
||||
color: $light_fg_color;
|
||||
}
|
||||
}
|
||||
@@ -670,7 +670,7 @@ $_dot_color: $selected_bg_color;
|
||||
%circular_button {
|
||||
border-radius: $circular_radius;
|
||||
-gtk-outline-radius: $circular_radius;
|
||||
padding: 0 0;
|
||||
padding: 0;
|
||||
min-height: $menuitem_size;
|
||||
min-width: $menuitem_size;
|
||||
}
|
||||
@@ -749,8 +749,9 @@ button {
|
||||
|
||||
&.image-button:not(.circular), &.popup:not(.circular) {
|
||||
min-height: $menuitem_size - 4px;
|
||||
padding-left: $container_padding;
|
||||
padding-right: $container_padding;
|
||||
min-width: $menuitem_size - 4px;
|
||||
padding-left: $container_padding - 2px;
|
||||
padding-right: $container_padding - 2px;
|
||||
}
|
||||
|
||||
&.text-button {
|
||||
@@ -1100,10 +1101,16 @@ button:link, button:visited {
|
||||
spinbutton {
|
||||
&:drop(active) { box-shadow: none; }
|
||||
|
||||
button:active { color: $selected_fg_color; }
|
||||
&:disabled { color: $disabled_fg_color; }
|
||||
|
||||
entry {
|
||||
> button {
|
||||
min-width: 24px;
|
||||
padding: 0 $container_padding / 2;
|
||||
|
||||
&:active { color: $selected_fg_color; }
|
||||
}
|
||||
|
||||
> entry {
|
||||
@extend %Linked_entrys;
|
||||
border: 1px solid $dark_borders_color;
|
||||
|
||||
@@ -1127,7 +1134,10 @@ spinbutton {
|
||||
min-width: $menuitem_size;
|
||||
}
|
||||
|
||||
button, entry { @extend %linked; min-height: $small_size; }
|
||||
button, entry {
|
||||
@extend %linked;
|
||||
min-height: $small_size;
|
||||
}
|
||||
|
||||
&:dir(ltr) entry,
|
||||
&:dir(rtl) button.up { border-radius: $bt_radius 0 0 $bt_radius; }
|
||||
@@ -1477,7 +1487,7 @@ actionbar {
|
||||
|
||||
headerbar {
|
||||
min-height: $headerbar_size;
|
||||
padding: 0 $container_padding + 10px;
|
||||
padding: 0 8px;
|
||||
color: $header_fg;
|
||||
background-color: $header_bg;
|
||||
border-bottom: 1px solid $header_border;
|
||||
@@ -1606,7 +1616,7 @@ headerbar {
|
||||
&:disabled { background: none; }
|
||||
}
|
||||
|
||||
stackswitcher.linked.stack-switcher:not(.vertical) > button {
|
||||
.linked.stack-switcher:not(.vertical) > button {
|
||||
min-width: $menuitem_size - 4px;
|
||||
border-radius: $bt_radius;
|
||||
}
|
||||
@@ -1633,7 +1643,7 @@ headerbar {
|
||||
&:backdrop { opacity: 0.65; background-image: none; }
|
||||
}
|
||||
|
||||
stackswitcher {
|
||||
.stack-switcher {
|
||||
box-shadow: inset 0 0 0 1px $light_borders_color;
|
||||
border-radius: $bt_radius;
|
||||
padding: 0;
|
||||
@@ -2193,10 +2203,9 @@ menubar,
|
||||
}
|
||||
}
|
||||
|
||||
menu,
|
||||
.menu,
|
||||
.context-menu {
|
||||
// margin: 4px;
|
||||
// .menu,
|
||||
// .context-menu,
|
||||
menu {
|
||||
padding: $container_padding;
|
||||
border-radius: $mn_radius;
|
||||
background-color: opacify($menu_bg, 1);
|
||||
@@ -2232,6 +2241,8 @@ menu,
|
||||
color: $selected_fg_color;
|
||||
background-color: $selected_bg_color;
|
||||
|
||||
// image { -gtk-icon-style: symbolic; }
|
||||
|
||||
arrow {
|
||||
transition: none;
|
||||
color: $selected_fg_color;
|
||||
@@ -2295,23 +2306,19 @@ menu,
|
||||
min-height: 16px;
|
||||
padding: 2px;
|
||||
background-color: transparent;
|
||||
border-radius: 0;
|
||||
border-radius: $mn_radius - 3px;
|
||||
border: none;
|
||||
background-image: none;
|
||||
color: $fg_color;
|
||||
|
||||
&.top {
|
||||
margin-top: -6px;
|
||||
border-radius: $mn_radius $mn_radius 0 0;
|
||||
border-bottom: 1px solid $borders_color;
|
||||
margin-top: 0;
|
||||
-gtk-icon-source: -gtk-icontheme('pan-up-symbolic');
|
||||
}
|
||||
|
||||
&.bottom {
|
||||
margin-top: 12px;
|
||||
margin-bottom: -16px;
|
||||
border-radius: 0 0 $mn_radius $mn_radius;
|
||||
border-top: 1px solid $borders_color;
|
||||
margin-bottom: -12px;
|
||||
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
|
||||
}
|
||||
|
||||
@@ -2490,6 +2497,14 @@ notebook {
|
||||
}
|
||||
}
|
||||
|
||||
button.image-button {
|
||||
@extend %flat_button;
|
||||
|
||||
@if $monterey == 'false' {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
button.flat.toggle.popup {
|
||||
min-width: $medium_size;
|
||||
border: none;
|
||||
@@ -2740,6 +2755,7 @@ scrollbar {
|
||||
$switch_image: linear-gradient(0deg, rgba($fg_color, 0.25) 0%, rgba($fg_color, 0.35) 100%);
|
||||
$switch_disabled_image: linear-gradient(0deg, rgba($fg_color, 0.1) 0%, rgba($fg_color, 0.15) 100%);
|
||||
$switch_checked_image: linear-gradient(0deg, lighten($selected_bg_color, 10%) 0%, $selected_bg_color 100%);
|
||||
$switch_checked_backdrop_image: linear-gradient(0deg, rgba($fg_color, 0.45) 0%, rgba($fg_color, 0.55) 100%);
|
||||
$switch_checked_disabled_image: linear-gradient(0deg, lighten($selected_bg_color, 35%) 0%, lighten($selected_bg_color, 25%) 100%);
|
||||
$switch_animation: switch_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1);
|
||||
|
||||
@@ -2788,6 +2804,12 @@ switch {
|
||||
background-image: $switch_checked_disabled_image;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
&:backdrop {
|
||||
background-color: transparent;
|
||||
background-image: $switch_checked_backdrop_image;
|
||||
color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
slider {
|
||||
@@ -3024,11 +3046,7 @@ scale {
|
||||
|
||||
highlight {
|
||||
background-color: $selected_bg_color;
|
||||
|
||||
&:disabled { }
|
||||
}
|
||||
|
||||
&:disabled { }
|
||||
}
|
||||
|
||||
// Troughs in selected list-rows and infobars
|
||||
@@ -3065,13 +3083,13 @@ scale {
|
||||
}
|
||||
|
||||
slider {
|
||||
$_slider_border: if($variant=='light', transparentize(darken($button_border, 0%), 0), transparentize($button_border, 0));
|
||||
$_slider_border: $button_border;
|
||||
|
||||
background-color: $selected_fg_color;
|
||||
border: 1px solid $_slider_border;
|
||||
border-radius: 100%;
|
||||
box-shadow: $shadow_2;
|
||||
|
||||
background-clip: padding-box;
|
||||
transition: $button_transition;
|
||||
transition-property: background, border;
|
||||
|
||||
@@ -3082,7 +3100,6 @@ scale {
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-clip: border-box;
|
||||
background-color: $selected_fg_color;
|
||||
border-color: $_slider_border;
|
||||
box-shadow: $shadow_3;
|
||||
@@ -3132,8 +3149,6 @@ scale {
|
||||
border-color: $_slider_border;
|
||||
box-shadow: $shadow_3;
|
||||
}
|
||||
|
||||
&:disabled { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3414,6 +3429,10 @@ scrolledwindow {
|
||||
}
|
||||
}
|
||||
|
||||
scrolledwindow.frame {
|
||||
border: 1px solid $borders_color;
|
||||
}
|
||||
|
||||
> box.vertical list.content.view {
|
||||
border-top-left-radius: $wm_radius;
|
||||
border-top-right-radius: $wm_radius;
|
||||
@@ -3563,6 +3582,7 @@ row {
|
||||
|
||||
button {
|
||||
@extend %undecorated_button;
|
||||
@include button(flat-normal);
|
||||
|
||||
&:not(.text-button).image-button, &.flat {
|
||||
@extend %circular_button;
|
||||
@@ -4357,7 +4377,13 @@ decoration {
|
||||
//
|
||||
// Titlebuttons
|
||||
//
|
||||
|
||||
headerbar {
|
||||
> box.left,
|
||||
> box.right { // Titlebutton space
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
button.titlebutton {
|
||||
&.close, &.maximize, &.minimize {
|
||||
min-width: 16px;
|
||||
|
||||
+183
-85
@@ -5,14 +5,18 @@ $cakeisalie: "This stylesheet is generated, DO NOT EDIT";
|
||||
/* #{$cakeisalie} */
|
||||
|
||||
%side_headerbar_left {
|
||||
&, &:backdrop {
|
||||
background-image: none;
|
||||
background-color: rgba($dark_sidebar_bg, 1);
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
%side_headerbar_right {
|
||||
&, &:backdrop {
|
||||
background-image: none;
|
||||
background-color: rgba($base_color, 1);
|
||||
}
|
||||
}
|
||||
|
||||
%side_searchbar {
|
||||
@@ -340,6 +344,7 @@ label {
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 1;
|
||||
color: $disabled_fg_color;
|
||||
selection { color: mix($selected_fg_color, $selected_bg_color, 50%); }
|
||||
}
|
||||
@@ -627,41 +632,36 @@ entry {
|
||||
}
|
||||
|
||||
.entry-tag {
|
||||
$tag_height: $menuitem_size - 4px;
|
||||
$tag_margin: 8px;
|
||||
|
||||
margin: $tag_margin; // instead of min-height: $tag_height;
|
||||
border-radius: 50px;
|
||||
margin: 0;
|
||||
min-height: 16px;
|
||||
border-radius: $circular_radius;
|
||||
box-shadow: none;
|
||||
background-color: $destructive_color;
|
||||
background-color: $suggested_color;
|
||||
color: $light_fg_color;
|
||||
border: none;
|
||||
padding: 2px;
|
||||
|
||||
&:hover { box-shadow: 0 0 0 1px $borders_color; }
|
||||
&:hover { box-shadow: $shadow_4; }
|
||||
|
||||
// side margins: compensate the entry padding with a negative margin
|
||||
// then the negative margin itself
|
||||
:dir(ltr) & {
|
||||
margin-left: 8px;
|
||||
margin-right: $tag_margin - 8px;
|
||||
padding-left: 8px;
|
||||
padding-right: ($tag_height - 16px) / 2;
|
||||
margin-left: $container_padding / 2;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
:dir(rtl) & {
|
||||
margin-left: $tag_margin - 8px;
|
||||
margin-right: 8px;
|
||||
padding-left: ($tag_height - 16px) / 2;
|
||||
padding-right: 8px;
|
||||
margin-left: 0;
|
||||
margin-right: $container_padding / 2;
|
||||
}
|
||||
|
||||
// seems any sizing doesn't work
|
||||
&.button {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
|
||||
&:not(:hover):not(:active) { color: $disabled_fg_color; }
|
||||
> button {
|
||||
min-height: 20px;
|
||||
min-width: 20px;
|
||||
padding: 0;
|
||||
border-radius: $circular_radius;
|
||||
@extend %selected-button;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -724,7 +724,7 @@ $_dot_color: if($variant=='light', $selected_bg_color,
|
||||
@include button(flat-normal);
|
||||
&:hover { @include button(flat-hover); }
|
||||
&:active { @include button(flat-active); }
|
||||
&:checked { @include button(flat-checked); }
|
||||
&:checked, &:selected { @include button(flat-checked); }
|
||||
&:disabled { @include button(flat-insensitive); }
|
||||
}
|
||||
|
||||
@@ -1458,26 +1458,47 @@ button.link {
|
||||
// Spinbuttons
|
||||
//
|
||||
spinbutton {
|
||||
background: none;
|
||||
|
||||
&:drop(active) { box-shadow: none; }
|
||||
|
||||
button:active { color: $selected_fg_color; }
|
||||
&:disabled { color: $disabled_fg_color; }
|
||||
|
||||
button:active { color: $selected_fg_color; }
|
||||
|
||||
&:focus-within { outline: none; }
|
||||
|
||||
> text {
|
||||
padding: $container_padding;
|
||||
@extend %Linked_entrys;
|
||||
border: 1px solid $dark_borders_color;
|
||||
background-clip: padding-box;
|
||||
|
||||
> selection {
|
||||
background-color: $selected_bg_color;
|
||||
color: $selected_fg_color;
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
outline: none;
|
||||
|
||||
@if $variant == 'dark' { box-shadow: inset 0 0 0 2px $entry_highlight; }
|
||||
|
||||
@if $variant == 'light' {
|
||||
border-color: $entry_highlight;
|
||||
@if $variant == 'dark' { box-shadow: inset 0 0 0 1px $entry_highlight; }
|
||||
@if $variant == 'light' { box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $entry_highlight; }
|
||||
box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $entry_highlight;
|
||||
}
|
||||
}
|
||||
|
||||
&:drop(active) {
|
||||
outline: none;
|
||||
|
||||
@if $variant == 'dark' { box-shadow: inset 0 0 0 2px $drop_target_color; }
|
||||
|
||||
@if $variant == 'light' {
|
||||
border-color: $drop_target_color;
|
||||
@if $variant == 'dark' { box-shadow: inset 0 0 0 1px $drop_target_color; }
|
||||
@if $variant == 'light' { box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $drop_target_color; }
|
||||
box-shadow: 0 1px 1px 0 transparent, inset 0 0 0 1px $drop_target_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1508,8 +1529,10 @@ spinbutton {
|
||||
> button.up:dir(rtl):hover:not(:active),
|
||||
> text + button:not(:active):hover { box-shadow: none; }
|
||||
|
||||
@if $variant == 'light' {
|
||||
> text:focus-within + button { border-left-color: $entry_highlight; }
|
||||
> text:drop(active) + button { border-left-color: $drop_target_color; }
|
||||
}
|
||||
|
||||
.osd & {
|
||||
&, &:focus-within, &:drop(active) { border-image: none; }
|
||||
@@ -1535,9 +1558,11 @@ spinbutton {
|
||||
|
||||
> button.up { border-radius: $bt_radius $bt_radius 0 0; }
|
||||
|
||||
@if $variant == 'light' {
|
||||
> text:focus-within + button { border-top-color: $entry_highlight; }
|
||||
> text:drop(active) + button { border-top-color: $drop_target_color; }
|
||||
}
|
||||
}
|
||||
|
||||
// Misc
|
||||
treeview &:not(.vertical),
|
||||
@@ -1742,8 +1767,6 @@ combobox {
|
||||
%toolbar {
|
||||
padding: $container_padding / 2 $container_padding;
|
||||
border-spacing: $container_padding;
|
||||
// background-color: $header_bg;
|
||||
// border-bottom: 1px solid $borders_color;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
@@ -1804,14 +1827,13 @@ searchbar {
|
||||
border-spacing: $container_padding;
|
||||
@extend %toolbar;
|
||||
|
||||
entry { margin: 0; }
|
||||
entry, button { margin: 0; }
|
||||
|
||||
.close {
|
||||
min-width: 18px;
|
||||
min-height: 18px;
|
||||
padding: 4px;
|
||||
border-radius: 50%;
|
||||
@extend %circular_button;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1822,6 +1844,7 @@ actionbar > revealer > box {
|
||||
border-top: 1px solid $borders_color;
|
||||
background-color: darken($bg_color, 3%);
|
||||
box-shadow: none;
|
||||
color: $text_color;
|
||||
|
||||
entry, button { margin: 0; }
|
||||
|
||||
@@ -1859,6 +1882,7 @@ actionbar > revealer > box {
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 1;
|
||||
@include entry(header-insensitive);
|
||||
}
|
||||
|
||||
@@ -1922,6 +1946,7 @@ actionbar > revealer > box {
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 1;
|
||||
&, &:checked, &:active { @include button(header-insensitive); }
|
||||
}
|
||||
|
||||
@@ -1932,7 +1957,7 @@ actionbar > revealer > box {
|
||||
|
||||
headerbar {
|
||||
min-height: $headerbar_size;
|
||||
padding: 0 $container_padding + 10px;
|
||||
padding: 0;
|
||||
color: $header_fg;
|
||||
background-color: $header_bg;
|
||||
border-bottom: 1px solid $header_border;
|
||||
@@ -1947,21 +1972,28 @@ headerbar {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.flat {
|
||||
border: none;
|
||||
background: none;
|
||||
|
||||
windowcontrols {
|
||||
padding: 0 $container_padding / 2;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
padding-left: $container_padding * 2;
|
||||
padding-right: $container_padding * 2;
|
||||
padding: 2px $container_padding * 2;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: smaller;
|
||||
padding-left: $container_padding * 2;
|
||||
padding-right: $container_padding * 2;
|
||||
padding: 2px $container_padding * 2;
|
||||
margin-top: -3px;
|
||||
@extend %dim-label;
|
||||
}
|
||||
|
||||
> windowhandle > box {
|
||||
padding: 0;
|
||||
padding: 0 8px;
|
||||
|
||||
&,
|
||||
> box.start,
|
||||
@@ -1970,16 +2002,30 @@ headerbar {
|
||||
}
|
||||
}
|
||||
|
||||
entry { @extend %headerbar_entrys; }
|
||||
entry {
|
||||
@extend %headerbar_entrys;
|
||||
}
|
||||
|
||||
button { @extend %headerbar_buttons; }
|
||||
button {
|
||||
@extend %headerbar_buttons;
|
||||
}
|
||||
|
||||
button, spinbutton, entry, stackswitcher {
|
||||
entry,
|
||||
spinbutton,
|
||||
button,
|
||||
menubutton,
|
||||
splitbutton,
|
||||
stackswitcher,
|
||||
separator:not(.sidebar) {
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
menubutton.popup {
|
||||
menubutton > button,
|
||||
spinbutton > button,
|
||||
splitbutton > button,
|
||||
splitbutton > menubutton,
|
||||
entry > menubutton {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -2446,10 +2492,10 @@ popover {
|
||||
padding: $container_padding;
|
||||
border-radius: $wm_radius;
|
||||
|
||||
> list,
|
||||
> .view,
|
||||
list,
|
||||
.view,
|
||||
> toolbar {
|
||||
border-style: none;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -2462,6 +2508,12 @@ popover {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
stack scrolledwindow:not(.view) > viewport {
|
||||
border: 1px solid $borders_color;
|
||||
border-radius: $bt_radius;
|
||||
background-color: $base_color;
|
||||
}
|
||||
|
||||
listview.view {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
@@ -2637,14 +2689,14 @@ popover.menu {
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
|
||||
&:hover:not(:checked) {
|
||||
&:hover:not(:checked):not(:selected) {
|
||||
color: mix($fg_color, $disabled_fg_color, 50%);
|
||||
background-color: if($variant == 'light', rgba(white, 0.2), rgba(white, 0.05));
|
||||
border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%));
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:checked {
|
||||
&:checked, &:selected {
|
||||
color: $fg_color;
|
||||
background-color: $header_bg;
|
||||
border-color: if($variant == 'light', darken($header_bg, 15%), lighten($header_bg, 5%));
|
||||
@@ -2662,13 +2714,13 @@ popover.menu {
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
|
||||
&:hover:not(:checked) {
|
||||
&:hover:not(:checked):not(:selected){
|
||||
color: mix($fg_color, $disabled_fg_color, 50%);
|
||||
background-color: rgba($fg_color, 0.06);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:checked {
|
||||
&:checked, &:selected {
|
||||
color: $fg_color;
|
||||
background-color: rgba($fg_color, 0.12);
|
||||
box-shadow: none;
|
||||
@@ -2886,7 +2938,13 @@ tabbox {
|
||||
padding: 0 $container_padding / 2 $container_padding / 2;
|
||||
}
|
||||
|
||||
> tab {
|
||||
> tabboxchild {
|
||||
margin: 0 -3px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
> tab,
|
||||
> tabboxchild > tab {
|
||||
@if $monterey == 'false' {
|
||||
@extend %tabs_tab;
|
||||
border-top: none;
|
||||
@@ -2944,12 +3002,6 @@ scrollbar {
|
||||
transition: 300ms $ease-out-quad;
|
||||
outline: none;
|
||||
|
||||
// scrollbar border
|
||||
// &.top { border-bottom: 1px solid $borders_color; }
|
||||
// &.bottom { border-top: 1px solid $borders_color; }
|
||||
// &.left { border-right: 1px solid $borders_color; }
|
||||
// &.right { border-left: 1px solid $borders_color; }
|
||||
|
||||
&, button { border: none; }
|
||||
|
||||
&.vertical button {
|
||||
@@ -3059,6 +3111,7 @@ scrollbar {
|
||||
$switch_image: linear-gradient(0deg, rgba($fg_color, 0.25) 0%, rgba($fg_color, 0.35) 100%);
|
||||
$switch_disabled_image: linear-gradient(0deg, rgba($fg_color, 0.1) 0%, rgba($fg_color, 0.15) 100%);
|
||||
$switch_checked_image: linear-gradient(0deg, lighten($selected_bg_color, 10%) 0%, $selected_bg_color 100%);
|
||||
$switch_checked_backdrop_image: linear-gradient(0deg, rgba($fg_color, 0.45) 0%, rgba($fg_color, 0.55) 100%);
|
||||
$switch_checked_disabled_image: linear-gradient(0deg, lighten($selected_bg_color, 35%) 0%, lighten($selected_bg_color, 25%) 100%);
|
||||
$switch_animation: switch_ripple_effect 0.3s cubic-bezier(0, 0, 0.2, 1);
|
||||
|
||||
@@ -3108,6 +3161,12 @@ switch {
|
||||
background-image: $switch_checked_disabled_image;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
&:backdrop {
|
||||
background-color: transparent;
|
||||
background-image: $switch_checked_backdrop_image;
|
||||
color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
> slider {
|
||||
@@ -3321,11 +3380,7 @@ scale {
|
||||
|
||||
highlight {
|
||||
background-color: $selected_bg_color;
|
||||
|
||||
&:disabled { }
|
||||
}
|
||||
|
||||
&:disabled { }
|
||||
}
|
||||
|
||||
// Troughs in selected list-rows and infobars
|
||||
@@ -3428,8 +3483,6 @@ scale {
|
||||
border-color: $_slider_border;
|
||||
box-shadow: $shadow_3;
|
||||
}
|
||||
|
||||
&:disabled { }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3793,22 +3846,17 @@ scrolledwindow {
|
||||
}
|
||||
|
||||
// Overflow indication, works similarly to the overshoot, the size if fixed tho.
|
||||
// > undershoot {
|
||||
// &.top { @include undershoot(top); }
|
||||
// &.bottom { @include undershoot(bottom); }
|
||||
// &.left { @include undershoot(left); }
|
||||
// &.right { @include undershoot(right); }
|
||||
//
|
||||
// padding: $wm_radius / 2;
|
||||
// }
|
||||
> undershoot {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
> junction { // the small square between two scrollbars
|
||||
border-style: solid none none solid;
|
||||
border-width: 1px;
|
||||
border-color: $borders_color;
|
||||
border: none;
|
||||
background-color: $_scrollbar_bg_color;
|
||||
|
||||
&:dir(rtl) { border-style: solid solid none none; }
|
||||
// &:dir(rtl) { border-style: solid solid none none; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3943,6 +3991,10 @@ row {
|
||||
|
||||
button.circular { @extend %circular_button; }
|
||||
|
||||
button &.activatable {
|
||||
&:focus, &:hover, &:active { background: none; }
|
||||
}
|
||||
|
||||
&:selected {
|
||||
color: $fg_color;
|
||||
background-color: if($variant == 'light', rgba(black, 0.15), rgba(white, 0.15));
|
||||
@@ -4195,7 +4247,7 @@ window.dialog.message { // Message Dialog styling
|
||||
padding: ($container_padding - 2px) ($container_padding + 2px);
|
||||
box-shadow: none;
|
||||
border-radius: $bt_radius;
|
||||
margin: 0 3px 3px 3px;
|
||||
margin: $container_padding / 2;
|
||||
border: none;
|
||||
|
||||
&:not(.suggested-action):not(.destructive-action) {
|
||||
@@ -4229,6 +4281,39 @@ window.dialog.message { // Message Dialog styling
|
||||
}
|
||||
}
|
||||
|
||||
window.background.messagedialog {
|
||||
.response-area {
|
||||
padding: $container_padding;
|
||||
|
||||
button {
|
||||
min-height: 20px;
|
||||
padding: ($container_padding - 2px) ($container_padding + 2px);
|
||||
box-shadow: none;
|
||||
border-radius: $bt_radius;
|
||||
margin: $container_padding / 2;
|
||||
border: none;
|
||||
|
||||
&:not(.suggested-action):not(.destructive-action) {
|
||||
border-radius: $bt_radius;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover {
|
||||
@include button(flat-hover);
|
||||
transition: $button_transition;
|
||||
}
|
||||
|
||||
&:active {
|
||||
@include button(active);
|
||||
}
|
||||
}
|
||||
|
||||
&.suggested-action, &.destructive-action {
|
||||
border-radius: $bt_radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.aboutdialog image.large-icons {
|
||||
-gtk-icon-size: 128px;
|
||||
}
|
||||
@@ -4294,10 +4379,16 @@ filechooserbutton:drop(active) {
|
||||
}
|
||||
|
||||
separator.sidebar {
|
||||
&.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border: none; }
|
||||
background-color: $header_border;
|
||||
min-height: 1px;
|
||||
min-width: 1px;
|
||||
border: none;
|
||||
|
||||
&:dir(ltr),
|
||||
&.left,
|
||||
&.left:dir(rtl),
|
||||
&:dir(rtl),
|
||||
&.right { border: none; }
|
||||
}
|
||||
|
||||
stacksidebar {
|
||||
@@ -4322,10 +4413,12 @@ stacksidebar {
|
||||
|
||||
// Navigation Sidebar
|
||||
.navigation-sidebar {
|
||||
background-color: $dark_sidebar_bg;
|
||||
padding: $container_padding 0; //only vertical padding. horizontal row size would clip
|
||||
|
||||
> separator {
|
||||
margin: $container_padding 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
> row {
|
||||
@@ -4376,7 +4469,7 @@ placessidebar {
|
||||
// Using margins/padding directly in the SidebarRow
|
||||
// will make the animation of the new bookmark row jump
|
||||
> revealer {
|
||||
padding: 0 $container_padding + 4px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
image.sidebar-icon {
|
||||
@@ -4871,8 +4964,10 @@ window {
|
||||
//
|
||||
// Titlebuttons
|
||||
//
|
||||
|
||||
windowcontrols {
|
||||
border-spacing: $container_padding;
|
||||
border-spacing: 2px;
|
||||
padding: 0 10px;
|
||||
|
||||
&:not(.empty) {
|
||||
&.start:dir(ltr),
|
||||
@@ -4886,10 +4981,11 @@ windowcontrols {
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
headerbar.titlebar & {
|
||||
border-spacing: $container_padding;
|
||||
}
|
||||
|
||||
button {
|
||||
&.close, &.maximize, &.minimize {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
@@ -4931,9 +5027,9 @@ windowcontrols {
|
||||
}
|
||||
}
|
||||
|
||||
// /*********
|
||||
// * Emoji *
|
||||
// *********/
|
||||
//
|
||||
// Emoji
|
||||
//
|
||||
popover.emoji-picker {
|
||||
padding: 0;
|
||||
border-radius: $wm_radius;
|
||||
@@ -4947,11 +5043,13 @@ popover.emoji-picker {
|
||||
padding: 6px;
|
||||
border-spacing: 6px;
|
||||
border-bottom: 1px solid $borders_color;
|
||||
|
||||
entry { margin: 0; }
|
||||
}
|
||||
|
||||
.emoji-toolbar {
|
||||
padding: $container_padding / 3;
|
||||
border-spacing: $container_padding / 3;
|
||||
padding: $container_padding / 2;
|
||||
border-spacing: 0;
|
||||
border-top: 1px solid $borders_color;
|
||||
}
|
||||
|
||||
|
||||
@@ -233,16 +233,15 @@
|
||||
label, & { color: $disabled_fg_color; }
|
||||
|
||||
background-color: transparent;
|
||||
// border: none;
|
||||
}
|
||||
|
||||
@else if $t==flat-insensitive-active {
|
||||
//
|
||||
// insensitive pushed button
|
||||
//
|
||||
label, & { color: transparentize($selected_fg_color, 0.2); }
|
||||
label, & { color: transparentize($selected_fg_color, 0.35); }
|
||||
|
||||
background-color: lighten($fg_color, 20%);
|
||||
background-color: if($variant=='light', rgba(black, 0.3), rgba(white, 0.15));
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,8 @@ $raven_padding: 8px;
|
||||
.budgie-container { background-color: transparent; }
|
||||
|
||||
.budgie-settings-window {
|
||||
&.background { background-color: rgba($base_color, if($trans == 'true', 0.95, 1)); }
|
||||
&.background {
|
||||
background-color: rgba($base_color, if($trans == 'true', 0.97, 1));
|
||||
|
||||
buttonbox.inline-toolbar {
|
||||
border-style: none none solid;
|
||||
@@ -85,6 +86,7 @@ $raven_padding: 8px;
|
||||
@extend %budgie_button;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
list.sidebar {
|
||||
background-color: transparent;
|
||||
@@ -93,7 +95,7 @@ $raven_padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.budgie-popover {
|
||||
.budgie-popover.background {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid if($variant=='light', rgba($borders_color, 0.2), lighten($menu_bg, 6%));
|
||||
@@ -105,6 +107,7 @@ $raven_padding: 8px;
|
||||
|
||||
.container {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
@@ -194,7 +197,7 @@ $raven_padding: 8px;
|
||||
entry.search {
|
||||
padding: 5px 10px;
|
||||
border: none;
|
||||
border-bottom: 1px solid $borders_color;
|
||||
border-bottom: 1px solid rgba(black, if($variant == 'light', 0.1, 0.75));
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
font-size: 110%;
|
||||
@@ -212,6 +215,16 @@ $raven_padding: 8px;
|
||||
button.flat.category-button {
|
||||
min-height: 28px;
|
||||
border-radius: 0;
|
||||
|
||||
&:disabled {
|
||||
color: $alt_disabled_fg_color;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&:checked:disabled {
|
||||
color: $disabled_fg_color;
|
||||
background-color: $fill_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -315,6 +328,9 @@ $raven_padding: 8px;
|
||||
|
||||
flowboxchild { padding: 0; }
|
||||
}
|
||||
|
||||
// &.budgie-screenshot-applet {
|
||||
// }
|
||||
}
|
||||
|
||||
// budgie specific popover widgets
|
||||
@@ -433,7 +449,7 @@ popover.background.places-menu {
|
||||
$budgie_panel_radius: $wm_radius + $container_padding / 2;
|
||||
|
||||
// Panel
|
||||
.budgie-panel {
|
||||
.budgie-panel.background {
|
||||
transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1);
|
||||
background-color: opacify($header_bg, 1);
|
||||
color: $header_fg;
|
||||
@@ -752,7 +768,7 @@ $raven_opacity: if($variant =='light', 0.95, 0.95);
|
||||
$raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px 0 rgba(black, 0.1);
|
||||
|
||||
// Raven
|
||||
.raven {
|
||||
.background .raven {
|
||||
background-color: if($trans == 'true', rgba($raven_bg_color, $raven_opacity), $raven_bg_color);
|
||||
color: $raven_fg_color;
|
||||
box-shadow: $shadow_4;
|
||||
@@ -1117,25 +1133,36 @@ calendar.raven-calendar {
|
||||
}
|
||||
|
||||
// Notifications
|
||||
%budgie-notification-window,
|
||||
.budgie-notification-window {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
%budgie-notification-window {
|
||||
background: none;
|
||||
|
||||
> stack {
|
||||
margin: 0;
|
||||
padding: $container_padding;
|
||||
border-radius: $wm_radius;
|
||||
box-shadow: 0 3px 3px 0 rgba(black, 0.15),
|
||||
0 0 0 1px rgba(black, if($variant == 'light', 0.1, 0.75)),
|
||||
inset 0 0 0 1px $highlight_color;
|
||||
background-color: $menu_bg;
|
||||
}
|
||||
}
|
||||
|
||||
.budgie-notification-window {
|
||||
@extend %budgie-notification-window;
|
||||
|
||||
button.image-button { // 'close'
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 28px;
|
||||
min-width: 28px;
|
||||
border-radius: 100px;
|
||||
border-radius: $circular_radius;
|
||||
}
|
||||
}
|
||||
|
||||
%budgie-notification,
|
||||
.budgie-notification {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
background: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
.notification-title { font-size: 120%; }
|
||||
.notification-body { @extend %dim-label; }
|
||||
@@ -1148,8 +1175,8 @@ calendar.raven-calendar {
|
||||
|
||||
// Internal part of the OSD
|
||||
.budgie-osd {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
background: none;
|
||||
|
||||
.budgie-osd-text { font-size: 120%; }
|
||||
}
|
||||
|
||||
@@ -1163,9 +1190,6 @@ window.budgie-switcher-window {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
|
||||
// draw actual backgrounds and shadows
|
||||
.drop-shadow { @extend %drop-shadow; }
|
||||
|
||||
flowboxchild { // icon-tiles
|
||||
margin: 2px;
|
||||
border-radius: $wm_radius;
|
||||
@@ -1175,20 +1199,22 @@ window.budgie-switcher-window {
|
||||
|
||||
// Internal part of the Switcher
|
||||
.budgie-switcher {
|
||||
@extend %budgie-notification;
|
||||
@extend .budgie-notification;
|
||||
}
|
||||
|
||||
%drop-shadow, .drop-shadow {
|
||||
margin: 5px 9px;
|
||||
padding: 8px;
|
||||
.drop-shadow {
|
||||
margin: 6px 10px 16px;
|
||||
padding: $container_padding;
|
||||
border-radius: $wm_radius;
|
||||
box-shadow: 0 5px 5px 0 transparent, 0 8px 15px 0 transparent,
|
||||
0 3px 3px 0 if($variant == 'light', opacify($wm_shadow, 0.15), opacify($wm_shadow, 0.1)),
|
||||
0 0 0 1px if($variant=='light', rgba($borders_color, 0.15), rgba($dark_borders_color, 0.55)),
|
||||
inset 0 0 0 1px rgba(white, 0.06);
|
||||
box-shadow: 0 3px 3px 0 $wm_shadow,
|
||||
0 3px 8px 0 $wm_shadow,
|
||||
$wm_outline, inset 0 0 0 1px $highlight_color;
|
||||
background-color: $menu_bg;
|
||||
|
||||
background-color: if($trans == 'true', rgba($base_color, 0.95), $base_color);
|
||||
background-image: none;
|
||||
.dim-label { opacity: 0.55; }
|
||||
|
||||
// used to indicate unread notifications
|
||||
.alert { color: $fg_color; }
|
||||
|
||||
button { @extend %budgie_button; }
|
||||
|
||||
@@ -1197,10 +1223,10 @@ window.budgie-switcher-window {
|
||||
|
||||
%budgie_dialog {
|
||||
background-color: $bg_color;
|
||||
@if $variant == 'dark' { border: 1px solid lighten($menu_bg, 10%); }
|
||||
@if $variant == 'dark' { box-shadow: inset 0 0 0 1px $highlight_color; }
|
||||
|
||||
&.background.csd {
|
||||
border-radius: $wm_radius $wm_radius $wm_radius $wm_radius;
|
||||
border-radius: $wm_radius;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1245,7 +1271,6 @@ window.budgie-switcher-window {
|
||||
// Run Dialog
|
||||
.budgie-run-dialog {
|
||||
@extend %budgie_dialog;
|
||||
|
||||
background-color: $base_color;
|
||||
|
||||
entry.search {
|
||||
|
||||
@@ -412,17 +412,17 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
padding: 2px;
|
||||
background-color: $selected_bg_color;
|
||||
color: $selected_fg_color;
|
||||
border-radius: $wm_radius - 6px;
|
||||
margin: 6px;
|
||||
border-radius: $wm_radius - $container_padding;
|
||||
margin: $container_padding;
|
||||
box-shadow: $shadow_5;
|
||||
|
||||
button {
|
||||
border: none;
|
||||
border-radius: 100px;
|
||||
border-radius: $circular_radius;
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin-right: 6px;
|
||||
margin-right: $container_padding;
|
||||
-gtk-icon-shadow: none;
|
||||
@extend %selected-button;
|
||||
}
|
||||
@@ -608,11 +608,6 @@ terminal-window {
|
||||
border-radius: $wm_radius $wm_radius 0 0;
|
||||
}
|
||||
|
||||
notebook {
|
||||
// button.flat.toggle.popup {
|
||||
// }
|
||||
}
|
||||
|
||||
&.background.csd.maximized { border-radius: 0; } // Fixed gnome 3.32 issue: Unable to restore window size after maximization
|
||||
}
|
||||
|
||||
@@ -1395,7 +1390,11 @@ window.background.csd {
|
||||
&,
|
||||
> stack,
|
||||
> stack > box.vertical {
|
||||
> list > row.activatable { @extend %sidebar_row; }
|
||||
> list {
|
||||
padding: 2px 0;
|
||||
|
||||
> row.activatable { @extend %sidebar_row; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1840,13 +1839,6 @@ notebook > box > stack > box.vertical > paned.vertical > overlay {
|
||||
> .floating-bar { color: rgba($fg_color, 0.75); }
|
||||
}
|
||||
|
||||
.background:not(.csd) > box.vertical > headerbar {
|
||||
// conflicts with .primary-toolbar styling?
|
||||
.linked > button.image-button { // = 'back/forward' button
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// overrides foregrounds for 3.24's ssd-mode
|
||||
.background headerbar entry {
|
||||
&.starred,
|
||||
@@ -2957,6 +2949,12 @@ window.background.csd {
|
||||
}
|
||||
}
|
||||
|
||||
.app-notification.boxes-toast {
|
||||
> button.circular.flat {
|
||||
padding: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Dialogs
|
||||
//
|
||||
|
||||
@@ -1,53 +1,157 @@
|
||||
//
|
||||
// Extensions
|
||||
//
|
||||
window.background.csd {
|
||||
> stack, // GameMode setting
|
||||
> stack > scrolledwindow > viewport > box, // User Themes (Workspace) setting
|
||||
> box > stack > scrolledwindow > viewport > box {
|
||||
> list {
|
||||
@extend %circular_list;
|
||||
|
||||
row.activatable { @extend %circular_row; }
|
||||
}
|
||||
}
|
||||
//
|
||||
// Nautilus
|
||||
//
|
||||
|
||||
stack stack stack frame, // ArcMenu setting
|
||||
> stack > stack > box > frame, // Night Theme Switcher setting
|
||||
> stack > stack > box > box > frame, // Night Theme Switcher setting bottom lists
|
||||
> stack > box > stack > box > frame, // ArcMenu setting
|
||||
> stack > box > stack > scrolledwindow > viewport frame, // ArcMenu setting
|
||||
> stack > box > stack > box > scrolledwindow > viewport > frame, // ArcMenu setting
|
||||
> stack > grid > scrolledwindow > viewport > box > frame { // GSConnect setting
|
||||
> border { border: none; }
|
||||
$nautilus_header_image: image($header_bg);
|
||||
$nautilus_header_borders_image: image($header_border);
|
||||
$nautilus_borders_color: if($variant=='light', darken(rgba($dark_sidebar_bg, 1), 12%), $header_border);
|
||||
$flap_sidebar_size: 240px;
|
||||
|
||||
@if $nautilus_style == 'stable' {
|
||||
$nautilus_header_image: linear-gradient(90deg, $dark_sidebar_bg $flap_sidebar_size,
|
||||
$nautilus_borders_color $flap_sidebar_size,
|
||||
$nautilus_borders_color ($flap_sidebar_size + 1px),
|
||||
$base_color ($flap_sidebar_size + 1px));
|
||||
|
||||
$nautilus_header_borders_image: linear-gradient(90deg, transparent $flap_sidebar_size,
|
||||
$header_border $flap_sidebar_size);
|
||||
}
|
||||
|
||||
@if $nautilus_style == 'glassy' {
|
||||
$nautilus_header_image: linear-gradient(90deg, $dark_sidebar_bg ($flap_sidebar_size / 2),
|
||||
$dark_header_bg 40%);
|
||||
|
||||
$nautilus_header_borders_image: linear-gradient(90deg, rgba($header_border, 0) (($flap_sidebar_size / 2) - 40px),
|
||||
$header_border 40%);
|
||||
}
|
||||
|
||||
.nautilus-window {
|
||||
@if $nautilus_style == 'stable' or $nautilus_style == 'glassy' {
|
||||
&.background.csd {
|
||||
background-color: transparent;
|
||||
|
||||
headerbar {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
|
||||
> list {
|
||||
@extend %circular_list;
|
||||
|
||||
row.activatable { @extend %circular_row; }
|
||||
background-image: $nautilus_header_image;
|
||||
border-image: $nautilus_header_borders_image 0 0 1 / 0px 0px 1px stretch;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> stack > box > box > list,
|
||||
> stack > box > stack > scrolledwindow > viewport > list { // ArcMenu setting sidebar
|
||||
border-bottom-left-radius: $wm_radius;
|
||||
@if $nautilus_style == 'stable' {
|
||||
headerbar {
|
||||
box.start > box {
|
||||
margin-left: 144px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.maximized, &.tiled, &.fullscreen {
|
||||
> stack > box > box > list,
|
||||
> stack > box > stack > scrolledwindow > viewport > list { // ArcMenu setting sidebar
|
||||
border-bottom-left-radius: $maximized_radius;
|
||||
flap.unfolded {
|
||||
> placessidebar.background {
|
||||
background: none;
|
||||
|
||||
list.navigation-sidebar {
|
||||
background-color: $dark_sidebar_bg;
|
||||
}
|
||||
}
|
||||
|
||||
> separator.horizontal {
|
||||
background-color: $header_border;
|
||||
}
|
||||
}
|
||||
|
||||
flap.folded {
|
||||
> placessidebar {
|
||||
border-right: 1px solid $header_border;
|
||||
}
|
||||
}
|
||||
|
||||
// Floating Bar
|
||||
.floating-bar {
|
||||
padding: 2px;
|
||||
background-color: $selected_bg_color;
|
||||
color: $selected_fg_color;
|
||||
border-radius: $wm_radius - $container_padding;
|
||||
margin: $container_padding;
|
||||
box-shadow: $shadow_5;
|
||||
|
||||
> button.circular.flat {
|
||||
border-radius: $circular_radius;
|
||||
min-height: 24px;
|
||||
min-width: 24px;
|
||||
padding: 0;
|
||||
-gtk-icon-shadow: none;
|
||||
@extend %selected-button;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#NautilusViewCell {
|
||||
clamp box {
|
||||
margin: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#NautilusQueryEditor { // search entry
|
||||
padding: 1px $container_padding;
|
||||
|
||||
> box { margin: 0; }
|
||||
|
||||
#NautilusQueryEditorTag {
|
||||
@extend .entry-tag;
|
||||
|
||||
> button {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
> menubutton > button {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
margin: 0;
|
||||
-gtk-icon-size: 12px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
> text, > image { margin: 0; }
|
||||
}
|
||||
|
||||
#NautilusPathBar {
|
||||
background-color: $fill_color;
|
||||
border-radius: $bt_radius;
|
||||
margin: $container_padding 0 $container_padding $container_padding;
|
||||
|
||||
#NautilusPathButton {
|
||||
margin: 0 $container_padding / 2;
|
||||
border-radius: $bt_radius;
|
||||
|
||||
&.current-dir {
|
||||
color: $header_fg;
|
||||
|
||||
&:hover, &:active {
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child { margin-left: 0; }
|
||||
}
|
||||
|
||||
> menubutton {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Extensions
|
||||
window.nightthemeswitcher headerbar {
|
||||
background: $header_bg;
|
||||
color: $header_fg;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Gnome Control Center
|
||||
//
|
||||
@@ -86,3 +190,141 @@ window.background.csd {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Gnome Calendar / Gnome Contacts
|
||||
//
|
||||
|
||||
window.background {
|
||||
> contents > toastoverlay > leaflet {
|
||||
> box {
|
||||
background-color: $base_color;
|
||||
|
||||
> headerbar {
|
||||
&, &:backdrop {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
+ separator {
|
||||
@extend %side_separator;
|
||||
|
||||
+ box {
|
||||
background-color: $dark_sidebar_bg;
|
||||
}
|
||||
}
|
||||
|
||||
> .view, list:not(.boxed-list) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
list > row textview {
|
||||
padding: $container_padding;
|
||||
border-left: 1px solid $borders_color;
|
||||
|
||||
&, & > text {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.current-week {
|
||||
background-color: $fill_color;
|
||||
}
|
||||
|
||||
button.circular.day {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
@extend %flat_button;
|
||||
}
|
||||
|
||||
datechooser navigator > button.flat.pill {
|
||||
padding: 0 $container_padding * 2;
|
||||
min-height: $menuitem_size;
|
||||
min-width: $menuitem_size;
|
||||
}
|
||||
}
|
||||
|
||||
&.maximized, &.tiled {
|
||||
> contents > toastoverlay > leaflet {
|
||||
> box {
|
||||
> headerbar {
|
||||
&, &:backdrop {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
menubutton.flat.popup.sources-button {
|
||||
margin: 0;
|
||||
|
||||
> button {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
padding: 0 $container_padding * 2;
|
||||
|
||||
.title {
|
||||
font-size: small;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.title, .subtitle {
|
||||
padding: 2px 0 2px $container_padding;
|
||||
}
|
||||
|
||||
image.calendar-color-image {
|
||||
-gtk-icon-size: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Contacts
|
||||
.contacts-editor-address {
|
||||
> entry.flat {
|
||||
&:not(:last-child) {
|
||||
box-shadow: inset 0 -1px $borders_color;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-radius: $bt_radius $bt_radius 0 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 0 $bt_radius $bt_radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Calculator
|
||||
//
|
||||
|
||||
.history-view { background-color: $base_color; }
|
||||
|
||||
.card {
|
||||
&.display-container {
|
||||
border: 1px solid $borders_color;
|
||||
}
|
||||
|
||||
#displayitem {
|
||||
border-top: 1px solid $borders_color;
|
||||
}
|
||||
|
||||
.small & {
|
||||
border-radius: 0;
|
||||
|
||||
&.forecast-card {
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
||||
&.display-container {
|
||||
border-width: 0 0 1px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -196,13 +196,14 @@ viewswitcher {
|
||||
&.wide {
|
||||
border-spacing: $container_padding / 2;
|
||||
|
||||
button.toggle { margin: 8px 0; }
|
||||
button.toggle {
|
||||
margin: 8px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.narrow button.toggle {
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
button.toggle {
|
||||
|
||||
@@ -91,7 +91,7 @@ window.background:not(.csd) {
|
||||
|
||||
> radio,
|
||||
> check {
|
||||
padding: 0;
|
||||
padding: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -449,6 +449,7 @@ window.background.csd {
|
||||
//
|
||||
// Inkscape
|
||||
//
|
||||
|
||||
toolbar#SubToolBox {
|
||||
min-height: 36px;
|
||||
|
||||
@@ -480,6 +481,15 @@ widget#ToolboxCommon {
|
||||
}
|
||||
}
|
||||
|
||||
> #CommandsToolbox {
|
||||
border-bottom: 1px solid $borders_color;
|
||||
|
||||
> toolbar {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
> toolbar#ToolToolbar { // Left side toolbar
|
||||
background-color: $bg_color;
|
||||
border-right: 1px solid $borders_color;
|
||||
@@ -508,14 +518,14 @@ box#SnapToolbox {
|
||||
}
|
||||
|
||||
box#DesktopStatusBar {
|
||||
spinbutton, button.combo {
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
spinbutton, button.combo, button.flat {
|
||||
margin-top: $container_padding * 1.5;
|
||||
margin-bottom: $container_padding * 1.5;
|
||||
}
|
||||
}
|
||||
|
||||
scrolledwindow#DialogNotebook {
|
||||
> viewport.frame > notebook.frame {
|
||||
> viewport.frame {
|
||||
border: 1px solid $borders_color;
|
||||
|
||||
button.close-button {
|
||||
@@ -547,8 +557,8 @@ grid#CanvasGrid {
|
||||
dialog.background {
|
||||
> box.dialog-vbox > filechooser {
|
||||
> actionbar > revealer > box > box > box > combobox {
|
||||
margin-top: 24px;
|
||||
margin-bottom: 24px;
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ $text_shadow: 0 0 1px rgba(0, 0, 0, 0.26),
|
||||
color: $fg_color;
|
||||
}
|
||||
|
||||
.xfce4-panel {
|
||||
.xfce4-panel.background {
|
||||
background-color: $panel_bg;
|
||||
color: $panel_fg;
|
||||
font-weight: 700;
|
||||
@@ -29,7 +29,7 @@ $text_shadow: 0 0 1px rgba(0, 0, 0, 0.26),
|
||||
&, &.marching-ants { transition: none; } // unset transitions
|
||||
}
|
||||
|
||||
button {
|
||||
button, button.flat {
|
||||
font-weight: 700;
|
||||
@extend %panel_button;
|
||||
// -gtk-icon-style: symbolic;
|
||||
@@ -50,6 +50,11 @@ $text_shadow: 0 0 1px rgba(0, 0, 0, 0.26),
|
||||
ﳤ-notification-plugin {
|
||||
padding: 0 1px; // for 4.12.2
|
||||
}
|
||||
|
||||
// &#whiskermenu-button {
|
||||
// &:active, &:checked {
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
menu {
|
||||
|
||||
@@ -23,21 +23,25 @@ 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" "[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" ""
|
||||
helpify "-g, --gdm" "[default|x2]" "Install '${THEME_NAME}' theme for GDM (scaling: 100%/200%, default is 100%)" "Requires to run this shell as root"
|
||||
helpify "-d, --dash-to-dock" "" "Fixed Dash to Dock theme issue" ""
|
||||
helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" ""
|
||||
helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" ""
|
||||
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper"
|
||||
helpify "-o, --opacity" "[$(IFS='|'; echo "${OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme opacity variants" "Default is 'normal'"
|
||||
helpify "-c, --color" "[$(IFS='|'; echo "${COLOR_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM and Dash to Dock theme color variants" "Default is 'light'"
|
||||
helpify "-t, --theme" "[$(IFS='|'; echo "${THEME_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM theme accent color" "Default is BigSur-like theme"
|
||||
helpify "-N, --no-darken" "" "Don't darken '${THEME_NAME}' GDM theme background image" ""
|
||||
helpify "-n, --no-blur" "" "Don't blur '${THEME_NAME}' GDM theme background image" ""
|
||||
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set '${THEME_NAME}' GDM theme background image" "Default is BigSur-like wallpaper"
|
||||
helpify "-p, --panel-opacity" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM (GNOME Shell) theme panel transparency" "Default is 15%"
|
||||
helpify "-P, --panel-size" "[$(IFS='|'; echo "${PANEL_SIZE_VARIANTS[*]}")]" "Set '${THEME_NAME}' Gnome shell panel height size" "Default is 32px"
|
||||
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set '${THEME_NAME}' GDM (GNOME Shell) 'Activities' icon" "Default is 'standard'"
|
||||
helpify "--nord, --nordcolor" "" "Install '${THEME_NAME}' Nord ColorScheme themes" ""
|
||||
|
||||
helpify "-f, --firefox" "[default|monterey|alt]" "Install '${THEME_NAME}|Monterey|Alt' 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" ""
|
||||
helpify "-d, --dash-to-dock" "" "Fixed Dash to Dock theme issue" ""
|
||||
|
||||
helpify "-r, --remove, --revert" "" "Revert to the original themes, do the opposite things of install and connect" ""
|
||||
helpify "--silent-mode" "" "Meant for developers: ignore any confirm prompt and params become more strict" ""
|
||||
helpify "-h, --help" "" "Show this help" ""
|
||||
@@ -96,7 +100,7 @@ while [[ $# -gt 0 ]]; do
|
||||
esac
|
||||
done
|
||||
|
||||
if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then
|
||||
if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox && ! has_command firefox-developer-edition; then
|
||||
prompt -e "'${1}' ERROR: There's no Firefox installed in your system"
|
||||
has_any_error="true"
|
||||
elif [[ ! -d "${FIREFOX_DIR_HOME}" && ! -d "${FIREFOX_FLATPAK_DIR_HOME}" && ! -d "${FIREFOX_SNAP_DIR_HOME}" ]]; then
|
||||
@@ -153,6 +157,8 @@ while [[ $# -gt 0 ]]; do
|
||||
no_darken="true"; shift ;;
|
||||
-n|--no-blur)
|
||||
no_blur="true"; shift ;;
|
||||
-l|--libadwaita)
|
||||
libadwaita="true"; shift ;;
|
||||
# Parameters that require value, single use
|
||||
-b|--background)
|
||||
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;
|
||||
@@ -257,7 +263,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" ]]; then
|
||||
if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" && "${libadwaita}" == "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'"
|
||||
prompt -i "HINT: Run ./tweaks.sh -h for help!..."; echo
|
||||
|
||||
Reference in new issue
Block a user